Linking with "lazyload" / was: Re: [ksh93-integration-discuss] Small question about enablingthe"multiline" mode...
Roland Mainz
roland.mainz at nrubsig.org
Tue Sep 5 15:05:08 PDT 2006
Casper.Dik at Sun.COM wrote:
> >What will happen if "infocmp" is not available at runtime, for example
> >when "infocmp" lines in "/usr/bin/infocmp" but "/usr" isn't mounted yet
> >and/or ksh93 lives in /sbin and the user only booted into a runlevel
> >where /usr is not available ?
> >The issue is quite tricky becase /usr/share/lib/terminfo/ lives in /usr
> >which means there is no easy solution... ;-(
>
> Quite.
>
> Also, with Solaris you can use "lazyloading" which postpones the runtime
> loading of libraries until such time functions in it are referenced.
Yes, but libcurses would be loaded immediately for all interactive
shells to figure out the terminal properties... and libcurses is quite
heavyweight in it's current form.
BTW: Is "lazyload" "on" or "off" by default for libraries built in
OS/Net ? Using the lazyload option for the ksh93 frontend binaries may
be useless because it immediately jumps into libshell code... but I
guess there may be some gain to lazyload { libnsl, libsocket and libsctp
} from libshell ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list