aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-syscmd.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-03-20 00:01:40 +0000
committerdos-reis <gdr@axiomatics.org>2008-03-20 00:01:40 +0000
commit97f54bf68c5aefffc94a4935e08fd6449ec501c9 (patch)
tree32f8a5503737412259204b78d232201fa94d8643 /src/interp/i-syscmd.boot
parentd16606080c04bdbc97c6d3d046e17564ca5a5d0c (diff)
downloadopen-axiom-97f54bf68c5aefffc94a4935e08fd6449ec501c9.tar.gz
* interp/vmlisp.lisp (GETREFV): Set initial elements to NIL.
(MAKE-OUTSTREAM): Supersede existing files. * interp/template.boot (makeTemplate): Use newDomainShell instead of GETREFV. (extendVectorSize): Likewise. (mkSigPredVectors): Likewise. (list2LongerVec): Likewise. (measure): Remove. (measureCommon): Likewise. * interp/sys-utility.boot (loadNativeModule): New. * interp/sys-os.boot: Import "cfuns" and "sockio". (runProgram): New. * interp/sys-globals.boot (/SOURCEFILES): Define here. (/SPACELIST): Likewise. * interp/sys-driver.boot ($OpenAxiomCoreModuleLoaded): New global variable. (AxiomCore::%sysInit): Load libopen-axiom-core if necessary. ($defaultMsgDatabaseName): Define here. * interp/spad.lisp (|New,ENTRY,1|): Tidy. * interp/sockio.lisp: Move import declarations to sys-os.boot. Remove unused codes. * interp/server.boot (serverReadLine): Use coreQuit instead of BYE. * interp/pspad1.boot (formatMDEF): Tidy. * interp/pspad2.boot (formatIf1): Tidy. * interp/patches.lisp: Import "sys-driver". Remove $CURRENT-DIRECTORY. * interp/nruncomp.boot (buildFunctor): Use newDomainShell instead of GETREFV. * interp/nrunopt.boot (makeDomainTemplate): Likewise. * interp/package.boot (processFunctorOrPackage): Likewise. * interp/nlib.lisp (rdefiostream): Tidy. * interp/monitor.lisp (monitor-autoload): Define when GCL. * interp/interop.boot (oldAxiomCategoryDevaluate): Tidy. * interp/i-toplev.boot (start): Don't set $CURRENT-DIRECTORY. * interp/i-syscmd.boot (close): Use newDomainShell. (leaveScratchpad): Use coreQuit instead of BYE. (compileAsharpArchiveCmd): Use GET-CURRENT-DIRECTORY. * interp/g-util.boot (newDomainShell): Define. * interp/functor.boot (NewbFVectorCopy): Use newDomainShell. * interp/daase.lisp (asharp): Use runProgram. * interp/cfuns.lisp: Remove unused codes. (directoryp): Move import declaration to sys-os.bot. (writeablep): Likewise. * interp/buildom.boot (Record0): Use newDomainShell instead of GETREFV. (coerceRe2E): Likewise. (Union): Likewise. (Mapping): Likewise. (Enumeration): Likewise. * interp/category.boot (mkCategory): Likewise. * interp/Makefile.pamphlet (patches.$(FASLEXT)): Require sys-driver.$(FASLEXT). (sys-os.$(FASLEXT)): Require cfuns.$(FASLEXT), sockio.$(FASLEXT). * algebra/view2D.spad.pamphlet: Use $ViewportServer instead of VIEWPORTSERVER. Use sockSendInt instead of SOCK-SEND-INT. Use sockSendFloat instead of SEND-SEND-FLOAT. Use sockSendString instead of SOCK-SEND-STRING. Use sockGetInt instead of SOCK-GET-INT. Use sockGetFloat instead of SOCK-SEND-FLOAT. * algebra/view3D.spad.pamphlet: Likewise. * interp/util.lisp (fe): Remove. (fc): Likewise. (interp-make-directory): Simplify. (OLD-BOOT::BOOT): Don't declare *PRINT-PRETTY* and *PRINT-LENGTH* special.
Diffstat (limited to 'src/interp/i-syscmd.boot')
-rw-r--r--src/interp/i-syscmd.boot7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot
index f0005946..cb7e2536 100644
--- a/src/interp/i-syscmd.boot
+++ b/src/interp/i-syscmd.boot
@@ -405,7 +405,7 @@ close args ==
closeInterpreterFrame(NIL)
x := UPCASE queryUserKeyedMsg('"S2IZ0072", nil)
MEMQ(STRING2ID_-N(x,1), '(YES Y)) =>
- BYE()
+ coreQuit() -- ??? should be coreQuit errorCount()
nil
--% )constructor
@@ -636,7 +636,7 @@ compileAsharpArchiveCmd args ==
rc := mkdir namestring dir
rc ^= 0 => throwKeyedMsg("S2IL0027",[namestring dir, namestring args])
- curDir := $CURRENT_-DIRECTORY
+ curDir := GET_-CURRENT_-DIRECTORY()
-- cd to that directory and try to unarchive the .al file
@@ -2188,7 +2188,8 @@ quitSpad2Cmd() ==
sayKeyedMsg("S2IZ0032",NIL)
TERSYSCOMMAND ()
-leaveScratchpad () == BYE()
+leaveScratchpad () ==
+ coreQuit() -- ??? should be coreQuit errorCount()
--% )read