Last-minute contrib fixes ...
patch from KMR to fix history numbers in sb-aclrepl
... and cosmetic patch to sb-aclrepl so that :help command says
how to use the history list anyway
sb-bsd-sockets gets support for the experimental asdf hyperdoc
protocol
(string-trim-whitespace (subseq line first-space-pos))
"")))
(if (numberp (read-from-string cmd-string))
- (get-history (read-from-string cmd-string))
+ (let ((cmd (get-history (read-from-string cmd-string))))
+ (when cmd
+ (make-user-cmd :func (user-cmd-func cmd)
+ :input (user-cmd-input cmd)
+ :args (user-cmd-args cmd)
+ :hnum *cmd-number*)))
(let ((cmd-entry (find-cmd cmd-string)))
(if cmd-entry
(make-user-cmd :func (cmd-table-entry-func cmd-entry)
(if cmd
cmd
(progn
- (format t "Input numbered %d is not on the history list.." n)
+ (format t "Input numbered ~A is not on the history list.." n)
*null-cmd*))))
(defun get-cmd-doc-list (&optional (group :cmd))
(t
(format t "~13A ~a~%" "Command" "Description")
(format t "------------- -------------~%")
+ (format t "~13A ~A~%" "n" "(for any number n) recall nth command from history list")
(dolist (doc-entry (get-cmd-doc-list :cmd))
(format t "~13A ~A~%" (car doc-entry) (cadr doc-entry)))))
(values))
|#
+
+(in-package :sb-bsd-sockets)
+
+(defmethod asdf:hyperdocumentation
+ ((package (eql #.*package*)) symbol kind)
+ (declare (ignore kind))
+ (format nil "file://~A#~A"
+ #.(namestring
+ (merge-pathnames "index.html"
+ (or *load-pathname* *compile-file-pathname*)))
+ symbol))
\ No newline at end of file
(defmethod perform ((o test-op) (c (eql (find-system :sb-bsd-sockets))))
(or (funcall (intern "DO-TESTS" (find-package "RT")))
(error "test-op failed")))
+
(> (length data) 0))))
t)
-#||
-<h2>Local-domain sockets</h2>
+;;; A fairly rudimentary test that connects to the syslog socket and
+;;; sends a message. Priority 7 is kern.debug; you'll probably want
+;;; to look at /etc/syslog.conf or local equivalent to find out where
+;;; the message ended up
-A fairly rudimentary test that connects to the syslog socket and sends a
-message. Priority 7 is kern.debug; you'll probably want to look at
-/etc/syslog.conf or local equivalent to find out where the message ended up
-||#
#-sunos
(deftest simple-local-client
(let ((s (make-instance 'local-socket :type :datagram)))
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.7.13.32"
+"0.7.13.33"