home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / src / cfgsunux.lsp < prev    next >
Encoding:
Lisp/Scheme  |  1993-12-07  |  1.6 KB  |  44 lines

  1. ;;; ENGLISH: Site specific definitions, to be modified on installation
  2. ;;; DEUTSCH: Funktionen, die beim Transportieren zu Σndern sind
  3. ;;; FRANCAIS: Fonctions dΘpendantes de l'installation
  4.  
  5. (in-package "LISP")
  6. (mapcar #'fmakunbound '(short-site-name long-site-name
  7.                         edit-file editor-tempfile))
  8.  
  9. (defun short-site-name () "Uni Karlsruhe")
  10. (defun long-site-name () "Mathematisches Institut II, UniversitΣt Karlsruhe, Englerstra▀e 2, D - 76131 Karlsruhe")
  11.  
  12. ;; ENGLISH: The name of the editor:
  13. ;; DEUTSCH: Der Name des Editors:
  14. ;; FRANCAIS: Nom de l'Θditeur :
  15. (defparameter *editor* "vi")
  16.  
  17. ;; ENGLISH: (edit-file file) edits a file.
  18. ;; DEUTSCH: (edit-file file) editiert eine Datei.
  19. ;; FRANCAIS: (edit-file file) permet l'Θdition d'un fichier.
  20. (defun edit-file (file)
  21.   (shell
  22.     (format nil "~A ~A"
  23.                 (if (sys::getenv "WINDOW_PARENT") ; Suntools aktiv?
  24.                   "textedit"
  25.                   (or (sys::getenv "EDITOR") ; Benutzer-PrΣferenz?
  26.                       *editor*               ; sonst: Default-Editor
  27.                 ) )
  28.                 (truename file)
  29. ) ) )
  30.  
  31. ;; ENGLISH: The temporary file LISP creates for editing:
  32. ;; DEUTSCH: Das temporΣre File, das LISP beim Editieren anlegt:
  33. ;; FRANCAIS: Fichier temporaire crΘΘ par LISP pour l'Θdition :
  34. (defun editor-tempfile ()
  35.   (merge-pathnames "lisptemp.lsp" (user-homedir-pathname))
  36. )
  37.  
  38. ;; ENGLISH: The list of directories where programs are searched on LOAD etc.:
  39. ;; DEUTSCH: Die Liste von Directories, in denen Programme bei LOAD etc. gesucht
  40. ;;          werden:
  41. ;; FRANCAIS: Liste de rΘpertoires o∙ chercher un fichier programme:
  42. (defparameter *load-paths* '(#"./" #"./**/" "~/**/"))
  43.  
  44.