Re: Behavior of "less" on different systems
Re: Behavior of "less" on different systems
- Subject: Re: Behavior of "less" on different systems
- From: Walt Pawley <email@hidden>
- Date: Fri, 2 Jun 2006 02:59:08 -0700
Just in case someone cares:
I finally managed to get "less" to function the same way on
both Mac OS X and FreeBSD - in so far as I was originally
concerned. To recap, I wanted the behavior of "less" to do it's
work without leaving all the scrolled mess scrolled into the
capture file in Terminal. It does this for me on three major
releases of Mac OS X but not on the FreeBSD 5.3 and 6.1 here.
All the suggestions were to the point but to no avail since
things looked as though they should behave identically at the
level of detail discussed.
After much fumbling about I believe I figured out that Mac OS X
uses "terminfo" and FreeBSD uses "termcap" (it's actually a bit
difficult for me to tell as there's a lot of both stuff on both
types of systems - is this right???). Using the "tack" program,
I dumped the "caps" (capabilities) on Mac OS X for xterm-color
and noted the ti/smcup & te/rmcup were not null. On FreeBSD, in
the termcap file (and one presumes in the termcap.db file) I
believe they're null.
So, I copied these two codes to a new termcap file on one of
the FreeBSD boxes and ran cap_mkdb against it. After this,
"less" worked as desired.
--
Walter M. Pawley <email@hidden>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
541-672-8975
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden