gwsw

Results 276 comments of gwsw

It seems to me that the best solution is the one suggested by Etan Reisner in the linked thread; that is, copy the text you want before exiting less. It's...

It's not clear to me what you mean. By "top of the output", do you mean you want to retain the lines that are currently at the top of the...

If I apply this patch, run your gzip test and then just type q to exit less (without killing the gzip process), I see the "Input preprocessor failed" message. This...

A little more experimentation indicates that gzip returns 2 if its output is not fully consumed: ``` $ gzip -cdfq -- obj/t.gz | head -3 1 2 3 $ echo...

I still have some concerns about making a change which will cause fully functional LESSOPEN scripts to start emitting error messages. Perhaps this should only be applied to scripts invoked...

Well, it's entirely determined by the LESSOPEN script that the user is using, which is outside my control, and may be poorly written but still functional. For example, a script...

I believe this was fixed in less-596. Can you try the current beta (less-603) and see if you still see the bug?

@Ma-XX-oN This last issue should be fixed in less-608 (c7ed204446892814c3db47d3cfabc598371700f6). Let me know if you see any more problems.

I'm not sure that assigning a command to ESC is a good idea, even if this issue were addressed. On most terminals, several commonly used keys send sequences beginning with...

When you say your system "uses 8-bit CSI", do you mean that your terminal sends 0x9B instead of 0x1B as the initial character of an escape sequence? If so, why...