less: fix fallout from "use common routine to set raw termios"
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2018 08:24:48 +0000 (10:24 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 16 Apr 2018 08:24:48 +0000 (10:24 +0200)
commit058a153b6970660f3c284ac259986ae87507df9a
treea43cce5c5cdfd826aa15955bb53b8dbcceec0a6b
parentc72499584abbf32b3757024bb0cd53f23d5d0d72
less: fix fallout from "use common routine to set raw termios"

Testcase: (sleep 10; ls) | busybox less

[...]
~           LICENSE
~                  Makefile
~                          Makefile.custom
~                                         Makefile.flags
[...]

less did not want this part:
+ /* dont convert NL to CR+NL on output */
+ newterm->c_oflag &= ~(ONLCR);

function                                             old     new   delta
get_termios_and_make_raw                             108     115      +7

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/xfuncs.c
miscutils/less.c