Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

%user.r

 [1/9] from: maillist::peter::home::se at: 11-Oct-2005 8:28


Hello! Sorry if this has been covered many times. I just noticed that when I upgraded from REBOL/Core 2.5.6.4.2 to REBOL/Core 2.6.0.4.2 it does no longer read the %user.r file located in the current directory. What's the correct location for %user.r? Best regards, Peter

 [2/9] from: ammon:johnson::gmail at: 14-Oct-2005 11:01


You can find it in your user directory (on windows it is C:\Documents and Settings\<username>\Application Data\Rebol) HTH!! ~~Ammon ;~> On 10/10/05, Peter Carlsson <[maillist--peter--home--se]> wrote:

 [3/9] from: maillist:peter:home:se at: 14-Oct-2005 20:19


Ammon Johnson wrote:
> You can find it in your user directory (on windows it is C:\Documents > and Settings\<username>\Application Data\Rebol)
Has this changed between 2.5.x and 2.6.x since I have always had the file in the current directory? Best regards, Peter Carlsson

 [4/9] from: ammon::johnson::gmail::com at: 14-Oct-2005 13:33


Yes, it changed. The change was made to better support multi-user environments. This way if you have more than one user that uses rebol frequently then they can each have their own startup script and sandbox as the sandbox has been moved to the user's home directory as well. HTH!! ~~Ammon ;~> On 10/14/05, Peter Carlsson <[maillist--peter--home--se]> wrote:

 [5/9] from: gabriele:colellachiara at: 14-Oct-2005 23:18


Hi Ammon, On Friday, October 14, 2005, 10:33:59 PM, you wrote: AJ> Yes, it changed. The change was made to better support multi-user AJ> environments. This way if you have more than one user that uses rebol AJ> frequently then they can each have their own startup script and AJ> sandbox as the sandbox has been moved to the user's home directory as AJ> well. Note, that's View, not Core. Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

 [6/9] from: maillist:peter:home:se at: 14-Oct-2005 23:28


Gabriele Santilli wrote: Hello Gabriele!
> AJ> Yes, it changed. The change was made to better support multi-user > AJ> environments. This way if you have more than one user that uses rebol > AJ> frequently then they can each have their own startup script and > AJ> sandbox as the sandbox has been moved to the user's home directory as > AJ> well. > > Note, that's View, not Core.
I think it is also true for Core as it was there I noticed it. Right? There should not be different files for Core and View I think. Best regards, Peter Carlsson

 [7/9] from: ammon::johnson::gmail::com at: 14-Oct-2005 14:53


It appears that Core will use user.r in the current directory if it is there, if not it doesn't appear to use any user.r so it seems that just View uses the user.r in your home directory. HTH!! ~~Ammon ;~> On 10/14/05, Peter Carlsson <[maillist--peter--home--se]> wrote:

 [8/9] from: maillist::peter::home::se at: 14-Oct-2005 23:58


Ammon Johnson wrote: Hello Ammon!
> It appears that Core will use user.r in the current directory if it is > there, if not it doesn't appear to use any user.r so it seems that > just View uses the user.r in your home directory.
When I switched from REBOL/Core 2.5.6.4.2 to 2.6.0.4.2 I had to move my %user.r from current directory to ~/ on my Linux system. Otherwise it wouldn't load at startup. Best regards, Peter Carlsson

 [9/9] from: gabriele::colellachiara::com at: 15-Oct-2005 12:41


Hi Peter, On Friday, October 14, 2005, 11:28:03 PM, you wrote: PC> I think it is also true for Core as it was there I noticed it. Right? PC> There should not be different files for Core and View I think. It's not that there are different files, it's that View has an installer, while Core doesn't. I think Core just looks in the same dir as rebol.exe and in your home dir, while View looks wherever you have specified during installation. Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/