Oh, hello Ralph!

Ralph Corderoy <[email protected]> wrote:
 |Arch Linux, s-nail 14.8.6-2, xfce4-terminal or xterm.  Running `mail
 |$USER' in the terminal, entering a subject when prompted, and then
 |pasting a dozen lines or so results in just the first of those getting
 |into the body of the email.  The method of pasting doesn't affect the
 |outcome.

Yes, i can confirm this bug, thanks for the report!
The bug lies within my own line editor, it doesn't occur if you
compile (the devel version) with WANT_READLINE=yes or with the
dumb line editor.

I'm currently rewriting that "NCL" rather completely to be the
Mailx-Line-Editor, but my first thought that this has to do with
one of the restrictions of the NCL (which uses the maximum input
linesize of the terminal as an upper limit..) isn't the root for
the problem, it is still happening with the current state of the
MLE, which no longer has it.
Thanks for the report, i'll get back to this thread when i have
found the bug!

 |An strace(1) shows read(2)s of one byte consuming the first line,
 |including the LF.  ioctl(2)s and signal handling are then done.  The
 |next read of stdin sees Ctrl-D, the terminal's EOF character, and no
 |more reads are attempted.

Thanks for the effort, Ralph.
Ciao,

--steffen

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
__________________________________
[email protected]

Reply via email to