From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#37564: [PATCH] don't export LINES and COLUMNS env vars in term to fix ncurses applications Date: Fri, 24 Jan 2020 19:08:32 +0100 Message-ID: <87muac917j.fsf@marxist.se> References: <87y2y5lfnb.fsf@1e0.co.uk> <83eezxatsv.fsf@gnu.org> <87tv8slb6w.fsf@mattleach.net> <83a7aka1q5.fsf@gnu.org> <87sgocfh8c.fsf@mattleach.net> <83y2y48f8u.fsf@gnu.org> <87o8z0few1.fsf@mattleach.net> <83sgob98zk.fsf@gnu.org> <9ipnjdemzv.fsf@fencepost.gnu.org> <878sq0jqi6.fsf@mattleach.net> <87o8uyrlja.fsf@marxist.se> <83pnfevsbv.fsf@gnu.org> <7nd0bd8w1e.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="15087"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: matthew@mattleach.net, 37564@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 24 19:10:03 2020 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 1iv3P9-0003sf-36 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jan 2020 19:10:03 +0100 Original-Received: from localhost ([::1]:46082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv3P8-0004QF-6u for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jan 2020 13:10:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35532) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iv3OB-0002rL-MH for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 13:09:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iv3OA-0005Og-Kj for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 13:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iv3OA-0005OK-HH for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 13:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iv3OA-0005Xe-Az for bug-gnu-emacs@gnu.org; Fri, 24 Jan 2020 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jan 2020 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37564-submit@debbugs.gnu.org id=B37564.157988932621275 (code B ref 37564); Fri, 24 Jan 2020 18:09:02 +0000 Original-Received: (at 37564) by debbugs.gnu.org; 24 Jan 2020 18:08:46 +0000 Original-Received: from localhost ([127.0.0.1]:54731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv3Nt-0005X4-Kd for submit@debbugs.gnu.org; Fri, 24 Jan 2020 13:08:45 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:44956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iv3Ns-0005Wq-5f for 37564@debbugs.gnu.org; Fri, 24 Jan 2020 13:08:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VAzTuHelfFaVgmC7M+k2ujWBhWAr6o871G+1eOKX1qc=; b=OPDWxmDUnSrZeSQU07JpKaCS/0 dGBJtxdW5eNDAwa4SoFK5GQFzeMXgE29zkoM/R+lSziW7km43QlHdWmDwxG2waHps3gNdJbBFHtR1 JIQckfETu9h6t3NGIZPWq05dQB3A5s3kQZMgc3DyFoOlG8BzKU5goH8j5jK44DcgDHca+dtZllBbd O48Hf2IYf4AZwVK3QyC7T7gWk2RvaHSbUzRD+6fyVqC7FtuPpKhkm8LWCxsV6qItkI7BCNWIny/6i qPp+M5ONH6C1ZE6Zgo7nJYoWdQdbS2sXKKlGXTTMuZpNe4GOMuIKyYR431x8fE5oZMfuJfKTKC5AO m9Y5jcbA==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:51612 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iv3Nj-001NbU-33; Fri, 24 Jan 2020 13:08:35 -0500 In-Reply-To: (Glenn Morris's message of "Tue, 21 Jan 2020 22:38:10 -0500") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175238 Archived-At: Glenn Morris writes: > PS for an example of the effect, one can use some of the programs in > the ncurses-examples from > https://invisible-island.net/ncurses/ncurses-examples.html > > eg "worm". > > If I run it in an xfce4-terminal, then maximise the terminal, the worms > spread over the whole screen. > If I "export LINES" and COLUMNS beforehand, then the worms don't expand > beyond the original terminal size. > > The same effect is visible in Emacs's M-x term with and without the > LINES/COLUMNS variables. BTW, we also have Bug#11432. Not sure if that should be merged with this one. Best regards, Stefan Kangas