Your message dated Thu, 31 Jul 2014 00:18:59 +0000
with message-id <[email protected]>
and subject line Bug#725323: fixed in rxvt 1:2.7.10-6
has caused the Debian Bug report #725323,
regarding rxvt: querying initial terminal size fails due to fix for bug #202497
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
725323: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725323
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rxvt
Version: 1:2.7.10-5.1
Severity: normal

Dear Maintainer,

The fix for Debian bug #202497 causes rxvt to not report its initial terminal
size correctly when queried with a standard ioctl() call. Only after the rxvt
window is resized can the terminal size be retrieved correctly.

The attached simple C program shows the ioctl call I am using to query the
terminal size. This uses the TIOCGWINSZ ioctl to get the terminal size of the
program's controlling terminal. When this program is run in a newly started
rxvt, the terminal size is returned as {0,0}. If the rxvt is resized with the
mouse and the program is run again, the correct updated size is returned.

This appears to be a Debian-specific problem, as the patch that was applied to
fix #202497 appears to be the cause of this behavior. When rxvt is rebuilt
without this patch, the correct initial size {24,80} is returned.

I don't fully understand the race condition mentioned in #202497, but it is
implied that the patch applied is only a band-aid and not a real fix. The patch
clearly introduces this undesired reproducible behavior into rxvt for Debian
users, so I would like to see it removed, but I can't comment on the original
problem with the terminal dimensions.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <unistd.h>

int
main (int argc, char *argv[])
{
  struct winsize winsize;
  if (ioctl (STDIN_FILENO, TIOCGWINSZ, &winsize) != 0)
    {
      perror ("termsize");
      exit (EXIT_FAILURE);
    }
  else
    {
      printf ("winsize = struct { ws_row = %hu, ws_col = %hu }\n",
              winsize.ws_row, winsize.ws_col);
    }
  return EXIT_SUCCESS;
}

--- End Message ---
--- Begin Message ---
Source: rxvt
Source-Version: 1:2.7.10-6

We believe that the bug you reported is fixed in the latest version of
rxvt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
George Gensure <[email protected]> (supplier of updated rxvt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Jul 2014 15:05:47 -0400
Source: rxvt
Binary: rxvt rxvt-ml
Architecture: source amd64
Version: 1:2.7.10-6
Distribution: unstable
Urgency: low
Maintainer: George Gensure <[email protected]>
Changed-By: George Gensure <[email protected]>
Description:
 rxvt       - VT102 terminal emulator for the X Window System
 rxvt-ml    - multi-lingual VT102 terminal emulator for the X Window System
Closes: 347344 716576 725323
Changes:
 rxvt (1:2.7.10-6) unstable; urgency=low
 .
   * Fixed rclock segfault on missing USER env variable. (Closes: #716576)
   * SIGHUP behavior changed to SIG_IGN to match xterm/rxvt-unicode.
     (Closes: #347344)
   * Removed decrease-wm-race-likeliness-202497 which caused -geometry
     settings to be ignored by called programs. Closes: #725323
   * Update standards version to 3.9.5
   * Adding source package lintian override for pedantic warning
     debian-watch-may-check-gpg-signature, no signature provided for
     rxvt
Checksums-Sha1:
 6f5ef89ed27df217a04f4bbf38905ed6cefc964c 1770 rxvt_2.7.10-6.dsc
 dabb960d94703d4f81e9a9a50749210a2977ef2b 595073 rxvt_2.7.10.orig.tar.gz
 4c6abdabf9623e2d798fec5e2b05d7cc968d151f 29188 rxvt_2.7.10-6.debian.tar.xz
 e3c30a1d6075d0f83d50922b420a03cf4582006d 210280 rxvt_2.7.10-6_amd64.deb
 55d253a53f6f53c21f8d7ddb22aae95e7dd96e22 183678 rxvt-ml_2.7.10-6_amd64.deb
Checksums-Sha256:
 e3586f3b51bafecbef8aa5e108ccd9e54b57ee473e4dea4e77632dad9cb6f365 1770 
rxvt_2.7.10-6.dsc
 616ad56502820264e6933d07bc4eb752aa6940ec14add6e780ffccf15f38d449 595073 
rxvt_2.7.10.orig.tar.gz
 1ae6e7785b0a07ccd86743a64ea248527659352cff6dfe393421c57fa656d532 29188 
rxvt_2.7.10-6.debian.tar.xz
 e3adf91a2ff4e7eade70f12ce1e8ad87993bcb792ddcf146bcb85042d99231b9 210280 
rxvt_2.7.10-6_amd64.deb
 84f526ed6b7a3e0b21dca349773f9a9aebed85ec1ce2348d48ff5d9e12fd7c33 183678 
rxvt-ml_2.7.10-6_amd64.deb
Files:
 fd3df8927bfcd0cab5ec6e90a9e54ffd 210280 x11 optional rxvt_2.7.10-6_amd64.deb
 7c4bdbbde3dd605c44445edca71ae4d9 183678 x11 optional rxvt-ml_2.7.10-6_amd64.deb
 7293f5488e733c237e0ea5b05cfabfc9 1770 x11 optional rxvt_2.7.10-6.dsc
 302c5c455e64047b02d1ef19ff749141 595073 x11 optional rxvt_2.7.10.orig.tar.gz
 0ce9ca9ecb75164ea009a5dabcbe06eb 29188 x11 optional rxvt_2.7.10-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJT2YgOAAoJEHQmOzf1tfkT0FwQAI7WX9ksyN3d+GoJc0jE25iF
y9o6ZsogayYTWcgsMQgwyc1nLCBdqQvVmqpQTfpWirvZefm/JZkXurlR1dP3Yx8a
RUzxdcPv4oQjm9e+mMBwQSm017J5dK7Igj3t+yYHm4g12FrsADQfvs0F0GL5toTH
osfv1l/TShB0DS9XgRmwuIJi12cVAM2lEKgG+pszV85qNrd6Ab1YO+d3ZW1oqN5y
/7FYu+ulNqtdN2gfsyVv2BNo2tKV1JCwLPJlD/UEOmNLm3dK07Fa3wRkjeaA3RU5
m4wQZrAWauJqkDlmVOGwcD/T13doSVSpWxgFE8hnNzNwRYrQwJo+wUnYF8T1NTW9
K5TDHT3OW+blL6eOWflO+t3NylBUlA1dsCL/Mgu7fAdot7Ri6M/8OokvAUCBNBSa
XTV1eAwe2tZcTF/0/Cr9x9h6sRO6SQwpFUIBraLKx8wJyvmauPrNxupecGZUVAd1
zdxHUXu8gwSSGVp+paPAq5lgJJfIWP9bump70sGyAQ5lEqGy1Cm9I3OL09CUlRVG
10J+9rKzFx7bZDXmklP8AJgmnDzI7rZFaNSWZq1GxvufcF7K1XeLYaBKFLHzNIqZ
uqFVp8597BV2RFOIujVRUjLdg08gKglSVSUzfjLBEWN2u2lf50ldcMpgX+xrTOkA
M3cw+Vh26IKDvakAMwdU
=Mbgc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to