1. Using Thread-Safe NCURSES with Static Linking
With this option, libp2j.so is built using static linking to a version of NCURSES which has been recompiled to enable multi-threaded support (PTHREADS). If at all possible, use this option. It is available starting in FWD v4 revision YYY.
This approach avoids having to patch NCURSES and it only requires recompiling NCURSES on the system on which FWD is built.
2. Patching NCURSES Using Static Linking
In this approach, libp2j.so is built using static linking to a version of NCURSES which has been patched and recompiled. Use this as a fallback if option 1 is not possible. It is available starting in FWD v4 revision 14616.
This only requires patching NCURSES on the system on which FWD is built, avoiding patching the NCURSES on the system which runs libp2j.so.
In this option, the systems-wide NCURSES library is patched and the libp2j.so will dynamically link to that library when it is loaded at runtime. This approach is available in all versions of FWD but should only be used if the other options are not available.