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 17:35:14 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: landocalrissian <landocalrissian@att.net>
cc: cygwin@cygwin.com
Subject: RE: Strange problem with MC (Attn: MC maintainer)
In-Reply-To: <009eb5d5e66b68ece5750fc651885d7d@NO-ID-FOUND.mhonarc.org>
Message-ID: <Pine.GSO.4.61.0408271728470.14438@slinky.cs.nyu.edu>
References: <009eb5d5e66b68ece5750fc651885d7d@NO-ID-FOUND.mhonarc.org> <Pine.GSO.4.61.0408271631190.9041@slinky.cs.nyu.edu> <05bc3df13cdb341deb6221210b9760aa@NO-ID-FOUND.mhonarc.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Fri, 27 Aug 2004, landocalrissian wrote:

> Hello from Gregg C Levine
> I did what you suggested Igor. Now I'm getting:
> bash: command substitution: line 1: unexpected EOF while looking for
> matching `"
> '
> bash: command substitution: line 2: syntax error: unexpected end of file
>
> It also says that:
> /tmp/mc-Gregg: Can't open /tmp/mc-Gregg: No such file or directory
>
> That from trying to browse a BZIP2 compressed tar file. This is also part of
> my original complain.
> Did I cause that, by changing something? What can I do to prevent it?

Are you sure you copied the change I suggested verbatim?  Looks like you
reversed the '"' and the '`' in your copy...  Make sure line 5 reads

 	MC_PWD="`cat "$MC_PWD_FILE"`"

(e.g., by cutting and pasting) and you should be ok.
	Igor
P.S. Oh, and <http://cygwin.com/acronyms/#PCYMTNQREAIYR>, even if it's the
list address.  Thanks.

> Gregg C Levine landocalrissian atsign att dot net
> "This signature isn't here."
>
> > -----Original Message-----
> > From: xxxxxxxxx@xxxxx  [mailto:xxxxxxxxx@xxxxx On Behalf Of
> > Igor Pechtchanski
> > Sent: Friday, August 27, 2004 4:37 PM
> > To: landocalrissian
> > Cc: cygwin@XXXXXX.XXX
> > Subject: Re: Strange problem with MC (Attn: MC maintainer)
> >
> > 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
> >
> > > As all of you can see, the program is attempting to parse the name that tmp
> > > lives in, inside my Documents and Setting folder, and then inside the local
> > > settings folder. And since the folder with my name on it is considered a
> > > "system folder", with those requirements and privleges, I can't rename it.
> > > What's interesting, is that it works normally, except for activities
> > > regarding access to the tmp directory. Are there any work arounds? If I'm
> > > bringing this to the wrong list, then I'll be happy to resend it to the
> > > proper one.
> > > Gregg C Levine landocalrissian atsign att dot net
> > > "This signature asks, "Where am I?"."

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
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/

