The following reproduces the issue somewhat reliably in both zsh and bash when sudo is configured to promprt for a password:
sudo -k seq 100 | less
We expect less to display the integers 1..100 but attempting to enter the sudo passphrase usually results in getting stuck "Waiting for data...".
This is a regression. I bisected it to 953257f:
git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [22e4af5cccbfab633000c7d610f868a868ad6e1a] v608
git bisect good 22e4af5cccbfab633000c7d610f868a868ad6e1a
# status: waiting for bad commit, 1 good commit known
# bad: [0d7ca880375bde651313f03f7115d26921b43722] v633
git bisect bad 0d7ca880375bde651313f03f7115d26921b43722
# bad: [fb09748090dfa58de138978a8a06b8acafc48727] Cleanup
git bisect bad fb09748090dfa58de138978a8a06b8acafc48727
# bad: [fb09748090dfa58de138978a8a06b8acafc48727] Cleanup
git bisect bad fb09748090dfa58de138978a8a06b8acafc48727
# good: [ece2600cb0f0c8339cfe00ffa8e2dbc28df38622] v609
git bisect good ece2600cb0f0c8339cfe00ffa8e2dbc28df38622
# bad: [a03f8263a009b5e60aff50e438f08faf7daaa3a2] Open v613.
git bisect bad a03f8263a009b5e60aff50e438f08faf7daaa3a2
# bad: [1216c2baa3ccbafe0367edf06209e62d170536ff] Files genrated from updated Unicode data.
git bisect bad 1216c2baa3ccbafe0367edf06209e62d170536ff
# good: [ab5ad29445368e7da91a80d433a3f88e42be6127] Merge branch 'master' of https://github.com/gwsw/less
git bisect good ab5ad29445368e7da91a80d433a3f88e42be6127
# bad: [112b028f1421f093e9f79600fb67e6a78ccdd414] Add unicode-check target.
git bisect bad 112b028f1421f093e9f79600fb67e6a78ccdd414
# bad: [8e3ec369acfa1741c2e84a1655914c40c63a3f47] More reasonable number.
git bisect bad 8e3ec369acfa1741c2e84a1655914c40c63a3f47
# bad: [953257f9030d29dd930ed3e76fd5811681b672b1] Improve ability of ^X to interrupt F.
git bisect bad 953257f9030d29dd930ed3e76fd5811681b672b1
# first bad commit: [953257f9030d29dd930ed3e76fd5811681b672b1] Improve ability of ^X to interrupt F.
The following reproduces the issue somewhat reliably in both zsh and bash when sudo is configured to promprt for a password:
sudo -k seq 100 | lessWe expect less to display the integers 1..100 but attempting to enter the sudo passphrase usually results in getting stuck "Waiting for data...".
This is a regression. I bisected it to 953257f:
git bisect log