Did you explicitly save your .cshrc as Unix text in BBedit?  Mac
linefeeds play havoc with shell scripts.

On Wed, 2002-10-23 at 12:12, Birdy Complex wrote:
> Hello,
> 
>       I have a problem because I have two accounts:
>       My Staff account is the one I normally use. I installed and set up Fink 
> while logged in as Staff. (No, my account isn't actually named "Staff" but 
> call it that for now. Staff can run Fink, but can't actually do anything 
> because it's not on the Sudo list.
>       My Admin account (the main, first account) does not recognize the 
> command "Fink".
>       I've used Fink before (to install Gimp & Gnome, for example), but 
> I don't remember how.
> 
>       My question is, beyond the following, what should I do to make 
> Fink work?
> 
>       I made Fink work when I did the following:
>       1) Logged in to OS X as Staff, so I opened a terminal window and 
> logged in to Darwin as Admin.
>       2) Executed the command that's stored in the .cshrc file. (The 
> command is something like, "source /sw/bin/init.csh")
>       3) I was then able to type Fink commands and have them work from 
> that Terminal window.
> 
>       So I made a new .cshrc file (in BBEdit) containing that command 
> and put it in Admin's directory (~/Admin). However, the file's owner is 
> still listed as the Staff user. Maybe that's why the .cshrc file doesn't 
> seem to do anything; it didn't give new Terminal windows the ability to 
> run Fink when logged in as Admin. (If anyone wants to translate my 
> Newbie-ese into *nix Geek, I'd be thrilled.)
>       I'd have to be a superuser to use chown... 
> 
>       It would be better to create the .cshrc file in Terminal using 
> pico, but the shell (not bash, so I guess it's the default shell) doesn't 
> recognize pico, vi, vim, or emacs. ?? Should I have tried "write"? :-)
>       Of course, I can log in as Admin and create the .cshrc file in 
> BBEdit with owner=Admin, but I didn't have time this morning and wanted 
> to know the Darwin way.
> 
> 
> Sorry, that's a lot of half-asked questions, but what I really want to 
> know is "How do I make Fink work in my Admin account (having installed and 
> set up Fink in a different account)?"
> 
> Many thanks,
> complex
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
> 
> _______________________________________________
> Fink-beginners mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
> 
-- 
Alexander K. Hansen
Associate Research Scientist, Columbia University 
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to