Red Hat Bugzilla – Bug 79921
Using 'cat' as DECOMPRESSOR is a bad idea
Last modified: 2007-04-18 12:49:07 EDT
Description of problem:
Current /usr/bin/lesspipe.sh contains a default case of
| case "$1" in
| *) DECOMPRESSOR="cat" ;;
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):
Steps to Reproduce:
1. less /var/log/messages
2. Press 'v'
3. Press 'F'
at 2: "Cannot edit file processed with LESSOPEN (press RETURN)" message
at 3: New data will not be displayed
at 2: $EDITOR with will be opened
at 3: New data will be displayed
Fixed in -3.