Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 79921

Summary: Using 'cat' as DECOMPRESSOR is a bad idea
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: lessAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-18 11:04:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Enrico Scholz 2002-12-18 02:07:19 UTC
Description of problem:

Current  /usr/bin/ contains a default case of

|  *)
|        case "$1" in
|                ...
|                *)      DECOMPRESSOR="cat" ;;
|        esac

This breaks a lot of less's functions. E.g. the 'v' key does not work anymore,
or the 'F' key does not display new data. I suggest to remove this line and/or
unset the DECOMPRESSOR instead of.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. less /var/log/messages
2. Press 'v'
3. Press 'F'

Actual results:

at 2: "Cannot edit file processed with LESSOPEN  (press RETURN)" message
at 3: New data will not be displayed

Expected results:

at 2: $EDITOR with will be opened
at 3: New data will be displayed

Comment 1 Karsten Hopp 2002-12-18 11:04:03 UTC
Fixed in -3.