XTerm scrollbar issue

Thomas Dickey dickey@his.com
Thu Jul 1 22:19:00 GMT 2010


On Wed, 30 Jun 2010, Thomas Dickey wrote:

> On Wed, 30 Jun 2010, webmaster wrote:
>
>> All releases of xterm newer that 229 (i.e. since June '08) have a
>> broken scrollbar.  It never bothered me enough to post a message, but
>> I've been setting up some new systems and have found it annoying to
>> dig up xterm-229 and manually install it.
>> 
>> These images show what the scrollbar used to look like (and what it
>> still looks like in all recent Linux distributions, even with latest
>> xterm builds):
>
> Problems like that shown with the scrollbar are usually a compile-time
> mismatch on floating-point.  There's a configure option for xterm to
> address this (--enable-narrowproto or --disable-narrowproto), since
> the mismatch is not detectable via automatic checks.

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).

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



More information about the Cygwin-xfree mailing list