Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 27 Aug 2004 15:58:32 -0500
From: Brian Ford <ford@vss.fsi.com>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: Strange problem with MC (Attn: MC maintainer)
In-Reply-To: <Pine.GSO.4.61.0408271631190.9041@slinky.cs.nyu.edu>
Message-ID: <Pine.CYG.4.58.0408271545130.2856@fordpc.vss.fsi.com>
References: <05bc3df13cdb341deb6221210b9760aa@NO-ID-FOUND.mhonarc.org> <Pine.GSO.4.61.0408271631190.9041@slinky.cs.nyu.edu>
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/

