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

2014-08-01 Thread C Linus Hicks
On Thu, 2014-07-31 at 10:33 -0400, C Linus Hicks wrote:
 On Thu, 2014-07-31 at 12:45 +0100, Jon TURNEY wrote:
  On 30/07/2014 19:04, C Linus Hicks wrote:
   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:
  
  Thanks for reporting this problem.
  
  I think this may be resolved by a fix Correctly interpret WM_HINTS, 
  WM_NORMAL_HINTS properties on x86_64 I made in 1.15.1-3 [1].  Can you 
  please test with the latest version?
  
   Should I be able to resize by increments of one column?
  
  Yes
 
 Yes, I will try that within the next day or so. Thanks.

Updated to latest as of 30 minutes ago and it allows me to resize at any
column width. Thanks for your help.



--
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: Resize a Cygwin64 xterm on Windows 7 64-bit jumps in increments of two or three columns

2014-07-31 Thread Jon TURNEY

On 30/07/2014 19:04, C Linus Hicks wrote:

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:


Thanks for reporting this problem.

I think this may be resolved by a fix Correctly interpret WM_HINTS, 
WM_NORMAL_HINTS properties on x86_64 I made in 1.15.1-3 [1].  Can you 
please test with the latest version?



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


Yes

[1] https://cygwin.com/ml/cygwin-xfree/2014-06/msg00017.html

--
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: Resize a Cygwin64 xterm on Windows 7 64-bit jumps in increments of two or three columns

2014-07-31 Thread C Linus Hicks
On Thu, 2014-07-31 at 12:45 +0100, Jon TURNEY wrote:
 On 30/07/2014 19:04, C Linus Hicks wrote:
  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:
 
 Thanks for reporting this problem.
 
 I think this may be resolved by a fix Correctly interpret WM_HINTS, 
 WM_NORMAL_HINTS properties on x86_64 I made in 1.15.1-3 [1].  Can you 
 please test with the latest version?
 
  Should I be able to resize by increments of one column?
 
 Yes

Yes, I will try that within the next day or so. Thanks.



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



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

2014-07-30 Thread C Linus Hicks
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


Cygwin Configuration Diagnostics
Current System Time: Wed Jul 30 17:33:27 2014

Windows 7 Enterprise Ver 6.1 Build 7601 Service Pack 1

Running in Terminal Service session

Path:   C:\Users\xx50283\cygwin64\usr\local\bin
C:\Users\xx50283\cygwin64\bin
C:\Oracle\product\11.2.0\client_1\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files (x86)\1E\NomadBranch
C:\Program Files (x86)\BlueZone\6.1
C:\Users\xx50283\cygwin64\home\xx50283\bin

Output from C:\Users\xx50283\cygwin64\bin\id.exe
UID: 2123645(xx50283) GID: 10513(Domain Users)
10513(Domain Users)   555(Remote Desktop Users) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'xx50283'
PWD = '/home/xx50283'
HOME = '/home/xx50283'

USERDOMAIN_ROAMINGPROFILE = 'PNCNT'
HOMEPATH = '\'
MANPATH = ':/usr/ssl/man'
APPDATA = 'C:\Users\xx50283\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'PP75W9D0R1'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 42 Stepping 7, GenuineIntel'
PROFILEREAD = 'true'
WINDIR = 'C:\WINDOWS'
WINDOWID = '37748766'
PUBLIC = 'C:\Users\Public'
ORIGINAL_PATH = 
'/cygdrive/c/Oracle/product/11.2.0/client_1/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program
 Files (x86)/1E/NomadBranch:/cygdrive/c/Program Files (x86)/BlueZone/6.1'
USERDOMAIN = 'PNCNT'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
UATDATA = 'C:\WINDOWS\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
windows_tracing_flags = '3'
windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
!:: = '::\'
TEMP = '/tmp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'xx50283'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;C:\Program 
Files\Microsoft Application Virtualization\Client\'
XWINLOGFILE = '/var/log/xwin/XWin.0.log'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
LANG = 'en_US.UTF-8'
USERPROFILE = 'C:\Users\xx50283'
CLIENTNAME = 'WIN7-PNC'
TZ = 'America/New_York'
LOGONSERVER = '\\WSWDS325C'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\xx50283\AppData\Local'
HISTCONTROL = 'ignoredups'
XTERM_LOCALE = 'en_US.UTF-8'
XTERM_VERSION = 'XTerm(302)'
ProgramData = 'C:\ProgramData'
EXECIGNORE = '*.dll'
SHLVL = '3'
USERDNSDOMAIN = 'PNCBANK.COM'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'L:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'xx50283'
TMP = '/tmp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Microsoft XPS Document Writer (redirected 2)'
PROCESSOR_REVISION = '2a07'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
PROGRAMFILES = 'C:\Program Files'
HOMESHARE = '\\pncbank.com\corp\Pittsburgh\Users\XX50283'
DISPLAY = ':0.0'
NUMBER_OF_PROCESSORS = '4'
SESSIONNAME = 'RDP-Tcp#0'
COMPUTERNAME = 'PP75W9D0R1'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Installations
  (default) = '\??\C:\Users\xx50283\cygwin64'
HKEY_CURRENT_USER\Software\Cygwin\Program