delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/27/16:58:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <ford AT vss DOT fsi DOT com>
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: <Pine.GSO.4.61.0408271631190.9041@slinky.cs.nyu.edu>
Message-ID: <Pine.CYG.4.58.0408271545130.2856@fordpc.vss.fsi.com>
References: <05bc3df13cdb341deb6221210b9760aa AT NO-ID-FOUND DOT mhonarc DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0408271631190 DOT 9041 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019