jeudi 26 mars 2015

Make /less/ not exit on G command


I am currently migrating an application from Solaris to Linux. Most of the time I am happy with the change, but using LESS command became a real pain.


I have managed to make LESS keep an output to the console by using:



less -X <file>


command. But when I use G (shift + g) command to scroll to the end of the file, less does the scroll and quits to the console immediately. How to prevent that?



Aucun commentaire:

Enregistrer un commentaire