--- On Tue, 7/13/10, Jon TURNEY wrote: > From: Jon TURNEY > Subject: Re: Bug or WAD? Midnight Commander F10 different in xterm than > native or rxvt > To: cygwin-xfree@cygwin.com > Date: Tuesday, July 13, 2010, 3:21 PM > On 09/07/2010 07:58, Marco Atzeri wrote: <Snipped> > > on my Win-XP SP2 under cygwin/X > > MC with F10 exits in the current directory > > > > Peter, > > as mc is an alias > > alias mc='. /usr/share/mc/bin/mc-wrapper.sh' > > > > I guess that under X this wrapper is working > > differently than under console > > Perhaps more likely, the alias isn't setup by the shell > init scripts under xterm because of the way the xterm > was started (which the OP hasn't said) (but is being > setup for cmd.exe or rxvt) > > Note that it's impossible for mc to change the current > directory of the parent shell without this alias.
For the record, the xterm I used for this test was the one started from the cygwin-X start menu item. I still have not found the round tuits to compile a debugging version of MC to check this out in more detail, but I hope to do so sometime in the next 30 days (lots of RL intruding). I will reply again when I have more information. Thank you all for your advice and help. Peter -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/