mc (midnight commander), I can define custom command for viewing files, ie:
shell/i/.jpg Open=gpicview %f View=file %f | less
file %f has to be piped to a pager. I am using here
less as example.
The problem with less is, it displays the one line in the middle of the screen, and adds these characters:
~ ~ (END)
I just need the simplest, stupidest possible pager that does nothing other than display what it receives from pipe redirection. Something like the
cat command, which does not add anything to a file that it is displaying.
What can I use instead of
Or can I configure
less to hide those special characters?
OK, I have fixed some of the problems in
less by using the options
less still shows
(END) at the bottom of the page.
Can I get rid of the
If there is no configuration option for that, how could I change it in the sourcecode (I am OK with recompiling less package)
I am using
less on Debian 10.
less --version shows:
less 487 (GNU regular expressions)