7010b2c11b
CDE has relied upon catgets() implementations following a relaxed interpretation of the XPG internationalization standard that ignored -1, the standard error value returned by catopen, as the catalog argument. However, this same behavior causes segmentation faults with the musl C library. This patch: - Centralizes (with the exception of ToolTalk) all calls to catopen(), catgets(), and catclose() through MsgCat within the DtSvc library. - Prevents calls to catgets() and catclose() that rely upon undefined behavior. - Eliminates a number of bespoke catgets() wrappers, including multiple redundant caching implementations designed to work around a design peculiarity in HP/UX. - Eases building CDE without XPG internationalization support by providing the appropriate macros.
$XConsortium: README /main/3 1996/07/04 02:23:02 cde-fuj $
UDC font editor and UDC data exchange utility README
1) Environment
1.1) XLOCALEDIR environment variable
- If the NLS database ("XLC_LOCALE" files) locates
in different directory from where specified at building
time, set the full path name of the correct directory to
the XLOCALEDIR environment variable.
1.2) Editable Fonts
- Currently, only jisx0208 fonts in Japanese locale is
defined in NLS database to have UDC. So the dtudcfonted
will not show the edit view in other locales than Japanese.
- If the "fonts.list" file exists in the directories showed
below, dtudcfonted and dtudcexch read and get directories
from this file to search fonts.
/usr/dt/config/
/usr/dt/config/$LANG
$DTUDCFONTS/
$DTUDCFONTS/$LANG
- If the system place fonts in different directories other
than listed in this file, you need to add them in it.