From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#12646: 24.2.50; Eshell problem with mailx(1) Date: Mon, 15 Oct 2012 15:29:24 +0200 Message-ID: <87bog3c18r.fsf@rosalinde.fritz.box> References: <87k3utnwet.fsf@rosalinde.fritz.box> <87ehl0k62x.fsf@rosalinde.fritz.box> <87fw5gauqh.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350307816 13537 80.91.229.3 (15 Oct 2012 13:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 13:30:16 +0000 (UTC) Cc: 12646@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 15:30:23 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TNkkP-0007wa-NF for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 15:30:21 +0200 Original-Received: from localhost ([::1]:54082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNkkI-0007ug-Sq for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 09:30:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNkkA-0007s8-7N for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 09:30:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNkk3-0005DK-Q5 for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 09:30:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNkk3-0005DG-Md for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 09:29:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TNkl6-0007Mu-Ew for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 09:31:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Oct 2012 13:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12646-submit@debbugs.gnu.org id=B12646.135030785528308 (code B ref 12646); Mon, 15 Oct 2012 13:31:03 +0000 Original-Received: (at 12646) by debbugs.gnu.org; 15 Oct 2012 13:30:55 +0000 Original-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 Original-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 Original-Received: (qmail invoked by alias); 15 Oct 2012 13:29:26 -0000 Original-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 In-Reply-To: (Andreas Schwab's message of "Mon, 15 Oct 2012 12:39:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65631 Archived-At: 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