public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Problem in tcsh
@ 2003-04-02  9:43 Soumitra Pal
  2003-04-02 14:21 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Soumitra Pal @ 2003-04-02  9:43 UTC (permalink / raw)
  To: cygwin

Hi Corinna,

>> Hi,
>> 
>> I am using cygwin tcsh 6.12.00-5. But I am having the following
>> problem:
>> 
>> Suppose I have included /cygdrive/d/Perl/bin and there is a
>> exe "Perl.exe" in d:/Perl/bin directory.
>> 
>> If press Pe + tab at command prompt it shows "Perl" among a
>> list of other executables begining with Pe.
>> But when I enter "Perl" at command prompt. It gives "Command
>> not found".
>> 
>> Strangely if I enter "perl" at command prompt, it works. I don't
>> have any other perl in any of the directories in the path.
>> 
>> Is it a known problem?
>
>Not yet.  What does `which Perl' tell you?  (The built-in which,
>not /bin/which).
>
>Corinna

Built-in which gives:
Perl: Command not found.

But "/bin/which" gives:
/cygdrive/d/Perl/bin/Perl

So it seems that it is a problem with tcsh.

Thanks and regards,
Soumitra.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Problem in tcsh
@ 2003-04-03  4:17 Soumitra Pal
  2003-04-03  9:34 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Soumitra Pal @ 2003-04-03  4:17 UTC (permalink / raw)
  To: cygwin

Hi Corrina,

> > >Not yet.  What does `which Perl' tell you?  (The built-in which,
> > >not /bin/which).
> > >
> > >Corinna
> >
> > Built-in which gives:
> > Perl: Command not found.
> >
> > But "/bin/which" gives:
> > /cygdrive/d/Perl/bin/Perl
> >
> > So it seems that it is a problem with tcsh.
>
> It seems so but I can't reproduce it.  I need more details:
>
> Output of
> - id
> - ls -l /cygdrive/d/Perl/bin/Perl.exe
> - getfacl /cygdrive/d/Perl/bin/Perl.exe
>
> and the trace file of
> - strace -o trace.out tcsh -c 'which Perl'

See the details below:

mitra@a0756997> id
uid=544(a0756997) gid=1005(mmp)
groups=544(Administrators),545(Users),1005(mmp)
mitra@a0756997> ls -l /cygdrive/d/Perl/bin/Perl.exe
-rwxrwxrwx    1 a0756997 SYSTEM      20480 Dec 15  2000
/cygdrive/d/Perl/bin/Perl.exe*
mitra@a0756997> getfacl /cygdrive/d/Perl/bin/Perl.exe
# file: /cygdrive/d/Perl/bin/Perl.exe
# owner: a0756997
# group: SYSTEM
user::---
group::---
mask:rwx
other:rwx

trace.out is a big file. shall i attach it?

see my /etc/passwd & /etc/group files

/etc/passwd
===========
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
admin777$::500:1005:,S-1-5-21-287181475-2026387952-1084442421-500:/home/admi
n777$:/bin/bash
bdbackup::1000:513:backup,S-1-5-21-287181475-2026387952-1084442421-1000:/hom
e/bdbackup:/bin/bash
BDBACKUPEXEC::1001:513:,S-1-5-21-287181475-2026387952-1084442421-1001:/home/
BDBACKUPEXEC:/bin/bash
Guest::501:513:,S-1-5-21-287181475-2026387952-1084442421-501:/home/Guest:/bi
n/bash
SMSCliSvcAcct&::1003:513:SMSCliSvcAcct&,S-1-5-21-287181475-2026387952-108444
2421-1003:/home/SMSCliSvcAcct&:/bin/bash
SMSCliToknAcct&::1004:513:SMSCliToknAcct&,S-1-5-21-287181475-2026387952-1084
442421-1004:/home/SMSCliToknAcct&:/bin/bash
a0756997:*:544:1005:Soumitra Kumar Pal,S-1-5-32-544:/cygdrive/h:/bin/tcsh

/etc/group
==========
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-287181475-2026387952-1084442421-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
mmp:S-1-5-21-287181475-2026387952-1084442421-1005:1005:
NC_S_ISLCK:S-1-5-21-287181475-2026387952-1084442421-1006:1006:


Thanks and regards
Soumitra.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Problem in tcsh
@ 2003-04-01 13:26 Soumitra Pal
  2003-04-01 14:10 ` Ronald Landheer-Cieslak
  2003-04-01 15:06 ` Corinna Vinschen
  0 siblings, 2 replies; 12+ messages in thread
From: Soumitra Pal @ 2003-04-01 13:26 UTC (permalink / raw)
  To: cygwin

Hi,

I am using cygwin tcsh 6.12.00-5. But I am having the following
problem:

Suppose I have included /cygdrive/d/Perl/bin and there is a
exe "Perl.exe" in d:/Perl/bin directory.

If press Pe + tab at command prompt it shows "Perl" among a
list of other executables begining with Pe.
But when I enter "Perl" at command prompt. It gives "Command
not found".

Strangely if I enter "perl" at command prompt, it works. I don't
have any other perl in any of the directories in the path.

Is it a known problem?

Thanks and regards
Soumitra.
------------------------------------------------------------------
Soumitra Pal, Software Design Engineer, Email : mitra@india.ti.com
Simulation Base Technology Team,        Phone : +091-(080)-5099836
DSP-SDS, Texas Instruments (I) Ltd.     Fax   : +091-(080)-5298519
------------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2003-04-03 15:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02  9:43 Problem in tcsh Soumitra Pal
2003-04-02 14:21 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03  4:17 Soumitra Pal
2003-04-03  9:34 ` Corinna Vinschen
2003-04-03 14:09   ` Soumitra Pal
2003-04-03 14:23     ` Corinna Vinschen
2003-04-03 15:13       ` Soumitra Pal
2003-04-03 15:25         ` Randall R Schulz
2003-04-03 15:26         ` Corinna Vinschen
2003-04-01 13:26 Soumitra Pal
2003-04-01 14:10 ` Ronald Landheer-Cieslak
2003-04-01 15:06 ` Corinna Vinschen

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 read-only IMAP folder(s) and NNTP newsgroup(s).