Re: Bug: XTerm scrollbar issue

2010-08-09 Thread Ken



On 12/07/2010 16:02, webmaster wrote:

--enable-narrowproto
That turns on a #define for NARROWPROTO which may be missing
 


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


I confirmed that --enable-narrowproto resolves the issue by compiling
the xterm-260-1 source package. My configure options were:


configure --disable-imake --disable-narrowproto --prefix=/usr
--target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin
 




[snip]


In any case, I'll see if I can get xterm rebuilt with this 
configuration change.


Hello,

It appears that the latest xterm-261-1 package still exhibits the 
dysfunctional scrollbar behavior
(tested with Xorg server 1.8.0-1).  The scroll handle starts at the top 
of the slider and never
moves.  And, when any mouse button action is issued in the scroll bar 
area, the entire bar (full
height of the xterm window) becomes shaded.  While scrolling is still 
possible, it is not the
expected, nor desired, behavior.  This was true of the previous 260-1 
package (and a few prior)

as well.

It appears that an attempted workaround/solution was incorporated in the 
xterm-261-1.cygport
file (provided with the src used to build this release) by adding the 
--disable-narrowproto option.
However, the --disable-imake option also appears to be required to 
resolve this errant behavior.


To resolve this issue, I rebuilt my xterm from the xterm-261-1 release 
src as follows (detailed for clarity):
(note: lines prefixed with [u...@node]  denotes a cygwin bash shell 
command-line operation)


 - installed the src (via cygwin setup)
 - [u...@node]  mkdir ~/xterm-build
 - [u...@node]  cd ~/xterm-build
 - [u...@node]  cp /usr/src/xterm-261* .
 - edited the xterm-261-1.cygport file (used vi) to _ADD_ only the 
--disable-imake option; which

results in the following:
   --
cygconf \
--disable-desktop \
--disable-imake \
--disable-narrowproto \
--disable-setuid \
--enable-ansi-color \
--enable-256-color \
--enable-broken-osc \
--enable-broken-st \
--enable-dabbrev \
--enable-doublechars \
--enable-freetype \
--enable-i18n \
--enable-load-vt-fonts \
--enable-logging \
--enable-luit --enable-mini-luit \
--enable-tcap-query \
--enable-toolbar \
--enable-wide-chars \
--with-app-defaults=$(pkg-config --variable=appdefaultdir xt) \
cf_cv_svr4=no
   --
 - built the package as follows:
   -- met the build prerequisites defined in the 
xterm-261-1.cygwin.patch file

   -- [u...@node]  cygport ./xterm-261-1.cygport all
 - exited and closed all cygwin X-sessions and X-server
 - started a cygwin bash console session (via the 'Cygwin Bash Shell' 
shortcut)
 - installed the newly-built xterm package from the newly-created 
xterm-261-1.tar.bz2

file as follows:
   -- [u...@node]  cd /
   -- [u...@node]  tar xvf ~/xterm-build/xterm-261-1.tar.bz2 --bzip2
 - started the XWin server and an xterm terminal

The result is that the scrollbar now works fine ... the scroll handle 
starts as the full height of
the window and compresses towards the bottom of the slider as the 
content scrolls off the
top of the screen.  Also, mouse button actions no longer change the size 
of the handle.


Tested only in Win7 64-bit.

I just thought this may be helpful feedback.

BTW, my sincere thanks goes out to all of the hard-working developers 
and contributors

of Cygwin!!!  Thank You! :-)

Kindly,
Ken


--
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: XTerm scrollbar issue

2010-07-13 Thread Jon TURNEY

On 12/07/2010 16:02, webmaster wrote:

--enable-narrowproto
That turns on a #define for NARROWPROTO which may be missing

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

I confirmed that --enable-narrowproto resolves the issue by compiling
the xterm-260-1 source package. My configure options were:

configure --disable-imake --disable-narrowproto --prefix=/usr
--target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin


Thanks for the clear problem report.

For the avoidance of doubt, since you mention both alternatives in your email, 
we need to add --disable-narrowproto to build xterm with correctly working 
scrollbars on cygwin.


I note that the list of platforms for which --enable-narrowproto is the 
default in xterm's aclocal.m4 CF_ENABLE_NARROWPROTO macro (which includes 
cygwin) doesn't match the list of platforms which default to narrow prototypes 
in xproto (which doesn't include cygwin).  This makes me wonder if the cygwin 
platform default managed to get changed during modularization...


I'm afraid I didn't quite understand the explanation as to why Xfuncproto.h 
might be wrong, so I'm wondering if any other X applications might also show 
this problem...


In any case, I'll see if I can get xterm rebuilt with this configuration change.

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



Re: Bug: XTerm scrollbar issue

2010-07-13 Thread Thomas Dickey

On Tue, 13 Jul 2010, Jon TURNEY wrote:

I note that the list of platforms for which --enable-narrowproto is the 
default in xterm's aclocal.m4 CF_ENABLE_NARROWPROTO macro (which includes 
cygwin) doesn't match the list of platforms which default to narrow 
prototypes in xproto (which doesn't include cygwin).  This makes me wonder if 
the cygwin platform default managed to get changed during modularization...


modularization broke portabililty some time ago, by discarding the
customizations embedded in the imake configurations.  xterm's configure
script only has what was in the imake configuration, so presumably when
cygwin stopped relying on that, it broke here.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

--
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: XTerm scrollbar issue

2010-07-12 Thread webmaster
 --enable-narrowproto
 That turns on a #define for NARROWPROTO which may be missing
 Changing subject to reflect that this is a bug with the Cygwin XTerm package.
I confirmed that --enable-narrowproto resolves the issue by compiling
the xterm-260-1 source package. My configure options were:

configure --disable-imake --disable-narrowproto --prefix=/usr
--target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin

Resultant xterm.exe works as expected.  Seems a simple fix.

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