Markus Biermaier schrieb:
Hallo,
bin leider lästig ;-)
Aus meiner Frage: ...
Dazu wieder 2 Fragen:
- Kann mir bitte jemand erklären wieso die Meldungen "...Undefined
Object>>flush..." kommen? 2. Unter Linux funktioniert "CommandShell" einwandfrei. Unter MacOS X funktionieren nur die "wirklichen" "Squeak CommandShell Befehle" (z. B. "help", "cd", "pwd"). Gebe ich andere Befehle ein sieht das so aus: $ date cannot access system to run 'date' $ type date cannot access system
Aus der Beschreibung von "OSProcess": "Description: OSProcess provides access to operating system functions, including pipes and child process creation. It is implemented using pluggable primitives in shared library (.so file) for Unix or Linux, and a DLL for Windows. The Smalltalk code, including the classes which implement pluggable primitives for Unix or Win32 operating system functions, may be loaded into any Squeak image, but the primitives are only useful on Unix and Windows systems. Placeholder classes are provided for MacOS, OS/2 and RiscOS, but are not yet implemented."
Ist "MacOS X" aka "Darwin" im Sinne von Squeak kein "Unix"? "MacOS" ist doch nicht gleich "MacOS X" oder liege ich da falsch?
die VM braucht das OSProcess Plugin. Es gibt zwei VMs für MacOS X.
- die von MacOS portierte VM von John Macintosh - Ians Unix VM
In Ians VM ist das OSProcess ist das OS Process Plugin zumindest unter Linux mit dabei.
mit `Smalltalk listLoadedModules` kann man nachschauen welche Plugins geladen sind.
nach `OSProcess command: 'echo Hallo' ` sollte also das OSProcess unter Linux vorhanden sein... und unter MacOS X musst du mal schauen :-)
- Jens -
Danke für Erklärungen.
Markus