Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 179411
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 117443
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Raymond Pasco <ray@cultofray.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gentoo-baselayout-fix-less.patch patch for baselayout patch Raymond Pasco 2007-05-22 11:43 0000 336 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 179411 depends on: Show dependency tree
Bug 179411 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-22 11:41 0000
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.

------- Comment #1 From Raymond Pasco 2007-05-22 11:43:03 0000 -------
Created an attachment (id=119982) [details]
patch for baselayout

This patch fixes the problem with less(1).

------- Comment #2 From Jakub Moc (RETIRED) 2007-05-22 16:55:39 0000 -------

*** This bug has been marked as a duplicate of bug 117443 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug