home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 44
/
Amiga_Dream_44.iso
/
RiscPc
/
programmation
/
scm4e2.arc
/
!Scm
/
scm
/
ScmInit
< prev
next >
Wrap
Text File
|
1995-01-02
|
755b
|
33 lines
;;; ScmInit - user startup files.
;;; put anything in here if you want it executed on every startup.
;;; note that SCM does not echo the fact it is loading this...
(define (ed fname)
(system (string-append "vi <scm$dir>." fname))
)
(define shut
(lambda ()(system "shut")))
;
; Set the gfx origin then call the turtle setup to point it due north,
; and move the gfx pen to where we asked the origin to be.
;
(define (go)
(begin
(mode 12)
(graphics-origin! 320 200)
(init-turtle 320 200 90)
))
; load in the archi extensions.
(load "<scm$dir>.arc_ext")
; load in Common Lisp compatibility list functions
(require 'common-list-functions)
(define (user-interrupt)
(abort))
; comment this out if you like.
(display "Loaded ScmInit.")(newline)