To fix this, add
alias less 'less -c'to your .cshrc file and the file gets written filling the screen from the top down.
|
|
|
The implementation of 'less' that comes with OS X by default fills the screen from the bottom. This means that the tail end of whatever you displayed last may still be visible. Very confusing!
To fix this, add alias less 'less -c'to your .cshrc file and the file gets written filling the screen from the top down.
•
[2,262 views]
Hint Options
the LESS environment variable
rather than creating an alias and masking the command's default behavior,
the LESS environment variable
A better way to set the options for less is to set the LESS environment variable. Set it to "-options", including all the options you want. My favorite is "-Mi", but I guess now on OS X I'll do "-Mic". ("man less" to find out what -M and -i do.)
the LESS environment variable
Hello,
the LESS environment variable
To use less as your default pager you set the PAGER environment variable to "less". In bash:
the LESS environment variable
what about the tcsh (please)?
the LESS environment variable
nevermind, I solved this one on my own:
less vs more
I think that most 'more' commands are actually less running in compatibility mode.
Say what?
Ok, you Unix people out there, take notice. Please step away from the Jargon, slowly :) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.24 seconds |
|