Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 27 Aug 2004 15:58:32 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Strange problem with MC (Attn: MC maintainer) In-Reply-To: Message-ID: References: <05bc3df13cdb341deb6221210b9760aa AT NO-ID-FOUND DOT mhonarc DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes While we have their attention... $ /bin/sh -c ". /etc/profile" alias: not found $ cat /etc/profile.d/mc.sh alias mc='. /usr/share/mc/bin/mc-wrapper.sh' Since our /bin/sh is ash, could this be a shell function (or something else that is ash compatible) instead? mc() . /usr/share/mc/bin/mc-wrapper.sh I'd like to be able to use /bin/sh as a login shell occasionally without this error. Thanks. On Fri, 27 Aug 2004, Igor Pechtchanski wrote: > On Fri, 27 Aug 2004, landocalrissian wrote: > > > Hello from Gregg C Levine > > Here's a funny thing that's been happening ever since I installed Cygwin > > here, and subscribed to this list: > > cat: /tmp/mc-Gregg: No such file or directory > > cat: C: No such file or directory > > cat: Levine/mc.pwd.1992: No such file or directory > > This is a quoting bug in line 5 of the /usr/share/mc/bin/mc-wrapper.sh > script, which says: > > MC_PWD="`cat $MC_PWD_FILE`" > > This should be > > MC_PWD="`cat "$MC_PWD_FILE"`" > > MC maintainer, please note. In the meantime, you can fix it in your local > copy. > Igor -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/