home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
vis-ftp.cs.umass.edu
/
vis-ftp.cs.umass.edu.tar
/
vis-ftp.cs.umass.edu
/
pub
/
Software
/
ASCENDER
/
ascendMar8.tar
/
UMass
/
ISR
/
old-isr2-test-load.lisp
< prev
next >
Wrap
Lisp/Scheme
|
1995-04-11
|
4KB
|
119 lines
;;; -*- Mode:Common-Lisp; Package:USER; Base:10 -*-
(unwind-protect
(net:set-logical-host 'nanovax 'julius)
(unwind-protect
(net:add-logical-pathname-host
'nanovax 'julius
'((maind "vis7$disk:[heller]")
(procsd "vis7$disk:[heller.procs]")
(hairyhackd "vis7$disk:[heller.hairyhack]")
(mld "vis7$disk:[heller.ml]")
(tempd "vis7$disk:[heller.temp]")
(llvsd "vis7$disk:[heller.llvs]")
(llvs_isr2-lispd "vis7$disk:[heller.llvs.isr2-lisp]")
(isr2test "vis7$disk:[heller.llvs.isr2-lisp]")
(isr2system "vis7$disk:[heller.llvs.isr2-lisp.stable]")
(llvs_uis_deviced "vis7$disk:[heller.llvs.uis_device]")
(llvs_vs-lispm-windowd "vis7$disk:[heller.llvs.vs-lispm-window]")
) "vis7$disk:")
nil)
)
(unless (find-package 'isr2) (make-package 'isr2))
(unless (find-package 'isr) (make-package 'isr))
(unless (fboundp 'user::cdefvar)
(defmacro cdefvar (variable &optional (initial-value nil) (docstring nil))
"do defvar unless variable is already bound"
;;-- Bob Collins 5/20
;;john brolio 1/7/88 -- to get rid of unspecial variable problem in compiling
`(eval-when (compile eval load)
(proclaim '(special ,variable))
(unless (variable-boundp ,variable)
(setf ,variable ,initial-value)
(setf (documentation ',variable 'variable) ,docstring)))))
(defun format-date-time (stream second minute hour date month year day-of-week
dst-p tz)
(declare (ignore dst-p tz))
(format stream "~[Mon~;Tue~;Wed~;Thu~;Fri~;Sat~;Sun~] ~[Jan~;Feb~;Mar~;Apr~;May~;Jun~;Jul~;Aug~;Sep~;Oct~;Nov~;Dec~] ~d,~d ~2,'0d:~2,'0d:~2,'0d"
day-of-week (1- month) date year hour minute second)
)
(proclaim '(special isr2::*version*))
(defun re-load-isr2-system (&key (reload t) &aux (inhibit-fdefine-warnings t))
(format t "~2&;; Answer 'yes' or 'proceed' to any of the questions asked below.")
(make-system 'user::isr2 (if reload :reload :noop))
(format t "~2&;;")
(format t "~&;; ISR2, Release B1.8 of ~A"
(multiple-value-call
#'format-date-time
nil
(decode-universal-time
(file-write-date
"nanovax:isr2test;isr2-test-load.lisp")))
)
(format t "~&;; Questions, Problems, etc. - Send mail to COINS::HELLER")
(format t "~&;; (The system can be re-made by calling the function ")
(format t "~&;; user::re-load-isr2-system.")
(format t "~&;;~2&")
(setf isr2::*version* 'B1.8)
(pushnew :isr2 *features*)
(values 'isr2 'B1.8)
)
(defparameter *nanonodes*
'(julius ardana argus deneva iotia janus kelva pyris scalos yonada))
(prog (temp errorp)
(setf temp (cons nil *nanonodes*)
errorp t)
:Try_another_node
(setf temp (rest temp))
(when (null temp)
(format t "~&Huh? All of the VIS:: VAXen seem to be having trouble. I give up!")
(return nil))
(unwind-protect
(progn
(unwind-protect
(net:set-logical-host 'nanovax (first temp))
(unwind-protect
(net:add-logical-pathname-host
'nanovax (first temp)
'((maind "vis7$disk:[heller]")
(procsd "vis7$disk:[heller.procs]")
(hairyhackd "vis7$disk:[heller.hairyhack]")
(mld "vis7$disk:[heller.ml]")
(tempd "vis7$disk:[heller.temp]")
(llvsd "vis7$disk:[heller.llvs]")
(llvs_isr2-lispd "vis7$disk:[heller.llvs.isr2-lisp]")
(isr2test "vis7$disk:[heller.llvs.isr2-lisp]")
(isr2system "vis7$disk:[heller.llvs.isr2-lisp.stable]")
(llvs_uis_deviced "vis7$disk:[heller.llvs.uis_device]")
(llvs_vs-lispm-windowd "vis7$disk:[heller.llvs.vs-lispm-window]")
) "vis7$disk:")
nil)
)
(load "nanovax:isr2test;isr2-defsystem" :verbose nil)
(re-load-isr2-system :reload t)
(setf errorp nil))
(when errorp (go :Try_Another_node)))
(return t)
)