From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57454: Why are window resizes ignored for Tramp processes? Date: Sat, 27 Aug 2022 22:38:35 +0200 Message-ID: <87k06txvzo.fsf@miha-pc> Reply-To: miha@kamnitnik.top Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8860"; mail-complaints-to="usenet@ciao.gmane.io" To: 57454@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 27 22:26:17 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oS2Nl-00028V-9B for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 22:26:17 +0200 Original-Received: from localhost ([::1]:37280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS2Nj-0001JL-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Aug 2022 16:26:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS2NW-0001JA-Nr for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 16:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oS2NW-00064j-FC for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 16:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oS2NW-0004Gf-4C for bug-gnu-emacs@gnu.org; Sat, 27 Aug 2022 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: miha@kamnitnik.top Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Aug 2022 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57454 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166163194916384 (code B ref -1); Sat, 27 Aug 2022 20:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Aug 2022 20:25:49 +0000 Original-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 Original-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 Original-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 Original-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 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== 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240966 Archived-At: --=-=-= 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----- --=-=-=--