* 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
* Re: Problem in tcsh
2003-04-03 4:17 Soumitra Pal
@ 2003-04-03 9:34 ` Corinna Vinschen
2003-04-03 14:09 ` Soumitra Pal
0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-03 9:34 UTC (permalink / raw)
To: cygwin
On Thu, Apr 03, 2003 at 09:33:04AM +0530, Soumitra Pal wrote:
> Hi Corrina,
s/rrin/rinn/
> mitra@a0756997> id
> uid=544(a0756997) gid=1005(mmp)
Urgh. What's that bad trick? Your /etc/passwd is broken. Please
regenerate it and don't fake your name is the admins group. Run
under your own account's SID.
> trace.out is a big file. shall i attach it?
Not needed for now. First change the above.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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 9:34 ` Corinna Vinschen
@ 2003-04-03 14:09 ` Soumitra Pal
2003-04-03 14:23 ` Corinna Vinschen
0 siblings, 1 reply; 12+ messages in thread
From: Soumitra Pal @ 2003-04-03 14:09 UTC (permalink / raw)
To: cygwin
Hi Corinna,
> > mitra@a0756997> id
> > uid=544(a0756997) gid=1005(mmp)
> Urgh. What's that bad trick? Your /etc/passwd is broken. Please
> regenerate it and don't fake your name is the admins group. Run
> under your own account's SID.
I have reverted back to original /etc/passwd. But with no success.
My current /etc/passwd is :
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
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:*:1005:1005:Soumitra Kumar Pal:/cygdrive/h:/bin/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 14:09 ` Soumitra Pal
@ 2003-04-03 14:23 ` Corinna Vinschen
2003-04-03 15:13 ` Soumitra Pal
0 siblings, 1 reply; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-03 14:23 UTC (permalink / raw)
To: cygwin
On Thu, Apr 03, 2003 at 07:11:10PM +0530, Soumitra Pal wrote:
> a0756997:*:1005:1005:Soumitra Kumar Pal:/cygdrive/h:/bin/tcsh
Your SID is missing. Use mkpasswd to get the full entry (and then tweak
home and shell fields).
Which Cygwin version, btw? Did you try with 1.3.22?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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 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
0 siblings, 2 replies; 12+ messages in thread
From: Soumitra Pal @ 2003-04-03 15:13 UTC (permalink / raw)
To: cygwin
Corinna,
I did whatever you said.
Current passwd is the following.
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
admin777$:unused_by_nt/2000/xp:500:513:U-A0756997\admin777$,S-1-5-21-2871814
75-2026387952-1084442421-500:/home/admin777$:/bin/bash
bdbackup:unused_by_nt/2000/xp:1000:513:backup,U-A0756997\bdbackup,S-1-5-21-2
87181475-2026387952-1084442421-1000:/home/bdbackup:/bin/bash
BDBACKUPEXEC:unused_by_nt/2000/xp:1001:513:U-A0756997\BDBACKUPEXEC,S-1-5-21-
287181475-2026387952-1084442421-1001:/home/BDBACKUPEXEC:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-A0756997\Guest,S-1-5-21-287181475-20263
87952-1084442421-501:/home/Guest:/bin/bash
SMSCliSvcAcct&:unused_by_nt/2000/xp:1007:513:SMSCliSvcAcct&,U-A0756997\SMSCl
iSvcAcct&,S-1-5-21-287181475-2026387952-1084442421-1007:/home/SMSCliSvcAcct&
:/bin/bash
SMSCliToknAcct&:unused_by_nt/2000/xp:1008:513:SMSCliToknAcct&,U-A0756997\SMS
CliToknAcct&,S-1-5-21-287181475-2026387952-1084442421-1008:/home/SMSCliToknA
cct&:/bin/bash
a0756997:unused_by_nt/2000/xp:1009:1005:U-A0756997\a0756997,S-1-5-21-2871814
75-2026387952-1084442421-1009:/cygdrive/h:/bin/tcsh
But still the problem is not solved.
Mine is latest cygwin.
Thanks and regards,
Soumitra.
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
Of Corinna Vinschen
Sent: Thursday, April 03, 2003 7:19 PM
To: cygwin@cygwin.com
Subject: Re: Problem in tcsh
On Thu, Apr 03, 2003 at 07:11:10PM +0530, Soumitra Pal wrote:
> a0756997:*:1005:1005:Soumitra Kumar Pal:/cygdrive/h:/bin/tcsh
Your SID is missing. Use mkpasswd to get the full entry (and then tweak
home and shell fields).
Which Cygwin version, btw? Did you try with 1.3.22?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
--
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 15:13 ` Soumitra Pal
@ 2003-04-03 15:25 ` Randall R Schulz
2003-04-03 15:26 ` Corinna Vinschen
1 sibling, 0 replies; 12+ messages in thread
From: Randall R Schulz @ 2003-04-03 15:25 UTC (permalink / raw)
To: cygwin
At 06:55 2003-04-03, Soumitra Pal wrote:
>Corinna,
>
>I did whatever you said.
>Current passwd is the following.
>
>...
>
>But still the problem is not solved.
>Mine is latest cygwin.
>
>Thanks and regards,
>Soumitra.
Soumitra,
No one seems to have asked you about your readline options. I know next
to nothing about tcsh, but BASH uses ~/.inputrc in which you can make
completion ignore alphabetic case by using this directive:
set completion-ignore-case on
Does tcsh use ~/.inputrc or an equivalent? Does it support this option?
OK. ... Doing my homework. ...
According to the tcsh man page, the "complete" shell variable controls
command completion options. If it's set to "enhance", then alphabetic
case is ignored. There are other options, of course. E.g.,
"recognize_only_executables" could be relevant here and can be expected
to interact with other Cygwin mechanisms such as "ntsec," actual file
modes and owners, etc.
Check out the "The command-line editor" and "Completion and listing"
sections of the tcsh manual.
Randall Schulz
--
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 15:13 ` Soumitra Pal
2003-04-03 15:25 ` Randall R Schulz
@ 2003-04-03 15:26 ` Corinna Vinschen
1 sibling, 0 replies; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-03 15:26 UTC (permalink / raw)
To: cygwin
On Thu, Apr 03, 2003 at 08:25:51PM +0530, Soumitra Pal wrote:
> a0756997:unused_by_nt/2000/xp:1009:1005:U-A0756997\a0756997,S-1-5-21-2871814
> 75-2026387952-1084442421-1009:/cygdrive/h:/bin/tcsh
>
> But still the problem is not solved.
> Mine is latest cygwin.
I changed user and group membership as well as file permissions to comply
with your settings. I'm sorry but I can't reproduce your problem.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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
* Re: 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
1 sibling, 0 replies; 12+ messages in thread
From: Ronald Landheer-Cieslak @ 2003-04-01 14:10 UTC (permalink / raw)
To: Soumitra Pal; +Cc: cygwin
Have a look here:
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
The check_case option might be of help to you (the default is "relaxed" -
perhaps you should try 'CYGWIN="check_case=ajust"')
I don't know how that interacts with tcsh, though..
HTH
rlc
BTW: there is a perl in the Cygwin distri - it's in /usr/bin/perl. You
could check whether that's the one you're running (`type perl')
On Tue, 1 Apr 2003, Soumitra Pal wrote:
> 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/
>
--
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-01 13:26 Soumitra Pal
2003-04-01 14:10 ` Ronald Landheer-Cieslak
@ 2003-04-01 15:06 ` Corinna Vinschen
1 sibling, 0 replies; 12+ messages in thread
From: Corinna Vinschen @ 2003-04-01 15:06 UTC (permalink / raw)
To: cygwin
On Tue, Apr 01, 2003 at 06:56:19PM +0530, Soumitra Pal wrote:
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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).