Re: Bug or WAD? Midnight Commander F10 different in xterm than native or rxvt

2010-07-08 Thread Marco Atzeri
--- 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.
> >
> > Do you think this a bug in MC or is it WAD?  If
> you think it's a bug in MC I
> > will gladly debug it myself, I just want to know if
> it's WAD for xterm's
> > first.
> >
> > I am using a fresh cygwin + cygwin/X install on WinXP
> SP3, and I will supply
> > the usual problem report documentation if needed to
> answer my question.
> 
> Sorry, I don't know anything about MC really but isn't
> there some doc on
> it that describes what F10 is supposed to do?
> 
> -- 
> Larry Hall


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

---mc-wrapper.sh--
MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
/usr/bin/mc -P "$MC_PWD_FILE" "$@"

if test -r "$MC_PWD_FILE"; then
MC_PWD="`cat $MC_PWD_FILE`"
if test -n "$MC_PWD" && test -d "$MC_PWD"; then
cd "$MC_PWD"
fi
unset MC_PWD
fi

rm -f "$MC_PWD_FILE"
unset MC_PWD_FILE


Regards
Marco






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



Re: Bug or WAD? Midnight Commander F10 different in xterm than native or rxvt

2010-07-08 Thread Larry Hall (Cygwin X)

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.

Do you think this a bug in MC or is it WAD?  If you think it's a bug in MC I
will gladly debug it myself, I just want to know if it's WAD for xterm's
first.

I am using a fresh cygwin + cygwin/X install on WinXP SP3, and I will supply
the usual problem report documentation if needed to answer my question.


Sorry, I don't know anything about MC really but isn't there some doc on
it that describes what F10 is supposed to do?

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.

Q: Are you sure?

A: Because it reverses the logical flow of conversation.

Q: Why is top posting annoying in email?


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



Bug or WAD? Midnight Commander F10 different in xterm than native or rxvt

2010-07-08 Thread Peter Farley
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.

Do you think this a bug in MC or is it WAD?  If you think it's a bug in MC I 
will gladly debug it myself, I just want to know if it's WAD for xterm's first.

I am using a fresh cygwin + cygwin/X install on WinXP SP3, and I will supply 
the usual problem report documentation if needed to answer my question.

Regards,

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/



Bug: XTerm scrollbar issue

2010-07-08 Thread webmaster
> The issue is documented in xterm's INSTALL file.  Packagers have to
> essentially ensure that the prototype for XawScrollbarSetThumb is compiled
> properly.  For instance, the package for xterm in Debian uses
> --enable-narrowproto
>
> That turns on a #define for NARROWPROTO which may be missing (or not not
> coordinated with Xfuncproto.h, which in turn sets #defines used in Xaw, to
> choose between a "float" and a "double" for the type of one of its
> parameters).

Changing subject to reflect that this is a bug with the Cygwin XTerm package.

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