Hi,

On 20 Aug 2013, at 10:18, Joerg Schilling <[email protected]> 
wrote:

> Alexander Pyhalov <[email protected]> wrote:
> 
>> On 08/19/2013 19:46, Alexander Pyhalov wrote:
>>> Hello.
>>> Our current libreadline in /hipster is not linked to libtermcap.so. This
>>> causes issues when applications don't add "-ltermcap" linker flag.
>>> We have the following patch
>>> https://hg.openindiana.org/sustaining/oi_151a/sfw-gate/rev/1d4f978df141
>>> applied in /dev.
>> 
>> Currently I applied patch from /dev...
> 
> BTW: what do you like to achieve?
> 
> Do you know that -ltermcap on Solaris does not give you a real termcap library
> but a termcap emulation using term info?

Thats true for the illumos provided libtermcap, but libreadline is linked to 
ncurses.

The change looks good to me.

Andy.

> 
> If you like to check whether your binaries would work with a real termcap 
> library, you could test with with libxtermcap from the schily source bundle 
> at:
> 
> ftp://ftp.berlios.de/pub/schily/
> 
> compile with smake LINKMODE=dynamic if you like to get dynamic libs.
> 
> But note that this does not check for 100% termcap compatibility as 
> libxtermcap 
> supports arbitrary entry sizes in case you supply a NULL pointer for the 
> entry 
> buffer.
> 
> Jörg
> 
> -- 
> EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
>       [email protected]                (uni)  
>       [email protected] (work) Blog: 
> http://schily.blogspot.com/
> URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
> 
> _______________________________________________
> oi-dev mailing list
> [email protected]
> http://openindiana.org/mailman/listinfo/oi-dev


_______________________________________________
oi-dev mailing list
[email protected]
http://openindiana.org/mailman/listinfo/oi-dev

Reply via email to