Package: less Version: 668-1 Severity: normal less 668 polls /dev/tty during pipe reads via check_poll(), which causes `less -F` (used by default in git, jj, etc.) to read and discard terminal typeahead via getchr() + ungetcc_back() whenever input arrives across multiple pipe reads and exits after less than one screen: - https://github.com/gwsw/less/issues/557 - https://github.com/gwsw/less/issues/599
Upstream fixed this for -F in less 672 / 677 by disabling tty polling while reading the first screen with -F (unless more than 3 seconds have elapsed): - https://github.com/gwsw/less/commit/52b2d920f492ee93a23996cf9a4d931ad0e96a21 - https://github.com/gwsw/less/commit/88b843e609b982370b722f7ca7cd2984567d40eb along with several follow-up fixes for check_poll() / typeahead during pipe reads in 679, 685, and 691: - https://github.com/gwsw/less/issues/628 (https://github.com/gwsw/less/commit/4befc2168d8ac6d10e3d12b80e86a155f5e7d661) - https://github.com/gwsw/less/issues/649 - https://github.com/gwsw/less/issues/700 (https://github.com/gwsw/less/commit/2db32efea4e696c3682afd5e3a9a8e42e2844265) Upstream 692, 702, 704, and 710 are marked "released for general use" on https://www.greenwoodsoftware.com/less/. Could you please package a newer upstream release (ideally 710) for unstable/forky?

