www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.5 required=5.0 tests=AWL,BAYES_20,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_RX,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
connect(): | No such file or directory |
From: | Oleksandr Gavenko <gavenko AT bifit DOT com DOT ua> |
Subject: | Re: C-o in GNU MC and mintty/rxvt issue? |
Date: | Wed, 12 May 2010 17:36:19 +0300 |
Lines: | 68 |
Message-ID: | <hseed3$7ok$1@dough.gmane.org> |
References: | <hse9d6$iug$1 AT dough DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
In-Reply-To: | <hse9d6$iug$1@dough.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
Note-from-DJ: | This may be spam |
On 2010.05.12 16:11, Oleksandr Gavenko wrote: > Recently I decide switch from Far/Total Commander to GNU MC. > > I use Cygwin 1.7.1. > > MC is look beauty with mintty but I have issue: > > 1. when press C-o to see ls output, it have irregular structure, > not indented by column, like column width set to infinity: > > {{{ > Application Data PrintHood > Bluetooth Software PrivacIE > Cookies Recent > gsview32.ini SendTo > IETldCache UserData > Local Settings WINDOWS > NetHood Главное меню > NTUSER.DAT Избранное > ntuser.dat.LOG Мои документы > ntuser.ini Рабочий стол > ntuser.ini.sum Шаблоны > $ ls > }}} > > 2. command output printed before command itself: > > {{{ > xxx xterm xxx > $ echo xxx $TERM xxx > }}} > > 3. Second shell not available. > On Debian I get prompt after pressing C-o, with Cygwin MC pressing > any key back me to MC screen. > > I partially resolve all problem. It seems by default Cygwin MC do not use subshell. I run mc --subshell and all symptom goes out! I dislike many typing and sadly mc is not support any analog of '--subshell' in ~/.mc/ini. So I create scripts: mymc.bat for Windows and Win+R {{{ @echo off REM I probably on Windows with Russian language. set LANG=ru_RU.cp1251 start mintty --size=140,50 -e mc --subshell REM start rxvt -fn 8x16 -fb 8x16 -geometry 140x50 -e mc -a }}} mymc for bash under Windows and for Linux {{{ #!/bin/sh if [ "$OSTYPE" = cygwin ]; then mintty --size=140,50 -e mc --subshell & else xterm -fn 8x16 -fb 8x16 -geometry 140x50 -e mc -a & fi }}} -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |