mkredpsl.dat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. (setq loaddirectories* '("" "$reduce\lisp\psl\win32\red\"
  2. "$reduce\lisp\psl\win32\psl\"))
  3. (set_heap_extend_size 120000)
  4. % (ON BACKTRACE) % Doesn't work properly?
  5. (cd (getenv "reduce"))
  6. (reclaim)
  7. (load arith387) % Since we don't see too many bare 386's these days.
  8. % load REDUCE modules
  9. (dskin "packages\support\mkredpsl.sl")
  10. % hooks for plot, help and fancy.
  11. (load w-pipes)
  12. (setq !*!*windows 1) % For gnuplot.
  13. % (errorset '(dskin "$reduce\packages\plot\plothook.sl") nil nil)
  14. (flag '(fancy) 'switch)
  15. (put 'fancy 'simpfg
  16. '((t (load fmprint) (fmp!-switch t))
  17. (nil (fmp!-switch nil)) ))
  18. % implant graphics mode switch
  19. (setq *fancy nil)
  20. (cond ((not (unboundp 'win-messages))
  21. (putv win-messages 3 '(~on '(fancy)))
  22. (putv win-messages 4 '(and *fancy (~off '(fancy))))))
  23. (setq lispsystem!* (cons (INTERN (GETENV "machine")) (delete 'UNIX lispsystem!*)))
  24. (copyd '! yield 'whatsup)
  25. (savesystem "REDUCE"
  26. (BLDMSG "lisp\psl\%w\red\reduce" (GETENV "machine")) '((read-init-file "reduce")))
  27. (exitlisp)