Page 1 of 1

Adding an option to the PupSave command?

Posted: Wed May 24, 2023 12:46 pm
by Jasper

Hi all

There is one thing that always forget to ask about and that is, when I shut down and I am presented with the dialogue box to "Save" & "No Save", I would like another option to be included.

This would be the ability to "Cancel" and return to my desktop.

Many a time, I have decided to shut down and then realised I had forgotten to do something.

Is this easily enough to incorporate?

Fossapup64-95 OS


Re: Adding an option to the PupSave command?

Posted: Wed May 24, 2023 12:53 pm
by rockedge

We'll have to look at what stage the save or not save prompt is presented. Might be a "cancel" option could be added easily if the shutdown process has not closed some things.

Definitely a good idea though and will be looked at.


Re: Adding an option to the PupSave command?

Posted: Wed May 24, 2023 2:07 pm
by Jasper

@rockedge

It's the final blue screen which gives you the options.

I'm guessing everything by that time is being killed in the background.


Re: Adding an option to the PupSave command?

Posted: Tue May 30, 2023 1:54 pm
by gyrog

Looking at the rc.shutdown script, the default screen is presented far too late.
Many processes have been killed already.

However there is support for a variable $RAMDISK_SAVE_SESSION, that appears to be set outside rc.shutdown, probably before rc.shutdown.
Whatever it is that is supposed to write the file containing the $RAMDISK_SAVE_SESSION might be running in an environment that would support "Cancel".

I guess that's still a maybe.