Good morning! Steffen Nurpmeso <[email protected]> wrote: |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.
The very moment i cut the internet connection i recalled a brain damage in last october, and it indeed seems to be the culprit. I really think i finally have to do a bugfix release since i'll need a few months for v14.9. Thanks again for reporting this, Ralph! Ciao! commit ff5d914 Author: Steffen (Daode) Nurpmeso <[email protected]> AuthorDate: 2016-03-25 10:52:05 +0100 Commit: Steffen (Daode) Nurpmeso <[email protected]> CommitDate: 2016-03-25 10:52:05 +0100 tty.c,NCL: revert [1c2ec29] (Ralph Corderoy).. Ralph Corderoy (ralph at inputplus dot co dot uk) reported 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. The culprit being the thoughtless commit [1c2ec29] (tty.c, NCL: one TCSADRAIN -> TCSAFLUSH (the other correct), 2015-10-19). diff --git a/tty.c b/tty.c index 853ed3d..d2f0cf4 100644 --- a/tty.c +++ b/tty.c @@ -880,7 +880,7 @@ _ncl_term_mode(bool_t raw) tiosp->c_iflag &= ~(ISTRIP); tiosp->c_lflag &= ~(ECHO /*| ECHOE | ECHONL */| ICANON | IEXTEN); jleave: - tcsetattr(STDIN_FILENO, TCSAFLUSH, tiosp); + tcsetattr(STDIN_FILENO, TCSADRAIN, tiosp); NYD2_LEAVE; } --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]
