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]

Resize a Cygwin64 xterm on Windows 7 64-bit jumps in increments of two or three columns


I have run Cygwin on multiple versions of Windows including recently on
Windows XP and don't think I ever had this problem. Resizing or
specifying a geometry always resulted in the exact number of columns
requested, with increments of 1 column being available when dragging the
borders of a window to resize.

Now, after upgrading to Windows 7 64-bit, I cannot get the window to
have 80 columns on resize. It jumps in increments of two or three,
depending on the number of columns prior to resizing. For example:

$ tput cols 
66 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
69 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
71 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
73 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
75 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
77 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
79 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
82 

xx50283@PP75W9D0R1 ~ 
$ tput cols 
84 


Each one of those was queried after dragging the right-hand edge of the
window by the smallest it would change. I don't know if it is related,
but there is also several pixels (I would say around 20) gap between the
window manager border decoration and the parts of the display presented
by xterm. I did alter from the default Windows config for the desktop,
because I don't want the large default borders. I set "Border Padding"
to have a value of zero.

Should I be able to resize by increments of one column?

I have attached cygcheck output as requested in problem reporting
guidelines, and also /var/log/xwin/XWin.0.log files.
Thanks for any help.
Linus

Attachment: cygcheck.out
Description: Text document

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.15.1.0
OS: CYGWIN_NT-6.1 PP75W9D0R1 1.7.30(0.272/5/3) 2014-05-23 10:36 x86_64
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601](Win64)
Package: version 1.15.1-2 built 2014-05-06

XWin was started with the following command line:

X :0 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1200
winInitializeScreenDefaults - native DPI x 96 y 96
[   427.723] Initializing built-in extension Generic Event Extension
[   427.723] Initializing built-in extension SHAPE
[   427.723] Initializing built-in extension MIT-SHM
[   427.723] Initializing built-in extension XInputExtension
[   427.723] Initializing built-in extension XTEST
[   427.723] Initializing built-in extension BIG-REQUESTS
[   427.723] Initializing built-in extension SYNC
[   427.723] Initializing built-in extension XKEYBOARD
[   427.723] Initializing built-in extension XC-MISC
[   427.723] Initializing built-in extension XINERAMA
[   427.723] Initializing built-in extension XFIXES
[   427.723] Initializing built-in extension XFree86-Bigfont
[   427.723] Initializing built-in extension RENDER
[   427.723] Initializing built-in extension RANDR
[   427.723] Initializing built-in extension COMPOSITE
[   427.723] Initializing built-in extension DAMAGE
[   427.723] Initializing built-in extension MIT-SCREEN-SAVER
[   427.723] Initializing built-in extension DOUBLE-BUFFER
[   427.723] Initializing built-in extension RECORD
[   427.723] Initializing built-in extension DPMS
[   427.723] Initializing built-in extension Present
[   427.723] Initializing built-in extension X-Resource
[   427.723] Initializing built-in extension GLX
[   427.723] (II) xorg.conf is not supported
[   427.723] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
[   427.723] LoadPreferences: /home/xx50283/.XWinrc not found
[   427.754] LoadPreferences: Loading /etc/X11/system.XWinrc
[   427.770] LoadPreferences: Done parsing the configuration file...
[   427.817] winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
[   427.817] winDetectSupportedEngines - Returning, supported engines 00000015
[   427.817] winSetEngine - Multi Window or Rootless => ShadowGDI
[   427.817] winScreenInit - Using Windows display depth of 32 bits per pixel
[   427.817] winAllocateFBShadowGDI - Creating DIB with width: 3840 height: 1200 depth: 32
[   427.817] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[   427.817] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
[   427.817] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[   427.817] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[   427.941] MIT-SHM extension disabled due to lack of kernel support
[   427.957] XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
[   427.973] glWinSelectGLimplementation: Loaded 'cygnativeGLthunk.dll'
[   428.019] GL_VERSION:     1.1.0
[   428.019] GL_VENDOR:      Microsoft Corporation
[   428.019] GL_RENDERER:    GDI Generic
[   428.019] wglwrap: Can't resolve "wglGetExtensionsStringARB"
[   428.019] (EE) AIGLX: Won't use generic native renderer as it is not accelerated
[   428.051] glWinSelectGLimplementation: Loaded 'cygGL-1.dll'
[   428.191] (II) AIGLX: enabled GLX_EXT_texture_from_pixmap
[   428.191] (II) AIGLX: Loaded and initialized swrast
[   428.191] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   429.377] winPointerWarpCursor - Discarding first warp: 1920 600
[   429.377] (--) 3 mouse buttons found
[   429.377] (--) Setting autorepeat to delay=500, rate=31
[   429.377] (--) Windows keyboard layout: "00000409" (00000409) "US", type 7
[   429.377] (--) Found matching XKB configuration "English (USA)"
[   429.377] (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[   429.377] Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
[   429.377] winBlockHandler - pthread_mutex_unlock()
[   429.377] winInitMultiWindowWM - pthread_mutex_lock () returned.
[   429.377] winInitMultiWindowWM - pthread_mutex_unlock () returned.
[   429.377] winMultiWindowXMsgProc - pthread_mutex_lock () returned.
[   429.377] winInitMultiWindowWM - DISPLAY=:0.0
[   429.377] winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
[   429.392] winProcEstablishConnection - winInitClipboard returned.
[   429.392] winClipboardThreadProc - DISPLAY=:0.0
[   429.392] winMultiWindowXMsgProc - DISPLAY=:0.0
[   429.392] winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
[   429.392] winClipboardProc - XOpenDisplay () returned and successfully opened the display.
[   429.392] winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
[  1207.603] executing 'xterm', pid 5716
[180568.552] winWindowProc - WM_DISPLAYCHANGE - new width: 1920 new height: 1200 new bpp: 32
[223378.783] executing 'xterm', pid 6528
[248692.769] winWindowProc - WM_DISPLAYCHANGE - new width: 1920 new height: 1200 new bpp: 32
[269462.055] winWindowProc - WM_DISPLAYCHANGE - new width: 1920 new height: 1200 new bpp: 32
[398571.260] executing 'xterm', pid 4476
[398799.645] executing 'xterm', pid 7816
[402869.118] executing 'xterm', pid 6008

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