[PATCH] less cumulative patch

Vladimir N. Oleynik dzo at simtreas.ru
Mon Sep 19 15:41:27 UTC 2005


Tito,

>>>5) regression after vodz last patch  in static void set_tty_raw(void),
>>>     which makes keybord not work when doing dmesg | ./less.
>>
>>Its bullshit. My patch for set_tty_raw() is full equivalet of works and size,
>>but make speed up for work (destroy one syscall and 6 settings per keyinput).

> I don't know if it is bullshit or not,
> I just can say that by changing it 
> keybord input when reading from
> a pipe like dmesg | ./busybox less
> works again for me.

Yes. Its bulshit.
For set_tty_raw() works with input file from stdin,
require set terminal mode as fileno(inp) and not for "0".
Please make "svn up"
Last patch have your and my changes.



--w
vodz



More information about the busybox mailing list