[Clorb-devel] clorb-options.lisp: host name
Status: Alpha
Brought to you by:
lenst
|
From: Eric M. <ema...@ma...> - 2000-06-29 09:28:07
|
I think the following definition of *host* is more useful than
"localhost" as currently defined in clorb-options.lisp (otherwise IORs
are useless on other machines).
(defparameter *host*
#+(or cmu sbcl)
(unix:unix-gethostname)
#+clisp
(let ((mi (machine-instance)))
(subseq mi 0 (position #\Space mi))))
--
Eric Marsden <URL:http://www.laas.fr/~emarsden>
|