Subject: Bug#3230: why the hell does perl depend on tcsh???

From: Carlos Carvalho <[email-masked]>
Date: Thu, 6 Jun 96 08:45 EST

Package: perl
Version: 5.002-10

Version -7 didn't depend on tcsh. Why does this version depend? It
shouldn't, anyway.

Carlos

---

From: [email-masked]
Date: Thu, 6 Jun 96 08:34 EDT

Carlos>  Package: perl
  Carlos>  Version: 5.002-10
  Carlos>
  Carlos> Version -7 didn't depend on tcsh. Why does this version depend? It
  Carlos> shouldn't, anyway.

Perl needs tcsh for globbing. There were a couple of bug reports to that
extend.

--
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: Juergen Menden <[email-masked]>
Date: Fri, 7 Jun 1996 09:04:45 +0200 (MET DST)

> Perl needs tcsh for globbing. There were a couple of bug reports to that

and someone suggested that we only have to #undef CSH in some file
so that perl does the globbing itself. I consider this as a bug,
too. we should be able to build a base system with a single shell!

jjm

--
Juergen Menden                   | Disclaimer: The opinions expressed by me,
tel:    +49 (89) 289 - 22387     +-----------+ are (usually) not the opinions
e-mail: [email-masked]     | of anyone else on this planet.

Hi! I'm a .signature virus!  Add me to your .signature and join in the fun!

---

From: [email-masked] (Kai Henningsen)
Date: 07 Jun 1996 13:28:00 +0200

> Perl needs tcsh for globbing. There were a couple of bug reports to that

Of course, the best solution would be to have Perl do the globbing without
tcsh.

MfG Kai

---

From: [email-masked]
Date: Sun, 9 Jun 96 22:44 EDT

Dirk> Perl needs tcsh for globbing. There were a couple of bug reports to
  Dirk> that extend.
  Ian>  No.  In the short term Perl should be configured to do its globbing
  Ian> without csh, and should not be made to depend on csh.
  Ian> 
  Ian> In the long term it should be fixed to use glob() of course.

Sure. I didn't mean to say that I like how perl depends on tcsh. 

I should have made it clear that it _currently_ depends on tcsh and that we
are aware of the problem as the different bug reports state.

---

From: Ian Jackson <[email-masked]>
Date: Mon, 10 Jun 96 02:04 BST

Dirk Eddelbuettel writes ("Bug#3230: why the hell does perl depend on tcsh???"):
...
> Perl needs tcsh for globbing. There were a couple of bug reports to that

No.  In the short term Perl should be configured to do its globbing
without csh, and should not be made to depend on csh.

In the long term it should be fixed to use glob() of course.

Ian.

---

From: Juergen Menden <[email-masked]>
Date: Thu, 13 Jun 1996 11:08:12 +0200 (MET DST)

> Sure. I didn't mean to say that I like how perl depends on tcsh. 

then change it!
perl is already able to do the globbing without using the csh!
it only uses the csh if the pr"aprocessor symbol CSH is set
on compile time, it should be fairly easy to you to unset CSH.

for a description what happens just grep for CSH on the sources,
and you will see that if no csh is available (tested at compile
time through the CSH symbol) that it will use the /bin/sh with
echo and tr to get the same result. and best of all: nothing bad
happens!

in doio.c: 
   one check disabled. now if you run a csh from within perl
   it will be started through /bin/sh and not directly.
   this does not hurt.
in pp_hot.c:
   here you find the code that calls csh #ifdef CSH for globbing,
   or #else calls /bin/sh with echo and tr.
in pp_sys.c:
   only the line
     *SvPVX(rs) = '\n';
   is added #ifndef CSH. i'm not really sure what this line 
   really does, but i would be really surprised if it hurts
   anything.

sorry if i'm harsch, but this is at minimum the third time it
is pointed out to you and i have never seen an answer, rather
that you insist to keep perl depend on csh. at least: if you 
do not want to remove the CSH, which very well might be right, 
could you please tell us why? i do not see any problems with
this, even though i've not yet tried it. 

jjm