gwsw
gwsw
I have some ideas but I'd like to be able to reproduce this and haven't had much luck. I don't understand why you see so much CPU usage to highlight...
It seems to me that this is a problem that should be fixed rather than documented. I don't have journalctl; do you have another way to reproduce it?
@poettering I think handling SIGTERM like SIGINT probably makes sense. Regarding your statement "less should handle SIGTERM the same way it already handles SIGINT if "-K" is used", I think...
I just reviewed the code and it looks like less already handles SIGTERM almost the same way as it handles SIGINT with -K. The only difference I see is the...
I am almost persuaded, but I'm worried about the change in behavior if someone does "less
I wonder if the -c option should be removed. Originally it was intended to improve the visual appearance of the screen while repainting. But in almost all modern environments repainting...
I made an attempt at this using select() but did not come up with a working solution. I abandoned the effort for now but saved my results in the alt-intr-char...
Well, poll and select perform very similar functionality, and it's not immediately clear to me that it would be any easier to implement using poll vs. select. In the Linux...
In the second example you are piping a string of alphanumerics with no newlines into less. In other words, the file is one infinitely long line. Less doesn't handle a...