[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#397339: openssh-client: Drops SIGWINCH events when 'tail' is running



Package: openssh-client
Version: 1:4.3p2-5
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This has been bugging me for ages, I've finally got a way to reproduce
it! In an X11 terminal emulator:

 sam@local$ ssh host
 sam@host$ echo $COLUMNS
 80
 sam@host$ tail -n 0 -f /var/log/daemon.log
 [now resize the terminal emulator window]
 sam@host$ echo $COLUMNS
 80

It seems the 'window changed size' event never got to the server.
Compare to doing the same locally:

 sam@local$ tail -n 0 -f /var/log/daemon.log
 [now resize the terminal emulator window]
 sam@local$ echo $COLUMNS
 96

This also seems to happen if 'screen' is run on the remote host instead
of tail.

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages openssh-client depends on:
ii  adduser  3.99                            Add and remove users and groups
ii  debconf  1.5.8                           Debian configuration management sy
ii  dpkg     1.13.22                         package maintenance system for Deb
ii  libc6    2.3.6.ds1-7                     GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.10.02+dfsg-2 common error description library
ii  libedit2 2.9.cvs.20050518-2.2            BSD editline and history libraries
ii  libkrb53 1.4.4-3                         MIT Kerberos runtime libraries
ii  libncurs 5.5-5                           Shared libraries for terminal hand
ii  libselin 1.32-2                          SELinux shared libraries
ii  libssl0. 0.9.8c-3                        SSL shared libraries
ii  passwd   1:4.0.18.1-5                    change and administer password and
ii  zlib1g   1:1.2.3-13                      compression library - runtime

openssh-client recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFT20yshl/216gEHgRAqDGAJwOuc2SzxF3A5C4IHMJNTr3r1fhPgCg0EFT
bfeRpevFa3V5glwvBGt635E=
=qDch
-----END PGP SIGNATURE-----




Reply to: