Using Self on Linux (Re: [self-interest] Some questions about Self (Transcript, Modules, Browsing Subobjects, Debugging, defaultBehavior))
Russell Allen
mail at russell-allen.com
Mon Dec 14 10:24:40 UTC 2009
Hi Stefan,
Sorry for the delay in replying!
On 04/12/2009, at 9:45 PM, Stefan Hanenberg wrote:
> Many thanks for the answers (I will give some comments in a separate mail).
>
> Russell Allen schrieb:
> > While I've got you, one unrelated question: How do you start your Self
> > snapshot/vm? There are a number of ways and I was recently surprised that
> > someone was doing things in a convoluted way I didn't expect, so I'm trying
> > to get a feel for how people are using it (especially on Linux, which is a
> > new platform for us)
>
> I do not exactly know what "kind of answer" you expect....but lets see ;-)
>
> I did the installation of self in the "ordinary way" (having the binary
> accessible in /usr/bin). I start a snapshot via "self -s MySnaphot.snap".
>
Thanks, this is a good way. Have you tried making the snapshot executable and running it? That should also work, assuming that you have run the INSTALL shellscript (which puts a link to the Self binary at /usr/bin/Self) or otherwise put the Self binary on your path.
> 2 things that seem to be somehow strange:
>
> 1.
> I used self first with a live-version of ubuntu 9.3. There, the refresh
> (or redraw) of the world-object did not work right: whenever I opened
> the Demo snapshot and scrolled right in the world object, "a chaotic
> collection of pixels was shown". Just taking one window into the hand
> and "wipe over the world" corrected it. Now, I am using a regular
> installation of Ubuntu 9.10 and this effect is no longer there. I do not
> know whether this effect depends on the live version or on ubuntu 9.3.
>
>
Odd. I haven't seen this myself. If it happens to me I will investigate it, but as it works for your new Ubuntu I think I'll leave it alone for now.
> 2.
> Whenever I saved a snapshop and reopen it in the way as described above,
> I always get the following message:
>
> ##############################################################
> VM version: 4.1.13
>
> Adjusting VM for better UI2 performance:
> _MaxPICSize: 25
> "Self 1" _Flush
> Could not open display "ROSE:0.0", error: primitiveFailedError
> 1. Try Again
> 2. Try Local Display
> 3. Give Up
> ##############################################################
>
> (rose is the name of my machine)
>
I can reproduce this and will look into the best way of fixing it before the next release (which is due soon). I assume that when you choose "Try Local Display" it works?
> 3.
> Leaving self from the terminal is slightly "unwieldy": I have to press
> CTRL-C for some times, say that I really want to leave Self, etc.
>
If you are in the normal Self 'shell' you should be able to say 'quit' and choose 'n' when asked if you want to save the image (or y if you do).
If you are in the debugger, ^d should stop Self at once.
>
> By the way.....since we are near christmas....
> It would be great to have windows version of self (I know, much
> work...someone has to do it), since it would be easier to convince some
> of my students to "play a little bit with self".
>
> ....just a comment....since it is almost christmas ;-)
>
I will ask Santa nicely... but I suspect I am more likely to get coal in my stocking :) :)
- Russell
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20091214/081ee571/attachment.html>
More information about the Self-interest
mailing list