Re: [Newbies] Safe shut down

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Safe shut down

Bert Freudenberg
On 20.01.2011, at 09:41, Gary Dunn wrote:

> All we really need is to clean up a session during shutdown. The simple way is to trap SIGTERM and do the right thing: at the minimum do a save. If possible, prompt user to save yes/no. XSMP and D-BUS do more than Unix signals, such as the option to restart automatically. That sort of thing might be useful, but let's learn to walk first.
>
> Comments welcome.

Since implementing this is hardly a beginner's topic, let's move the discussion to squeak-dev. Reply-To set.

Catching SIGTERM should be reasonably simple using OSProcess.

There also are D-Bus bindings for Squeak that could be used.

Both options are IMHO inferior to having XSMP support in the VM, which should work across pretty much all X11 desktops. But they appear to be easier to implement.

- Bert -

>
>> On Jan 19, 2011 9:24 PM, "David Corking" <[hidden email]> wrote:
>>
>> On Sat, Jan 15, 2011 at 5:05 AM, Gary Dunn wrote[1] :
>>
>> > Interesting, I found this in a discussion on XSMP:
>> >
>> > Newer alternative sessions (GDM Greeter, O...
>>
>> Sounds great.  This bug (linked from the above GNOME wiki page) looks
>> particularly relevant:
>>
>> https://bugzilla.gnome.org/show_bug.cgi?id=535829
>>
>> Hope that helps, David
>>
>> [1] http://lists.squeakfoundation.org/pipermail/beginners/2011-January/007497.html
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]...
>>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


Reply | Threaded
Open this post in threaded view
|

Re: [Newbies] Safe shut down

Bert Freudenberg

On 20.01.2011, at 13:03, Bert Freudenberg wrote:

> Since implementing this is hardly a beginner's topic, let's move the discussion to squeak-dev. Reply-To set.

Meh. Reply-to is getting munged on newbies list. Please adjust headers manually.

- Bert -