Using etc-update to update a large amount of config files, it's often easiest to use it in menu mode without a pager, but just to hit return to go through each file individually. However if the list of files is long the user won't know which file they are editing, and if the diff is long, the name would have shot off the top of the screen. The attached simple diff is one obvious workaround/fix. All it does is print the "Showing differences between" line at the bottom of the diff output as well as the top, if no pager has been selected. I think this makes it easier to merge trivial changes to files that the user isn't interested in. Reproducible: Always Steps to Reproduce: 1. Run etc-update on some longer files in menu mode 2. 3. Actual Results: Can't see the names of the files that are being diffed currently. Expected Results: Show the names of the files nearer to the text input prompt.
Created attachment 15479 [details] Shows names of diffed files below diff output as well as above
Without a pager can't shift+pgup be used to scroll the terminal up to top of the diff? This is kind of an aesthetic bug but worth considering.
Fixed in CVS.