delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/06/10:17:35

X-Spam-Check-By: sourceware.org
Message-ID: <454F437C.2040708@mail.ru>
Date: Mon, 06 Nov 2006 16:15:24 +0200
From: Ruslan Fedyarov <fedyarov AT mail DOT ru>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; ru-RU; rv:1.7.13) Gecko/20060414
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, ptsekov AT gmx DOT net
Subject: Midnight Commander problem
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

Hello,

Thank all you Cygwin contributors for MC under Win32, at last I can use 
the same rules in both Windows and Linux. There's a little problem with 
running programs from CD:

If I'm right MC uses /tmp directory for small sh scripts doing run job, 
but when you change to /cygdrive/d or whatever other than C:, you can't 
run any .exe program placed there (bash tells there's no '/tmp' directory).

The only way to run a program from CD under MC is to change back to 
/cygdirve/c and run the necessary program with full path, e.g. 
'/cygdrive/d/setup.exe'. I've tried to change system MC_TMPDIR and 
TMPDIR variables, but nothing happened, MC_TMPDIR still points to /tmp 
under MC.

I guess Cygwin's MC should use /cygdrive/c/tmp or $TMP/$TEMP instead of 
/tmp for running programs. Please correct it. I'd appreciate also mouse 
support in MC someday :). But probably it's ncurses maintainers matter.

I also propose to use  'Open=/cygdrive/c/windows/system32/cmd.exe /c %f'
in the last 'default/*' section of extension bindings, otherwise one 
can't run '.msi' and other unknown files from MC.

Ruslan Fedyarov

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