This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: XTerm scrollbar issue



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 "[user@node] >" denotes a cygwin bash shell command-line operation)


- installed the src (via cygwin setup)
- [user@node] > mkdir ~/xterm-build
- [user@node] > cd ~/xterm-build
- [user@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
-- [user@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:
-- [user@node] > cd /
-- [user@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]