Remove UXPDS support
This commit is contained in:
@@ -355,7 +355,7 @@ _DtCvFreeArray (void **array)
|
||||
return (0);
|
||||
}
|
||||
|
||||
#if defined(_AIX) || defined (USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined (USL)
|
||||
/*****************************************************************************
|
||||
* Function: _DtCvStrCaseCmp
|
||||
*
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
/*****************************************************************************
|
||||
* Extern defines
|
||||
*****************************************************************************/
|
||||
#if !defined(_AIX) && !defined(USL) || defined(__uxp__)
|
||||
#if !defined(_AIX) && !defined(USL)
|
||||
#define _DtCvStrCaseCmp(s1,s2) strcasecmp(s1,s2)
|
||||
#endif /* _AIX or USL */
|
||||
|
||||
@@ -78,7 +78,7 @@ extern void *_DtCvStrPtr (
|
||||
int type,
|
||||
int count);
|
||||
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined(USL)
|
||||
extern int _DtCvStrCaseCmp(
|
||||
const char *s1,
|
||||
const char *s2);
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <errno.h>
|
||||
#include <locale.h> /* getlocale(), LOCALE_STATUS, LC_xxx */
|
||||
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__) || defined(CSRG_BASED)
|
||||
#if defined(_AIX) || defined(USL) || defined(CSRG_BASED)
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
@@ -533,7 +533,7 @@ int _DtHelpCeStrHashToKey(
|
||||
#endif
|
||||
|
||||
extern int strcoll(const char *,const char *);
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined(USL)
|
||||
extern int _DtHelpCeStrCaseCmp(const char *,const char *);
|
||||
#else
|
||||
extern int strcasecmp(const char *,const char *);
|
||||
@@ -553,7 +553,7 @@ int _DtHelpCeStrHashToKey(
|
||||
#endif
|
||||
|
||||
if (Clang)
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined(USL)
|
||||
return _DtHelpCeStrCaseCmp;
|
||||
#else
|
||||
return strcasecmp;
|
||||
@@ -1048,7 +1048,7 @@ int _DtHelpCeIconvContextSuitable(
|
||||
}
|
||||
|
||||
|
||||
#if defined(_AIX) || defined (USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined (USL)
|
||||
/*****************************************************************************
|
||||
* Function: _DtHelpCeStrCaseCmp
|
||||
*
|
||||
|
||||
@@ -56,7 +56,7 @@ typedef struct _DtHelpCeIconvContextRec * _DtHelpCeIconvContext;
|
||||
/****************************************************************************
|
||||
* Semi Public Re-defines
|
||||
****************************************************************************/
|
||||
#if !defined(_AIX) && !defined(USL) && !defined(__uxp__)
|
||||
#if !defined(_AIX) && !defined(USL)
|
||||
#define _DtHelpCeStrCaseCmp(s1,s2) strcasecmp(s1,s2)
|
||||
#endif /* _AIX or USL */
|
||||
|
||||
@@ -223,11 +223,11 @@ extern int _DtHelpCeCountChars (
|
||||
int max_len,
|
||||
int *ret_len );
|
||||
extern int _DtHelpCeFreeStringArray ( char **array);
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined(USL)
|
||||
extern int _DtHelpCeStrCaseCmp(
|
||||
const char *s1,
|
||||
const char *s2);
|
||||
#endif /* _AIX or USL or __uxp__ */
|
||||
#endif /* _AIX or USL */
|
||||
extern int _DtHelpCeStrCaseCmpLatin1(
|
||||
const char *s1,
|
||||
const char *s2);
|
||||
|
||||
@@ -1,543 +0,0 @@
|
||||
!
|
||||
! (c) Copyright 1993, 1994 Hewlett-Packard Company
|
||||
! (c) Copyright 1993, 1994 International Business Machines Corp.
|
||||
! (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
|
||||
! (c) Copyright 1993, 1994 Novell, Inc.
|
||||
!
|
||||
!!!!!!!!!!!!!! UNIX_System_V Locale-Related Translations !!!!!!!!!!!!!!
|
||||
! File: UNIX_Syst.lcx
|
||||
! Default location: /usr/dt/config/svc/UNIX_Syst.lcx
|
||||
! Purpose:
|
||||
! Define the UNIX_System_V (FUJITSU UXP/DS) specific set of locale-related translations.
|
||||
! Description:
|
||||
! This file contains the set of all locale-related translations
|
||||
! that can occur during _DtLcxXlateOpToStd() and _DtLcxStdToOp()
|
||||
! calls on UNIX_System_V platforms. Note that platform-specific tables may
|
||||
! include more than one translation to and from CDE standard
|
||||
! strings if they can be distinguished by version, operation, or
|
||||
! pattern matching.
|
||||
!
|
||||
! It is important that additional CDE standard strings only
|
||||
! be created by the CDE owner of the _DtLcx translation service
|
||||
! and NOT be created by an individual vendor or user. This be because
|
||||
! the purpose of adopting a set of CDE standard strings is to
|
||||
! support interoperability across platforms. If individual vendors
|
||||
! add their own "standard" strings and these strings are not
|
||||
! known on other platforms, then the goal of interoperability
|
||||
! will be defeated.
|
||||
!
|
||||
! If you feel that a new CDE standard string is needed,
|
||||
! contact your CDE representative/vendor with a specific
|
||||
! proposal and justification and have them forward it to
|
||||
! the owner of the CDE _DtLcx service.
|
||||
!
|
||||
! Note that it is allowed for vendors and users to add new
|
||||
! operations for which translations are specified and which
|
||||
! utilize the standard strings. If the operations are of
|
||||
! general utility, please bring them to the attention of
|
||||
! your CDE representative/vendor for forwarding to the
|
||||
! _DtLcx owner.
|
||||
! Invoked by:
|
||||
! This table is used by the _DtLcx translation service
|
||||
! Product: @(#)Cde1
|
||||
! Revision: $XConsortium: UNIX_Syst.lcx /main/2 1996/08/25 02:01:38 cde-fuj $
|
||||
! Defects:
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
!!!!!!!!!!!!!!!! translation specification syntax !!!!!!!!!!!!!!!!!!!
|
||||
! Introductory fields:
|
||||
! ====================
|
||||
! The _DtLcx translation specifications have a fixed number of
|
||||
! introductory fields followed by a several standard value
|
||||
! fields and the operation-specific value.
|
||||
! The introductory fields are:
|
||||
! <platform>.<version range>.<operation(s)>.<kind>
|
||||
!
|
||||
! Platform generally is the same string as uname(1) -s.
|
||||
! Version range utilizes normalized version numbers that
|
||||
! are acquired using the 'version' translations.
|
||||
! Operations are one or more comma-separated strings that
|
||||
! uniquely identify the operation associated with the
|
||||
! operation-specific value. This string is specified
|
||||
! as part of the request for a translation.
|
||||
!
|
||||
! Kinds of translations allow the mechanism to support several modes
|
||||
! of operation, each useful for different purposes. When
|
||||
! reading or writing a specification, pay particular attention
|
||||
! to the kind of specification, as this guides the usage of it.
|
||||
!
|
||||
! Specification kinds:
|
||||
! .=. means a valid bi-directional translation requiring the op-value
|
||||
! in the translation specification to exactly match the op-value of
|
||||
! the call to _DtLcxXlateOpToStd(), e.g. foo matches only foo
|
||||
! .~. means a valid bi-directional translation requiring the op-value
|
||||
! in the translation specification to match the beginning of the
|
||||
! op-value of the call to _DtLcxXlateOpToStd(), e.g. foo matches
|
||||
! foo@bar. This is often useful, e.g. for operation-specific
|
||||
! locale strings that may also contain modifier suffixes.
|
||||
! .>. means only from standard to op-specific (generally a
|
||||
! compatibility translation, meaning on op-specific value
|
||||
! that will work for the standard, although that is not
|
||||
! the straight mapping)
|
||||
! .<. means only from op-specific to standard (generally a
|
||||
! regex in the op-value which is used to map a class of
|
||||
! op values to a standard value)
|
||||
! .0. means that translation is not supported and if a translation
|
||||
! request matches the specification, the request will fail.
|
||||
! Because there is no way to turn off a translation marked
|
||||
! with .0. once it is specified, the preferred method of
|
||||
! indicating that a translation is not supported --at the moment--
|
||||
! is just to comment out the translation rather than use .0.
|
||||
!
|
||||
! Standard values:
|
||||
! ================
|
||||
! _DtLcx defines the order of the standard values in the
|
||||
! translations it utilizes. All translation specifications
|
||||
! must adhere to this order.
|
||||
! <std lang_terr>.<std codeset>.<std modifier>
|
||||
! In CDE 1.0, no modifiers are standardized and that
|
||||
! portion of the table is unspecified. This means
|
||||
! that no CDE standard modifiers are available across
|
||||
! platforms. Operations that use only the <std codeset>
|
||||
! should specify the wildcard character ("?") for the
|
||||
! <std lang_terr> value.
|
||||
!
|
||||
! Operation-specific value:
|
||||
! =========================
|
||||
! The operation-specific value is a string that is used
|
||||
! according to the kind of translation. The syntax is
|
||||
! : <op-string>
|
||||
! or : "<op-string>", if it contains white space
|
||||
!
|
||||
! Filling in the table of translations:
|
||||
! =====================================
|
||||
! The person preparing the translation table should know
|
||||
! the minimum version of the target platform that is
|
||||
! be supported. For example, assume that we must
|
||||
! complete the table for all versions 9.00 and higher.
|
||||
!
|
||||
! The objective is then to provide two sets of translations:
|
||||
! a full set of translations from CDE standard locales to
|
||||
! valid platform locales, and a full set of translations
|
||||
! from valid platform locales to some or all CDE standard
|
||||
! locales.
|
||||
!
|
||||
! Translations from CDE standard locales to valid platform
|
||||
! locales must use the .~. .=. or .>. mappings. When there
|
||||
! is a 1:1 mapping between a CDE locale and a platform locale,
|
||||
! use the .~. or .=. mapping. See the comment below to
|
||||
! decide which to use. When there is no 1:1 mapping between
|
||||
! CDE locale and platform locale, use the .>. mapping. This
|
||||
! provides a valid translation from the CDE locale to the
|
||||
! best-suitable platform locale, but never translates from
|
||||
! that platform locale to the CDE locale.
|
||||
!
|
||||
! Translations from every platform locale to the appropriate
|
||||
! CDE locale must use the .~. .=. or .<. mappings.
|
||||
! When there is a 1:1 mapping between a platform locale and
|
||||
! a CDE standard locale, use the .~. or .=. mapping. See the
|
||||
! comment below to decide which to use. If there is a 1:1
|
||||
! mapping, but the platform locale pattern uses a regular
|
||||
! expression, or if more than one platform locale can
|
||||
! be translated to one CDE standard locale, the .<. mapping must
|
||||
! be used.
|
||||
!
|
||||
! If no appropriate CDE standard locale can be found, you have
|
||||
! identified the need for a new CDE standard locale. Refer to
|
||||
! the instructions at the head of this file for how to go about
|
||||
! registering a new CDE standard locale. You should not create
|
||||
! a new "standard" locale (the left hand side of the translation
|
||||
! specification) without registering it with CDE, because this
|
||||
! will hinder the free exchange of information across locales
|
||||
! and platforms.
|
||||
!
|
||||
! The .=. and .~. mappings are similar. The difference is
|
||||
! that the .=. mapping requires an exact string match between
|
||||
! the platform locale and the string provided to the
|
||||
! translation routine. Generally speaking, this mapping
|
||||
! is risky unless exact matchings can be guaranteed in
|
||||
! all DtLcx clients for the particular operation in question.
|
||||
! The .~. mapping is to be preferred, but the .=. translation
|
||||
! is useful in limited situations, where similar strings may
|
||||
! occur.
|
||||
!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
! uncomment this resource to debug/test translation
|
||||
!*debugDtXlate: True
|
||||
|
||||
!!!!!!!!!!!!!!!! UNIX_System_V (FUJITSU UXP/DS) Version Identificaton !!!!!!!!!!!!!!!!!
|
||||
! These translations are used by the _DtXlateGetXlateEnv()
|
||||
! call to determine the version number to use.
|
||||
!
|
||||
! To understand the translation, realize that the
|
||||
! operation-specific regexp(5) pattern on the right
|
||||
! hand side is matched against the strings returned
|
||||
! by uname(2). The best match determines the "normalized"
|
||||
! version number of the platform, which should range from
|
||||
! 001 and up. By convention, major release numbers
|
||||
! map to centuries and minor release numbers to within
|
||||
! the century.
|
||||
!
|
||||
! To determine the string that the regular expression on the
|
||||
! right hand side is matching against, use uname(1) and run
|
||||
! 'uname -r' and 'uname -v' and note the strings. During execution,
|
||||
! the strings returned by this command are retrieved and
|
||||
! concatenated "rv"--in that order, no extra spaces.
|
||||
! This is the string that the pattern must match.
|
||||
!
|
||||
! Sometimes this string may not be intuitive. For example,
|
||||
! note that AIX 3.2 returns 2 for 'uname -r' and 3 for 'uname -v'.
|
||||
! So the pattern string must be 23, not 32. Do not go by
|
||||
! the order of 'uname -rv' or 'uname -vr', as that is not used.
|
||||
!!!
|
||||
UNIX_System_V.?.version.<.420: ".*" !! any UXP/DS V20 System V 4.2.0
|
||||
|
||||
|
||||
!!!!!!!!!!!!!!!! UNIX_System_V (FUJITSU UXP/DS) specific setlocale translations !!!!!!!!!!!!!!!!!!!
|
||||
! These translations are for the string returned by the
|
||||
! getlocale() or setlocale(LC_xxx,NULL) operations, but not
|
||||
! setlocale(LC_ALL,NULL) operation.
|
||||
!
|
||||
! It provides translations from Sun operation-specific
|
||||
! to CDE standard strings and back again.
|
||||
!
|
||||
! Some language,territory combinations have the following comments:
|
||||
! (1) These ISO territory names may be subject to change
|
||||
! However, their CDE names will continue to be supported
|
||||
! (2) No ISO "territory" name exists for the Arabic-speaking regions of the
|
||||
! world as a whole. Vendors have sometimes supplied their own.
|
||||
! Those names, when conformant to the ISO model, will be adopted for CDE.
|
||||
!
|
||||
!Platform Operation Lang_Terr Op-Value Language,Territory Who has
|
||||
!--- --------- ----- -------- ------------------ -------
|
||||
! Version Kind Codeset
|
||||
! ---- - ---------
|
||||
|
||||
! setlocales Compliance
|
||||
UNIX_System_V.420+.setlocale.=.C.ISO-8859-1: C ! setlocales compliance ,IBM, HP, Sun , USL, UXP
|
||||
UNIX_System_V.420+.setlocale.~.POSIX.ISO-8859-1: POSIX ! setlocales compliance ,IBM, HP, Sun , USL, UXP
|
||||
|
||||
! W European/Americas, Latin 1 codeset
|
||||
! UNIX_System_V.420+.setlocale.>.da_DK.ISO-8859-1: de ! Danish, Denmark XoJIG,IBM, HP, , USL ("da")
|
||||
! UNIX_System_V.420+.setlocale.>.de_AT.ISO-8859-1: de ! German,Austria XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.de_CH.ISO-8859-1: de ! German,Switzerland XoJIG,IBM, , , USL
|
||||
! UNIX_System_V.420+.setlocale.~.de_DE.ISO-8859-1: de ! German, Germany XoJIG,IBM, HP, Sun ("de"), USL ("de")
|
||||
! UNIX_System_V.420+.setlocale.>.en_AU.ISO-8859-1: en ! English,Australia , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_AU.ISO-8859-1: en_US ! English,Australia , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_CA.ISO-8859-1: en ! English,Canada XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_CA.ISO-8859-1: en_US ! English,Canada XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_DK.ISO-8859-1: en ! English, Denmark XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_DK.ISO-8859-1: en_US ! English, Denmark XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_GB.ISO-8859-1: en ! English, U.K. XoJIG,IBM, HP, , USL ("en")
|
||||
! UNIX_System_V.420+.setlocale.>.en_GB.ISO-8859-1: en_US ! English, U.K. XoJIG,IBM, HP, , USL ("en")
|
||||
! UNIX_System_V.420+.setlocale.>.en_JP.ISO-8859-1: en ! English, Japan XoJIG,IBM, , ,
|
||||
! UNIX_System_V.420+.setlocale.>.en_JP.ISO-8859-1: en_US ! English, Japan XoJIG,IBM, , ,
|
||||
! UNIX_System_V.420+.setlocale.>.en_IE.ISO-8859-1: en ! English, Ireland XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_IE.ISO-8859-1: en_US ! English, Ireland XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_MY.ISO-8859-1: en ! English,Malaysia , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_MY.ISO-8859-1: en_US ! English,Malaysia , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_NZ.ISO-8859-1: en ! English,New Zealand , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_NZ.ISO-8859-1: en_US ! English,New Zealand , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_KR.ISO-8859-1: en ! English,Korea , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_KR.ISO-8859-1: en_US ! English,Korea , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_TW.ISO-8859-1: en ! English,Taiwan , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.en_TW.ISO-8859-1: en_US ! English,Taiwan , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.~.en_US.ISO-8859-1: en ! English, USA XoJIG,IBM, HP, , USL
|
||||
! UNIX_System_V.420+.setlocale.~.en_US.ISO-8859-1: en_US ! English, USA XoJIG,IBM, HP, , USL
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.es_AR.ISO-8859-1: es ! Spanish, Argentina , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_AR.ISO-8859-1: es_AR ! Spanish, Argentina , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.>.es_BO.ISO-8859-1: es ! Spanish, Bolivia , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_BO.ISO-8859-1: es_BO ! Spanish, Bolivia , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.>.es_CL.ISO-8859-1: es ! Spanish, Chile , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.~.es_CL.ISO-8859-1: es_CL ! Spanish, Chile , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.>.es_CO.ISO-8859-1: es ! Spanish, Columbia , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_CO.ISO-8859-1: es_CO ! Spanish, Columbia , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.>.es_CR.ISO-8859-1: es ! Spanish, Costa Rica , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_CR.ISO-8859-1: es_CR ! Spanish, Costa Rica , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.>.es_EC.ISO-8859-1: es ! Spanish, Ecuador , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_EC.ISO-8859-1: es_EC ! Spanish, Ecuador , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_ES.ISO-8859-1: es ! Spanish, Spain XoJIG,IBM, HP, Sun , USL
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.es_GT.ISO-8859-1: es ! Spanish, Guatemala , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_GT.ISO-8859-1: es_GT ! Spanish, Guatemala , , , Sun
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.es_MX.ISO-8859-1: es ! Spanish, Mexico , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.~.es_MX.ISO-8859-1: es_MX ! Spanish, Mexico , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.>.es_PE.ISO-8859-1: es ! Spanish, Peru , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_PE.ISO-8859-1: es_PE ! Spanish, Peru , , , Sun
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.es_UY.ISO-8859-1: es ! Spanish, Uruguay , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.~.es_UY.ISO-8859-1: es_UY ! Spanish, Uruguay , , , Sun
|
||||
! UNIX_System_V.420+.setlocale.>.es_VE.ISO-8859-1: es ! Spanish, Venezuela , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.~.es_VE.ISO-8859-1: es_VE ! Spanish, Venezuela , , , Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.>.et_EE.ISO-8859-1: ! Estonian, Estonia XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.>.fi_FI.ISO-8859-1: ! Finnish, Finland XoJIG,IBM, HP, , USL ("fi")
|
||||
! UNIX_System_V.420+.setlocale.>.fo_FO.ISO-8859-1: ! Faroese, Faeroe Island XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.>.fr_BE.ISO-8859-1: fr ! French,Belgium XoJIG, , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.fr_CA.ISO-8859-1: fr ! French, Canada XoJIG,IBM, HP, , USL
|
||||
! UNIX_System_V.420+.setlocale.>.fr_CH.ISO-8859-1: fr ! French, Switzerland XoJIG,IBM, , , USL
|
||||
! UNIX_System_V.420+.setlocale.~.fr_FR.ISO-8859-1: fr ! French, France XoJIG,IBM, HP, Sun ("fr"), USL ("fr")
|
||||
! UNIX_System_V.420+.setlocale.>.is_IS.ISO-8859-1: ! Icelandic, Iceland XoJIG,IBM, HP, , USL ("is")
|
||||
! UNIX_System_V.420+.setlocale.>.it_CH.ISO-8859-1: it ! Italian,Switzerland , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.~.it_IT.ISO-8859-1: it ! Italian, Italy XoJIG,IBM, HP, Sun ("it"), USL ("it")
|
||||
! UNIX_System_V.420+.setlocale.>.kl_GL.ISO-8859-1: ! Greenlandic, Greenland XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.>.lt_LT.ISO-8859-1: ! Lithuanian, Lithuania XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.>.lv_LV.ISO-8859-1: ! Latvian, Latvia XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.>.nl_BE.ISO-8859-1: ge ! Dutch, Belgium XoJIG,IBM, , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.nl_BE.ISO-8859-1: nl_BE ! Dutch, Belgium XoJIG,IBM, , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.nl_NL.ISO-8859-1: ge ! Dutch, The Netherlands XoJIG,IBM, HP, , USL ("nl")
|
||||
! UNIX_System_V.420+.setlocale.>.nl_NL.ISO-8859-1: nl ! Dutch, The Netherlands XoJIG,IBM, HP, , USL ("nl")
|
||||
! UNIX_System_V.420+.setlocale.>.no_NO.ISO-8859-1: ge ! Norwegian, Norway XoJIG,IBM, HP, , USL ("no")
|
||||
! UNIX_System_V.420+.setlocale.>.no_NO.ISO-8859-1: no ! Norwegian, Norway XoJIG,IBM, HP, , USL ("no")
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.pt_BR.ISO-8859-1: es ! Portuguese,Brazil , , , , USL
|
||||
! UNIX_System_V.420+.setlocale.>.pt_BR.ISO-8859-1: pt ! Portuguese,Brazil , , , , USL
|
||||
|
||||
! UNIX_System_V.420+.setlocale.>.pt_PT.ISO-8859-1: pt ! Portuguese, Portugal XoJIG,IBM, HP, , USL
|
||||
! UNIX_System_V.420+.setlocale.>.sv_FI.ISO-8859-1: sv ! Swedish, Finland XoJIG,
|
||||
! UNIX_System_V.420+.setlocale.~.sv_SE.ISO-8859-1: sv ! Swedish, Sweden XoJIG,IBM, HP, Sun ("sv"), USL ("sv")
|
||||
|
||||
! E European
|
||||
! UNIX_System_V.420+.setlocale.>.cs_CS.ISO-8859-2: cs ! Czech(1) ,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.hr_HR.ISO-8859-2: ! Croatian, Croatia ,IBM
|
||||
! UNIX_System_V.420+.setlocale.>.hu_HU.ISO-8859-2: hu ! Hungarian, Hungry XoJIG,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.pl_PL.ISO-8859-2: pl ! Polish, Poland XoJIG,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.ro_RO.ISO-8859-2: ! Rumanian, Romania XoJIG,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.sh_YU.ISO-8859-2: ! Serbocroatian, Yugoslavia(1) ,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.sl_CS.ISO-8859-2: ! Slovenian , , HP
|
||||
! UNIX_System_V.420+.setlocale.>.si_SI.ISO-8859-2: ! Slovenian ,IBM,
|
||||
! UNIX_System_V.420+.setlocale.>.sk_SK.ISO-8859-2: ! Slovak ,IBM
|
||||
|
||||
! Cyrillic
|
||||
! UNIX_System_V.420+.setlocale.>.bg_BG.ISO-8859-5: ! Bulgarian, Bulgaria ,IBM, HP
|
||||
! UNIX_System_V.420+.setlocale.>.mk_MK.ISO-8859-5: ! Macedonian ,IBM
|
||||
! UNIX_System_V.420+.setlocale.>.ru_RU.ISO-8859-5: ru ! Russian(1) ,IBM,
|
||||
! UNIX_System_V.420+.setlocale.>.ru_SU.ISO-8859-5: ! Russian(1) , , HP
|
||||
! UNIX_System_V.420+.setlocale.>.sp_YU.ISO-8859-5: ! Serbian,Yugoslavia(1) ,IBM
|
||||
|
||||
! Arabic
|
||||
! UNIX_System_V.420+.setlocale.>.ar_DZ.ISO-8859-6: ! Arabic(2) , , HP
|
||||
! UNIX_System_V.420+.setlocale.>.ar_SA.ISO-8859-6: ! Arabic(2) , , HP
|
||||
|
||||
! Hebrew
|
||||
! UNIX_System_V.420+.setlocale.>.iw_IL.ISO-8859-8: ! Hebrew, Israel ,IBM, HP
|
||||
|
||||
! Greek
|
||||
! UNIX_System_V.420+.setlocale.>.el_GR.ISO-8859-7: ! Greek, Greece ,IBM, HP
|
||||
|
||||
! Turkish
|
||||
! UNIX_System_V.420+.setlocale.>.tr_TR.ISO-8859-9: ! Turkish, Turkey ,IBM, HP
|
||||
|
||||
! East Asia
|
||||
UNIX_System_V.420+.setlocale.~.ja_JP.EUC-JP: ja_JP ! Japanese, Japan ,IBM, HP, Sun ("ja"), USL, UXP
|
||||
UNIX_System_V.420+.setlocale.=.ja_JP.EUC-JP: ja_JP.U90 ! Japanese, Japan ,IBM, HP, Sun ("ja"), USL, UXP
|
||||
UNIX_System_V.420+.setlocale.=.ja_JP.SJIS: ja_JP.SJIS ! Japanese, Japan ,IBM, HP, Sun ("ja"), USL, UXP
|
||||
! UNIX_System_V.420+.setlocale.~.ko_KR.EUC-KR: ko ! Korean, Korea ,IBM, HP, Sun ("ko"), USL
|
||||
! UNIX_System_V.420+.setlocale.~.zh_CN.EUC-CN: zh ! Chinese, China ,IBM, , Sun ("zh"), USL
|
||||
! UNIX_System_V.420.setlocale.~.zh_TW.EUC-TW: zh_TW ! Chinese, Taiwan ,IBM, HP, Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.~.zh_TW.EUC-TW: zh_TW ! Chinese, Taiwan ,IBM, HP, Sun , USL
|
||||
! UNIX_System_V.420+.setlocale.>.zh_CN.HP-15CN: zh ! Chinese, China , , HP
|
||||
! UNIX_System_V.420+.setlocale.0.zh_TW.HP-BIG5: ! Chinese, Taiwan , , HP, ,
|
||||
! UNIX_System_V.420+.setlocale.>.zh_TW.HP-CCDC: ! Chinese, Taiwan , , HP, ,
|
||||
! UNIX_System_V.420+.setlocale.>.ja_JP.HP-SJIS: ! Japanese, Japan aka japanese 15 , , HP,
|
||||
! UNIX_System_V.420+.setlocale.>.ja_JP.HP-KANA8: ! Japanese, Japan , , HP, ,
|
||||
|
||||
! Thai
|
||||
! UNIX_System_V.420+.setlocale.>.th_TH.TIS-620: ! Thai, Thailand ,IBM, HP
|
||||
|
||||
! codesets supported for iconv(1); iconv(3) & nl_langinfo not supported
|
||||
UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-1: ISO-8859-1
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-2: ISO8859-2
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-5: ISO8859-5
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-6: ISO8859-6
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-7: ISO8859-7
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-8: ISO8859-8
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.ISO-8859-9: ISO8859-9
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.EUC-KR: IBM-eucKR
|
||||
UNIX_System_V.420+.iconv1,iconv3.=.?.EUC-JP: eucJP
|
||||
UNIX_System_V.420+.iconv1,iconv3.~.ja_JP.SJIS: SJIS
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.EUC-TW: IBM-eucTW
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.EUC-CN: IBM-eucCN
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.HP-15CN: IBM-eucCN
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.IBM-437: IBM-437
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.IBM-850: IBM-850
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.IBM-856: IBM-856
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.IBM-932: IBM-932
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.HP-SJIS: IBM-932
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.IBM-1046: IBM-1046
|
||||
! UNIX_System_V.420+.iconv1,iconv3.=.?.UTF-8: UTF-8
|
||||
UNIX_System_V.420+.iconv1,iconv3.>.?.ISO-2022-JP: ISO-2022-JP
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.ISO-2022-KR: fold7
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.ISO-2022-TW: fold7
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.ISO-2022-CN: fold7
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.HP-BIG5: big5
|
||||
! UNIX_System_V.420+.iconv1,iconv3.>.?.TIS-620: TIS-620
|
||||
|
||||
! codesets not supported by UNIX_System_V iconv(1)
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-2:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-5:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-6:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-7:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.ISO-8859-9:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.IBM-437:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.IBM-850:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.IBM-856:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.IBM-1046:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-ARABIC8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-GREEK8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-HEBREW8
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-ROMAN8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-TURKISH8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.TIS-620:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-KANA8:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.HP-CCDC:
|
||||
! UNIX_System_V.?.iconv1,iconv3.~.?.UCS-2:
|
||||
|
||||
! multibyte codesets
|
||||
! This translation provides an alternative to a call to
|
||||
! using setlocale() and MB_CUR_MAX to determine this.
|
||||
! UNIX_System_V.420+.multibyte.=.?.EUC-KR: 2
|
||||
UNIX_System_V.420+.multibyte.=.?.EUC-JP: 2
|
||||
UNIX_System_V.420+.multibyte.=.?.SJIS: 2
|
||||
! UNIX_System_V.420+.multibyte.=.?.EUC-TW: 4
|
||||
! UNIX_System_V.420+.multibyte.=.?.EUC-CN: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.HP-SJIS: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.IBM-932: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.HP-CCDC: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.HP-BIG5: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.TIS-620: 2
|
||||
! UNIX_System_V.?.multibyte.~.?.HP-15CN: 2
|
||||
|
||||
|
||||
! Translations from predefined CCDF-locales to CDE Standard Locales
|
||||
! UNIX_System_V.?.ccdf.=.?.HP-ROMAN8: hp-roman8
|
||||
! UNIX_System_V.?.ccdf.=.?.ISO-8859-1: iso8859-1
|
||||
! UNIX_System_V.?.ccdf.=.ko_KR.EUC-KR: hp-korean15
|
||||
! UNIX_System_V.?.ccdf.=.ja_JP.HP-SJIS: hp-japanese15
|
||||
! UNIX_System_V.?.ccdf.=.?.DT-SYMBOL-1: symbol !!! standard Dt symbol font
|
||||
|
||||
! These CDE standard locales may have CCDF-locales, but they are defined by localizers
|
||||
! UNIX_System_V.?.ccdf.=.ar_SA.HP-ARABIC8: arabic8
|
||||
! UNIX_System_V.?.ccdf.=.el_GR.HP-GREEK8: greek8
|
||||
! UNIX_System_V.?.ccdf.=.iw_IL.HP-HEBREW8: hebrew8
|
||||
! UNIX_System_V.?.ccdf.=.tr_TR.HP-TURKISH8: turkish8
|
||||
! UNIX_System_V.?.ccdf.<.ja_JP.HP-SJIS: sjis
|
||||
! UNIX_System_V.?.ccdf.=.ja_JP.HP-KANA8: kana8
|
||||
! UNIX_System_V.?.ccdf.<.ja_JP.EUC-JP: ujis
|
||||
! UNIX_System_V.?.ccdf.=.zh_CN.HP-CCDC: roc15
|
||||
|
||||
|
||||
! Codesets that require multibyte parsing to avoid confusion with shell special chars
|
||||
! Sun doesn't have these codesets
|
||||
! UNIX_System_V.?.dtkshSpecialParse.=.ja_JP.HP-SJIS: True
|
||||
! UNIX_System_V.?.dtkshSpecialParse.=.ja_JP.IBM-932: True
|
||||
! UNIX_System_V.?.dtkshSpecialParse.=.zh_TW.HP-BIG5: True
|
||||
! UNIX_System_V.?.dtkshSpecialParse.=.zh_TW.HP-CCDC: True
|
||||
! UNIX_System_V.?.dtkshSpecialParse.=.zh_TW.EUC-TW: True
|
||||
|
||||
|
||||
!! When content is exchanged with other platforms, the interchange codeset
|
||||
!! may be different that the codeset used locally. In CDE1, these translations
|
||||
!! are used by dtmail, but other clients may use the same translations
|
||||
!! in the future. For example, to improve interoperability of 8-bit mail,
|
||||
!! the mail messages of users working in codesets such as HP-ROMAN8 or IBM-850
|
||||
!! are translated to the interchangeCodeset (in this case, ISO-8859-1) before
|
||||
!! they are sent. Similarly, the mail of Japanese users is translated to ISO-2022-JP
|
||||
!! before it is sent.
|
||||
UNIX_System_V.420+.interchangeCodeset.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-ROMAN8: ISO-8859-1 ! HP Roman8
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.IBM-437: ISO-8859-1 ! PC (US)
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.IBM-850: ISO-8859-1 ! PC (Multi-lingual)
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-ARABIC8: ISO-8859-6 ! HP Arabic8
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.IBM-1046: ISO-8859-6 ! PC Arabic Code Set
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-HEBREW8: ISO-8859-8 ! HP Hebrew8
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.IBM-856: ISO-8859-7 ! PC Hebrew
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-GREEK8: ISO-8859-7 ! HP Greek8
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-TURKISH8: ISO-8859-9 ! HP Turkish8
|
||||
UNIX_System_V.420+.interchangeCodeset.~.?.EUC-JP: ISO-2022-JP ! Japanese EUC
|
||||
! Add the following line -- hack to see if "japanese" works
|
||||
UNIX_System_V.420+.interchangeCodeset.=.?.EUC-JP: ISO-2022-JP ! Japanese EUC
|
||||
UNIX_System_V.420+.interchangeCodeset.~.?.ja_JP.SJIS: ja_JP.SJIS ! Japanese EUC
|
||||
UNIX_System_V.420+.interchangeCodeset.~.?.ISO-2022-JP: ISO-2022-JP ! Japanese EUC
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-SJIS: ISO-2022-JP ! HP Japanese Shift JIS
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.IBM-932: ISO-2022-JP ! PC Japanese Shift JIS
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-KANA8: ISO-2022-JP ! HP Japanese Katakana8
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.EUC-KR: ISO-2022-KR ! Korean EUC
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.EUC-CN: ISO-2022-CN ! China Chinese EUC
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.EUC-TW: ISO-2022-TW ! Taiwan Chinese EUC
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-BIG5: ISO-2022-TW ! HP Big5 Chinese
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-CCDC: ISO-2022-TW ! HP CCDC Chinese
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.HP-15CN: ISO-2022-CN ! HP Chinese EUC
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.TIS-620: TIS-620 ! Thai
|
||||
! UNIX_System_V.?.interchangeCodeset.>.?.UCS-2: UTF-8 ! Unicode
|
||||
! UNIX_System_V.?.interchangeCodeset.~.?.UTF-8: UTF-8 ! multibyte Unicode
|
||||
|
||||
!! Codeset identifiers for use with MIME messages. The .~. translations
|
||||
!! are used by dtmail and adhere to the MIME standard, RFC 1521.
|
||||
!! Note that the MIME standard states that codeset identifiers are
|
||||
!! case-insensitive. The operation-specific values on the right-hand-side
|
||||
!! of the translations below, however, ARE case sensitive. Before
|
||||
!! doing a OpToStd translation, first convert the MIME codeset identifier
|
||||
!! to uppercase. Alternatively, one could provide lower-case versions
|
||||
!! of the translations (right-hand-side only should be in lower-case).
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
|
||||
UNIX_System_V.?.mime.~.?.HP-ROMAN8: X-HP-ROMAN8 ! HP Roman8
|
||||
UNIX_System_V.?.mime.~.?.IBM-437: X-IBM-437 ! PC (US)
|
||||
UNIX_System_V.?.mime.~.?.IBM-850: X-IBM-850 ! PC (Multi-lingual)
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
|
||||
UNIX_System_V.?.mime.~.?.HP-ARABIC8: X-HP-ARABIC8 ! HP Arabic8
|
||||
UNIX_System_V.?.mime.~.?.IBM-1046: X-IBM-1046 ! PC Arabic Code Set
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
|
||||
UNIX_System_V.?.mime.~.?.HP-HEBREW8: X-HP-HEBREW8 ! HP Hebrew8
|
||||
UNIX_System_V.?.mime.~.?.IBM-856: X-IBM-856 ! PC Hebrew
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
|
||||
UNIX_System_V.?.mime.~.?.HP-GREEK8: X-HP-GREEK8 ! HP Greek8
|
||||
UNIX_System_V.?.mime.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
|
||||
UNIX_System_V.?.mime.~.?.HP-TURKISH8: X-HP-TURKISH8 ! HP Turkish8
|
||||
UNIX_System_V.?.mime.~.?.EUC-JP: X-EUC-JP ! Japanese EUC
|
||||
UNIX_System_V.?.mime.~.?.ISO-2022-JP: ISO-2022-JP ! Japanese JIS with 7-bit encoding per ISO-2022-JP
|
||||
UNIX_System_V.?.mime.~.?.HP-SJIS: X-HP-SJIS ! HP Japanese Shift JIS
|
||||
UNIX_System_V.?.mime.~.?.IBM-932: X-IBM-932 ! PC Japanese Shift JIS
|
||||
UNIX_System_V.?.mime.~.?.HP-KANA8: X-HP-KANA8 ! HP Japanese Katakana8
|
||||
UNIX_System_V.?.mime.~.?.EUC-KR: X-EUC-KR ! Korean EUC
|
||||
UNIX_System_V.?.mime.~.?.ISO-2022-KR: ISO-2022-KR ! Korean with 7-bit encoding per ISO-2022-KR
|
||||
UNIX_System_V.?.mime.~.?.EUC-CN: X-EUC-CN ! China Chinese EUC
|
||||
UNIX_System_V.?.mime.~.?.ISO-2022-CN: ISO-2022-CN ! China Chinese with 7-bit encoding per ISO-2022-CN
|
||||
UNIX_System_V.?.mime.~.?.HP-15CN: X-HP-15CN ! HP China Chinese EUC
|
||||
UNIX_System_V.?.mime.~.?.EUC-TW: X-EUC-TW ! Taiwan Chinese EUC
|
||||
UNIX_System_V.?.mime.~.?.ISO-2022-TW: ISO-2022-TW ! Taiwan Chinese with 7-bit encoding per ISO-2022-TW
|
||||
UNIX_System_V.?.mime.~.?.HP-BIG5: X-HP-BIG5 ! HP Big5 Taiwan Chinese
|
||||
UNIX_System_V.?.mime.~.?.HP-CCDC: X-HP-CCDC ! HP CCDC Taiwan Chinese
|
||||
UNIX_System_V.?.mime.~.?.TIS-620: X-TIS-620 ! Thai
|
||||
UNIX_System_V.?.mime.~.?.UCS-2: X-UCS-2 ! Unicode; group 0, plane 0 of ISO-10646
|
||||
UNIX_System_V.?.mime.~.?.UCS-4: X-UCS-4 ! ISO-10646
|
||||
UNIX_System_V.?.mime.~.?.UTF-7: X-UTF-7 ! multibyte encoding of Unicode
|
||||
UNIX_System_V.?.mime.~.?.UTF-8: X-UTF-8 ! multibyte encoding of Unicode
|
||||
UNIX_System_V.?.mime.~.?.UTF-16: X-UTF-16 ! multibyte encoding of Unicode
|
||||
|
||||
!! If other mailers are using other codeset identifiers in their MIME
|
||||
!! messages, dtmail will not be able to process them correctly.
|
||||
!! To correct this, additional .<. translations for these identifiers
|
||||
!! can be added to a <platform>.lcx file in the /etc/dt/config/svc
|
||||
!! or $HOME/.dt/config/svc directories. Such translations should read:
|
||||
!! <platform>.100+.mime.<.?.<CDE std codeset>: <mailer identifier for the codeset>
|
||||
!!
|
||||
!! ***NEVER*** use a .~. translation, such as we use above, as this could
|
||||
!! cause dtmail to send unexpected identifier strings by overriding the
|
||||
!! above definition. Further, never use .=. or .>. translations.
|
||||
!!
|
||||
!! These two identifiers are in common usage, as they derive from RFC1521.
|
||||
UNIX_System_V.?.mime.<.?.ISO-8859-1: us-ascii ! ISO Latin 1
|
||||
UNIX_System_V.?.mime.<.?.ISO-8859-1: US-ASCII ! ISO Latin 1
|
||||
|
||||
@@ -19,10 +19,6 @@ EXTRA_DEFINES = -DBYTE_SWAP -D_OSF_SOURCE -D_XOPEN_SOURCE
|
||||
EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE
|
||||
#endif
|
||||
|
||||
#ifdef UXPArchitecture
|
||||
EXTRA_DEFINES = -D_XOPEN_SOURCE
|
||||
#endif
|
||||
|
||||
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
|
||||
EXTRA_DEFINES = -DBYTE_SWAP -D_XOPEN_SOURCE=700
|
||||
#endif
|
||||
|
||||
@@ -1068,7 +1068,7 @@ int SPC_Setpgrp(int read_current_termio)
|
||||
return(SPC_ERROR);
|
||||
}
|
||||
|
||||
#if !defined(USL) && !defined(__uxp__)
|
||||
#if !defined(USL)
|
||||
if(tcsetattr(setpgrp_wire->fd[SLAVE_SIDE], TCSANOW, XeTermioStruct)==ERROR) {
|
||||
SPC_Error(SPC_Bad_tc_Call,(XeString)"tcsetattr");
|
||||
_DtSvcProcessUnlock();
|
||||
|
||||
@@ -1030,7 +1030,7 @@ _DtCmdCommandInvokerExecute (
|
||||
#ifdef _SUN_OS
|
||||
open_max = NOFILE;
|
||||
#else
|
||||
#if defined(USL) || defined(__uxp__) || defined(_AIX)
|
||||
#if defined(USL) || defined(_AIX)
|
||||
open_max = FOPEN_MAX;
|
||||
#else
|
||||
open_max = FD_SETSIZE;
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <Dt/ActionUtilP.h>
|
||||
#include "myassertP.h"
|
||||
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <ndir.h>
|
||||
#else
|
||||
|
||||
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL) || defined(sco)
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <ndir.h>
|
||||
#else
|
||||
|
||||
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL) || defined(sco)
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#ifdef __hpux
|
||||
#include <ndir.h> /* opendir(), directory(3C) */
|
||||
#else
|
||||
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL) || defined(sco)
|
||||
#include <dirent.h> /* opendir(), directory(3C) */
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#ifdef __hpux
|
||||
#include <ndir.h>
|
||||
#else
|
||||
#if defined(sun) || defined(USL) || defined(sco) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL) || defined(sco)
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include <sys/dir.h>
|
||||
|
||||
@@ -54,7 +54,7 @@ $END$
|
||||
#endif
|
||||
#include <langinfo.h>
|
||||
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
#include <regexpr.h> /* for compile,advance */
|
||||
#else
|
||||
#include <regex.h> /* for regcomp,regexec */
|
||||
@@ -125,7 +125,7 @@ typedef enum {
|
||||
__DtXLATE_TYPE_CONTAINS = 4
|
||||
} __DtXlateType;
|
||||
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
/* Sun doesn't support regcomp() and regexec() yet, so
|
||||
define this here and fill it will the results of advance() */
|
||||
typedef struct regmatch_t {
|
||||
@@ -1127,7 +1127,7 @@ Boolean CheckSearchOpValueMatchesSpec(
|
||||
value or do a pure match */
|
||||
if (srchData->curTransType == __DtXLATE_TYPE_REGEX)
|
||||
{
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
char * ex = NULL;
|
||||
|
||||
/* True: leave escape char in place */
|
||||
@@ -2199,7 +2199,7 @@ int _DtXlateGetXlateEnv(
|
||||
/* then look up version number of execution host */
|
||||
if (ret_AppExecEnvVersion)
|
||||
{
|
||||
#if defined(sun) || defined(_AIX) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(sun) || defined(_AIX) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
char version[SYS_NMLN+SYS_NMLN+2];
|
||||
#else
|
||||
char version[UTSLEN+UTSLEN+2];
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
# ifdef __sun
|
||||
# include <sys/time.h>
|
||||
# endif
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
# include <sys/time.h>
|
||||
# endif
|
||||
# ifdef __apollo
|
||||
@@ -255,7 +255,7 @@
|
||||
# include <sys/select.h>
|
||||
# endif
|
||||
/*
|
||||
# if defined(USL) || defined(__uxp__)
|
||||
# if defined(USL)
|
||||
# include <sys/select.h>
|
||||
# endif
|
||||
*/
|
||||
@@ -293,7 +293,7 @@
|
||||
/* about above. So, declare them only if we don't already have them */
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(USL) || defined(_INCLUDE_BSD_SOURCE) || defined(_OSF_SOURCE) || defined(__aix) || defined(__uxp__) || defined(__osf__) || defined(linux)
|
||||
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(USL) || defined(_INCLUDE_BSD_SOURCE) || defined(_OSF_SOURCE) || defined(__aix) || defined(__osf__) || defined(linux)
|
||||
/* the "u_types" are defined in standard files */
|
||||
# undef _INCLUDE_BSD_SOURCE
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <generic.h>
|
||||
#endif
|
||||
#if defined(USL) || defined(__uxp__) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(USL) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
#define _DELETE_ARRAY(sz) delete[]
|
||||
#else
|
||||
#define _DELETE_ARRAY(sz) delete[(sz)]
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef __MBSTRING_H_
|
||||
#define __MBSTRING_H_
|
||||
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -125,14 +125,14 @@ extern size_t nl_strlen(); /* __OBSOLETE */
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif /* apollo */
|
||||
|
||||
inline char *strnew(size_t len) { return (char*)malloc(len + 1); }
|
||||
#if defined(sun) || defined(__sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(__sun) || defined(USL)
|
||||
inline void strfree(const char *s)
|
||||
{ if (s != NULL) free((char *)s); }
|
||||
#else
|
||||
|
||||
@@ -67,7 +67,7 @@ static char rcs_id[] = "$TOG: TermParse.c /main/3 1999/10/15 12:25:13 mgreess $"
|
||||
#include <values.h>
|
||||
#endif
|
||||
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
#include <ctype.h>
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
|
||||
@@ -106,10 +106,6 @@ LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
#endif
|
||||
|
||||
#ifdef UXPArchitecture
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-svr4.c)
|
||||
#endif
|
||||
|
||||
#ifdef BSDArchitecture
|
||||
LinkFile(TermPrimGetPty.c,TermPrimGetPty-bsd.c)
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <Xm/Xm.h>
|
||||
#include <X11/Xos.h>
|
||||
|
||||
#if defined(linux) || defined(UXPArchitecture) || (defined(USL) && (OSMAJORVERSION > 1)) || defined(CSRG_BASED)
|
||||
#if defined(linux) || (defined(USL) && (OSMAJORVERSION > 1)) || defined(CSRG_BASED)
|
||||
#define _NFILE FOPEN_MAX
|
||||
#endif
|
||||
|
||||
|
||||
@@ -132,12 +132,5 @@
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* USL_ARCHITECTURE */
|
||||
|
||||
#ifdef UXP_ARCHITECTURE
|
||||
# define XOR_CAPS_LOCK /* xor caps lock and shift */
|
||||
# define USE_STREAMS /* use streams */
|
||||
# define USE_STREAMS_TTCOMPAT /* use ttcompat streams mod */
|
||||
# define USE_TCSENDBREAK /* use tiocbreak() */
|
||||
#endif /* UXP_ARCHITECTURE */
|
||||
|
||||
#endif /* _Dt_TermPrimOSDepI_h */
|
||||
/* DON'T ADD ANYTHING AFTER THIS #endif... */
|
||||
|
||||
@@ -390,14 +390,14 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
|
||||
(void) strncpy(utPtr->ut_id, utmpLine,
|
||||
sizeof(utPtr->ut_id));
|
||||
#else /* __AIX || __osf__ */
|
||||
#if defined(linux) || defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(linux) || defined(sun) || defined(USL)
|
||||
if (c = strchr(utmpLine, '/')) {
|
||||
c++;
|
||||
} else {
|
||||
c = utmpLine;
|
||||
}
|
||||
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
|
||||
#else /* linux || sun || USL || __uxp__ */
|
||||
#else /* linux || sun || USL */
|
||||
error out -- missing code for utPtr->ut_id
|
||||
#endif /* sun */
|
||||
#endif /* __AIX || __osf__ */
|
||||
|
||||
@@ -54,10 +54,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__hpux) || defined(__osf__) || defined(USL)
|
||||
# include <wchar.h>
|
||||
#elif defined(__uxp__)
|
||||
# include <widec.h>
|
||||
# include <wctype.h>
|
||||
# include <wchar.h>
|
||||
#elif defined(sun)
|
||||
# if (_XOPEN_VERSION==3)
|
||||
# include <wctype.h>
|
||||
@@ -787,23 +784,11 @@ static XtActionsRec EditorActionTable[] = {
|
||||
static wctype_t _DtEditor_blankClass;
|
||||
#else
|
||||
# define wctype_t int
|
||||
# if defined(__uxp__)
|
||||
# if (OSMAJORVERSION < 2)
|
||||
typedef long wint_t ;
|
||||
# endif
|
||||
# define WEOF (-1)
|
||||
# endif /* uxp */
|
||||
|
||||
# define iswblank(a) iswspace(a)
|
||||
# if !defined(__uxp__)
|
||||
# define iswctype(a,b) _iswctype(a,b)
|
||||
# endif
|
||||
# if defined(__uxp__)
|
||||
# define wcwidth(a) scrwidth(a)
|
||||
# else
|
||||
# define wcwidth(a) sun_wcwidth(a)
|
||||
# endif
|
||||
#endif /* not sun and not uxp */
|
||||
# define iswctype(a,b) _iswctype(a,b)
|
||||
# define wcwidth(a) sun_wcwidth(a)
|
||||
#endif /* not sun */
|
||||
|
||||
#define MAXTABSIZE 100 /* max legal tabsize */
|
||||
|
||||
@@ -1390,7 +1375,7 @@ WidgetClass dtEditorWidgetClass = (WidgetClass) &dtEditorClassRec;
|
||||
static void
|
||||
ClassInitialize(void)
|
||||
{
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL) && !defined(__uxp__)
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL)
|
||||
_DtEditor_blankClass = wctype(blankString);
|
||||
|
||||
/*
|
||||
@@ -5260,7 +5245,7 @@ lineBlank(
|
||||
byteNum += mblen(&pLine[byteNum], mbCurMax), charNum++)
|
||||
{
|
||||
(void) mbtowc(&wc, &pLine[byteNum], mbCurMax);
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL) && !defined(__uxp__)
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL)
|
||||
if( !iswctype(wc, _DtEditor_blankClass) )
|
||||
return False;
|
||||
#else
|
||||
@@ -5284,7 +5269,7 @@ findNonBlank(
|
||||
byteNum += mblen(&pLine[byteNum], mbCurMax), charNum++)
|
||||
{
|
||||
(void) mbtowc(&wc, &pLine[byteNum], mbCurMax);
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL) && !defined(__uxp__)
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL)
|
||||
if( !iswctype(wc, _DtEditor_blankClass) )
|
||||
return &pLine[byteNum];
|
||||
#else
|
||||
@@ -5341,7 +5326,7 @@ countBlanks(
|
||||
count++; /* multibyte control chars??? */
|
||||
continue;
|
||||
}
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL) && !defined(__uxp__)
|
||||
#if !(defined(sun) && (_XOPEN_VERSION==3)) && !defined(USL)
|
||||
if(!iswctype(wc, _DtEditor_blankClass))
|
||||
return count;
|
||||
#else
|
||||
|
||||
@@ -37,14 +37,14 @@
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
# include <poll.h>
|
||||
#endif
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
#include <netconfig.h>
|
||||
#include <netdir.h>
|
||||
#else
|
||||
#include <sys/signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/errno.h>
|
||||
#endif /* SunOS || USL || __uxp__ */
|
||||
#endif /* SunOS || USL */
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
#include "agent.h"
|
||||
@@ -78,7 +78,7 @@ static int mapped = 0;
|
||||
/******************************************************************************
|
||||
* forward declaration of static functions used within the file
|
||||
******************************************************************************/
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
static u_long gettransient (u_long version);
|
||||
#else
|
||||
static u_long gettransient (int proto, u_long vers, int *sockp);
|
||||
@@ -104,13 +104,13 @@ _DtCm_init_agent()
|
||||
{
|
||||
int s = RPC_ANYSOCK;
|
||||
|
||||
#if defined(SunOS) && SunOS < 55 || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) && SunOS < 55 || defined(USL)
|
||||
extern boolean_t rpc_reg(const u_long, const u_long, const u_long,
|
||||
const char *(*)(), const xdrproc_t, const xdrproc_t,
|
||||
const char *);
|
||||
#endif
|
||||
|
||||
#if defined(SunOS) || defined(USL)|| defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
extern void (*sigset(int, void (*)(int)))(int);
|
||||
#else
|
||||
extern void (*sigset())();
|
||||
@@ -122,7 +122,7 @@ _DtCm_init_agent()
|
||||
|
||||
DP(("libdtcm: _DtCm_init_agent\n"));
|
||||
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
(void)rpcb_unset(_DtCm_transient, AGENTVERS, NULL);
|
||||
if ((_DtCm_transient = gettransient((u_long)1)) == 0) {
|
||||
_DtCm_print_errmsg("Cannot get transient program number\n");
|
||||
@@ -168,7 +168,7 @@ _DtCm_init_agent()
|
||||
_DtCm_print_errmsg("Callback cannot be enabled.\n");
|
||||
}
|
||||
|
||||
#endif /* SunOS || USL || __uxp__ */
|
||||
#endif /* SunOS || USL */
|
||||
|
||||
/* locking candidate for MT-safe purpose */
|
||||
mapped = 1;
|
||||
@@ -185,13 +185,13 @@ _DtCm_destroy_agent()
|
||||
|
||||
DP(("libdtcm: _DtCm_destroy_agent\n"));
|
||||
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
(void) rpcb_unset(_DtCm_transient, AGENTVERS, NULL);
|
||||
(void) rpcb_unset(_DtCm_transient, AGENTVERS_2, NULL);
|
||||
#else
|
||||
(void) pmap_unset(_DtCm_transient, AGENTVERS);
|
||||
(void) pmap_unset(_DtCm_transient, AGENTVERS_2);
|
||||
#endif /* SunOS || USL || __uxp__ */
|
||||
#endif /* SunOS || USL */
|
||||
|
||||
/* locking candidate for MT-safe purpose */
|
||||
mapped = 0;
|
||||
@@ -362,7 +362,7 @@ cmcb_update_callback_2_svc(cmcb_update_callback_args *args, struct svc_req *d)
|
||||
/*
|
||||
* get transient program number for callbacks.
|
||||
*/
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
static u_long
|
||||
gettransient (u_long version)
|
||||
{
|
||||
@@ -406,7 +406,7 @@ gettransient (u_long version)
|
||||
return prognum;
|
||||
}
|
||||
|
||||
#else /* SunOS || USL || __uxp__ */
|
||||
#else /* SunOS || USL */
|
||||
|
||||
static u_long
|
||||
gettransient (int proto, u_long vers, int *sockp)
|
||||
@@ -457,7 +457,7 @@ gettransient (int proto, u_long vers, int *sockp)
|
||||
return (prognum-1);
|
||||
}
|
||||
|
||||
#endif /* not SunOS || USL || __uxp__ */
|
||||
#endif /* not SunOS || USL */
|
||||
|
||||
static void
|
||||
_DtCm_handle_callback()
|
||||
|
||||
@@ -113,7 +113,7 @@ _DtCm_create_udp_client(
|
||||
return (CSA_SUCCESS);
|
||||
}
|
||||
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
cl = clnt_create_vers(host, TABLEPROG,
|
||||
&vers_out, TABLEVERS_2, version, "udp");
|
||||
if (cl==NULL) {
|
||||
@@ -208,7 +208,7 @@ _DtCm_create_tcp_client(
|
||||
return (CSA_SUCCESS);
|
||||
} else {
|
||||
/* create tcp connection */
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
cl = clnt_create_vers(host, TABLEPROG, &vers_out,
|
||||
TABLEVERS_2, version, "tcp");
|
||||
#else
|
||||
@@ -438,7 +438,7 @@ extern CSA_return_code
|
||||
_DtCm_clntstat_to_csastat(enum clnt_stat clntstat)
|
||||
{
|
||||
switch (clntstat) {
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
case RPC_N2AXLATEFAILURE:
|
||||
#endif
|
||||
case RPC_UNKNOWNHOST:
|
||||
@@ -461,7 +461,7 @@ create_auth(CLIENT *cl)
|
||||
{
|
||||
/* Always cache the Unix style credentials. */
|
||||
if (unix_credential == NULL)
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
unix_credential = authsys_create_default ();
|
||||
#else
|
||||
unix_credential = authunix_create_default ();
|
||||
@@ -732,7 +732,7 @@ get_new_client_handle(_DtCm_Connection *conn)
|
||||
oldver = conn->ci->vers_out;
|
||||
|
||||
/* always get a udp client handle first */
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
cl = clnt_create_vers(conn->ci->host, TABLEPROG, &(conn->ci->vers_out),
|
||||
TABLEVERS_2, oldver, "udp");
|
||||
if (cl == NULL) {
|
||||
@@ -788,7 +788,7 @@ get_new_client_handle(_DtCm_Connection *conn)
|
||||
|
||||
/* get a tcp client handle */
|
||||
oldver = conn->ci->vers_out;
|
||||
#if defined(SunOS) || defined(USL) || defined(__uxp__)
|
||||
#if defined(SunOS) || defined(USL)
|
||||
cl = clnt_create_vers(conn->ci->host, TABLEPROG,
|
||||
&(conn->ci->vers_out), TABLEVERS_2, oldver, "tcp");
|
||||
if (cl == NULL)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <string.h>
|
||||
#include <rpc/rpc.h>
|
||||
#include <unistd.h>
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
#include <netdb.h>
|
||||
#include <sys/systeminfo.h>
|
||||
#endif
|
||||
@@ -81,11 +81,11 @@ _DtCmGetLocalHost()
|
||||
|
||||
if (host == NULL) {
|
||||
host = (char *)malloc(MAXHOSTNAMELEN+1);
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
(void)sysinfo(SI_HOSTNAME, host, MAXHOSTNAMELEN);
|
||||
#else
|
||||
(void)gethostname(host, MAXHOSTNAMELEN);
|
||||
#endif /* sun || USL || __uxp__ */
|
||||
#endif /* sun || USL */
|
||||
}
|
||||
|
||||
return (host);
|
||||
@@ -100,11 +100,11 @@ _DtCmGetLocalDomain(char *hostname)
|
||||
|
||||
if (domain == NULL) {
|
||||
domain = (char *)malloc(BUFSIZ);
|
||||
#if defined(sun) || defined(USL) || defined(__uxp__)
|
||||
#if defined(sun) || defined(USL)
|
||||
sysinfo(SI_SRPC_DOMAIN, domain, BUFSIZ - 1);
|
||||
#else
|
||||
getdomainname(domain, BUFSIZ - 1);
|
||||
#endif /* sun || USL || __uxp__ */
|
||||
#endif /* sun || USL */
|
||||
|
||||
/* check domain name */
|
||||
/* this is a hack to find out the domain name that
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
|
||||
#if !defined(USL) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -49,7 +49,7 @@
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
|
||||
#if !defined(USL) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -49,7 +49,7 @@
|
||||
#define S_ISLNK(m) (((m)&IFMT) == IFLNK)
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
|
||||
@@ -45,9 +45,9 @@
|
||||
#if defined(sgi) || defined(CSRG_BASED)
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
#include "tt_options.h"
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
extern "C" int getopt(int, char *const *, const char *);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -50,11 +50,9 @@
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
extern "C" {
|
||||
#ifndef __uxp__
|
||||
int putenv(char *);
|
||||
#endif
|
||||
FILE *popen(const char *, const char *);
|
||||
FILE *fdopen(int, const char *);
|
||||
int pclose(FILE *);
|
||||
|
||||
@@ -80,7 +80,7 @@ char **global_envp;
|
||||
// This is the PID or TID of the procedure that is
|
||||
// performing the garbage collection.
|
||||
//
|
||||
#if defined(USL) || defined(__uxp__)
|
||||
#if defined(USL)
|
||||
int _tt_garbage_id = 0; // TID or PID.
|
||||
#else
|
||||
int _tt_garbage_id = -1; // TID or PID.
|
||||
@@ -2737,7 +2737,7 @@ _tt_run_garbage_collect(int in_parallel)
|
||||
//
|
||||
// FORK and EXEC ourself '-G'.
|
||||
//
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_USL)
|
||||
#define vfork fork
|
||||
#endif
|
||||
switch (_tt_garbage_id = (int)vfork()) {
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(sun) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
|
||||
#if !defined(USL) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif
|
||||
@@ -52,7 +52,7 @@
|
||||
#include "tt_options.h"
|
||||
#include "archiver.h"
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <dirent.h>
|
||||
#include "tttar_utils.h"
|
||||
#include "tttar_file_utils.h"
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,13 +35,13 @@
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if defined (USL) || defined(__uxp__)
|
||||
#if defined (USL)
|
||||
#include "tt_options.h"
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif /* if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP) */
|
||||
#endif /* if defined(OPT_BUG_USL) */
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
|
||||
@@ -268,7 +268,7 @@ startup_ttsession(_Tt_string &start_ttcmd)
|
||||
#endif
|
||||
SIG_PF istat, qstat, cstat;
|
||||
|
||||
#if defined(_AIX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(_AIX) || defined(OPT_BUG_USL)
|
||||
#define vfork fork
|
||||
#endif
|
||||
if((pid = vfork()) == 0) {
|
||||
|
||||
@@ -310,7 +310,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
if (timeout <= 0)
|
||||
{
|
||||
outproc = (xdrproc_t) NULL;
|
||||
@@ -328,7 +328,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
#if defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_UW_1)
|
||||
if ((SIG_TYP)curr_action.sa_handler == SIG_DFL)
|
||||
#else
|
||||
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
if ((void(*)(int))curr_action.sa_handler == SIG_DFL)
|
||||
#else
|
||||
if (curr_action.sa_handler == SIG_DFL)
|
||||
@@ -357,7 +357,7 @@ call(int procnum, xdrproc_t inproc, char *in,
|
||||
outproc, out,
|
||||
total_timeout);
|
||||
}
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
if (timeout <= 0)
|
||||
{
|
||||
total_timeout.tv_sec = 10;
|
||||
|
||||
@@ -80,9 +80,6 @@
|
||||
* OPT_BUG_SGI -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in SGI IRIX.
|
||||
*
|
||||
* OPT_BUG_UXP -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in Fujitsu's UXP.
|
||||
*
|
||||
* OPT_BUG_USL -- used to flag special hacks only needed because of
|
||||
* bugs or quirks in UnixWare, etc.
|
||||
*
|
||||
@@ -457,44 +454,6 @@
|
||||
# define OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# define OPT_HAS_REALPATH
|
||||
|
||||
#elif defined(__uxp__)
|
||||
# if !defined(__STDIO_H)
|
||||
# include <stdio.h>
|
||||
# endif
|
||||
# undef OPT_UNIX_SOCKET_RPC
|
||||
# define OPT_TLI
|
||||
# if defined(PROF) /* can't use dlopen if profiling. */
|
||||
# undef OPT_DLOPEN_X11
|
||||
# undef OPT_DLOPEN_CE
|
||||
# else
|
||||
# define OPT_DLOPEN_X11
|
||||
# define OPT_DLOPEN_CE
|
||||
# endif
|
||||
# undef OPT_ADDMSG_DIRECT
|
||||
# undef OPT_SECURE_RPC
|
||||
# undef OPT_CLASSING_ENGINE
|
||||
# undef OPT_BSD_SIGNAL
|
||||
# define OPT_POSIX_SIGNAL
|
||||
# undef OPT_BSD_WAIT
|
||||
# undef OPT_DGETTEXT
|
||||
# define OPT_CATGETS
|
||||
# undef OPT_GETDTABLESIZE
|
||||
# define OPT_SYSINFO
|
||||
# define OPT_STRERROR
|
||||
# define OPT_CPP_PATH "/usr/ccs/lib/cpp"
|
||||
# define OPT_CPP_OPTIONS ""
|
||||
# define OPT_SVR4_GETMNTENT
|
||||
/* the reason for locking MNTENT is to sync with the Solaris automounter,
|
||||
* which doesn't apply on UnixWare. It probably wouldn't hurt to
|
||||
* do the lockf there, but things seem to be working without it...
|
||||
*/
|
||||
# undef OPT_LOCKF_MNTENT
|
||||
# define OPT_BUG_UXP
|
||||
# define OPT_LOCAL_MOUNT_TYPE "vxfs"
|
||||
# define OPT_DEFINE_SIG_PF
|
||||
# define OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# define OPT_HAS_REALPATH
|
||||
|
||||
#elif defined(__osf__)
|
||||
# define OPT_UNIX_SOCKET_RPC
|
||||
# undef OPT_TLI
|
||||
|
||||
@@ -48,7 +48,7 @@ extern "C" in_addr_t inet_addr(const char *);
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#if !defined(USL) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf */
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined (USL) && !defined(__uxp__) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#if !defined (USL) && !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
@@ -46,9 +46,9 @@
|
||||
#define XOS_USE_XT_LOCKING
|
||||
#include <X11/Xos_r.h>
|
||||
|
||||
#if defined (USL) || defined(__uxp__)
|
||||
#if defined (USL)
|
||||
#include <tt_options.h>
|
||||
#if defined(OPT_BUG_UW_2) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_UW_2)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#undef rindex
|
||||
#endif
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#define S_ISLNK(mode) ((mode & 0xF000) == S_IFLNK)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ _tt_sigset(
|
||||
struct sigaction act;
|
||||
#if defined(OPT_BUG_SUNOS_5)
|
||||
act.sa_sigaction = (void (*)(int, siginfo_t *, void *)) handler;
|
||||
#elif defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_USL)
|
||||
act.sa_handler = (void (*)()) handler;
|
||||
#else
|
||||
act.sa_handler = handler;
|
||||
@@ -377,7 +377,7 @@ _tt_vsyslog(
|
||||
return;
|
||||
}
|
||||
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP) || defined(__osf__)
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX) || defined(OPT_BUG_USL) || defined(__osf__)
|
||||
char buf[5000];
|
||||
vsprintf( buf, _format, args );
|
||||
syslog( priority, buf );
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
typedef void (*SIG_PF)(int);
|
||||
#endif
|
||||
|
||||
#if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_USL)
|
||||
#if !defined(MNTTYPE_NFS)
|
||||
#define MNTTYPE_NFS "nfs"
|
||||
#endif
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
extern "C" {
|
||||
#include <wchar.h>
|
||||
};
|
||||
#elif defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_USL)
|
||||
#include <widec.h>
|
||||
#include <wctype.h>
|
||||
#elif defined(OPT_BUG_AIX)
|
||||
|
||||
@@ -147,7 +147,7 @@ _Tt_xdr_size_stream() {
|
||||
ops.x_putlong = tt_x_putlong;
|
||||
ops.x_putbytes = tt_x_putbytes;
|
||||
ops.x_inline = (inline_t *(*)(...))tt_x_inline;
|
||||
#elif defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
#elif defined(OPT_BUG_USL)
|
||||
ops.x_putlong = tt_x_putlong;
|
||||
ops.x_putbytes = (bool_t (*)(XDR *, caddr_t, u_int)) tt_x_putbytes;
|
||||
#if defined(OPT_BUG_UW_1)
|
||||
|
||||
@@ -48,10 +48,10 @@
|
||||
#if defined(OPT_TLI)
|
||||
#include <netdir.h>
|
||||
static int gettransient(int, netconfig *, netbuf *);
|
||||
#if defined(OPT_BUG_SUNOS_5) || defined(OPT_BUG_UXP)
|
||||
#if defined(OPT_BUG_SUNOS_5)
|
||||
extern "C" { char * nc_sperror(); }
|
||||
#endif
|
||||
# if defined(OPT_BUG_USL) || defined(OPT_BUG_UXP)
|
||||
# if defined(OPT_BUG_USL)
|
||||
extern int t_errno;
|
||||
extern char *t_strerror(int t_errno);
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user