From unknown Sat Jun 21 10:19: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#12646 <12646@debbugs.gnu.org> To: bug#12646 <12646@debbugs.gnu.org> Subject: Status: 24.2.50; Eshell problem with mailx(1) Reply-To: bug#12646 <12646@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:19:36 +0000 retitle 12646 24.2.50; Eshell problem with mailx(1) reassign 12646 emacs submitter 12646 Stephen Berman severity 12646 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 07:09:45 2012 Received: (at submit) by debbugs.gnu.org; 14 Oct 2012 11:09:45 +0000 Received: from localhost ([127.0.0.1]:43331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNM4m-0001eV-C9 for submit@debbugs.gnu.org; Sun, 14 Oct 2012 07:09:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57961) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNM4j-0001eH-I5 for submit@debbugs.gnu.org; Sun, 14 Oct 2012 07:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNM3e-0007uU-Gq for submit@debbugs.gnu.org; Sun, 14 Oct 2012 07:08:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNM3e-0007uQ-Dj for submit@debbugs.gnu.org; Sun, 14 Oct 2012 07:08:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNM3d-00073s-Ft for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 07:08:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNM3c-0007t3-EE for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 07:08:33 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:38074) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TNM3c-0007sq-3o for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2012 07:08:32 -0400 Received: (qmail invoked by alias); 14 Oct 2012 11:08:29 -0000 Received: from i59F5559F.versanet.de (EHLO rosalinde.fritz.box) [89.245.85.159] by mail.gmx.net (mp038) with SMTP; 14 Oct 2012 13:08:29 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18btGResFQb2JfBWMLHCTcgVPe6zptwg10/iSGafp IYDu5N9lVEQdSl From: Stephen Berman To: bug-gnu-emacs@gnu.org Subject: 24.2.50; Eshell problem with mailx(1) Date: Sun, 14 Oct 2012 13:08:26 +0200 Message-ID: <87k3utnwet.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Since updating my openSUSE system from 12.1 to 12.2, I cannot read email by invoking mailx from the eshell prompt: Welcome to the Emacs shell /data/steve/lib/emacs/gtk $ mail Heirloom mailx version 12.5 7/5/10. Type ? for help. "/var/spool/mail/steve": 1 message 1 unread >U 1 jan.h.d@swipnet.se Sat Oct 13 23:53 109/4392 Re: bug#12612: 24.2.50; F ? WARNING: terminal is not fully functional - (press RETURN) ? At EOF ? This happens both with my Emacs build from the current trunk and with openSUSE's official build of 23.3. With openSUSE 12.1, which contains the same version of mailx as 12.2, I also get the warning but after typing RETURN, the top of the mail is displayed and I can scroll through it by repeatedly typing RET. This is openSUSE's official build of 23.3 and with a build of 24.1 (I can't test the current trunk on openSUSE 12.1 without rebuilding Emacs, which is currently rather inconvenient). Both versions of openSUSE use the same version of mailx, and in both the value of $TERM in eshell is dumb. If this is not an Emacs or Eshell problem, what could account for it? In GNU Emacs 24.2.50.3 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4) of 2012-10-14 on rosalinde Bzr revision: 110543 handa@gnu.org-20121014080652-4o4ptkifsi2xqtk4 Windowing system distributor `The X.Org Foundation', version 11.0.11203000 System Description: openSUSE 12.2 (x86_64) Configured using: `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g -O0'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 09:01:45 2012 Received: (at 12646-done) by debbugs.gnu.org; 14 Oct 2012 13:01:45 +0000 Received: from localhost ([127.0.0.1]:43374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNNp9-00050R-6H for submit@debbugs.gnu.org; Sun, 14 Oct 2012 09:01:44 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35653) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNNp4-00050H-8B for 12646-done@debbugs.gnu.org; Sun, 14 Oct 2012 09:01:40 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XfjZC5zM3z4KK5x; Sun, 14 Oct 2012 15:00:35 +0200 (CEST) X-Auth-Info: mGwuUpEFSQOW9VNo83yS20zAxa3FpjH7ELH4OdeGERc= Received: from igel.home (ppp-93-104-139-87.dynamic.mnet-online.de [93.104.139.87]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XfjZC4xLQzbbgP; Sun, 14 Oct 2012 15:00:35 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 2614FCA2A4; Sun, 14 Oct 2012 15:00:35 +0200 (CEST) From: Andreas Schwab To: Stephen Berman Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> X-Yow: .. I feel.. JUGULAR.. Date: Sun, 14 Oct 2012 15:00:34 +0200 In-Reply-To: <87k3utnwet.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Sun, 14 Oct 2012 13:08:26 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12646-done Cc: 12646-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) Stephen Berman writes: > Welcome to the Emacs shell > > /data/steve/lib/emacs/gtk $ mail > Heirloom mailx version 12.5 7/5/10. Type ? for help. > "/var/spool/mail/steve": 1 message 1 unread >>U 1 jan.h.d@swipnet.se Sat Oct 13 23:53 109/4392 Re: bug#12612: 24.2.50; F > ? > WARNING: terminal is not fully functional > - (press RETURN) This is a bug in less, which crashes here. As a workaround, disable the pager. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 19:06:42 2012 Received: (at 12646) by debbugs.gnu.org; 14 Oct 2012 23:06:42 +0000 Received: from localhost ([127.0.0.1]:44273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNXGb-00029G-Rs for submit@debbugs.gnu.org; Sun, 14 Oct 2012 19:06:42 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:38875) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TNXGY-000292-Ni for 12646@debbugs.gnu.org; Sun, 14 Oct 2012 19:06:40 -0400 Received: (qmail invoked by alias); 14 Oct 2012 23:05:28 -0000 Received: from i59F5559F.versanet.de (EHLO rosalinde.fritz.box) [89.245.85.159] by mail.gmx.net (mp033) with SMTP; 15 Oct 2012 01:05:28 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19Z/T1OdzhZ4Wow68S+4nviurIr87jRzH+Zzkgvp8 3CLN/PljGVzBE+ From: Stephen Berman To: 12646@debbugs.gnu.org Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> Date: Mon, 15 Oct 2012 01:05:26 +0200 In-Reply-To: (Andreas Schwab's message of "Sun, 14 Oct 2012 15:00:34 +0200") Message-ID: <87ehl0k62x.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 12646 Cc: schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) On Sun, 14 Oct 2012 15:00:34 +0200 Andreas Schwab wrote: > Stephen Berman writes: > >> Welcome to the Emacs shell >> >> /data/steve/lib/emacs/gtk $ mail >> Heirloom mailx version 12.5 7/5/10. Type ? for help. >> "/var/spool/mail/steve": 1 message 1 unread >>>U 1 jan.h.d@swipnet.se Sat Oct 13 23:53 109/4392 Re: bug#12612: 24.2.50; F >> ? >> WARNING: terminal is not fully functional >> - (press RETURN) > > This is a bug in less, which crashes here. As a workaround, disable the > pager. > > Andreas. Thanks for your explanation and your suggestion, but I have problems with each and, even though this apparently is not an Emacs issue, I hope you will indulge me a bit further: First, regarding your suggested workaround, I'm not sure exactly what you mean. I tried `export PAGER=""' both from eshell and also from the shell before starting Emacs, and neither changed the mailx problem in eshell. Then I tried `export PAGER="more"' and with that I could now read mail with mailx from eshell; is that what you meant? However, this is an unsatisfactory workaround, since `more' is much worse than `less'; also, if this is only a problem with mailx, I wouldn't want to have `less' replaced by `more' generally in eshell. Or if you meant something else, please say precisely what I have to do to disable the pager. Regarding your explanation, both my openSUSE 12.1 and 12.2 installations contain the same version of less, less 444, yet the eshell problem with mailx only happens in 12.2, so the bug must be elsewhere; is it in the 12.2 packaging (less-444-9.1.2.x86_64.rpm vs. less-444-3.2.1.x86_64.rpm in 12.1)? But if so, why is there no problem using less itself from eshell in openSUSE 12.2? And why does this bug only show up with mailx in eshell (AFAIK)? There is no problem using mailx with `M-x shell' or `M-x term', nor from outside of Emacs (all with `less' as pager). If there is a bug in `less' in openSUSE 12.2, I should report it, but aside from just repeating my Emacs bug report, I can't see what else to say; if you can elaborate the issue, that would help. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 19:26:45 2012 Received: (at 12646) by debbugs.gnu.org; 14 Oct 2012 23:26:45 +0000 Received: from localhost ([127.0.0.1]:44332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNXa1-0002bn-4L for submit@debbugs.gnu.org; Sun, 14 Oct 2012 19:26:45 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:51692) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNXZy-0002bd-Jv for 12646@debbugs.gnu.org; Sun, 14 Oct 2012 19:26:44 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XfzRP58Hfz3hhWR; Mon, 15 Oct 2012 01:25:37 +0200 (CEST) X-Auth-Info: Gh2lEUfMU5pSQs1O6vp+7uh8hX6o1X4tcWnWJWKvrpE= Received: from igel.home (ppp-93-104-139-87.dynamic.mnet-online.de [93.104.139.87]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XfzRP2f19zbbch; Mon, 15 Oct 2012 01:25:37 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id D0638CA2A4; Mon, 15 Oct 2012 01:25:36 +0200 (CEST) From: Andreas Schwab To: Stephen Berman Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> X-Yow: HOORAY, Ronald!! Now YOU can marry LINDA RONSTADT too!! Date: Mon, 15 Oct 2012 01:25:36 +0200 In-Reply-To: <87ehl0k62x.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 15 Oct 2012 01:05:26 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) The bug is in less, but triggered by changes in ncurses. You should be able to get the same crash in 12.1 by exporting LINES=0 in the environment. To disable the pager in mailx set crt to a big value. RTFM. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 06:36:36 2012 Received: (at 12646) by debbugs.gnu.org; 15 Oct 2012 10:36:36 +0000 Received: from localhost ([127.0.0.1]:44696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNi2G-0002Z7-21 for submit@debbugs.gnu.org; Mon, 15 Oct 2012 06:36:36 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:41142) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TNi2D-0002Yu-Eq for 12646@debbugs.gnu.org; Mon, 15 Oct 2012 06:36:34 -0400 Received: (qmail invoked by alias); 15 Oct 2012 10:35:20 -0000 Received: from i59F562D0.versanet.de (EHLO rosalinde.fritz.box) [89.245.98.208] by mail.gmx.net (mp027) with SMTP; 15 Oct 2012 12:35:20 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX194l8lI58l4S0tUYfI15yeiSnWEhHCfkY1wB/IcQ6 oWXrZq9Nd+fAtH From: Stephen Berman To: Andreas Schwab Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> Date: Mon, 15 Oct 2012 12:35:18 +0200 Message-ID: <87fw5gauqh.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) On Mon, 15 Oct 2012 01:25:36 +0200 Andreas Schwab wrote: > The bug is in less, but triggered by changes in ncurses. You should be > able to get the same crash in 12.1 by exporting LINES=0 in the > environment. Unfortunately I couldn't test this: I exported LINES=0 in the shell and then started Emacs, but in Eshell `echo $LINES' returned 42; same when I exported LINES=0 within Eshell and also when I used setenv, both before and after starting Eshell. I searched the Eshell manual but found nothing about setting environment variables. I'm still interested to know why I encounter the bug only in Eshell and only with mailx, not with less itself; do you have any idea? > To disable the pager in mailx set crt to a big value. RTFM. > > Andreas. Thanks. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 06:41:06 2012 Received: (at 12646) by debbugs.gnu.org; 15 Oct 2012 10:41:06 +0000 Received: from localhost ([127.0.0.1]:44701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNi6b-0002hU-K7 for submit@debbugs.gnu.org; Mon, 15 Oct 2012 06:41:06 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51843) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNi6Y-0002h5-7i for 12646@debbugs.gnu.org; Mon, 15 Oct 2012 06:41:03 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XgGPQ5N94z4KK2Z; Mon, 15 Oct 2012 12:39:54 +0200 (CEST) X-Auth-Info: VYx2fa93MoZDHqj2TUBf0w+P1VRCiHEj/Ac5k1j2cL4= Received: from igel.home (ppp-88-217-104-12.dynamic.mnet-online.de [88.217.104.12]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XgGPQ3hnRzbbck; Mon, 15 Oct 2012 12:39:54 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id DA9F8CA2A4; Mon, 15 Oct 2012 12:39:53 +0200 (CEST) From: Andreas Schwab To: Stephen Berman Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> <87fw5gauqh.fsf@rosalinde.fritz.box> X-Yow: --``I love KATRINKA because she drives a PONTIAC. We're going away now. I fed the cat. - Zippy'' Date: Mon, 15 Oct 2012 12:39:53 +0200 In-Reply-To: <87fw5gauqh.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 15 Oct 2012 12:35:18 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Stephen Berman writes: > I'm still interested to know why I encounter the bug only in Eshell and > only with mailx, not with less itself; do you have any idea? $ stty rows 0 Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 09:30:54 2012 Received: (at 12646) by debbugs.gnu.org; 15 Oct 2012 13:30:55 +0000 Received: from localhost ([127.0.0.1]:44862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNkkr-0007MT-LD for submit@debbugs.gnu.org; Mon, 15 Oct 2012 09:30:52 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:46549) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TNkkh-0007M8-Nr for 12646@debbugs.gnu.org; Mon, 15 Oct 2012 09:30:42 -0400 Received: (qmail invoked by alias); 15 Oct 2012 13:29:26 -0000 Received: from i59F562D0.versanet.de (EHLO rosalinde.fritz.box) [89.245.98.208] by mail.gmx.net (mp032) with SMTP; 15 Oct 2012 15:29:26 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18iegVmjesiVlVfuWmdVsaydNPl0VuWcLVL+1h+5j N2K0O5GL2sLQrz From: Stephen Berman To: Andreas Schwab Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> <87fw5gauqh.fsf@rosalinde.fritz.box> Date: Mon, 15 Oct 2012 15:29:24 +0200 In-Reply-To: (Andreas Schwab's message of "Mon, 15 Oct 2012 12:39:53 +0200") Message-ID: <87bog3c18r.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) On Mon, 15 Oct 2012 12:39:53 +0200 Andreas Schwab wrote: > Stephen Berman writes: > >> I'm still interested to know why I encounter the bug only in Eshell and >> only with mailx, not with less itself; do you have any idea? > > $ stty rows 0 Do you mean that, as far as Eshell is concerned, the terminal always has 0 rows? At least `stty -a' in Eshell always shows "rows 0", no matter what value I give to N in `stty rows N' at the eshell prompt, whereas in a linux console, e.g. KDE Konsole, `stty rows 0' does indeed change the rows terminal characteristic and prevents reading mail with mailx, just as in Eshell. But e.g. `stty rows 37' in Konsole -- but not in Eshell -- restores the number of rows and the use of mailx (however, `stty rows 0' in Konsole also appears to suppress echoing of keys, and e.g. `stty rows 37' does not restore that). If my understanding of your answer is correct, then it seems to me that this indicates an Eshell doc bug and should at least be noted in PROBLEMS. Of course, the Eshell manual has always been mostly empty, so it may be regarded as a known bug, but this particular case (the change in behavior in mailx when invoked from eshell) is not obvious and likely to catch others who, like me, are not well-acquainted with how such properties of ttys interact with commands like mailx. Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 15 10:07:29 2012 Received: (at 12646) by debbugs.gnu.org; 15 Oct 2012 14:07:29 +0000 Received: from localhost ([127.0.0.1]:45361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNlKL-0008HO-Hg for submit@debbugs.gnu.org; Mon, 15 Oct 2012 10:07:29 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35866) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNlKJ-0008HH-9L for 12646@debbugs.gnu.org; Mon, 15 Oct 2012 10:07:28 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XgLzZ6PCPz4KK7X; Mon, 15 Oct 2012 16:06:15 +0200 (CEST) X-Auth-Info: TBBir0btQDZx5nk1XAJfhdxxFfBmg15/i7BkXsgGEnQ= Received: from igel.home (ppp-88-217-104-12.dynamic.mnet-online.de [88.217.104.12]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XgLzW4X0yzbbgq; Mon, 15 Oct 2012 16:06:15 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 0E18ECA2A4; Mon, 15 Oct 2012 16:06:14 +0200 (CEST) From: Andreas Schwab To: Stephen Berman Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> <87fw5gauqh.fsf@rosalinde.fritz.box> <87bog3c18r.fsf@rosalinde.fritz.box> X-Yow: Yow! Maybe I should have asked for my Neutron Bomb in PAISLEY-- Date: Mon, 15 Oct 2012 16:06:14 +0200 In-Reply-To: <87bog3c18r.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 15 Oct 2012 15:29:24 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) Eshell creates a new tty for each command, so any setting will never be persistent. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 16 09:28:32 2012 Received: (at 12646) by debbugs.gnu.org; 16 Oct 2012 13:28:32 +0000 Received: from localhost ([127.0.0.1]:46340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TO7CB-00014u-9K for submit@debbugs.gnu.org; Tue, 16 Oct 2012 09:28:32 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:57706) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TO7C8-00014a-Dx for 12646@debbugs.gnu.org; Tue, 16 Oct 2012 09:28:29 -0400 Received: (qmail invoked by alias); 16 Oct 2012 13:27:09 -0000 Received: from i59F56789.versanet.de (EHLO rosalinde.fritz.box) [89.245.103.137] by mail.gmx.net (mp072) with SMTP; 16 Oct 2012 15:27:09 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18hq1s6MI4hV5FQDwY8KKFmkyW8dlXi4vt++bvIaQ mOj3Ojy11A6RiM From: Stephen Berman To: Andreas Schwab Subject: Re: bug#12646: 24.2.50; Eshell problem with mailx(1) References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> <87fw5gauqh.fsf@rosalinde.fritz.box> <87bog3c18r.fsf@rosalinde.fritz.box> Date: Tue, 16 Oct 2012 15:27:07 +0200 In-Reply-To: (Andreas Schwab's message of "Mon, 15 Oct 2012 16:06:14 +0200") Message-ID: <874nlumtsk.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 12646 Cc: 12646@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) On Mon, 15 Oct 2012 16:06:14 +0200 Andreas Schwab wrote: > Eshell creates a new tty for each command, so any setting will never be > persistent. I tried tracing the eshell call chain after invoking mailx, but I couldn't find where the tty gets created; can you point me to the code? Also, why is the tty always created with the rows terminal characteristic set to 0? Does Eshell do this (if so, where?) or is it a system or kernel default that Eshell doesn't change? Thanks. Steve Berman From unknown Sat Jun 21 10:19:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator