public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Subject: Re: Bug or WAD? Midnight Commander F10 different in xterm than native or rxvt
Date: Tue, 13 Jul 2010 19:21:00 -0000 [thread overview]
Message-ID: <4C3CBCAE.1040303@dronecode.org.uk> (raw)
In-Reply-To: <838437.24058.qm@web25508.mail.ukl.yahoo.com>
On 09/07/2010 07:58, Marco Atzeri wrote:
> --- Ven 9/7/10, Larry Hall ha scritto:
>
>> On 7/8/2010 10:35 PM, Peter Farley
>> wrote:
>>> I don't know if this is the right place to ask this
>> question, but if it is
>>> not please advise me where to send it.
>>>
>>> Midnight Commander exits with F10, and in a native
>> bash window or rxvt F10
>>> exits to the last directory viewed. In an xterm
>> though, it exits to the
>>> original directory from which MC was started.
>>>
>
> 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.
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
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/
next prev parent reply other threads:[~2010-07-13 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 2:36 Peter Farley
2010-07-09 2:39 ` Larry Hall (Cygwin X)
2010-07-09 6:58 ` Marco Atzeri
2010-07-11 4:41 ` Peter Farley
2010-07-13 19:21 ` Jon TURNEY [this message]
2010-07-16 2:46 ` Peter Farley
2010-07-11 4:57 ` Peter Farley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C3CBCAE.1040303@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-xfree@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).