On 9 March 2011 10:33, Corinna Vinschen wrote: > On Mar 9 09:46, Andy Koppe wrote: >> On 9 March 2011 09:26, Corinna Vinschen wrote: >> > On Mar 9 08:25, Andy Koppe wrote: >> >> >> On Mar 8 13:49, David Sastre wrote: >> >> >>> if TMP/TEMP has to be unset, or set to /tmp per default, or any >> >> >>> other default >> >> >>> decided here, that is something to be done in /etc/profile, IMHO. >> >> >> >> One more thought on this: LANG is set to C.UTF-8 in >> >> /etc/profile.d/lang.{c,}sh, which allows users to change or delete >> >> that without stopping /etc/profile from being updated. This approach >> >> might be appropriate here as well. >> > >> > That's certainly feasible in some way, but I don't understand what >> > you're trying to accomplish. In what situation would this have to be >> > changed on a per-system level? Why isn't it sufficient that the >> > user can change it in the own user profiles? >> >> I don't know, but the same questions could be asked about >> /etc/profile.d/lang.{c,}sh. > > Good point. How important is the place of $TMP/$TEMP from a > Windows perspective? It must be set for some apps, ok, but > how important are the actual whereabouts?
Compatibility moves in mysterious ways. ;) One possible source of trouble I can think of is that the default temp directory is user-specfic, whereas /tmp is shared, which introduces scope for conflicts. Someone might also want to leave TMP/TEMP set to the Windows default for testing purposes, for example because the default path is likely to be quite long and contain funny characters, whereas C:\cygwin\tmp is nice and easy. (But setting them to /tmp still seems a reasonable compromise to me.) Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple