ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tcsh
@ 2005-06-09 13:54 Otared Kavian
  2005-06-09 14:24 ` tcsh Taco Hoekwater
  2005-06-09 14:33 ` tcsh Thomas A. Schmitz
  0 siblings, 2 replies; 14+ messages in thread
From: Otared Kavian @ 2005-06-09 13:54 UTC (permalink / raw)


Dear Contexters,

Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't  
work: upon trying to typeset a file it says:

tcsh: /sw/bin/init.csh: No such file or directory.

and everything stops. This behaviour seems to be specific to ConTeXt,  
called from within TeXShop, since typesetting with Plain TeX or LaTeX  
works without problems. Also typesetting with ConTeXt from a command  
line interface works fine.
Is this natural or I have messed up something?

Thank you for your attention.
Best regards: OK

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 13:54 tcsh Otared Kavian
@ 2005-06-09 14:24 ` Taco Hoekwater
  2005-06-09 14:38   ` tcsh Adam Lindsay
  2005-06-09 14:33 ` tcsh Thomas A. Schmitz
  1 sibling, 1 reply; 14+ messages in thread
From: Taco Hoekwater @ 2005-06-09 14:24 UTC (permalink / raw)




Otared Kavian wrote:
> Dear Contexters,
> 
> Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't  work: 
> upon trying to typeset a file it says:
> 
> tcsh: /sw/bin/init.csh: No such file or directory.

Sound like a problem in TeXShop (or possibly gwTeX). ConTeXt does
not deal with tcsh, all included scripts are driven by either perl
or ruby. From the website I understand that perhaps you have to
update TeXShop for 10.4, but I'm only guessing...

Good luck, Taco

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 13:54 tcsh Otared Kavian
  2005-06-09 14:24 ` tcsh Taco Hoekwater
@ 2005-06-09 14:33 ` Thomas A. Schmitz
  2005-06-09 14:45   ` [OT: Re: tcsh] Adam Lindsay
  2005-06-09 14:53   ` tcsh Otared Kavian
  1 sibling, 2 replies; 14+ messages in thread
From: Thomas A. Schmitz @ 2005-06-09 14:33 UTC (permalink / raw)


Otared,

that's typical behavior when you used to have a fink installation  
before the upgrade. Somewhere in your profile (I don't use tcsh, so I  
don't know the name of the file), there's a line saying
"source /sw/bin/init.sh"
to add fink-specific path-variables. Now /sw is gone, so your shell  
can't execute this command. You'll have to either reinstall fink or  
delete the offending line. And you should probably stop using tcsh,  
bash is the standard with newer versions of OS X.

HTH

Thomas

On Jun 9, 2005, at 3:54 PM, Otared Kavian wrote:

> Dear Contexters,
>
> Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't  
> work: upon trying to typeset a file it says:
>
> tcsh: /sw/bin/init.csh: No such file or directory.
>
> and everything stops. This behaviour seems to be specific to  
> ConTeXt, called from within TeXShop, since typesetting with Plain  
> TeX or LaTeX works without problems. Also typesetting with ConTeXt  
> from a command line interface works fine.
> Is this natural or I have messed up something?
>
> Thank you for your attention.
> Best regards: OK
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 14:24 ` tcsh Taco Hoekwater
@ 2005-06-09 14:38   ` Adam Lindsay
  2005-06-09 19:34     ` tcsh Hans Hagen
                       ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Adam Lindsay @ 2005-06-09 14:38 UTC (permalink / raw)


Taco Hoekwater said this at Thu, 9 Jun 2005 16:24:39 +0200:

>
>
>Otared Kavian wrote:
>> Dear Contexters,
>> 
>> Recently I upgraded to MacOS X 10.4 and after that ConTeXt didn't  work: 
>> upon trying to typeset a file it says:
>> 
>> tcsh: /sw/bin/init.csh: No such file or directory.
>
>Sound like a problem in TeXShop (or possibly gwTeX). ConTeXt does
>not deal with tcsh, all included scripts are driven by either perl
>or ruby. From the website I understand that perhaps you have to
>update TeXShop for 10.4, but I'm only guessing...

It's because you installed fink once and it is no longer installed. (I
hate fink.) You could track down which of the files fink modified and
delete the line referring to the /sw/bin/init.csh file. (look in
~/.tcshrc and ~/.login first)

If you don't find anything you could try to put a dummy file in that place:
 mkdir -p /sw/bin
 touch /sw/bin/init.csh

(You probably will need to prefix both commands with 'sudo' and enter
your password at the prompt the first time.)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [OT: Re: tcsh]
  2005-06-09 14:33 ` tcsh Thomas A. Schmitz
@ 2005-06-09 14:45   ` Adam Lindsay
  2005-06-09 18:54     ` Paul Tremblay
  2005-06-09 14:53   ` tcsh Otared Kavian
  1 sibling, 1 reply; 14+ messages in thread
From: Adam Lindsay @ 2005-06-09 14:45 UTC (permalink / raw)


Thomas A. Schmitz said this at Thu, 9 Jun 2005 16:33:00 +0200:

>And you should probably stop using tcsh,  
>bash is the standard with newer versions of OS X.

There may be other reasons for using bash, but I wouldn't say that it
being the current default is one. Apple doesn't rely on your choice of
shell for anything. 

You should use the shell you're most comfortable with.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 14:33 ` tcsh Thomas A. Schmitz
  2005-06-09 14:45   ` [OT: Re: tcsh] Adam Lindsay
@ 2005-06-09 14:53   ` Otared Kavian
  1 sibling, 0 replies; 14+ messages in thread
From: Otared Kavian @ 2005-06-09 14:53 UTC (permalink / raw)



On 9 juin 2005, at 16:33, Thomas A. Schmitz wrote:

> Otared,
>
> that's typical behavior when you used to have a fink installation  
> before the upgrade. Somewhere in your profile (I don't use tcsh, so  
> I don't know the name of the file), there's a line saying
> "source /sw/bin/init.sh"
> to add fink-specific path-variables. Now /sw is gone, so your shell  
> can't execute this command. You'll have to either reinstall fink or  
> delete the offending line. And you should probably stop using tcsh,  
> bash is the standard with newer versions of OS X.
>

Hi Thomas and Taco,

Thank you very much for your help. I didn't find the appropriate file  
where to cancel the offending line, but I created a directory called
  /sw/bin/
and there I put an empty file called init.sh... Now everything works  
with this small trick!
(Actually I do use TeXShop 2.03 and the latest gwTeX).

However I haven't been bold enough to install the latest ConTeXt:  
I'll do it later when I am sure nothing is broken in my installation.

Best regards: OK

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [OT: Re: tcsh]
  2005-06-09 14:45   ` [OT: Re: tcsh] Adam Lindsay
@ 2005-06-09 18:54     ` Paul Tremblay
  2005-06-09 19:58       ` Thomas A. Schmitz
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Tremblay @ 2005-06-09 18:54 UTC (permalink / raw)


On Thu, Jun 09, 2005 at 03:45:06PM +0100, Adam Lindsay wrote:
> 
> There may be other reasons for using bash, but I wouldn't say that it
> being the current default is one. Apple doesn't rely on your choice of
> shell for anything. 
> 

First thing I do whenever I get on the shell on my girlfriend's Mac:

bash

Which puts me in a bash shell.

It is hard to get Apple to default to this behavior. I have tried the
preferences, but that doesn't help.

However, by typeing "bash", I save myself tons of headaches. 

On the other hand, I have written a few apple scripts that run shell
scripts. (Mostly to make it easy for my girlfriend to use.) These
apple scripts will use the tcsh shell, so I've learned to try to set
up the proper variable for tcsh and so fourth. But I hate tchs!

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 14:38   ` tcsh Adam Lindsay
@ 2005-06-09 19:34     ` Hans Hagen
  2005-06-09 21:09       ` tcsh Adam Lindsay
  2005-06-10  7:55     ` tcsh Otared Kavian
  2005-06-10 11:45     ` tcsh Otared Kavian
  2 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2005-06-09 19:34 UTC (permalink / raw)


Adam Lindsay wrote:

> It's because you installed fink once and it is no longer installed. (I
> hate fink.) You could track down which of the files fink modified and
> delete the line referring to the /sw/bin/init.csh file. (look in
> ~/.tcshrc and ~/.login first)

it's indeed hard to get rid of fink ... i go quite some broken stuff now, so i 
probably need a fresh install; is there currently any reason for fink or is the 
mac x driver ok now

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [OT: Re: tcsh]
  2005-06-09 18:54     ` Paul Tremblay
@ 2005-06-09 19:58       ` Thomas A. Schmitz
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas A. Schmitz @ 2005-06-09 19:58 UTC (permalink / raw)



> On Thu, Jun 09, 2005 at 03:45:06PM +0100, Adam Lindsay wrote:
>
>
> There may be other reasons for using bash, but I wouldn't say that it
> being the current default is one. Apple doesn't rely on your choice of
> shell for anything.
>


Of course you're right Adam. Nevertheless, inexperienced users will  
run into trouble because recipes for doing things will usually  
involve bashish commands. For somebody who is not at home on the  
command-line, it's non-trivial to translate "export foo=bar" into  
something that tcsh will understand. So I would still recommend  
switching to bash (or zsh, my favorite shell).

Best

Thomas

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 19:34     ` tcsh Hans Hagen
@ 2005-06-09 21:09       ` Adam Lindsay
  2005-06-09 22:36         ` tcsh Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Adam Lindsay @ 2005-06-09 21:09 UTC (permalink / raw)


Hans Hagen said this at Thu, 9 Jun 2005 21:34:44 +0200:

>Adam Lindsay wrote:
>
>> It's because you installed fink once and it is no longer installed. (I
>> hate fink.) You could track down which of the files fink modified and
>> delete the line referring to the /sw/bin/init.csh file. (look in
>> ~/.tcshrc and ~/.login first)
>
>it's indeed hard to get rid of fink ... i go quite some broken stuff
>now, so i 
>probably need a fresh install; is there currently any reason for fink or
>is the 
>mac x driver ok now

Driver?
It's more a package management system to help compile different open
source projects while sorting through dependencies. 

I personally thought it was more trouble than it was worth by the time
OSX reached 10.2. Most open source projects are mac-friendly enough to
simply be compiled by the user or provided by Gerben in his i-Installer.

Other systems (like <www.darwinports.org> ) are a bit less toxic to your
machine, if you need the convenience of a package manager... but then
you're still opening yourself up to the same problems you see on Linux!
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 21:09       ` tcsh Adam Lindsay
@ 2005-06-09 22:36         ` Hans Hagen
  2005-06-09 22:56           ` tcsh Adam Lindsay
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2005-06-09 22:36 UTC (permalink / raw)


Adam Lindsay wrote:

>>mac x driver ok now
>  
> Driver?

their x-windows system (on top of their own stuff); it was that part that 
conflicted with finks' x-stuff

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 22:36         ` tcsh Hans Hagen
@ 2005-06-09 22:56           ` Adam Lindsay
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lindsay @ 2005-06-09 22:56 UTC (permalink / raw)


Hans Hagen said this at Fri, 10 Jun 2005 00:36:41 +0200:

>> Driver?
>
>their x-windows system (on top of their own stuff); it was that part that 
>conflicted with finks' x-stuff

Yes, Apple's X11 is *so* much better than just about any other option now.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 14:38   ` tcsh Adam Lindsay
  2005-06-09 19:34     ` tcsh Hans Hagen
@ 2005-06-10  7:55     ` Otared Kavian
  2005-06-10 11:45     ` tcsh Otared Kavian
  2 siblings, 0 replies; 14+ messages in thread
From: Otared Kavian @ 2005-06-10  7:55 UTC (permalink / raw)



On 9 juin 2005, at 16:38, Adam Lindsay wrote:

>
> If you don't find anything you could try to put a dummy file in  
> that place:
>  mkdir -p /sw/bin
>  touch /sw/bin/init.csh
>

Many thanks, Adam: that's what I did without knowing the whereabouts  
and mysteries of fink, tcsh, etc...

Regarding X11 and OS X, sometimes (actually quite seldom) I use  
OroborOSX which can be found at
http://oroborosx.sf.net/

Best regards: OK

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: tcsh
  2005-06-09 14:38   ` tcsh Adam Lindsay
  2005-06-09 19:34     ` tcsh Hans Hagen
  2005-06-10  7:55     ` tcsh Otared Kavian
@ 2005-06-10 11:45     ` Otared Kavian
  2 siblings, 0 replies; 14+ messages in thread
From: Otared Kavian @ 2005-06-10 11:45 UTC (permalink / raw)



On 9 juin 2005, at 16:38, Adam Lindsay wrote:


>
> If you don't find anything you could try to put a dummy file in  
> that place:
>  mkdir -p /sw/bin
>  touch /sw/bin/init.csh
>
>

Many thanks, Adam: that's what I did without knowing the whereabouts  
and mysteries of fink, tcsh, etc...

Regarding X11 and OS X, sometimes (actually quite seldom) I use  
OroborOSX which can be found at
http://oroborosx.sf.net/

Best regards: OK

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-06-10 11:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-09 13:54 tcsh Otared Kavian
2005-06-09 14:24 ` tcsh Taco Hoekwater
2005-06-09 14:38   ` tcsh Adam Lindsay
2005-06-09 19:34     ` tcsh Hans Hagen
2005-06-09 21:09       ` tcsh Adam Lindsay
2005-06-09 22:36         ` tcsh Hans Hagen
2005-06-09 22:56           ` tcsh Adam Lindsay
2005-06-10  7:55     ` tcsh Otared Kavian
2005-06-10 11:45     ` tcsh Otared Kavian
2005-06-09 14:33 ` tcsh Thomas A. Schmitz
2005-06-09 14:45   ` [OT: Re: tcsh] Adam Lindsay
2005-06-09 18:54     ` Paul Tremblay
2005-06-09 19:58       ` Thomas A. Schmitz
2005-06-09 14:53   ` tcsh Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).