|
|
Re: man uses more by default
Also looking for a permanent system-wide fix, I replaced /usr/bin/more with a copy of /usr/bin/less. SO far, I have not had any problems (it has been three years)
Re: man uses more by default
Yeah, who cares if you're the only one using your machine? Many years as a sysadmin of multi-user Unix systems has me trained to leave the "system" environment as generic as possible to help reduce novice user confusion, make upgrades easier, and other minimimal-support-staff type reasons which have varying degrees of success/failure. Pity the overly-clever wannabee who gets the "brilliant" idea of renaming /usr ... at least that's more interesting than "rm -rf /". :-) Okay, enough OT.
Re: man uses more by default
Replacing 'more' with 'less' is a very ugly way to use 'less' as the default pager. This is a "Mac" (single user) way of dealing with such problems. Unix gives you much more flexibility for such things:
Re: man uses more by default
4. If you do it the "hard way", it's better to: - rename 'more' to 'more.original'
Re: man uses more by default
What I do is create .DIST and .OFF directories for saving original copies of distribution files (in .DIST) and for those I've deactivated (in .OFF). Less sloppy than using filename extensions, IMHO.Agreed. Using extensions is not a crime (Unix doesn't care for extensions) but too many '.orig', '.old', '.sav', etc. files can "litter" the filesystem. Your way is cleaner, if you have to go the "hard way".. (but avoiding the "hard way" is better). Another possible solution for saving original copies is a version control system (RCS/CVS). I started using CVS for system configuration files and shell/SQL scripts. With version control, it is possible to switch back to any previous state of a file without having to deal with the naming or placing of the old files. Furthermore, you can comment changes and group file versions belonging together, etc.. |
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.09 seconds |
|