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

On Sun, 14 Oct 2012 15:00:34 +0200 Andreas Schwab <schwab@linux-m68k.org> wrote:

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





  reply	other threads:[~2012-10-14 23:05 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 [this message]
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
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=87ehl0k62x.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.