This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: C-o in GNU MC and mintty/rxvt issue?
- From: Oleksandr Gavenko <gavenko at bifit dot com dot ua>
- To: cygwin at cygwin dot com
- Date: Wed, 12 May 2010 17:36:19 +0300
- Subject: Re: C-o in GNU MC and mintty/rxvt issue?
- Connect(): No such file or directory
- References: <hse9d6$iug$1@dough.gmane.org>
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