Attempting to view the a HTML file or other types of files with less(1) triggers strange behavior by default, in the case of a HTML file, an attempt to render the HTML. Other file types produce other bizarre results, making less(1) unusable as a pager. This problem can be traced to the default environment setting the LESSOPEN environment variable, which causes less(1) to use lesspipe.sh to preprocess any files it is used to view. A patch for baselayout is attached which fixes this problem. Reproducible: Always Steps to Reproduce: 1. Attempt to view a file with a certain extension or file type with less(1). Actual Results: less(1) displays something that is not the file given in its command line arguments. Expected Results: less(1) should display the file given in its command line arguments.
Created attachment 119982 [details, diff] patch for baselayout This patch fixes the problem with less(1).
*** This bug has been marked as a duplicate of bug 117443 ***