Hi Martin.  Thanks for making the script.  A couple of comments:
  1) If the user is running csh not tcsh and doesn't have any dotfiles,
     then I think we want to create .cshrc NOT .tcshrc.  Also, if
     there are no existing dotfiles then creating .cshrc is OK for
     tcsh users as well.  And at some future time when this little
     app exists, the first advice to a user who is having path trouble
     will be: run FinkNewUser.app .  (So if in the meantime somebody
     created a .tcshrc for them, things can be repaired at this stage.)

  2) If we implement something like a FINKINIT environment variable
     to be set the first time that /sw/bin/init.csh is run, then maybe
     we should check that in addition to /sw/sbin.  If only one of the
     two is found, the user can be warned about an unusual setup which
     they will need to fix.

  3) For bash/sh/zsh users, the correct thing is ". /sw/bin/init.sh"
     (the "source" command doesn't exist for those shells).  I think
     we might want to set up a similar default for them, using .profile
     and some other options.

  4) Imagining the hypothetical user who is interested in the gimp and
     abiword and gnumeric, for example, we might also attempt to get
     X11 set up correctly for fink.  (Although maybe that should wait
     until version 2 of this app.)  For example, because .xinitrc is
     executed by /bin/sh, I've got ". /sw/bin/init.sh" in mine to make
     sure that my xterms get the right paths.

  -- Dave


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to