From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 57454@debbugs.gnu.org
Subject: bug#57454: Why are window resizes ignored for Tramp processes?
Date: Sat, 27 Aug 2022 22:38:35 +0200 [thread overview]
Message-ID: <87k06txvzo.fsf@miha-pc> (raw)
[-- 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 --]
reply other threads:[~2022-08-27 20:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k06txvzo.fsf@miha-pc \
--to=bug-gnu-emacs@gnu.org \
--cc=57454@debbugs.gnu.org \
--cc=miha@kamnitnik.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).