Bug 177819
Summary: | seek-to-end key causes spurious screen redraws | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Avi Kivity <avi> | ||||
Component: | less | Assignee: | Ivana Varekova <varekova> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | Keywords: | Reopened | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-10-22 08:44:48 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Avi Kivity
2006-01-14 21:22:59 UTC
This seems to be related to bug 120916. The possible flickering of the terminal when pressing '>' multiple times I don't consider a bug. The flickering is very hardly noticable in konsole and gnome-terminal as far as I can see and it's needed to solve the bug, which allows less to display incorrect contents in a viewed file. When comparing flickering sometimes when pressing '>' multiple times with dislaying incorrect contents, I vote for flickering, sorry. If you have a different solution, feel free to reopen this bug and add it here. The flickering is very noticable for me. As I'm a heavy less user, I'll look at producing a patch for only repainting if the file changed. Would that be acceptable? Yes, feel free to send a patch here. I'll review it and if it's better than the fix for bug 120916, I'll be happy to apply it. I have a patch. Created attachment 123236 [details] fix for growing file without end-of-line at end, without unconditional repaint attached patch fixes the symptoms of bug 120916, without the unconditional repaint. after the seek it checks whether the end-of-file position is displayed, and if not, triggers a repaint. should be applied instead of less-382-fixline.patch. Thanks, let me test it. Looks good, applied in CVS. The fix should appear in the tomorrow's rawhide. Thank you for the quick response. I presume if it works out it'll go to FC4 as well? Yes, I'll wait for a while to collect more fixes for less and then I'm going to release an update for FC3/FC4. Closing RAWHIDE for now. Thanks for your patch and good work! Bug is back. Redraws on unchanged files when pressing '>' repeatedly. Seen best (and most annoying) over ssh on a high-latency link. less-394-5.fc6 I try to reproduce you r problem but I was unsuccesfull. Could you please try to reproduce this bug with the last version of less - less-394-9.fc7. It reproduces. I tried in both Konsole and xterm. xterm ssh localhost less /var/log/messages press '>' repeatedly (or hold it down) These problems are fixed in less-409-1.fr9 if there is any problem, please reopen this bug. |