all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 12646@debbugs.gnu.org
Subject: bug#12646: 24.2.50; Eshell problem with mailx(1)
Date: Mon, 15 Oct 2012 15:29:24 +0200	[thread overview]
Message-ID: <87bog3c18r.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <m2r4p0qarq.fsf@igel.home> (Andreas Schwab's message of "Mon, 15 Oct 2012 12:39:53 +0200")

On Mon, 15 Oct 2012 12:39:53 +0200 Andreas Schwab <schwab@linux-m68k.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> 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





  reply	other threads:[~2012-10-15 13:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 11:08 bug#12646: 24.2.50; Eshell problem with mailx(1) Stephen Berman
2012-10-14 13:00 ` Andreas Schwab
2012-10-14 23:05   ` Stephen Berman
2012-10-14 23:25     ` Andreas Schwab
2012-10-15 10:35       ` Stephen Berman
2012-10-15 10:39         ` Andreas Schwab
2012-10-15 13:29           ` Stephen Berman [this message]
2012-10-15 14:06             ` Andreas Schwab
2012-10-16 13:27               ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bog3c18r.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=12646@debbugs.gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.