From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lincoln Baxter" To: Cc: , , Subject: Re: drag/drop args (was Re: Shell-Here Explorer) Date: Thu, 04 Dec 1997 13:02:00 -0000 Message-id: <9712048812.AA881263589@primavera.com> X-SW-Source: 1997-12/msg00160.html From: Lincoln Baxter on 12/04/97 01:39 PM >>> I've been using perl for quite some time from a CMD script, but if I call it from BASH it can't find any of the files! Not true Look at the bashrc file I sent you! (and attached again) I use perl ALL THE TIME. (from bash) on NT Do you have the PERL5LIB and other environment vars set? ********* Do you have #!perl at the top of all your scripts?***************** ********* Are you calling the script with a pathname the INCLUDES the .pl extenstion ? *********** BASH does not use the the PATHEXT winNT EV... (it would be nice if it did) but what the hell >>>The pathnames used by BASH cannot be understood by perl... If you are talking about the virtual mount paths OF COURSE... these are stored in the registry under a cynwyn key. No other tools know about them. If you are talk about the symlinks... OF COURSE... it would have been nice of WinNT has supported these, (They are JUST like unix symlinks in their contents)... bash understands them... it is too bad M$ didn't put this in. If you look at the .bashrc file you will notice that I create an environment var (EV) CDISK with represents the current disk that the virtual mount represents. When I use paths as arguements to winNT programs I use the $CDISK EV. Set the SetLocation and GoTo functions in the bashrc file I sent you. I strongly urge you to understand this .bashrc file... I spend ALOT of time on it... still am, it makes bash VERY usable in a NT environment >>>so does that mean I have to get a new version of perl which was compiled for use with gnu-win32 That is an interesting Idea... but it would be a generic unix port, without support the WINNT stuff like OLE automatic etc that NT perl does today. What I'd like is: for bash to understand how to convert ANSI terminal escape sequences for bold and reverse video, to the NT output formats so that scripts that use these would work like they do on unix. Also I'd also like, to know why it gets 'Out of queue slots!' messages during rm -rf and it would be nice to see the 'setgrent not implemented' messages go away... Lincoln (See attached file: lincoln.bashrc) (See attached file: .bashrc)