home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
RiscOS
/
APP
/
DEVS
/
LISP
/
CLISP.ZIP
/
CLisp
/
!CLisp
/
LSP
/
CONFIG
next >
Wrap
Lisp/Scheme
|
1995-01-02
|
2KB
|
40 lines
;;; ENGLISH: Site specific definitions, to be modified on installation
;;; DEUTSCH: Funktionen, die beim Transportieren zu Σndern sind
;;; FRANCAIS: Fonctions dΘpendantes de l'installation
(in-package "LISP")
(mapcar #'fmakunbound '(machine-type machine-version machine-instance
short-site-name long-site-name
edit-file editor-tempfile))
(defun machine-type () "Acorn")
(defun machine-version () "Risc PC, OS 3.5")
(defun machine-instance () "Burwood's Risc PC")
(defun short-site-name () "Home")
(defun long-site-name () "Burwood's Home, England")
;; 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)
(shell (format nil "filer_run ~A" (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 ()
; We write this instead of "<Wimp$ScrapDir>.lisptemp" in order to
; make sure that all the components of (sys::getenv "Wimp$ScrapDir")
; are treated as directory components.
(merge-pathnames "lisptemp" "<Wimp$ScrapDir>.")
)
;; 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* '(#"@.")) ; may add #"@.***." when this will be implemented