GNU bug report logs - #57454
Why are window resizes ignored for Tramp processes?

Previous Next

Package: emacs;

Reported by: miha <at> kamnitnik.top

Date: Sat, 27 Aug 2022 20:26:01 UTC

Severity: normal

To reply to this bug, email your comments to 57454 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#57454; Package emacs. (Sat, 27 Aug 2022 20:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to miha <at> kamnitnik.top:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 27 Aug 2022 20:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: miha <at> kamnitnik.top
To: bug-gnu-emacs <at> gnu.org
Subject: Why are window resizes ignored for Tramp processes?
Date: Sat, 27 Aug 2022 22:38:35 +0200
[Message part 1 (text/plain, inline)]
Since

commit b0370a89f6dd57b95be30b8218e17c12d886c27a
Author: Michael Albinus <michael.albinus <at> gmx.de>
Date:   Thu May 4 12:21:32 2017 +0200

    Set process property `adjust-window-size-function' to `ignore' in Tramp

the size of pty for remote Tramp processes is fixed at 24x80.

This affects the following use case: from a remote buffer, type M-x
shell to open a shell buffer on the remote machine. Run gdb in this
shell and print a backtrace that is longer than 24 lines. Since gdb
thinks that the terminal height is 24, it will page the backtrace even
if it could fit into the actual emacs window height. Other programs that
output things differently based on terminal size are affected as well.

Simply reverting the mentioned commit fixes this issue, so I'm wondering
why it was necessary in the first place.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.