I hadn't edited .tcshrc yet.
(yes, echo works)
I've now inserted the line into .tcrsh with pico...
and yay it works :} thanks guys!

>As I thought. 
>
>The important part of Marcello's suggestion for our current purposes is
>the 'source /sw/bin/init.csh' line.  This reads a file
>(/sw/bin/init.csh) that adds /sw/bin and /sw/sbin to your PATH, among
>other things.
>
>Do you in fact have /sw/bin/init.csh on your system?  If so then maybe
>your .tcshrc isn't being read correctly.  You can check this by putting
>
>echo 'Hello'
>
>as the first line.  If it's being read correctly then you should get a
>'Hello' message when you log in.  If you don't get the 'Hello' then your
>.tchsrc isn't being read correctly.  What editor did you use to edit
>.tcshrc ?
>
>If you don't have /sw/bin/init.csh then let me know and I'll send you
>mine to try (it's just a text file).
>
>On Wed, 2002-06-26 at 07:09, Dan O'Brien wrote:
>>  >What do you get when you do 'printenv PATH' in a terminal window? 
>>If you are
>>  >set up correctly then you should see a bunch of directories which 
>>have colons
>>  >between them, including
>>  >
>>  >...:/sw/bin:/sw/sbin:...
>>
>>  I get this -
>>
>> 
>>~/bin/powerpc-apple-darwin:/Users/dan/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
>>
>>  nothing about /sw/bin etc
>>
>>  How do I get it to see fink?
>>  Marcello suggested putting this code into my .tcshrc file
>>
>>  if ( $?DISPLAY ) then
>>     set OLDDISPLAY=$DISPLAY
>>     unsetenv DISPLAY
>>     source /sw/bin/init.csh
>>     setenv DISPLAY $OLDDISPLAY
>>  else
>>     source /sw/bin/init.csh
>>  endif
>>
>>  Is that what this code will do?
>>
>>  >
>>  >Your error sounds as if they are absent.
>>  >
>>  >On Tuesday 25 June 2002 11:59, Dan O'Brien wrote:
>>  >>  Marcello, that other thing with locate you suggested didn't work - it
>>  >>  returned no error, but it did nothing either.
>>  >>
>>  >>  I tried putting the path for dpkg in(like this: sudo /sw/bin/dpkg -i
>>  >>  apt_0.5.4-1_darwin-powerpc.deb), and it gave this error:
>>  >>
>>  >>  dpkg: `install-info' not found on PATH.
>>  >>  dpkg: `update-rc.d' not found on PATH.
>>  >>  dpkg: 2 expected program(s) not found on PATH.
>>  >>  NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and
>>  >>  /sbin.
>>  >>
>>  >>  any more ideas?
>>  >
>>  >--
>>  >--
>>  >Alexander K. Hansen
>>  >Associate Research Scientist, Columbia University
>>  >Levitated Dipole Experiment
>>  >MIT Plasma Science and Fusion Center, 175 Albany Street, NW17-219
>>  >Cambridge, MA  02139-4213
>>  >Phone:     617-252-1818    Fax:    208-988-4057
>>
>>
>>  --
>>  Dan O'Brien
>>  The Dancing Ox Company
>>  22 Castle Circus House, 136 Union Street, Torquay TQ2 5QG
>>  01803 409108*www.oxdance.co.uk
>>  creativity*reliability
>>
>>
>>  -------------------------------------------------------
>>  This sf.net email is sponsored by: Jabber Inc.
>>  Don't miss the IM event of the season | Special offer for OSDN members!
>>  JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
>  > _______________________________________________
>  > Fink-users mailing list
>  > [EMAIL PROTECTED]
>  > https://lists.sourceforge.net/lists/listinfo/fink-users
>--
>--
>Alexander K. Hansen
>Associate Research Scientist, Columbia University
>Levitated Dipole Experiment
>MIT Plasma Science and Fusion Center, 175 Albany Street, NW17-219
>Cambridge, MA  02139-4213
>Phone: 617-252-1818    Fax:    208-988-4057


-- 
Dan O'Brien
The Dancing Ox Company
22 Castle Circus House, 136 Union Street, Torquay TQ2 5QG
01803 409108*www.oxdance.co.uk
creativity*reliability


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to