From unknown Fri Jun 20 20:11:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57454 <57454@debbugs.gnu.org> To: bug#57454 <57454@debbugs.gnu.org> Subject: Status: Why are window resizes ignored for Tramp processes? Reply-To: bug#57454 <57454@debbugs.gnu.org> Date: Sat, 21 Jun 2025 03:11:36 +0000 retitle 57454 Why are window resizes ignored for Tramp processes? reassign 57454 emacs submitter 57454 miha@kamnitnik.top severity 57454 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 27 16:25:49 2022 Received: (at submit) by debbugs.gnu.org; 27 Aug 2022 20:25:49 +0000 Received: from localhost ([127.0.0.1]:57175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS2NJ-0004GC-Hq for submit@debbugs.gnu.org; Sat, 27 Aug 2022 16:25:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:37184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS2NH-0004G4-QA for submit@debbugs.gnu.org; Sat, 27 Aug 2022 16:25:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS2NH-0001Gr-Gt for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 16:25:47 -0400 Received: from kamnitnik.top ([209.250.245.214]:50780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS2NF-0005yj-7Q for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 16:25:46 -0400 From: miha@kamnitnik.top DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1661631938; bh=x+RF9DeI4qgxSWJVxwmc/s7a+LQ3b+yZVGqXldzlqG8=; h=From:To:Subject:Date:From; b=b2kUk+S/FYotABJJfmONvbVd1WKnFf3GoSGAvSdPhpo/oWg8VaKYCyKGurh5mI9XZ 5/N0KiefNM6btmD0g8qcfU3k/h+r9SqxnV/s38/nflsptSKpZXC9BdN8zjSw7OXc42 iYgIJbOa8oZCoTzy92L5I6wBusjMRu+MLebUeW+I+uCIWLgebZi0PxgaJfHHmKv87p D6rBje3Bq6z7fBSNGOTd38ZDbeZ5nYtWeCxe7e0KMv1mmP1+Kk9kfJfws61zYjcM+Z 7/T59j7ueOT2JsxiwykJG/aT4Qp0YIvFaI8L8rYZO5MvsSaS7BXJRwzPKVHmHIs2lb doV3yWgnA0w/w== To: bug-gnu-emacs@gnu.org Subject: Why are window resizes ignored for Tramp processes? Date: Sat, 27 Aug 2022 22:38:35 +0200 Message-ID: <87k06txvzo.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=209.250.245.214; envelope-from=miha@kamnitnik.top; helo=kamnitnik.top X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.001, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since commit b0370a89f6dd57b95be30b8218e17c12d886c27a Author: Michael Albinus Date: Thu May 4 12:21:32 2017 +0200 Set process property `adjust-window-size-function' to `ignore' in Tramp Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=miha%40kamnitnik.top; ip=209.51.188.17; r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --=-=-= Content-Type: text/plain Since commit b0370a89f6dd57b95be30b8218e17c12d886c27a Author: Michael Albinus 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmMKgMsTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP6jMD/9+bdi7qqS5rlxfFCuiqPPcw26mM4Z+ bPkUWlUZ//AZDvZhcb9A/sfVcR5YLmRmTMfzIRybvydLX/au9lHU1t9JXckQNAqT 1zrLZIi2eQDwgNRU61g6iHTZpCct1VGkHzKrDW7G8LDkCaE6aHJOM3uVtom25656 +20RPkKxEQfU0UAQIq+5MOWVLrH1zRYAyr3EAwvYNHv07GujZkgcPCF9gTf0qG+l WqbSIqBxJF3cRUIXz9gMsnQocRVzZkgsi+kS4i35O0hjhgvVE7eU7aGvsbQ3mcB+ ffGLyO8nJFSNX6O9wcJ/Hc/aiKsigxPw0KN0DNlexDFs94K8nmIRiBU3p3Zc3KGo fjRoQgQBkJyLwlmUi80uRd1tOI46TylZwY+EXOIdns/e+gEsg1mM5E9ulikd9BZZ BmFWZZc+Jpovx3D8Pa8IGM5GIS4VK+eUp4z/mn5v7iiyWeITwP/JrsjZ+TfkVHGb xopn1OHQ7xsDxVrinPa65cUsrzvpfZstbYt/Hq89yrIKBbHVV/KUqbnh8kp6OxCc JU7hCY4zOv1HhBAjkLBPICXAMwEzWoVf4FPOoljXtDhSEwAiqc+1EsU20LfoAZo/ L5hyVspY44A9oz7/UY4it5eqeyRxFaVetUFYdYbaQi1TZBuD71OCFVvSIOZw7vts OJYgVACnYB1MKQ== =seAe -----END PGP SIGNATURE----- --=-=-=--