Re: Vim6.1 compiling on OS X 10.2
- At 7:45 pm +0200 27/9/02, Bram Moolenaar wrote:
>Ben Fowler wrote:I'll pick this up.
>> > ... I think we need to compile with -lncurses on 10.2, without it on 10.1. ...
>> I believe that this statement is correct. Obviously as I currently only
>> use 10.2, I cannot lay down the law for schemes that work equally
>> well on both platforms. You may want to take it up with the Project
>> Builder people
>> <URL: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users >.
>> who might know how to get the best out of gcc under these circumstances.
>Note that Vim only needs a few tty functions. I think they are
>tgetent(), tgetnum() and tgetstr(). Using the curses library is a bit
>of overkill. Perhaps there is another library that provides these
>functions and is available both on 10.1 and 10.2? Mostly it's termcap.
This is obviously the right way to go; but it seems (and I put it
no more strongly then that), that 10.2 has termcap and 10.1 does not.
I do think that it should be possible to do without the curses library;
It is simply going to be rather difficult to verify until someone
takes a candidate solution and shows that it runs on 10.1 .
Privileged/Confidential Information may be contained in this message.
If you are not the addressee indicated in this message (or responsible
for delivery of the message to such person), you may not copy or deliver
this message to anyone. In such case, you should destroy this message
and kindly notify the sender by reply email. Please advise immediately
if you or your employer do not consent to Internet email messages of this
kind. Opinions, conclusions and other information in this message that
do not relate to the official business of ewitness Limited shall be
understood as neither given nor endorsed by it.
eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY
Telephone: 0113 2951112 Fax: 0113 2951114