<div dir="ltr">Ettore, Herb, thank you so much for all your help with this mystery.<div><br></div><div>Here are some answers to your questions <div><br></div><div>1. I don't have .<span style="font-size:12.8px">tcshrc in my home directory.</span></div><div><span style="font-size:12.8px">2. I do have csh.login, and this is its content:</span></div><div><div style=""><span style="font-size:12.8px"># System-wide .login file for csh(1).</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin"</span></div><div style=""><span style="font-size:12.8px">## TeX added /usr/texbin start at Thu Jan 21 10:53:41 EST 2010</span></div><div style=""><span style="font-size:12.8px">## Do not remove the previous line</span></div><div style=""><span style="font-size:12.8px">if ("${uid}" != "0") then</span></div><div style=""><span style="font-size:12.8px"> set path = ( ${path} "/usr/texbin" )</span></div><div style=""><span style="font-size:12.8px">endif</span></div><div style=""><span style="font-size:12.8px">## Do not remove the next line</span></div><div style=""><span style="font-size:12.8px">## TeX added /usr/texbin end at Thu Jan 21 10:53:41 EST 2010</span></div><div style=""><span style="font-size:12.8px">## setloginpath added /usr/local/bin start at Tue Sep 1 12:54:10 EDT 2015</span></div><div style=""><span style="font-size:12.8px">## Do not remove the previous line</span></div><div style=""><span style="font-size:12.8px">if ("${uid}" != "0") then</span></div><div style=""><span style="font-size:12.8px"> set path = ( ${path} /usr/local/bin )</span></div><div style=""><span style="font-size:12.8px">endif</span></div><div style=""><span style="font-size:12.8px">## Do not remove the next line</span></div><div style=""><span style="font-size:12.8px">## setloginpath added /usr/local/bin end at Tue Sep 1 12:54:10 EDT 2015</span></div><div style="font-size:12.8px"><br></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">3. I do have profile, and this is its content:</div><div style=""><div style=""><span style="font-size:12.8px"># System-wide .profile for sh(1)</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">PATH="/bin:/sbin:/usr/bin:/usr/sbin"</span></div><div style=""><span style="font-size:12.8px">export PATH</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">if [ "${BASH-no}" != "no" ]; then</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>[ -r /etc/bashrc ] && . /etc/bashrc</span></div><div style=""><span style="font-size:12.8px">fi</span></div><div style=""><span style="font-size:12.8px">## TeX added /usr/texbin start at Thu Jan 21 10:53:41 EST 2010</span></div><div style=""><span style="font-size:12.8px">## Do not remove the previous line</span></div><div style=""><span style="font-size:12.8px">if [ `whoami` != "root" ]</span></div><div style=""><span style="font-size:12.8px">then</span></div><div style=""><span style="font-size:12.8px"> PATH="$PATH:/usr/texbin"</span></div><div style=""><span style="font-size:12.8px"> export PATH</span></div><div style=""><span style="font-size:12.8px">fi</span></div><div style=""><span style="font-size:12.8px">## Do not remove the next line</span></div><div style=""><span style="font-size:12.8px">## TeX added /usr/texbin end at Thu Jan 21 10:53:41 EST 2010</span></div><div style=""><span style="font-size:12.8px">## setloginpath added /usr/local/bin start at Tue Sep 1 12:54:10 EDT 2015</span></div><div style=""><span style="font-size:12.8px">## Do not remove the previous line</span></div><div style=""><span style="font-size:12.8px">if [ `whoami` != "root" ]</span></div><div style=""><span style="font-size:12.8px">then</span></div><div style=""><span style="font-size:12.8px"> PATH="$PATH:/usr/local/bin"</span></div><div style=""><span style="font-size:12.8px"> export PATH</span></div><div style=""><span style="font-size:12.8px">fi</span></div><div style=""><span style="font-size:12.8px">## Do not remove the next line</span></div><div style=""><span style="font-size:12.8px">## setloginpath added /usr/local/bin end at Tue Sep 1 12:54:10 EDT 2015</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">with much thanks!</div><div style="font-size:12.8px">John</div></div><div><span style="font-size:12.8px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 10:08 PM, Ettore Aldrovandi <span dir="ltr"><<a href="mailto:ealdrov@mail.math.fsu.edu" target="_blank">ealdrov@mail.math.fsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Herb,<br>
<br>
John has answered that the file /etc/paths.d/TeX contains the line /Library/TeX/texbin.<br>
<br>
So the question is why that file doesn’t get read. The files in /etc/paths.d are read by /usr/libexec/path_helper, which is called by /etc/csh.login (for csh) or /etc/profile (bash and ksh) or /etc/zshenv (for zsh).<br>
<br>
Which files should have been edited? Those under /etc? That’s possible but unlikely. There could be some other .file lingering somewhere that we don’t know about. One possibility is .tcshrc.<br>
<br>
It’s possible tcsh does NOT read /etc/csh.login if it’s not a login shell. In that case path_helper would not be called, and the environment gets read from another dot file. In that case, I agree with you, it would be better to switch to a more predictable shell. (I remember 10.1, which in BSD semi-orthodoxy used tcsh, had a very baroque system of initialization files. Hopefully we are not dealing with a leftover of that!)<br>
<br>
Hopefully we will know soon.<br>
<span class="HOEnZb"><font color="#888888"><br>
—E<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Sep 2, 2015, at 21:47, Herb Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> wrote:<br>
><br>
> Howdy,<br>
><br>
> The problem isn't Fink in this case. Even though the TeX file in /etc/paths.d has /Library/TeX/texbin the $PATH or $path still have /usr/texbin. This suggests that the file in /paths.d wasn't read; they were edited. My only real suggestion, if they were edited, is to edit them again and replace /usr/texbin by /Library/TeX/texbin in those files. I don't know how the system determines if the files have been edited.<br>
><br>
> Good Luck,<br>
> Herb Schulz<br>
><br>
>> On Sep 2, 2015, at 8:24 PM, Ettore Aldrovandi <<a href="mailto:ealdrov@mail.math.fsu.edu">ealdrov@mail.math.fsu.edu</a>> wrote:<br>
>><br>
>> The files in /etc should not have been edited. Fink is not known for editing or changing anything outside /sw. In theory the tcsh should read /etc/paths.d via /usr/libexec/path_helper called by /etc/csh.login (just like bash or zsh for the other family of initialization files).<br>
>><br>
>> I asked John to check if there is a .tcshrc file in $HOME.<br>
><br>
> ----------- Please Consult the Following Before Posting -----------<br>
> TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
> List Reminders and Etiquette: <a href="https://www.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank">https://www.esm.psu.edu/~gray/tex/</a><br>
> List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
> <a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
> TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
> List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
><br>
<br>
</div></div><br>----------- Please Consult the Following Before Posting -----------<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" rel="noreferrer" target="_blank">http://www.tex.ac.uk/faq</a><br>
List Reminders and Etiquette: <a href="https://www.esm.psu.edu/~gray/tex/" rel="noreferrer" target="_blank">https://www.esm.psu.edu/~gray/tex/</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.comp.tex.macosx</a><br>
<a href="https://email.esm.psu.edu/pipermail/macosx-tex/" rel="noreferrer" target="_blank">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br>
TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" rel="noreferrer" target="_blank">http://mactex-wiki.tug.org/</a><br>
List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br>
<br></blockquote></div><br></div>