How to keep the configuration
12 posts
• Page 1 of 2 • 1, 2
How to keep the configuration
In the menu Options -> Configure you can set the different options for the interpreter. They are saved in a Key in the Registry liked indicated in the general tab.
When I upgrade from V13 to V14 all my tuned options are lost because its not in the same Key. Is there is a way to have those options saved in a file so it could be saved and retrieved ?
Same question for the syntax color in menu Options -> Colors. Is there is a way to preserve those colors when upgrading from V13 to V14 ?
Thanks
When I upgrade from V13 to V14 all my tuned options are lost because its not in the same Key. Is there is a way to have those options saved in a file so it could be saved and retrieved ?
Same question for the syntax color in menu Options -> Colors. Is there is a way to preserve those colors when upgrading from V13 to V14 ?
Thanks
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: How to keep the configuration
If you've uninstalled v13 then you'll just have to do it all again.
But for next time. In Regedit "Export ..." from the File menu exports the entire sub-tree of the current item to a .REG file.
If you haven't uninstalled v13 yet you can find the setup for 13 at:
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 13.1 Unicode
or
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 13.2 Unicode
and export it.
Then change the path in the file to that for v14. Probably:
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 14.0 Unicode
or
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W-64 14.0 Unicode
In either case it's a good idea always to export whatever you've got before installing a new version.
The .REG file runs automatically if double-clicked in explorer so be careful that it's all correct.
But for next time. In Regedit "Export ..." from the File menu exports the entire sub-tree of the current item to a .REG file.
If you haven't uninstalled v13 yet you can find the setup for 13 at:
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 13.1 Unicode
or
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 13.2 Unicode
and export it.
Then change the path in the file to that for v14. Probably:
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W 14.0 Unicode
or
HKEY_CURRENT_USER\Software\Dyalog\Dyalog APL/W-64 14.0 Unicode
In either case it's a good idea always to export whatever you've got before installing a new version.
The .REG file runs automatically if double-clicked in explorer so be careful that it's all correct.
-
Phil Last - Posts: 628
- Joined: Thu Jun 18, 2009 6:29 pm
- Location: Wessex
Re: How to keep the configuration
Thanks Phil it worked !
I would prefer a regular .ini file instead of the registry however. But both have their advantages and disavantages I suppose.
Regards,
Pierre Gilbert
I would prefer a regular .ini file instead of the registry however. But both have their advantages and disavantages I suppose.
Regards,
Pierre Gilbert
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: How to keep the configuration
I've been asking Dyalog for an option to transfer session files (and log files?) as new versions emerge for quite some while now; one of my really bad habits has been to take a Version<n> .dse and just copy it into the Version<n+1> folder. It's a bad habit because sometimes these old session files aren't quite compatible with newer interpreters - and I've stopped doing it (well nearly, almost), just reconciling myself to going through all the Options/Configure stuff each time.
And - on the whole - people don't install new versions that often.
But it would be good to have a "would you like to keep your configuration from the previous version" question during an upgrade install.
And - on the whole - people don't install new versions that often.
But it would be good to have a "would you like to keep your configuration from the previous version" question during an upgrade install.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: How to keep the configuration
Hello Dick, I would second your motion for a "would you like to keep your configuration from the previous version" button during an upgrade install.
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: How to keep the configuration
Hi Pierre,
Phil's suggestion is what I'd recommend as well.
We have previously logged a Request For Enhancement (RFE) for this and are aware of the benefits having this facility would bring.
I would be cautious of exporting/importing the colour schemes because of their binary nature. But if it works, it's fine. It might not work in the future though.
Regards,
Vince
Phil's suggestion is what I'd recommend as well.
We have previously logged a Request For Enhancement (RFE) for this and are aware of the benefits having this facility would bring.
I would be cautious of exporting/importing the colour schemes because of their binary nature. But if it works, it's fine. It might not work in the future though.
Regards,
Vince
- Vince|Dyalog
- Posts: 414
- Joined: Wed Oct 01, 2008 9:39 am
Re: How to keep the configuration
The following little trick should help to get APL objects from ⎕SE from an earlier version into ⎕SE in the current version:
0. For my explanation, I need some objects in ⎕SE in my earlier version:
1. In my earlier version:
2. In my current version
Note that you can't )copy se, only children of se.
Going forwards one of the other things that we are considering is where we put objects in ⎕SE; we could reduce the number of top level objects by, for example, moving all of the objects that make up the session into the Dyalog namespace, and possibly also objects such as Chart and NumEd. Shuffling objects around isn't difficult, but the question would be: how much would it affect users' ⎕SEs ?
0. For my explanation, I need some objects in ⎕SE in my earlier version:
⎕se.⎕fx'foo' '1'
⎕SE.('andys'⎕NS'foo')
1. In my earlier version:
)cs
se←⎕se
)save + tmpws ⍝ Save the session with the workspace
2. In my current version
)cs ⎕se
)copy tmpws se.foo se.andys
⍝ and then Session->Save
Note that you can't )copy se, only children of se.
Going forwards one of the other things that we are considering is where we put objects in ⎕SE; we could reduce the number of top level objects by, for example, moving all of the objects that make up the session into the Dyalog namespace, and possibly also objects such as Chart and NumEd. Shuffling objects around isn't difficult, but the question would be: how much would it affect users' ⎕SEs ?
-
AndyS|Dyalog - Posts: 257
- Joined: Tue May 12, 2009 6:06 pm
Re: How to keep the configuration
Long ago I used to put stuff of my own into ⎕SE, thinking that this was a good way to have tools available to me whatever workspace I was using at the time.
But after a while I stopped doing it - partly because of the aggravation of recreating it for new versions (this was so long ago that my recollection might be hazy and my reasoning might now be wrong).
I really think that the content of ⎕SE should belong to Dyalog - user/programmers can change values but they shouldn't put new stuff in there or delete stuff already there (much as I might be tempted to do some of the latter).
There are plenty of places we can keep our own stuff, and no danger of entangling with Dyalog.
But after a while I stopped doing it - partly because of the aggravation of recreating it for new versions (this was so long ago that my recollection might be hazy and my reasoning might now be wrong).
I really think that the content of ⎕SE should belong to Dyalog - user/programmers can change values but they shouldn't put new stuff in there or delete stuff already there (much as I might be tempted to do some of the latter).
There are plenty of places we can keep our own stuff, and no danger of entangling with Dyalog.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: How to keep the configuration
Dick: I would agree with you to leave ⎕SE to Dyalog and use instead User Commands to share utilities across multiple version of Dyalog.
Vince: If you say that there is a risk in the future that the color scheme in binary will not be the same from one version to another than this mean that we have to do a print screen of our colors scheme for archiving. I would suggest to have a function that will save a 'safe' version on disk for the options of the previous Dyalog version with another function to put it back 'safely' into the registry of the newer version. Anyway, to have to play ourselves to keep our settings from one version to another is not correct and I don't know why we have to talk about it.
Vince: If you say that there is a risk in the future that the color scheme in binary will not be the same from one version to another than this mean that we have to do a print screen of our colors scheme for archiving. I would suggest to have a function that will save a 'safe' version on disk for the options of the previous Dyalog version with another function to put it back 'safely' into the registry of the newer version. Anyway, to have to play ourselves to keep our settings from one version to another is not correct and I don't know why we have to talk about it.
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: How to keep the configuration
I really, really, really 2nd the original issue/opinion.
regedit? omg, please no!
The color scheme is the issue. Other parameters are easy to set, but my fine, carefully chosen, beautiful soft and sensitive colors, that match the sky, and my eyes... both of them...
How much do we need to collect to get a color export/import? :-)
regedit? omg, please no!
The color scheme is the issue. Other parameters are easy to set, but my fine, carefully chosen, beautiful soft and sensitive colors, that match the sky, and my eyes... both of them...
How much do we need to collect to get a color export/import? :-)
- Tomas Gustafsson
- Posts: 101
- Joined: Mon Sep 19, 2011 6:43 pm
12 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group