Open ewaters opened 12 years ago
Behavior varies if you use screen versus just plain console. If you're not using GNU screen and if we go straight to the pager (less -FR), less will sent console initiation and will restore the screen to pre-less state. However, if we do the (less -FRX) and allow part of the output to be seen before entering the pager, the clearing problem shows itself.
If you need to go to the fullscreen pager to view that's too long or too wide to view in the normal output, when you exit the pager you expect to return to what you were seeing, but instead it leaves droppings in the scroll buffer as well as on the screen itself. It may not be possible to have a pager go full screen and then return you to what you were looking at, but we could perhaps implement paging without going to full screen mode, or at least horizontal scrolling.