Search in "less" echos all characters
Using Linux with no special .less or .lesskey files. I'm an old unix and Solaris guy, but new to Linux.
So, while in less, when I "/" to search in a file all characters double to the reg exp. If I want to search for "nonsense" it looks like: /nnoonnsseennssee I tried changing terminal type a few times (using xterm, tried vt100, and some others). This doesn't happen when doing a search in vi, or any other place I have foud, just when using less. I just checked using "more" and there it is normal behaviour. Have searched but find nothing and no options for this. Any suggestions? thanks! |
Welcome to LQ!
Quote:
Code:
type less Code:
less is /usr/bin/less Code:
bash --norc If that corrects it, we then have to look at ~./bashrc and/or ~/.profile If the shell isn't bash, then IDK, and hang out some more. :) I used to manipulate the colorization of "less" using Code:
export LESS_TERMCAP_mb=$'\E[01;31m' Good Luck! |
All times are GMT -5. The time now is 04:14 AM. |