Hello, While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends). The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment. The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...). Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc. Thanks, ~Mayuresh
Just wondering: what are your initial requirements that make you define this project? Cheers, Alexandre On Sep 19, 2014, at 9:18 AM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
My ultimate goal (has been for a long time) is to build a low cost, computing system which can be as deeply programmable as possible. At the moment, my goal is to not only learn and start contributing back to Pharo, but also make progress in making it as reachable and accessible to learners as possible. For the same, I have been thinking along the lines of being able to bundle a Linux based Pharo system as a Rasberry Pi image. Well, that's all, I guess... :) ~Mayuresh On Fri, Sep 19, 2014 at 09:23:44AM -0700, Alexandre Bergel wrote:
Just wondering: what are your initial requirements that make you define this project?
Cheers, Alexandre
On Sep 19, 2014, at 9:18 AM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Sure is. You want to use OSProcess. Load OSProcess from the configuration browser. You can get environment variables like this: dirString:= OSProcess thisOSProcess environment at: #PRJ_DIR. Check this thread: http://comments.gmane.org/gmane.comp.lang.smalltalk.pharo.user/12496 Example: command := 'tac ', file fullName, ' | head -200'. output := ''. [ c := (PipeableOSProcess command: command). output := c output. ] ensure: [ c closePipes ]. Or check for all references for PipeableOSProcess, there are a ton. Do not forget the closePipes or you'll run out of resources at one point. Phil On Fri, Sep 19, 2014 at 6:18 PM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
Once I tested it, not sure was Squeak or Pharo, running under the Console FrameBuffer. So your basic workstation can just be a Console only Linux (no X window). Hilaire Le 19/09/2014 18:18, Mayuresh Kathe a écrit :
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
-- Dr. Geo - http://drgeo.eu iStoa - http://istao.drgeo.eu
Yes, it must have been Squeak, it's VM is capable of displaying to the Linux framebuffer. I had run tests on it around 2002~3, looked good, but crashed often. ~Mayuresh On 2014-09-20 00:31, Hilaire wrote:
Once I tested it, not sure was Squeak or Pharo, running under the Console FrameBuffer. So your basic workstation can just be a Console only Linux (no X window).
Hilaire
Le 19/09/2014 18:18, Mayuresh Kathe a écrit :
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
try the TCL + Pharo stuff. It is simple and easy to hook up. Tiny Core gets it down to around 20 MB for a bare bone linux + Pharo can be similar to Android if one goes down the path. On Fri, Sep 19, 2014 at 9:48 PM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
I have built Linux systems which fit in 8MB of disk space (along with the GUI). Google around for "NevyOS". Building a tiny Linux system isn't what worries me, it's the probable high resource consumption of Pharo which is scary. Would Pharo be able to run in the limited compute resources offered by low cost computers like the Raspberry Pi? ~Mayuresh On 2014-09-20 09:45, S Krish wrote:
try the TCL + Pharo stuff. It is simple and easy to hook up.
Tiny Core gets it down to around 20 MB for a bare bone linux + Pharo can be similar to Android if one goes down the path.
On Fri, Sep 19, 2014 at 9:48 PM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello,
While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends).
The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment.
The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...).
Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc.
Thanks,
~Mayuresh
On 20 Sep 2014, at 06:26, Mayuresh Kathe <mayuresh@kathe.in> wrote:
I have built Linux systems which fit in 8MB of disk space (along with the GUI). Google around for "NevyOS".
Building a tiny Linux system isn't what worries me, it's the probable high resource consumption of Pharo which is scary.
Would Pharo be able to run in the limited compute resources offered by low cost computers like the Raspberry Pi?
It already does. But the RPi is not that small by some definitions (512MB RAM, 4GB HD, 32-bit, full linux), while for others it might be a baseline.
~Mayuresh
On 2014-09-20 09:45, S Krish wrote:
try the TCL + Pharo stuff. It is simple and easy to hook up. Tiny Core gets it down to around 20 MB for a bare bone linux + Pharo can be similar to Android if one goes down the path. On Fri, Sep 19, 2014 at 9:48 PM, Mayuresh Kathe <mayuresh@kathe.in> wrote:
Hello, While I am still waiting for my copy of the PBE, I would like to initiate work on a project (along with friends). The idea is to build a minimalist Linux based system which would boot up straight into a full-screen Pharo environment. The system itself would be single user, consisting of not more than a Linux kernel, a few system utilities (busybox?), X (KDrive?) and Pharo (vm + image + ...). Would like to know if it's some how possible to control external programs from within Pharo, essentially shell scripts for network setup, etc. Thanks, ~Mayuresh
participants (6)
-
Alexandre Bergel -
Hilaire -
Mayuresh Kathe -
phil@highoctane.be -
S Krish -
Sven Van Caekenberghe