SDB:'less' Wraps Long Lines
From openSUSE
Version: 8.0
[edit]
Symptom
less wraps long lines.
[edit]
Cause
With SuSE Linux 8.0, the relevant parameters have been changed and you no longer have to guess if more is displayed beyond the screen. Long lines will be wrapped.
[edit]
Solution
To change the settings so less does not wrap long lines, as in previous SuSE Linux versions, insert the following parameter in the .profile file in your home directory:
export LESS="-M -I -S"
To change the parameter system-wide (for all users), edit the file /etc/profile as follows. Change the line
LESS="-M -I"
to
LESS="-M -I -S"
Keywords: less | wordwrap

