Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-17 Thread Mattias Gaertner
On Thu, 16 Jul 2009 19:03:40 +0200 Florian Klaempfl wrote: > Micha Nelissen schrieb: > > Florian Klaempfl wrote: > >>> Then you must be the only one since everybody I know despises it. > >>> We use multiple times login sometimes and then the settings are > >>> always messed up. > >> > >> Well, t

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Micha Nelissen schrieb: Florian Klaempfl wrote: And applications can implement a configuration file lock much easier if they want to detect multiple activity. Do they :)? Does lazarus? IIRC OpenOffice (3.0) does detect it already and warn me. Well, then you need two

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Vincent Snijders wrote: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. Probably the choice to compile lazarus itself to its "configuration" directory is not such a good idea ;-). Micha ___ fpc-pascal mailli

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Micha Nelissen schrieb: > Florian Klaempfl wrote: >>> Then you must be the only one since everybody I know despises it. We use >>> multiple times login sometimes and then the settings are always messed >>> up. >> >> Well, this causes a headache with fully networked home drives as well ;) > > If c

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: My conclusion: I agree with Jonas, you can use network shares for development machines.. Consider 10-50 people working and accessing a server this way :) Using roaming profiles and local source checkouts, this can be handled easily by a 1k Eur server which even doesn't r

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) Then you must be the only one since everybody I know despises it. As I wrote, the company I work for uses this setup for *all* (30,000+) machines all over the world. And I doubt that it

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) But not with Larazus, or? That's just the problem that it stores the settings in parts of the profile that are *not* roamed/copied. ___ fpc-p

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Then you must be the only one since everybody I know despises it. We use multiple times login sometimes and then the settings are always messed up. Well, this causes a headache with fully networked home drives as well ;) If configuration files are per application it's

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
I wouldn't lose my settings on logoff. ;-) Then don't. ;) Usually I just locked the machine overnight. But as soon as I reboot my machine (for whatever reason and at whatever day) I lose all my settings. I am not able to configurate anything different from default because each reboot would ma

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Micha Nelissen schrieb: > Florian Klaempfl wrote: >>> Roaming profiles using auto copy/delete are not the best choice for >>> that. >> >> For me it works fine for years ;) > > Then you must be the only one since everybody I know despises it. We use > multiple times login sometimes and then the set

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Micha Nelissen
Florian Klaempfl wrote: Roaming profiles using auto copy/delete are not the best choice for that. For me it works fine for years ;) Then you must be the only one since everybody I know despises it. We use multiple times login sometimes and then the settings are always messed up. If the prof

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gärtner schrieb: > Zitat von Florian Klaempfl : > >> Mattias Gärtner schrieb: >>> Zitat von Florian Klaempfl : >>> > [...] >> A network file system is too slow for developing. Compiling anything >> via nfs or smb is a nightmare speedwise. > > NFS over gigabit is not that bad. For how

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Zaher Dirkey
I will make small patch(or some modify on code), i think it be more understandable more than my bad language :) -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Jürgen Hestermann wrote: > >> Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't > >> roamed. > > > > Yes. So what's the advantage in using the Lazarus directory > > instead? ;) > > I wouldn't lose my settings on logoff. ;-) Then don't. ;) Usually I just locked

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Zaher Dirkey : Hi, - "Use setup to define the link", i am compile Lazarus from the source not install the by setup. Is it bad idea to make Lazarus read ini/config file in same Lazarus dir, if the file exists then read the path to config directory from it, if not leave Lazarus as is.

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gärtner schrieb: Zitat von Florian Klaempfl : [...] A network file system is too slow for developing. Compiling anything via nfs or smb is a nightmare speedwise. NFS over gigabit is not that bad. For example compiling 94k lines of codetools on a networ

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jonas Maebe
On 16 Jul 2009, at 16:35, Florian Klaempfl wrote: A network file system is too slow for developing. I do quite a bit of developing on an AFS volume. It's slower than working locally of course, but it's quite doable in general. Jonas ___ fpc-pas

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Zaher Dirkey
Hi, - "Use setup to define the link", i am compile Lazarus from the source not install the by setup. Is it bad idea to make Lazarus read ini/config file in same Lazarus dir, if the file exists then read the path to config directory from it, if not leave Lazarus as is. Eclipse IDE ask to workspac

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gärtner schrieb: Zitat von Florian Klaempfl : Mattias Gaertner schrieb: On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it [...] If I log off, the local profile is saved (partely) to

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gärtner
Zitat von Florian Klaempfl : Mattias Gaertner schrieb: On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it [...] If I log off, the local profile is saved (partely) to the (Novell) home dir and

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Yes. So what's the advantage in using the Lazarus directory instead? ;) I wouldn't lose my settings on logoff. ;-) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Luca Olivetti wrote: > En/na Vinzent Hoefler ha escrit: > > But you would lose your settings when changing the machine, because > > then the settings aren't part of your profile anymore. > > Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Yes. So what

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Florian Klaempfl
Mattias Gaertner schrieb: > On Thu, 16 Jul 2009 10:30:23 +0200 > Jürgen Hestermann wrote: > >>> Jürgen Hestermann, how often do you change your working machine? >> Well, I seldom change it [...] >> >> If I log off, the local profile is saved (partely) to the (Novell) >> home dir and then the loca

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Luca Olivetti
En/na Michael Van Canneyt ha escrit: I will attempt to solve the discussion: AFAIK Lazarus uses the getappconfigdir() call. I'll add a optional parameter called 'Roaming', which defaults to 'False' (for backward compatibility), and which can then be used to get the roaming profile directory. O

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Luca Olivetti
En/na Vinzent Hoefler ha escrit: But you would lose your settings when changing the machine, because then the settings aren't part of your profile anymore. Well, this is happening now, since CSIDL_LOCAL_APPDATA isn't roamed. Bye -- Luca ___ fpc-pasc

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
IMHO, that is more a problem of your novel setup than of Lazarus. I don't think so. It's a vaild setup for Windows machines since many years (see http://www.novell.com/coolsolutions/feature/3136.html). So why consider all other setups but not this one? Anyway you know now the trick: --pcp.

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
If I log off, the local profile is saved (partely) to the (Novell) home dir and then the local Windows user is deleted completely (including the profile!) IMO: This type of sharing does not sound very suitable for a development machine. Our company has a world wide identical setup for computer

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gaertner
On Thu, 16 Jul 2009 11:51:29 +0200 Jürgen Hestermann wrote: > >> Therefore it would be the best of all worlds to save the Lazarus > >> settings to the Lazarus directory. > > No. A sane environment shouldn't even grant you write permissions > > there. > > Then Lazarus should ask where to put the

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vincent Snijders
Jürgen Hestermann schreef: Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. Then Lazarus should ask where to put the settings on installation because there are so many d

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. No. A sane environment shouldn't even grant you write permissions there. Then Lazarus should ask where to put the settings on installation because there are so many different configurations and

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Mattias Gaertner
On Thu, 16 Jul 2009 10:30:23 +0200 Jürgen Hestermann wrote: > > Jürgen Hestermann, how often do you change your working machine? > > Well, I seldom change it [...] > > If I log off, the local profile is saved (partely) to the (Novell) > home dir and then the local Windows user is deleted complet

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Michael Van Canneyt
On Thu, 16 Jul 2009, Vinzent Hoefler wrote: On Thursday 16 July 2009, Jürgen Hestermann wrote: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. That's true (although my settings are only 130 kB but they may grow). Therefore it would be the best of all

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Vinzent Hoefler
On Thursday 16 July 2009, Jürgen Hestermann wrote: > > I am not sure having a 100 MB lazarus *roaming* profile by default > > would be a good idea. > > That's true (although my settings are only 130 kB but they may grow). > Therefore it would be the best of all worlds to save the Lazarus > settings

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. That's true (although my settings are only 130 kB but they may grow). Therefore it would be the best of all worlds to save the Lazarus settings to the Lazarus directory. Then you would not have any problem

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-16 Thread Jürgen Hestermann
Jürgen Hestermann, how often do you change your working machine? Well, I seldom change it and I would not even need the Lazarus settings on other machines because I did not install it on these machines. But our system works the following (I don't know whether it is specific to our company or

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: Well, I don't see why we can have only one config dir: windows offers two (notwithstanding the fact that the whole roaming profile implementation is moronic) I see why: not yet implemented. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Yes, my lazarus directory is writable. The configuration directory doesn't seem to me a suitable place for the executable. That's why under windows you have both CSIDL_APPDATA and CSIDL_LOCAL_APPDATA. Correct. And that is why if you have only one config dir,

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: Jürgen Hestermann schreef: definitely a drawback because you lose all your settings then! I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. I've a roaming profile of several GB at work. If you don't ch

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Florian Klaempfl
Vincent Snijders schrieb: > Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. >>> Luca Olivetti schrieb: >>> http://bugs.freepascal.org/

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: En/na Vincent Snijders ha escrit: Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writabl

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writable or you didn't install

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writable or you didn't install components. Otherwise you have a l

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=13908 Interesting that noone ment

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=13908 Interesting that noone mentioned the impact on roamed p

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Jürgen Hestermann ha escrit: > Zaher Dirkey schrieb: use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config Thanks for the solution! Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roamin

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
> Zaher Dirkey schrieb: use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config Thanks for the solution! Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. ___

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Zaher Dirkey
use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Gabor Boros
Hi, I don't know the answer for your question but I know a separate Lazarus mailing list exist. http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Gabor Jürgen Hestermann írta: I am not sure whether there exists a separate mailing list just for Lazarus so I am posting this here:

[fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
I am not sure whether there exists a separate mailing list just for Lazarus so I am posting this here: I have seen a small discussion on http://www.mail-archive.com/laza...@miraclec.com/msg20274.html about where Lazarus stores its configuration settings. I wanted to mention that I have a prob