unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57454: Why are window resizes ignored for Tramp processes?
@ 2022-08-27 20:38 miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; only message in thread
From: miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-27 20:38 UTC (permalink / raw)
  To: 57454

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Since

commit b0370a89f6dd57b95be30b8218e17c12d886c27a
Author: Michael Albinus <michael.albinus@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-27 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-27 20:38 bug#57454: Why are window resizes ignored for Tramp processes? miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).