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?
I have prepared the 710-1 update (including the upstream/710 import and pristine-tar data) on the `less-710` branch in a Salsa fork: https://salsa.debian.org/jmrx/debian-less/-/tree/less-710 The debian/ packaging commit on top of upstream/710 (https://salsa.debian.org/jmrx/debian-less/-/commit/68ed82efec62): - Drops debian/patches/less-is-more-434417 (merged upstream in v669). - Updates Mark Nudelman's copyright years to 1984-2026 in debian/copyright. - Updates debian/changelog, also closing: - #1109366 (less: A part of the text is temporarily cleared while searching) - #1123653 (Please upgrade less version) - #1143876 (less: Ctrl-X truncates the data with "less --file-size")
We believe that the bug you reported is fixed in the latest version of
less, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1148634@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jesse Rosenstock <jmr@google.com> (supplier of updated less package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 25 Sep 2026 10:42:00 +0200
Source: less
Architecture: source
Version: 710-1
Distribution: unstable
Urgency: medium
Maintainer: Milan Kupcevic <milan@debian.org>
Changed-By: Jesse Rosenstock <jmr@google.com>
Closes: 1109366 1123653 1143876 1148634
Changes:
less (710-1) unstable; urgency=medium
.
* new upstream release (closes: #1123653, #1148634)
- set LESS_IS_MORE=0 to disable "more" compatibility mode fixed in v669,
drop d/p/less-is-more-434417 (#434417)
- fix part of text temporarily cleared while searching (closes: #1109366)
- fix Ctrl-X truncating data with --file-size (closes: #1143876)
- fix -F polling eating terminal typeahead (closes: #1148634)
* d/copyright: update
Checksums-Sha1:
8a4a8306374514f22d6c525966436bae76746138 1813 less_710-1.dsc
e6e6b6915c93482b08ef761f98582ceb3e9ef69a 1018366 less_710.orig.tar.gz
caade7557ef504b1c8f545f452866fb2395a28a5 21984 less_710-1.debian.tar.xz
db9c5f759ec184bec1b532783f910ab1ae548ced 5962 less_710-1_amd64.buildinfo
Checksums-Sha256:
c354f0da7e79e83b4639ad15400346eba5dd2272773142f1e7bb888b45d067ea 1813 less_710-1.dsc
21be53aec83e05123f0fc5c75bd6169fe10bd4e99f9e21fd7784134d81b34b11 1018366 less_710.orig.tar.gz
6ad3a66fc8dbcbf2aa3996b4319265b3935805adc2a5eb77049b8c2a817385f4 21984 less_710-1.debian.tar.xz
c1af2972d98a9c130587fad8de1b89552609254ee16a4bae56034771b8003c34 5962 less_710-1_amd64.buildinfo
Files:
4835af3905ebf5dbf97b1b0b02d6bf39 1813 text important less_710-1.dsc
88def88b00e75a9e5c53cf81e77342b1 1018366 text important less_710.orig.tar.gz
81cffcc1aafb1a728b373d55ffcb323e 21984 text important less_710-1.debian.tar.xz
745a02afce99ee746cfb7ec054dfd552 5962 text important less_710-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQ88SKPcm/VtHTOliwlb71QAiHpMFAmrD6CkACgkQwlb71QAi
HpO16g/7B/iT0oE+SS+PLaH48P6CvoqQMqxDV2KV9fp2xrtefn0a8dKHspf2KyPE
b0Zc+06Im5pTT3+P6vD18nFQllkApCnJ661vlCGtaTv2iCX2pwQJj2ZVz+Rzhu8d
hrqCVclg0gK+ls30O2zProMgmMOIH1DAATVka2MyDCLSnHF1V6vVBPfmKn0/7x49
xGWX8W2s58795/YeYZPXWziDPqoypfX6dVV4fkQ/pPj1brNOBNwMxxg3k/KveCis
4ugH2JJBTlbv6ON8kn2qldBOWTUDO4yHoFKLEEIbAP5LyOOlQcJTB8vxWGd8q2Wj
nLj24sgEBMgH/BQVt91HRhH6oMLCgcNK8XoyOAk8R2AmUEKGcFVHu7KmV+qtrwOA
2rkQTeslpoxctGKgh36Uo+Dok3nlSb09af8QW5Crq7ivOV3mSLqOLBnqZ7URY3cO
Z+YFrnwWMglVdAi3i8I9I0JUi9mUg15r0XbtlXy/wPfcoXpLdxdrrEwNxvSsQcuy
Ylx0ZUAPvB14mtRLkxWmUAt//zArGCnLHqK2O6lAcXl2XNtRPOPY3Nj5S9br92js
n/mkh57vVOoWqugPCwGJXWoDSIm8jKoj8SNZj3/HgDovgD/HjmANVMs8XJZYAEWB
VCtiVzxr7q4EKt2PNt0fxgjoyBQrlOQdLNN6YxKXc8ZJ1h0cdV4=
=wFu3
-----END PGP SIGNATURE-----