mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
remove OSF1 support
This commit is contained in:
parent
3c1736f077
commit
164e695cd0
325 changed files with 290 additions and 9980 deletions
4
cde/.gitignore
vendored
4
cde/.gitignore
vendored
|
@ -103,7 +103,6 @@ admin/IntegTools/post_install/configPrg
|
|||
admin/IntegTools/post_install/configShlibs
|
||||
|
||||
install.dt
|
||||
install.dt.dec
|
||||
install.dt.hp
|
||||
install.dt.ibm
|
||||
install.dt.sun
|
||||
|
@ -235,7 +234,6 @@ programs/dtappbuilder/src/ab/Dtbuilder
|
|||
programs/dtappbuilder/src/ab/Dtbuilder.BAK
|
||||
programs/dtappbuilder/src/ab/Makefile.aix
|
||||
programs/dtappbuilder/src/ab/Makefile.hpux
|
||||
programs/dtappbuilder/src/ab/Makefile.osf1
|
||||
programs/dtappbuilder/src/ab/Makefile.sunos
|
||||
programs/dtappbuilder/src/ab/Makefile.linux
|
||||
programs/dtappbuilder/src/ab/Makefile.freebsd
|
||||
|
@ -480,7 +478,6 @@ programs/dtcm/server/parser.h
|
|||
programs/dtcm/server/rpc.cmsd
|
||||
|
||||
# programs/dtconfig
|
||||
programs/dtconfig/dec/xlogin
|
||||
programs/dtconfig/hp/dtconfig
|
||||
programs/dtconfig/hp/dtlogin.rc
|
||||
programs/dtconfig/hp/dtrc
|
||||
|
@ -2331,7 +2328,6 @@ programs/nsgmls/xentmgr_inst.C
|
|||
programs/ttsnoop/.dtcodegen.log
|
||||
programs/ttsnoop/Makefile.aix
|
||||
programs/ttsnoop/Makefile.hpux
|
||||
programs/ttsnoop/Makefile.osf1
|
||||
programs/ttsnoop/Makefile.sunos
|
||||
programs/ttsnoop/Makefile.linux
|
||||
programs/ttsnoop/Makefile.freebsd
|
||||
|
|
|
@ -17,11 +17,6 @@ LOCAL_CPP_DEFINES=-Usun
|
|||
OVERRIDE=install.dt.sun
|
||||
#endif
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
OVERRIDE=install.dt.dec
|
||||
#endif
|
||||
|
||||
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
|
||||
AllTarget(install.dt $(OVERRIDE) dinstall.dt)
|
||||
|
|
|
@ -1,213 +0,0 @@
|
|||
####################################################
|
||||
### Configuration Instructions for DEC OSF1 Systems ###
|
||||
####################################################
|
||||
|
||||
|
||||
FIXME FIXME: Need to change this. Discuss /sbin/init.d/xdm script
|
||||
and its operation.... -mcb
|
||||
|
||||
|
||||
|
||||
There are two ways to start the desktop:
|
||||
|
||||
|
||||
* You can manually start the desktop Login Manager. The advantage
|
||||
of using this method is that you will not have to edit
|
||||
/etc/inittab.
|
||||
|
||||
* You can enable the system to automatically start the desktop
|
||||
when the system is rebooted. This is done by editing
|
||||
/etc/inittab.
|
||||
|
||||
Removing the Developer's Conference CDE Desktop
|
||||
===============================================
|
||||
|
||||
It is imperative that Snapshot 1 and Snapshot 2 desktops do not
|
||||
co-mingle. Installers and users should ensure that old clients and
|
||||
configuration files are exited or removed.
|
||||
|
||||
|
||||
Upgrading systems in a networked environment
|
||||
--------------------------------------------
|
||||
|
||||
If CDE is installed in a network environment, it is imperative that
|
||||
all systems be upgraded at the same time.
|
||||
|
||||
|
||||
Removing the Snapshot 1 desktop
|
||||
-------------------------------
|
||||
|
||||
Installers are advised to remove the Snapshot 1 Desktop files from
|
||||
their systems. Those clients and files are obsolete.
|
||||
|
||||
|
||||
Stopping Desktop clients before installing Snapshot 2
|
||||
-----------------------------------------------------
|
||||
|
||||
If the Snapshot 1 desktop is not removed, ensure that all desktop
|
||||
clients are inactive before installing the Snapshot 2 desktop. If the
|
||||
desktop was started via /etc/inittab, issue the telinit command to
|
||||
stop dtlogin and any other desktop client.
|
||||
|
||||
|
||||
Removing the users's .dtprofile and .dt directory
|
||||
-------------------------------------------------
|
||||
|
||||
It is strongly advised that all CDE users on the system remove or
|
||||
rename their .dt directory and their .dtprofile. The Snapshot 2
|
||||
Desktop is not compatible with the Snapshot 1 Desktop versions of
|
||||
these files.
|
||||
|
||||
If users have customized their .dt/dtwmrc file and want to keep it,
|
||||
they will need to cut and paste the appropriate pieces into the new
|
||||
dtwmrc provided.
|
||||
|
||||
|
||||
|
||||
Before You Start the Desktop (HP-UX)
|
||||
======================================
|
||||
|
||||
Special Configurations
|
||||
----------------------
|
||||
|
||||
If your system has one of these special configurations, you may need to
|
||||
edit certain Login Manager files before starting the desktop. See
|
||||
chapter 2 of the Getting Started Guide:
|
||||
|
||||
|
||||
* If the system console is a non-bitmap device.
|
||||
|
||||
* If the system is an X terminal or a host for X terminals.
|
||||
|
||||
* If the system has more than one display.
|
||||
|
||||
|
||||
|
||||
The Subprocess Control Daemon
|
||||
=============================
|
||||
|
||||
If you are working in an environment where a CDE Desktop action needs
|
||||
to start an application on another workstation running CDE, the
|
||||
Subprocess Control Daemon configuration must be completed on both
|
||||
workstations.
|
||||
|
||||
1. Log in as root.
|
||||
|
||||
2. For authentication, the user's home directory on a remote system
|
||||
must be mounted to the local system.
|
||||
|
||||
3. To run an application with a WINDOW_TYPE of NO_STDIO (see Appendix
|
||||
A, Advanced User's and System Administrator's Guide), you will need
|
||||
to provide NFS-access by the local (client) system to the remote
|
||||
(application server) system's /var directory (if /var is a distinct
|
||||
volume), or / directory (if it is not). The mount point must be
|
||||
/nfs/<remote_host>/var (again, if /var is a distinct volume) or
|
||||
/nfs/<remote_host>/ (if it is not). Export the appropriate
|
||||
directory in /etc/exports on both the local and remote hosts.
|
||||
|
||||
|
||||
To Start And Stop the Desktop Manually
|
||||
======================================
|
||||
|
||||
To Start the Desktop:
|
||||
--------------------
|
||||
|
||||
1. Log in as root.
|
||||
|
||||
2. Enter:
|
||||
|
||||
/usr/dt/bin/dtlogin -daemon
|
||||
|
||||
This starts the Login Manager and displays the Login screen.
|
||||
Logging in starts a desktop session.
|
||||
|
||||
To Stop the Desktop:
|
||||
--------------------
|
||||
|
||||
When you stop the Login Manager, you automatically kill all
|
||||
X servers and desktop sessions that it started.
|
||||
|
||||
1. In a terminal emulator window, log in as root.
|
||||
|
||||
2. Obtain the process id of the parent Login Manager by entering:
|
||||
|
||||
cat /var/dt/Xpid
|
||||
|
||||
3. Kill the Login Manager by entering:
|
||||
|
||||
kill -TERM <process_id>
|
||||
|
||||
where <process_id> is the value obtained from Xpid.
|
||||
|
||||
|
||||
To Enable and Disable Desktop Auto-Start
|
||||
========================================
|
||||
|
||||
When your system is configured to start the desktop automatically, the
|
||||
desktop Login Manager runs when the system is booted.
|
||||
|
||||
To start the desktop automatically, you must edit /etc/inittab to:
|
||||
|
||||
* Add a line that starts the CDE Desktop.
|
||||
|
||||
* Set the default run level to the run level assigned to the CDE
|
||||
Desktop.
|
||||
|
||||
NOTE: Edit /etc/inittab very carefully.
|
||||
Errors in the file can prevent the system from booting
|
||||
successfully.
|
||||
|
||||
|
||||
To Enable Desktop Auto-Start
|
||||
----------------------------
|
||||
|
||||
1. Log in as root.
|
||||
|
||||
2. If you are running HP VUE, shut it down by entering:
|
||||
|
||||
/etc/telinit <n>; exit
|
||||
|
||||
where <n> is a run level assigned to the console and not
|
||||
assigned to HP VUE or to halting the system. You can find a
|
||||
run level by examinining the lines beginning with cons and vue
|
||||
in /etc/inittab. For example, the following lines indicate
|
||||
that you can use run levels other than 3, 4, or 6.
|
||||
|
||||
halt:6:wait:/usr/lib/X11/ignition/shutdown.ksh
|
||||
cons:012456:respawn:/etc/getty -h console console
|
||||
vue :34:respawn:/etc/vuerc
|
||||
|
||||
|
||||
3. Make a backup copy of /etc/inittab.
|
||||
|
||||
4. Open /etc/inittab for editing (in a diskless cluster, /etc/inittab
|
||||
is a context-dependent file).
|
||||
|
||||
5. Look for the line that sets the default run level (starting with
|
||||
init:). Set the default run level to 5.
|
||||
|
||||
init:5:initdefault:
|
||||
|
||||
|
||||
6. Add a line that starts the desktop at that run level:
|
||||
|
||||
dt :5:respawn:/usr/dt/bin/dtrc
|
||||
|
||||
|
||||
To Disable Desktop Auto-Start
|
||||
-----------------------------
|
||||
|
||||
You can restore a console by changing to a run level assigned to a
|
||||
console and not assigned to the desktop.
|
||||
|
||||
|
||||
Switching Between CDE and HP VUE
|
||||
--------------------------------
|
||||
You can switch back and forth between CDE and HP VUE by executing:
|
||||
|
||||
/etc/telinit <n>; exit
|
||||
|
||||
|
||||
where <n>=3 switches to HP VUE and <n>=5 switches to CDE.
|
||||
|
||||
|
|
@ -4,7 +4,7 @@ LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
|||
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
|
||||
-DKORNSHELL=$(KORNSHELL) \
|
||||
-Usun -Uaix -Udec -UAIX -Uibm -Uhp
|
||||
-Usun -Uaix -UAIX -Uibm -Uhp
|
||||
|
||||
AllTarget(installCDE dinstallCDE)
|
||||
|
||||
|
|
|
@ -154,10 +154,6 @@ XCOMM
|
|||
then
|
||||
PLATFORM=sun
|
||||
PLATFORM_SCRIPT_DIR=sun
|
||||
elif [ $BUILDSYSTEM = "OSF1" ];
|
||||
then
|
||||
PLATFORM=dec
|
||||
PLATFORM_SCRIPT_DIR=dec
|
||||
else # Build system = HP
|
||||
PLATFORM=hp-ux
|
||||
PLATFORM_SCRIPT_DIR=hp
|
||||
|
|
|
@ -561,10 +561,6 @@ XCOMM
|
|||
then
|
||||
PLATFORM=sun
|
||||
PLATFORM_SCRIPT_DIR=sun
|
||||
elif [ $BUILDSYSTEM = "OSF1" ];
|
||||
then
|
||||
PLATFORM=dec
|
||||
PLATFORM_SCRIPT_DIR=dec
|
||||
elif [ $BUILDSYSTEM = "Linux" ];
|
||||
then
|
||||
PLATFORM="linux"
|
||||
|
|
|
@ -92,9 +92,6 @@ then
|
|||
elif [ $BUILDSYSTEM = "SunOS" ];
|
||||
then
|
||||
PLATFORM=sun
|
||||
elif [ $BUILDSYSTEM = "OSF1" ];
|
||||
then
|
||||
PLATFORM=dec
|
||||
else # Build system = HP
|
||||
PLATFORM=hp-ux
|
||||
fi
|
||||
|
|
|
@ -143,7 +143,6 @@ XCOMM Return
|
|||
XCOMM "hpux"
|
||||
XCOMM "aix"
|
||||
XCOMM "sun"
|
||||
XCOMM "dec"
|
||||
XCOMM ==========================================================================
|
||||
|
||||
GetPlatform()
|
||||
|
@ -154,7 +153,6 @@ GetPlatform()
|
|||
*HP-UX*) getPlatform=hp;;
|
||||
*AIX*) getPlatform=ibm;;
|
||||
*SunOS*) getPlatform=sun;;
|
||||
*OSF1*) getPlatform=dec;;
|
||||
esac
|
||||
fi
|
||||
DtiReturn $getPlatform
|
||||
|
@ -172,14 +170,13 @@ XCOMM Return
|
|||
XCOMM "hpux"
|
||||
XCOMM "aix"
|
||||
XCOMM "sun"
|
||||
XCOMM "dec"
|
||||
XCOMM ==========================================================================
|
||||
|
||||
ValidOS()
|
||||
{
|
||||
platform=$(GetPlatform)
|
||||
case "$platform" in
|
||||
hp|ibm|sun|dec)
|
||||
hp|ibm|sun)
|
||||
DtiReturn $platform
|
||||
;;
|
||||
*) Exit $INVALID_OS_MSG 1
|
||||
|
@ -672,8 +669,6 @@ XCOMM set up the path for whoami command
|
|||
;;
|
||||
sun) WHOAMI_PATH=/usr/ucb
|
||||
;;
|
||||
dec) WHOAMI_PATH=/usr/bin
|
||||
;;
|
||||
esac
|
||||
|
||||
DTIDINSTALLDT=dinstall.dt
|
||||
|
|
|
@ -1,128 +0,0 @@
|
|||
XCOMM $XConsortium: install.dt.dec.src /main/3 1996/11/19 11:43:45 drk $
|
||||
XCOMM ==========================================================================
|
||||
XCOMM ==========================================================================
|
||||
XCOMM install.dt.dec.src
|
||||
XCOMM
|
||||
XCOMM Platform specific function overrides for the April 1994 Snapshot
|
||||
XCOMM install script, install.dt.
|
||||
XCOMM
|
||||
XCOMM This file is sourced by the install.dt script to allow platform
|
||||
XCOMM specific behavior for certain functionality. These functions are:
|
||||
XCOMM
|
||||
XCOMM DtiClearScreen() - clear the screen
|
||||
XCOMM DtiFreeSpace() - return available bytes in a directory
|
||||
XCOMM DtiVerifyConfiguration() - verify system configuration
|
||||
XCOMM DtiWhoami() - return user name
|
||||
XCOMM
|
||||
XCOMM ==========================================================================
|
||||
XCOMM ==========================================================================
|
||||
XCOMM
|
||||
XCOMM DtiClearScreen() - clears the screen
|
||||
XCOMM
|
||||
XCOMM The default DtiClearScreen() uses the 'clear' command to clear the
|
||||
XCOMM screen. If this platform does not have the 'clear' command,
|
||||
XCOMM declare DtiClearScreen() here with the appropriate functionality.
|
||||
XCOMM
|
||||
XCOMM Note: The default DtiClearScreen() writes to stderr, rather than stdout,
|
||||
XCOMM so be sure to do the same here. DtiPrint() does this automatically, so
|
||||
XCOMM use it if possible.
|
||||
XCOMM
|
||||
XCOMM Example:
|
||||
XCOMM
|
||||
XCOMM DtiClearScreen()
|
||||
XCOMM {
|
||||
XCOMM DtiPrint "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||
XCOMM DtiPrint "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||
XCOMM }
|
||||
XCOMM
|
||||
XCOMM Input - none
|
||||
XCOMM Output - none
|
||||
XCOMM Return -none
|
||||
XCOMM ==========================================================================
|
||||
|
||||
XCOMM DtiClearScreen() {
|
||||
XCOMM clear 1>&2
|
||||
XCOMM }
|
||||
|
||||
XCOMM ==========================================================================
|
||||
XCOMM
|
||||
XCOMM DtiFreeSpace
|
||||
XCOMM
|
||||
XCOMM The default DtiFreeSpace() does not check for free space, rather it
|
||||
XCOMM simply returns a BigNumber that install.dt will assume is large
|
||||
XCOMM enough in which to install the desktop.
|
||||
XCOMM
|
||||
XCOMM Declare DtiFreeSpace() here to return the actual available space for
|
||||
XCOMM a particular directory.
|
||||
XCOMM
|
||||
XCOMM The $1 parameter will contain the directory name to test. The directory
|
||||
XCOMM specified will exist. DtiFreeSpace() should return the number of bytes
|
||||
XCOMM available via the DtiReturn() function.
|
||||
XCOMM
|
||||
XCOMM Input
|
||||
XCOMM $1 - directory name
|
||||
XCOMM Output - none
|
||||
XCOMM Return
|
||||
XCOMM number of bytes available
|
||||
XCOMM
|
||||
XCOMM ==========================================================================
|
||||
|
||||
DtiFreeSpace()
|
||||
{
|
||||
BDFOUT=`df -k $1 | awk '{print $4}'`
|
||||
for i in $BDFOUT
|
||||
do
|
||||
if [ "$i" != "Avail" ]
|
||||
then
|
||||
i=`expr $i \* 1024`
|
||||
DtiReturn "$i"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
XCOMM ==========================================================================
|
||||
XCOMM
|
||||
XCOMM DtiVerifyConfiguration
|
||||
XCOMM
|
||||
XCOMM The default DtiVerifyConfiguration() does no system configuration
|
||||
XCOMM testing. For a particular platform, one might want to test for
|
||||
XCOMM the presence of X11R5 or the OS version, for example, before allowing
|
||||
XCOMM the desktop to be installed.
|
||||
XCOMM
|
||||
XCOMM Declare this function to make such platform specific tests. Return
|
||||
XCOMM "yes" if the system passed, or "<message text>" if the system failed
|
||||
XCOMM in which case install.dt will display the <message text> as the reason.
|
||||
XCOMM
|
||||
XCOMM Input - none
|
||||
XCOMM Output - none
|
||||
XCOMM Return
|
||||
XCOMM "yes" - system configuration verified
|
||||
XCOMM "<message text>" - verification failed, display message text
|
||||
XCOMM
|
||||
XCOMM ==========================================================================
|
||||
|
||||
XCOMM DtiVerifyConfiguration()
|
||||
XCOMM {
|
||||
XCOMM DtiReturn "yes"
|
||||
XCOMM }
|
||||
|
||||
XCOMM ==========================================================================
|
||||
XCOMM
|
||||
XCOMM DtiWhoami
|
||||
XCOMM
|
||||
XCOMM The default DtiWhoami() uses the 'whoami' command to determine
|
||||
XCOMM the user name. If this platform does not have the 'whoami' command,
|
||||
XCOMM declare DtiWhoami() here with the appropriate functionality.
|
||||
XCOMM
|
||||
XCOMM Input - none
|
||||
XCOMM Output - none
|
||||
XCOMM Return
|
||||
XCOMM result of system 'whoami' command
|
||||
XCOMM
|
||||
XCOMM ==========================================================================
|
||||
|
||||
DtiWhoami()
|
||||
{
|
||||
/usr/bin/whoami
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ XCOMM ==========================================================================
|
|||
XCOMM install.dt
|
||||
XCOMM
|
||||
XCOMM Script to install the April 1994 Snapshot Desktop on
|
||||
XCOMM HP, IBM, Sun, or DEC Unix systems from a CDROM
|
||||
XCOMM HP, IBM, or Sun systems from a CDROM
|
||||
XCOMM
|
||||
XCOMM ==========================================================================
|
||||
XCOMM ==========================================================================
|
||||
|
@ -167,7 +167,6 @@ XCOMM Return
|
|||
XCOMM "hpux"
|
||||
XCOMM "aix"
|
||||
XCOMM "sun"
|
||||
XCOMM "dec"
|
||||
XCOMM ==========================================================================
|
||||
|
||||
GetPlatform()
|
||||
|
@ -178,7 +177,6 @@ GetPlatform()
|
|||
*HP-UX*) getPlatform=hp;;
|
||||
*AIX*) getPlatform=ibm;;
|
||||
*SunOS*) getPlatform=sun;;
|
||||
*OSF1*) getPlatform=dec;;
|
||||
esac
|
||||
fi
|
||||
DtiReturn $getPlatform
|
||||
|
@ -404,7 +402,7 @@ Main()
|
|||
HASH 3) verify platform is supported
|
||||
HASH
|
||||
case "$dtiPlatform" in
|
||||
hp|ibm|sun|dec)
|
||||
hp|ibm|sun)
|
||||
NewState 4.1
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -40,10 +40,6 @@ SUBDIRS = ibm
|
|||
PLATFORM = sun
|
||||
SUBDIRS = sun
|
||||
#endif
|
||||
#ifdef AlphaArchitecture
|
||||
PLATFORM = dec
|
||||
SUBDIRS = dec
|
||||
#endif
|
||||
|
||||
#ifndef HPArchitecture
|
||||
MakeSubdirs($(SUBDIRS))
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
XCOMM $XConsortium: Imakefile /main/2 1996/04/21 19:14:11 drk $
|
||||
TOOL_DIR = ../../dbTools
|
||||
DATABASE_DIR = ../../../../databases
|
||||
|
||||
#ifdef HPArchitecture
|
||||
PLATFORM = hp-ux
|
||||
#endif
|
||||
#ifdef RsArchitecture
|
||||
PLATFORM = aix
|
||||
#endif
|
||||
#ifdef SunArchitecture
|
||||
PLATFORM = sun
|
||||
.NO_PARALLEL:
|
||||
#endif
|
||||
#ifdef AlphaArchitecture
|
||||
PLATFORM = dec
|
||||
#endif
|
||||
|
||||
all::
|
||||
|
||||
configMin:: $(DATABASE_DIR)/CDE-MIN.udb
|
||||
$(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
|
||||
$(DATABASE_DIR)/CDE-MIN.udb > CDE-MIN.lst
|
||||
../build_udb_list CDE-MIN ../../../..
|
||||
|
||||
configTT:: $(DATABASE_DIR)/CDE-TT.udb
|
||||
$(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
|
||||
$(DATABASE_DIR)/CDE-TT.udb > CDE-TT.lst
|
||||
../build_udb_list CDE-TT ../../../..
|
||||
|
||||
configRun:: $(DATABASE_DIR)/CDE-RUN.udb
|
||||
$(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
|
||||
$(DATABASE_DIR)/CDE-RUN.udb > CDE-RUN.lst
|
||||
../build_udb_list CDE-RUN ../../../..
|
||||
|
||||
configShlibs:: $(DATABASE_DIR)/CDE-SHLIBS.udb
|
||||
$(TOOL_DIR)/udbToAny.ksh -toLst -ReleaseStream $(PLATFORM) \
|
||||
$(DATABASE_DIR)/CDE-SHLIBS.udb > CDE-SHLIBS.lst
|
||||
../build_udb_list CDE-SHLIBS ../../../..
|
||||
|
||||
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
||||
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)
|
||||
|
||||
AllTarget(configShlibs configTT configRun configMin)
|
||||
|
||||
CppScriptTarget(configShlibs,configShlibs.src,$(LOCAL_CPP_DEFINES),)
|
||||
CppScriptTarget(configTT,configTT.src,$(LOCAL_CPP_DEFINES),)
|
||||
CppScriptTarget(configRun,configRun.src,$(LOCAL_CPP_DEFINES),)
|
||||
CppScriptTarget(configMin,configMin.src,$(LOCAL_CPP_DEFINES),)
|
||||
|
||||
clean::
|
||||
$(RM) *.lst *.list
|
|
@ -1,236 +0,0 @@
|
|||
XCOMM! /bin/ksh
|
||||
XCOMM #######
|
||||
XCOMM Product: CDE
|
||||
XCOMM Fileset: CDE-MIN
|
||||
XCOMM configure
|
||||
XCOMM @(#) $XConsortium: configMin.src /main/3 1996/04/23 20:38:09 drk $
|
||||
XCOMM #######
|
||||
#define HASH #
|
||||
|
||||
PRODUCT=CDE
|
||||
FILESET=CDE-MIN
|
||||
DO_CONFIGURATION=""
|
||||
retval=0
|
||||
|
||||
FixEtcServices()
|
||||
{
|
||||
FILE=/etc/services
|
||||
TMPFILE=/tmp/services
|
||||
|
||||
XCOMM
|
||||
XCOMM check for existence of /etc/services
|
||||
XCOMM
|
||||
|
||||
if [ ! -f $FILE ] # highly unlikely
|
||||
then
|
||||
echo "" >$FILE
|
||||
fi
|
||||
|
||||
XCOMM
|
||||
XCOMM see if it already exists
|
||||
XCOMM
|
||||
|
||||
awk '{if ($1 == "dtspc")
|
||||
print $0 > "/tmp/dtspc-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
if [ ! -f /tmp/dtspc-already-there ]
|
||||
then
|
||||
echo "dtspc\t\t6112/tcp\t#subprocess control" >>$FILE
|
||||
else
|
||||
rm /tmp/dtspc-already-there
|
||||
fi
|
||||
|
||||
XCOMM
|
||||
XCOMM remove legacy entries like dtspcd
|
||||
XCOMM
|
||||
|
||||
awk '{if ($1 == "dtspcd" || $1 == "#dtspcd")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
UnfixEtcServices()
|
||||
{
|
||||
FILE=/etc/services
|
||||
TMPFILE=/tmp/services
|
||||
|
||||
awk '{if ($1 == "dtspc" && $2 == "6112/tcp")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
FixEtcInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
|
||||
XCOMM
|
||||
XCOMM check for existence of /etc/inetd.conf
|
||||
XCOMM
|
||||
|
||||
if [ ! -f $FILE ] # highly unlikely
|
||||
then
|
||||
echo "" >$FILE
|
||||
fi
|
||||
|
||||
XCOMM
|
||||
XCOMM Desired entry:
|
||||
XCOMM dtspc stream tcp nowait root /usr/dt/bin/dtspcd dtspcd
|
||||
XCOMM
|
||||
|
||||
XCOMM
|
||||
XCOMM see if it already exists
|
||||
XCOMM
|
||||
|
||||
awk '{if ($1 == "dtspc")
|
||||
print $0 > "/tmp/dtspc-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
DTSPCD=CDE_INSTALLATION_TOP/bin/dtspcd
|
||||
|
||||
if [ ! -f /tmp/dtspc-already-there ]
|
||||
then
|
||||
echo "dtspc stream tcp nowait root $DTSPCD dtspcd" >>$FILE
|
||||
else
|
||||
rm /tmp/dtspc-already-there
|
||||
fi
|
||||
|
||||
XCOMM
|
||||
XCOMM remove legacy entries like dtspcd
|
||||
XCOMM
|
||||
|
||||
awk '{if ($1 == "dtspcd" || $1 == "#dtspcd")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
UnfixEtcInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
|
||||
awk '{if ($1 == "dtspc")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
RemoveMinFiles()
|
||||
{
|
||||
while read SRC
|
||||
do
|
||||
if [ "$SRC" != "" ]
|
||||
then
|
||||
rm -f $SRC
|
||||
dirname=${SRC%/STAR}
|
||||
if [ -d $dirname ]
|
||||
then
|
||||
cd $dirname
|
||||
while [ "$dirname" != "$CDE_TOP" ]
|
||||
do
|
||||
cd ..
|
||||
rmdir ${dirname##STAR/} >/dev/null 2>/dev/null
|
||||
dirname=${dirname%/STAR}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
done <<-EOF
|
||||
#include "CDE-MIN.list"
|
||||
EOF
|
||||
}
|
||||
|
||||
VerifyInstalledFiles()
|
||||
{
|
||||
echo "Status mode owner group filename"
|
||||
echo "-----------------------------------------"
|
||||
XCOMM exists correct correct correct /usr/dt/foo1
|
||||
XCOMM MISSING WRONG WRONG WRONG /usr/dt/foo2
|
||||
XCOMM exists the link is correct /usr/dt/link
|
||||
|
||||
while read SRC
|
||||
do
|
||||
#include "../verify.func"
|
||||
done <<-EOF
|
||||
#include "CDE-MIN.lst"
|
||||
EOF
|
||||
}
|
||||
|
||||
#include "../option.func"
|
||||
|
||||
XCOMM ###############################################################
|
||||
XCOMM
|
||||
XCOMM Main Body
|
||||
XCOMM
|
||||
XCOMM ###############################################################
|
||||
|
||||
HandleOption $*
|
||||
|
||||
if [ "$OPERATION" = "configure" ]
|
||||
then
|
||||
|
||||
FixEtcServices
|
||||
|
||||
FixEtcInetdDotConf
|
||||
|
||||
HASH
|
||||
HASH create the /var/dt/tmp directory for the dtspcd
|
||||
HASH
|
||||
|
||||
if [ ! -d CDE_LOGFILES_TOP/tmp ]
|
||||
then
|
||||
mkdir -p CDE_LOGFILES_TOP/tmp
|
||||
fi
|
||||
|
||||
elif [ "$OPERATION" = "deconfigure" ]
|
||||
then
|
||||
|
||||
UnfixEtcServices
|
||||
|
||||
UnfixEtcInetdDotConf
|
||||
|
||||
RemoveMinFiles
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
elif [ "$OPERATION" = "verify" ]
|
||||
then
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" != "verify" ]
|
||||
then
|
||||
|
||||
HASH issue a SIGHUP to the inetd process
|
||||
|
||||
ps -ef | grep inetd | grep -v grep >/tmp/tmppsout
|
||||
if [ -s /tmp/tmppsout ]
|
||||
then
|
||||
awk '{print "kill -1 " $2}' /tmp/tmppsout | /bin/sh
|
||||
else
|
||||
/usr/sbin/inetd -s
|
||||
fi
|
||||
fi
|
||||
|
||||
return $retval
|
|
@ -1,438 +0,0 @@
|
|||
XCOMM! /bin/ksh
|
||||
XCOMM #######
|
||||
XCOMM Product: CDE
|
||||
XCOMM Fileset: CDE-RUN
|
||||
XCOMM configure
|
||||
XCOMM @(#) $XConsortium: configRun.src /main/4 1996/10/18 16:25:41 drk $
|
||||
XCOMM #######
|
||||
|
||||
#define HASH #
|
||||
#define STAR *
|
||||
|
||||
PRODUCT=CDE
|
||||
FILESET=CDE-RUN
|
||||
DO_CONFIGURATION=""
|
||||
retval=0
|
||||
|
||||
FixInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
CMSD=CDE_INSTALLATION_TOP/bin/rpc.cmsd
|
||||
|
||||
XCOMM
|
||||
XCOMM desired inetd.conf entry:
|
||||
XCOMM cmsd/2-5 dgram rpc/udb wait root /usr/dt/bin/rpc.cmsd rpc.cmsd
|
||||
XCOMM
|
||||
|
||||
XCOMM first make an awk script and put it in a file.
|
||||
XCOMM
|
||||
|
||||
XCOMM comment out any non-cde cmsd lines
|
||||
XCOMM
|
||||
|
||||
nawk -v cmsd=$CMSD \
|
||||
'{if ($1 == "cmsd/2-4" && $6 != cmsd)
|
||||
print "#cde " $0;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
|
||||
XCOMM remove any cde 2-4 cmsd
|
||||
XCOMM
|
||||
|
||||
nawk -v cmsd=$CMSD \
|
||||
'{if ($1 == "cmsd/2-4" && $6 == cmsd)
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
|
||||
XCOMM
|
||||
XCOMM now run an awk script to see if there is an occurrence of 2-5 cmsd
|
||||
XCOMM
|
||||
|
||||
nawk -v cmsd=$CMSD \
|
||||
'{if ($6 == cmsd && $1 == "cmsd/2-5")
|
||||
print $0 > "/tmp/cmsd-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
XCOMM
|
||||
XCOMM if it is not there, add it
|
||||
XCOMM
|
||||
|
||||
if [ ! -f /tmp/cmsd-already-there ]
|
||||
then
|
||||
echo "cmsd/2-5 dgram rpc/udp wait root $CMSD rpc.cmsd" >>$FILE
|
||||
else
|
||||
rm /tmp/cmsd-already-there
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
UnfixInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
CMSD=CDE_INSTALLATION_TOP/bin/rpc.cmsd
|
||||
|
||||
HASH first remove the CDE cmsd entry
|
||||
|
||||
nawk -v cmsd=$CMSD \
|
||||
'{if (($1 == "cmsd/2-4" || $1 == "cmsd/2-5") && $6 == cmsd)
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
|
||||
HASH now uncomment any previously existing 100068 entry
|
||||
|
||||
awk '{if ($1 == "#cde") {
|
||||
if ($2 == "cmsd/2-4") {
|
||||
$1 = $2;
|
||||
$2 = ""
|
||||
}
|
||||
}
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
FixEtcRpc()
|
||||
{
|
||||
XCOMM
|
||||
XCOMM now check to see if the proper entry is in /etc/rpc
|
||||
XCOMM
|
||||
|
||||
RPCFILE=/etc/rpc
|
||||
TMPFILE=/tmp/etc-rpc
|
||||
|
||||
if [ ! -f $RPCFILE ]
|
||||
then
|
||||
HASH if the file doesn't exist (highly unlikely), make one
|
||||
HASH with the proper entry
|
||||
HASH
|
||||
|
||||
echo "cmsd 100068 dtcalendar" >$RPCFILE
|
||||
|
||||
else
|
||||
HASH
|
||||
HASH check to see if the entry is already there
|
||||
HASH
|
||||
|
||||
awk '{if ($1 == "cmsd" && $2 == "100068")
|
||||
print $0 > "/tmp/etc-rpc-already-there"
|
||||
}' $RPCFILE >/dev/null
|
||||
|
||||
if [ ! -f /tmp/etc-rpc-already-there ]
|
||||
then
|
||||
HASH
|
||||
HASH if it isn't, check to see if either term already
|
||||
HASH exists
|
||||
HASH
|
||||
|
||||
awk '{if ($1 == "cmsd" || $2 == "100068")
|
||||
print $0 > "/tmp/etc-rpc-already-there"
|
||||
}' $RPCFILE >/dev/null
|
||||
|
||||
HASH
|
||||
HASH if either one does they need to be commented out
|
||||
HASH
|
||||
|
||||
if [ ! -f /tmp/etc-rpc-already-there ]
|
||||
then
|
||||
echo "cmsd 100068 dtcalendar" >>$RPCFILE
|
||||
else
|
||||
awk '{if ($1 == "cmsd" || $2 == "100068")
|
||||
print "#cde " $0;
|
||||
else
|
||||
print $0
|
||||
}' $RPCFILE >$TMPFILE
|
||||
|
||||
echo "cmsd 100068 dtcalendar" >>$TMPFILE
|
||||
mv $TMPFILE $RPCFILE
|
||||
rm /tmp/etc-rpc-already-there
|
||||
fi
|
||||
else
|
||||
rm /tmp/etc-rpc-already-there
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
UnfixEtcRpc()
|
||||
{
|
||||
FILE="/etc/rpc"
|
||||
TMPFILE="/tmp/etc-rpc"
|
||||
|
||||
awk '{if ($1 == "cmsd" && $2 == "100068")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
mv $TMPFILE $FILE
|
||||
|
||||
awk '{if ($1 == "#cde" && ($2 == "cmsd" || $3 == "100068"))
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
mv $TMPFILE $FILE
|
||||
}
|
||||
|
||||
FixXlogin()
|
||||
{
|
||||
if [ -L /sbin/rc3.d/S95xdm ]
|
||||
then
|
||||
/bin/cp -f CDE_INSTALLATION_TOP/bin/xlogin /sbin/init.d/xlogin
|
||||
/bin/chown bin:bin /sbin/init.d/xlogin
|
||||
/bin/chmod 750 /sbin/init.d/xlogin
|
||||
/bin/ln -f -s ../init.d/xlogin /sbin/rc3.d/S95xdm
|
||||
fi
|
||||
}
|
||||
|
||||
UnfixXlogin()
|
||||
{
|
||||
if [ -L /sbin/rc3.d/S95xdm ]
|
||||
then
|
||||
/bin/ln -f -s ../init.d/xdm /sbin/rc3.d/S95xdm
|
||||
if [ -e /sbin/init.d/xlogin ]
|
||||
then
|
||||
/bin/rm -f /sbin/init.d/xlogin
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
CreateAppConfigDirectory()
|
||||
{
|
||||
HASH
|
||||
HASH Create the APPCONFIG directory inside DT_CONFIG_TOP and create
|
||||
HASH all of its subdirectories
|
||||
HASH
|
||||
|
||||
cd $DT_CONFIG_TOP
|
||||
if [ ! -d $APPCONFIG ]
|
||||
then
|
||||
mkdir $APPCONFIG
|
||||
fi
|
||||
|
||||
cd $APPCONFIG
|
||||
|
||||
for i in $APPCONFIG_DIRS
|
||||
do
|
||||
if [ ! -d $i ]
|
||||
then
|
||||
mkdir $i
|
||||
fi
|
||||
cd $i
|
||||
HASH
|
||||
HASH for each locale
|
||||
HASH
|
||||
for j in $DT_TOP/$APPCONFIG/$i/STAR
|
||||
do
|
||||
if [ ! -d `basename $j` ]
|
||||
then
|
||||
mkdir `basename $j`
|
||||
fi
|
||||
done
|
||||
cd ..
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
doDttermTerminfo()
|
||||
{
|
||||
if [ -f $DT_TOP/config/dtterm.ti ]
|
||||
then
|
||||
/bin/tic $DT_TOP/config/dtterm.ti
|
||||
if [ -f /usr/share/lib/terminfo/d/dtterm ]
|
||||
then
|
||||
/bin/chown bin:bin /usr/share/lib/terminfo/d/dtterm
|
||||
/bin/chmod 644 /usr/share/lib/terminfo/d/dtterm
|
||||
else
|
||||
echo "Unable to compile $DT_TOP/config/dtterm.ti"
|
||||
fi
|
||||
else
|
||||
echo "Unable to find $DT_TOP/config/dtterm.ti"
|
||||
fi
|
||||
}
|
||||
|
||||
RemoveRunFiles()
|
||||
{
|
||||
while read SRC
|
||||
do
|
||||
if [ "$SRC" != "" ]
|
||||
then
|
||||
rm -f $SRC
|
||||
dirname=${SRC%/STAR}
|
||||
if [ -d $dirname ]
|
||||
then
|
||||
cd $dirname
|
||||
while [ "$dirname" != "$CDE_TOP" ]
|
||||
do
|
||||
cd ..
|
||||
rmdir ${dirname##STAR/} >/dev/null 2>/dev/null
|
||||
dirname=${dirname%/STAR}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
done <<-EOF
|
||||
#include "CDE-RUN.list"
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
VerifyInstalledFiles()
|
||||
{
|
||||
echo "Status mode owner group filename"
|
||||
echo "-----------------------------------------"
|
||||
XCOMM exists correct correct correct /usr/dt/foo1
|
||||
XCOMM MISSING WRONG WRONG WRONG /usr/dt/foo2
|
||||
XCOMM exists the link is correct /usr/dt/link
|
||||
|
||||
while read SRC
|
||||
do
|
||||
#include "../verify.func"
|
||||
done <<-EOF
|
||||
#include "CDE-RUN.lst"
|
||||
EOF
|
||||
}
|
||||
|
||||
#include "../option.func"
|
||||
|
||||
XCOMM ##########################################################################
|
||||
XCOMM
|
||||
XCOMM Main Body
|
||||
XCOMM
|
||||
XCOMM ##########################################################################
|
||||
|
||||
PRODUCT=CDE
|
||||
FILESET=CDE-RUN
|
||||
|
||||
DT_TOP=CDE_INSTALLATION_TOP
|
||||
DT_CONFIG_TOP=CDE_CONFIGURATION_TOP
|
||||
DT_TEMP_TOP=CDE_LOGFILES_TOP
|
||||
ROOT=/
|
||||
|
||||
retval=0
|
||||
|
||||
APPCONFIG=appconfig
|
||||
APPCONFIG_DIRS="appmanager help icons types"
|
||||
PRINTERS=""
|
||||
DEFAULT_PRINTER="DtPrint"
|
||||
|
||||
HandleOption $*
|
||||
|
||||
if [ "$OPERATION" = "configure" ]
|
||||
then
|
||||
|
||||
HASH
|
||||
HASH create the CDE_LOGFILES_TOP directory
|
||||
HASH
|
||||
|
||||
if [ ! -d $DT_TEMP_TOP/$APPCONFIG/appmanager ]
|
||||
then
|
||||
mkdir -p $DT_TEMP_TOP/$APPCONFIG/appmanager
|
||||
fi
|
||||
|
||||
cd $DT_TEMP_TOP
|
||||
mv $APPCONFIG/appmanager .hidden-appmanager
|
||||
chmod -R 755 *
|
||||
chmod 755 .hidden-appmanager
|
||||
chown -R bin *
|
||||
chgrp -R bin *
|
||||
mv .hidden-appmanager $APPCONFIG/appmanager
|
||||
chmod 755 .
|
||||
chown bin .
|
||||
chgrp bin .
|
||||
|
||||
HASH
|
||||
HASH create the CDE_CONFIGURATION_TOP and its config directory
|
||||
HASH
|
||||
if [ ! -d $DT_CONFIG_TOP ]
|
||||
then
|
||||
mkdir -p $DT_CONFIG_TOP
|
||||
fi
|
||||
if [ ! -d $DT_CONFIG_TOP/config ]
|
||||
then
|
||||
mkdir -p $DT_CONFIG_TOP/config
|
||||
fi
|
||||
|
||||
CreateAppConfigDirectory
|
||||
|
||||
HASH
|
||||
HASH ConfigurePrintersDir
|
||||
HASH
|
||||
env LANG=C LD_LIBRARY_PATH=$DT_TOP/lib:/usr/shlib:/usr/lib $DT_TOP/bin/dtprintinfo -populate
|
||||
|
||||
HASH
|
||||
HASH Configure Xsession.d
|
||||
HASH
|
||||
|
||||
cd $DT_CONFIG_TOP/config
|
||||
if [ ! -d Xsession.d ]
|
||||
then
|
||||
mkdir Xsession.d
|
||||
fi
|
||||
|
||||
cd $DT_CONFIG_TOP
|
||||
chmod -R 755 *
|
||||
|
||||
FixInetdDotConf
|
||||
|
||||
FixEtcRpc
|
||||
|
||||
FixXlogin
|
||||
|
||||
doDttermTerminfo
|
||||
|
||||
elif [ "$OPERATION" = "deconfigure" ]
|
||||
then
|
||||
|
||||
UnfixXlogin
|
||||
|
||||
UnfixEtcRpc
|
||||
|
||||
UnfixInetdDotConf
|
||||
|
||||
rm -f /usr/share/lib/terminfo/d/dtterm
|
||||
|
||||
RemoveRunFiles
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
elif [ "$OPERATION" = "verify" ]
|
||||
then
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" != "verify" ]
|
||||
then
|
||||
|
||||
HASH issue a SIGHUP to the inetd process
|
||||
|
||||
ps -ef | grep inetd | grep -v grep >/tmp/tmppsout
|
||||
if [ -s /tmp/tmppsout ]
|
||||
then
|
||||
awk '{print "kill -1 " $2}' /tmp/tmppsout | /bin/sh
|
||||
else
|
||||
/usr/sbin/inetd -s
|
||||
fi
|
||||
fi
|
||||
|
||||
return $retval
|
|
@ -1,166 +0,0 @@
|
|||
XCOMM! /bin/ksh
|
||||
XCOMM #######
|
||||
XCOMM Product: CDE
|
||||
XCOMM Fileset: CDE-SHLIBS
|
||||
XCOMM customize
|
||||
XCOMM @(#) $XConsortium: configShlibs.src /main/2 1996/04/21 19:14:20 drk $
|
||||
XCOMM #######
|
||||
XCOMM
|
||||
XCOMM (c) Copyright Hewlett-Packard Company, 1993
|
||||
XCOMM
|
||||
XCOMM #######
|
||||
#define STAR *
|
||||
|
||||
XCOMM ############################################
|
||||
RemoveShlibFiles()
|
||||
{
|
||||
while read SRC
|
||||
do
|
||||
if [ "$SRC" != "" ]
|
||||
then
|
||||
rm -f $SRC
|
||||
dirname=${SRC%/STAR}
|
||||
if [ -d $dirname ]
|
||||
then
|
||||
cd $dirname
|
||||
while [ "$dirname" != "$CDE_TOP" ]
|
||||
do
|
||||
cd ..
|
||||
rmdir ${dirname##STAR/} >/dev/null 2>/dev/null
|
||||
dirname=${dirname%/STAR}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
done <<-EOF
|
||||
#include "CDE-SHLIBS.list"
|
||||
EOF
|
||||
}
|
||||
|
||||
VerifyInstalledFiles()
|
||||
{
|
||||
echo "Status mode owner group filename"
|
||||
echo "-----------------------------------------"
|
||||
XCOMM exists correct correct correct /usr/dt/foo1
|
||||
XCOMM MISSING WRONG WRONG WRONG /usr/dt/foo2
|
||||
XCOMM exists the link is correct /usr/dt/link
|
||||
|
||||
while read SRC
|
||||
do
|
||||
#include "../verify.func"
|
||||
done <<-EOF
|
||||
#include "CDE-SHLIBS.lst"
|
||||
EOF
|
||||
}
|
||||
|
||||
#include "../option.func"
|
||||
|
||||
MakeTheLink()
|
||||
{
|
||||
XCOMM
|
||||
XCOMM Special treatment for CDE .so's that would otherwise overwrite
|
||||
XCOMM sponsor-provided libraries.
|
||||
XCOMM
|
||||
typeset -i status=0
|
||||
|
||||
for lib in $CDE_NEW_SHLIB
|
||||
do
|
||||
savedlib=/usr/shlib/$lib.preCDE
|
||||
sharelib=/usr/shlib/$lib
|
||||
cdelib=CDE_INSTALLATION_TOP/lib/$lib
|
||||
|
||||
echo " Creating symlink for $lib"
|
||||
|
||||
if [ -L $sharelib ]
|
||||
then
|
||||
|
||||
if [ ! -e $savedlib ]
|
||||
then
|
||||
/bin/mv $sharelib $savedlib
|
||||
fi
|
||||
/bin/ln -s -f $cdelib $sharelib
|
||||
|
||||
elif [ -e $sharelib ]
|
||||
then
|
||||
|
||||
/bin/mv -f $sharelib $savedlib
|
||||
/bin/ln -s $cdelib $sharelib
|
||||
|
||||
else
|
||||
|
||||
echo " Failed to symlink $lib"
|
||||
status=1
|
||||
fi
|
||||
|
||||
done
|
||||
return $status
|
||||
}
|
||||
|
||||
UnmakeTheLink()
|
||||
{
|
||||
XCOMM
|
||||
XCOMM Restore the saved versions of libraries.
|
||||
XCOMM
|
||||
for lib in $CDE_NEW_SHLIB
|
||||
do
|
||||
savedlib=/usr/shlib/$lib.preCDE
|
||||
newlib=/usr/shlib/$lib
|
||||
|
||||
echo " Restoring $lib"
|
||||
|
||||
if [ -e $savedlib ]
|
||||
then
|
||||
if [ -L $newlib ]
|
||||
then
|
||||
/bin/rm -f $newlib
|
||||
/bin/mv -f $savedlib $newlib
|
||||
elif [ -e /usr/shlib/$lib ]
|
||||
then
|
||||
echo " $newlib is not a symlink. Left alone."
|
||||
else
|
||||
/bin/mv -f $savedlib $newlib
|
||||
fi
|
||||
fi
|
||||
|
||||
done
|
||||
return $status
|
||||
}
|
||||
|
||||
XCOMM ##########################################################################
|
||||
XCOMM
|
||||
XCOMM Main Body
|
||||
XCOMM
|
||||
XCOMM ##########################################################################
|
||||
|
||||
PRODUCT=CDE
|
||||
FILESET=CDE-SHLIBS
|
||||
retval=0
|
||||
CDE_TOP=CDE_INSTALLATION_TOP
|
||||
CDE_CONF_TOP=CDE_CONFIGURATION_TOP
|
||||
CDE_NEW_SHLIB="libXm.so libMrm.so"
|
||||
|
||||
HandleOption $*
|
||||
|
||||
if [ "$OPERATION" = "configure" ]
|
||||
then
|
||||
|
||||
XCOMM MakeTheLink
|
||||
retval=0
|
||||
|
||||
elif [ "$OPERATION" = "deconfigure" ]
|
||||
then
|
||||
|
||||
XCOMM UnmakeTheLink
|
||||
|
||||
RemoveShlibFiles
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
elif [ "$OPERATION" = "verify" ]
|
||||
then
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
fi
|
||||
|
||||
return $retval
|
||||
|
|
@ -1,239 +0,0 @@
|
|||
XCOMM! /bin/ksh
|
||||
XCOMM #######
|
||||
XCOMM Product: CDE
|
||||
XCOMM Fileset: CDE-TT
|
||||
XCOMM configure
|
||||
XCOMM @(#) $XConsortium: configTT.src /main/3 1996/04/23 20:38:20 drk $
|
||||
XCOMM #######
|
||||
XCOMM
|
||||
XCOMM (c) Copyright Hewlett-Packard Company, 1993
|
||||
XCOMM
|
||||
XCOMM #######
|
||||
#define HASH #
|
||||
|
||||
PRODUCT=CDE
|
||||
FILESET=CDE-TT
|
||||
DO_CONFIGURATION=""
|
||||
retval=0
|
||||
|
||||
FixInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
TTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserver
|
||||
OLDTTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserverd
|
||||
|
||||
XCOMM
|
||||
XCOMM Desired entry:
|
||||
XCOMM ttdbserver stream rpc/tcp wait root /usr/dt/bin/rpc.ttdbserver rpc.ttdbserver
|
||||
XCOMM
|
||||
|
||||
XCOMM
|
||||
XCOMM see if it already exists
|
||||
XCOMM
|
||||
|
||||
nawk -v ttdb=$TTDBSERVERD -v oldttdb=$OLDTTDBSERVERD \
|
||||
'{if (($1 == "ttdbserver" && $6 != ttdb) ||
|
||||
($1 == "ttdbserverd" && $6 == oldttdb))
|
||||
print "#cde " $0;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
|
||||
awk '{if ($1 == "ttdbserver")
|
||||
print $0 > "/tmp/tt-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
if [ ! -f /tmp/tt-already-there ]
|
||||
then
|
||||
echo "ttdbserver stream rpc/tcp wait root $TTDBSERVERD rpc.ttdbserver" >>$FILE
|
||||
else
|
||||
rm /tmp/tt-already-there
|
||||
fi
|
||||
}
|
||||
|
||||
UnfixInetdDotConf()
|
||||
{
|
||||
FILE=/etc/inetd.conf
|
||||
TMPFILE=/tmp/inetd.conf
|
||||
TTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserver
|
||||
OLDTTDBSERVERD=CDE_INSTALLATION_TOP/bin/rpc.ttdbserverd
|
||||
|
||||
nawk -v ttdb=$TTDBSERVERD \
|
||||
'{if ($1 == "ttdbserver" && $6 == ttdb)
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
|
||||
awk '{if ($1 == "#cde" &&
|
||||
($2 == "ttdbserver" || $2 == "ttdbserverd")) {
|
||||
$1 = $2;
|
||||
$2 = ""
|
||||
}
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
cp $TMPFILE $FILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
FixEtcRpc()
|
||||
{
|
||||
FILE=/etc/rpc
|
||||
TMPFILE=/tmp/etc-rpc
|
||||
|
||||
if [ ! -f $FILE ]
|
||||
then
|
||||
echo "ttdbserver 100083 tooltalk" >$FILE
|
||||
else
|
||||
awk '{if ($1 == "ttdbserver" && $2 == "100083")
|
||||
print $0 > "/tmp/etc-rpc-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
if [ ! -f /tmp/etc-rpc-already-there ]
|
||||
then
|
||||
awk '{if ($1 == "ttdbserver" || $2 == "100083")
|
||||
print $0 > "/tmp/etc-rpc-already-there"
|
||||
}' $FILE >/dev/null
|
||||
|
||||
if [ ! -f /tmp/etc-rpc-already-there ]
|
||||
then
|
||||
echo "ttdbserver 100083 tooltalk" >>$FILE
|
||||
else
|
||||
awk '{if ($1 == "ttdbserver" || $2 == "100083")
|
||||
print "#cde " $0; else print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
echo "ttdbserver 100083 tooltalk" >>$TMPFILE
|
||||
|
||||
mv $TMPFILE $FILE
|
||||
rm /tmp/etc-rpc-already-there
|
||||
fi
|
||||
else
|
||||
rm /tmp/etc-rpc-already-there
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
UnfixEtcRpc()
|
||||
{
|
||||
FILE="/etc/rpc"
|
||||
TMPFILE="/tmp/etc-rpc"
|
||||
|
||||
awk '{if ($1 == "ttdbserver" && $2 == "100083")
|
||||
;
|
||||
else
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
mv $TMPFILE $FILE
|
||||
|
||||
awk '{if ($1 == "#cde") {
|
||||
$1 = $2;
|
||||
$2 = ""
|
||||
}
|
||||
print $0
|
||||
}' $FILE >$TMPFILE
|
||||
|
||||
mv $TMPFILE $FILE
|
||||
}
|
||||
|
||||
RemoveTTFiles()
|
||||
{
|
||||
while read SRC
|
||||
do
|
||||
if [ "$SRC" != "" ]
|
||||
then
|
||||
rm -f $SRC
|
||||
dirname=${SRC%/STAR}
|
||||
if [ -d $dirname ]
|
||||
then
|
||||
cd $dirname
|
||||
while [ "$dirname" != "$CDE_TOP" ]
|
||||
do
|
||||
cd ..
|
||||
rmdir ${dirname##STAR/} >/dev/null 2>/dev/null
|
||||
dirname=${dirname%/STAR}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
done <<-EOF
|
||||
#include "CDE-TT.list"
|
||||
EOF
|
||||
}
|
||||
|
||||
VerifyInstalledFiles()
|
||||
{
|
||||
echo "Status mode owner group filename"
|
||||
echo "-----------------------------------------"
|
||||
XCOMM exists correct correct correct /usr/dt/foo1
|
||||
XCOMM MISSING WRONG WRONG WRONG /usr/dt/foo2
|
||||
XCOMM exists the link is correct /usr/dt/link
|
||||
|
||||
while read SRC
|
||||
do
|
||||
#include "../verify.func"
|
||||
done <<-EOF
|
||||
#include "CDE-TT.lst"
|
||||
EOF
|
||||
}
|
||||
|
||||
#include "../option.func"
|
||||
|
||||
XCOMM ######################################################################
|
||||
XCOMM
|
||||
XCOMM Main Body
|
||||
XCOMM
|
||||
XCOMM ######################################################################
|
||||
|
||||
HandleOption $*
|
||||
|
||||
if [ "$OPERATION" = "configure" ]
|
||||
then
|
||||
|
||||
FixInetdDotConf
|
||||
|
||||
FixEtcRpc
|
||||
|
||||
elif [ "$OPERATION" = "deconfigure" ]
|
||||
then
|
||||
|
||||
UnfixEtcRpc
|
||||
|
||||
UnfixInetdDotConf
|
||||
|
||||
RemoveTTFiles
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
elif [ "$OPERATION" = "verify" ]
|
||||
then
|
||||
|
||||
VerifyInstalledFiles
|
||||
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" != "verify" ]
|
||||
then
|
||||
|
||||
HASH issue a SIGHUP to the inetd process
|
||||
|
||||
ps -ef | grep inetd | grep -v grep >/tmp/tmppsout
|
||||
if [ -s /tmp/tmppsout ]
|
||||
then
|
||||
awk '{print "kill -1 " $2}' /tmp/tmppsout | /bin/sh
|
||||
else
|
||||
/usr/sbin/inetd -s
|
||||
fi
|
||||
|
||||
rm /tmp/tmppsout
|
||||
fi
|
||||
|
||||
return $retval
|
|
@ -523,7 +523,6 @@ RemoveRunFiles()
|
|||
/usr/dt/lib/bindings/xmbind.alias
|
||||
/usr/dt/lib/bindings/acorn
|
||||
/usr/dt/lib/bindings/apollo
|
||||
/usr/dt/lib/bindings/dec
|
||||
/usr/dt/lib/bindings/dg_AViiON
|
||||
/usr/dt/lib/bindings/doubleclick
|
||||
/usr/dt/lib/bindings/hitachi
|
||||
|
@ -814,7 +813,6 @@ VerifyInstalledFiles()
|
|||
/usr/dt/lib/bindings/xmbind.alias 0444 lib/Xm/bindings/xmbind.alias file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/acorn 0444 lib/Xm/bindings/acorn file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/apollo 0444 lib/Xm/bindings/apollo file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/dec 0444 lib/Xm/bindings/dec file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/dg_AViiON 0444 lib/Xm/bindings/dg_AViiON file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/doubleclick 0444 lib/Xm/bindings/doubleclick file bin bin di---- 378 cde_dt
|
||||
/usr/dt/lib/bindings/hitachi 0444 lib/Xm/bindings/hitachi file bin bin di---- 378 cde_dt
|
||||
|
|
|
@ -44,9 +44,6 @@ XCOMM Set system
|
|||
elif [ $BUILDSYSTEM = "SunOS" ]
|
||||
then
|
||||
PLATFORM=sun
|
||||
elif [ $BUILDSYSTEM = "OSF1" ]
|
||||
then
|
||||
PLATFORM=dec
|
||||
else # Build system = HP
|
||||
PLATFORM=hp-ux
|
||||
fi
|
||||
|
|
|
@ -157,8 +157,6 @@ PLATFORM=halos
|
|||
PLATFORM=hpux
|
||||
#elif defined(AIXArchitecture)
|
||||
PLATFORM=aix
|
||||
#elif defined(AlphaArchitecture)
|
||||
PLATFORM=digital
|
||||
#elif defined(SystemV4) && defined(i386)
|
||||
PLATFORM=solaris-386
|
||||
#elif defined(SystemV4)
|
||||
|
|
|
@ -474,21 +474,6 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
|
|||
# define ConvexArchitecture
|
||||
#endif /* _convex_ */
|
||||
|
||||
#ifdef __osf__
|
||||
# define MacroIncludeFile <osf1.cf>
|
||||
# define MacroFile osf1.cf
|
||||
# define OSF1Architecture
|
||||
# undef __osf__
|
||||
# ifdef __mips__
|
||||
# undef __mips__
|
||||
# define MipsArchitecture
|
||||
# endif
|
||||
# ifdef __alpha
|
||||
# undef __alpha
|
||||
# define AlphaArchitecture
|
||||
# endif
|
||||
#endif /* __osf__ */
|
||||
|
||||
#ifdef Oki
|
||||
# define MacroIncludeFile <Oki.cf>
|
||||
# define MacroFile Oki.cf
|
||||
|
|
|
@ -868,14 +868,14 @@ XCOMM the platform-specific parameters - edit site.def to change
|
|||
#define LibManSuffix 3 /* use just one tab or cpp will die */
|
||||
#endif
|
||||
#ifndef FileManSuffix
|
||||
#if SystemV || SystemV4 || defined(OSF1Architecture)
|
||||
#if SystemV || SystemV4
|
||||
#define FileManSuffix 4 /* use just one tab or cpp will die */
|
||||
#else
|
||||
#define FileManSuffix 5 /* use just one tab or cpp will die */
|
||||
#endif
|
||||
#endif
|
||||
#ifndef MiscManSuffix
|
||||
#if SystemV || SystemV4 || defined(OSF1Architecture)
|
||||
#if SystemV || SystemV4
|
||||
#define MiscManSuffix 5 /* use just one tab or cpp will die */
|
||||
#else
|
||||
#define MiscManSuffix 7 /* use just one tab or cpp will die */
|
||||
|
|
|
@ -26,8 +26,6 @@ necLib.rules \
|
|||
noop.rules \
|
||||
oldlib.rules \
|
||||
os2Lib.rules \
|
||||
osfLib.rules \
|
||||
scoLib.rules \
|
||||
sgiLib.rules \
|
||||
sunLib.rules \
|
||||
sv3Lib.rules \
|
||||
|
@ -49,7 +47,6 @@ ibmLib.tmpl \
|
|||
lnxLib.tmpl \
|
||||
necLib.tmpl \
|
||||
os2Lib.tmpl \
|
||||
osfLib.tmpl \
|
||||
sgiLib.tmpl \
|
||||
sunLib.tmpl \
|
||||
sv3Lib.tmpl \
|
||||
|
@ -82,9 +79,7 @@ moto.cf \
|
|||
ncr.cf \
|
||||
nec.cf \
|
||||
os2.cf \
|
||||
osf1.cf \
|
||||
pegasus.cf \
|
||||
sco.cf \
|
||||
sequent.cf \
|
||||
sgi.cf \
|
||||
sony.cf \
|
||||
|
|
|
@ -1,203 +0,0 @@
|
|||
XCOMM platform: $TOG: osf1.cf /main/74 1997/05/27 15:51:24 kaleb $
|
||||
/* only tested with Digital OSF/1 */
|
||||
|
||||
#ifndef OSName
|
||||
# define OSName DefaultOSName
|
||||
#endif
|
||||
#ifndef OSMajorVersion
|
||||
# define OSMajorVersion DefaultOSMajorVersion
|
||||
#endif
|
||||
#ifndef OSMinorVersion
|
||||
# define OSMinorVersion DefaultOSMinorVersion
|
||||
#endif
|
||||
XCOMM operating system: OSName (OSMajorVersion.OSMinorVersion)
|
||||
|
||||
#define StandardCppDefines -D__osf__ StandardDefines
|
||||
#define BuildLibPathVar _RLD_ROOT=/dev/null LD_LIBRARY_PATH
|
||||
#define HasPutenv YES
|
||||
#define Malloc0ReturnsNull YES
|
||||
#define HasNdbm YES
|
||||
#define HasShm YES
|
||||
#define AvoidNullMakeCommand YES
|
||||
#define NullMakeCommand @ echo
|
||||
#define HasPosixThreads YES
|
||||
#define SystemMTDefines -D_REENTRANT
|
||||
#define CplusplusSystemMTDefines -D_REENTRANT
|
||||
#define HasPoll YES
|
||||
#define HasVFork NO
|
||||
#define HasPlugin YES
|
||||
#define InstallCmd installbsd
|
||||
#define RanlibCmd ranlib -t
|
||||
#if OSMajorVersion > 1 || OSMinorVersion > 0
|
||||
#define ModernOSF1 YES
|
||||
#else
|
||||
#define ModernOSF1 NO
|
||||
#define ShLibDir /usr/shlib
|
||||
#define SharedLibPex NO /* losing, no shared -lm */
|
||||
#endif
|
||||
#define ThreadedX ModernOSF1
|
||||
|
||||
#if ThreadedX
|
||||
#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXUSE_NETDB_R_API
|
||||
#if OSMajorVersion < 4
|
||||
#define ThreadsLibraries -lpthreads -lmach -lc_r
|
||||
#define ThreadsCplusplusLibraries -lpthreads -lmach
|
||||
#define ThreadPreStdAPIDefines -DXPRE_STANDARD_API
|
||||
#else
|
||||
#define ThreadsLibraries -lpthread -lmach -lexc -lc
|
||||
#define ThreadsCplusplusLibraries -lpthread -lmach -lexc
|
||||
#define LibraryMTDefines -DUSE_TIS_SUPPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ModernOSF1
|
||||
#ifndef OptimizedCDebugFlags
|
||||
#define OptimizedCDebugFlags -O2 -Olimit 2000
|
||||
#endif
|
||||
#ifndef ExtraLoadFlags
|
||||
/*
|
||||
* In OSF/1 3.0 Digital has shared libXdmcp and libXau. What's more,
|
||||
* the link editor has different search semantics, i.e. it will search
|
||||
* for shared libraries first, then, if it can't find a shared lib, it
|
||||
* will use a static lib. By using -oldstyle_liblookup the linker will
|
||||
* follow "normal" semantics for linking libraries and will get the
|
||||
* static libraries we really want. By 3.2 they no longer have libXdmcp
|
||||
* and libXau as shared libraries and we can omit -oldstyle_liblookup.
|
||||
* (What did they have in 3.1?)
|
||||
*/
|
||||
#if OSMajorVersion == 3 && OSMinorVersion == 0
|
||||
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH),-oldstyle_liblookup
|
||||
#else
|
||||
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
|
||||
#endif
|
||||
#endif
|
||||
#if OSMajorVersion > 3
|
||||
#define TermcapLibrary -lcurses
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* C++ compiler setup. This file knows what options to use with the
|
||||
* DEC C++ compiler, and may learn about other compilers in the future.
|
||||
*
|
||||
* For DEC C++, define HasDECCplusplus to YES in site.def.
|
||||
*
|
||||
* For g++ 2.6.x, define HasGcc2ForCplusplus to YES in site.def.
|
||||
*
|
||||
* For other compilers, define HasCplusplus to YES in site.def, and
|
||||
* check to see if you need to provide values for CplusplusOptions
|
||||
* and/or DefaultCplusplusOptions.
|
||||
*
|
||||
* In any case, you may also need to set CplusplusDependIncludes.
|
||||
*
|
||||
* Note: For DEC C++, the -call_shared option really only needs to
|
||||
* appear when linking C++ executables, not when actually compiling
|
||||
* the C++ sources. But since there's no imake variable that lets
|
||||
* us insert flags only into the C++ link stage, we use -call_shared
|
||||
* on all compilations when building executables. This could be
|
||||
* considered a deficiency in the current imake configuration
|
||||
*/
|
||||
|
||||
#if HasDECCplusplus
|
||||
#ifndef HasCplusplus
|
||||
#define HasCplusplus YES
|
||||
#endif
|
||||
#ifndef CplusplusCmd
|
||||
#define CplusplusCmd /usr/bin/cxx
|
||||
#endif
|
||||
#ifndef CplusplusFilt
|
||||
# define CplusplusFilt /usr/bin/demangle
|
||||
#endif
|
||||
#ifndef CplusplusDependIncludes
|
||||
#define CplusplusDependIncludes -D__DECCXX -I/usr/include/cxx
|
||||
#endif
|
||||
#ifndef CplusplusLibDir
|
||||
#define CplusplusLibDir /usr/lib/cmplrs/cxx
|
||||
#endif
|
||||
#ifndef CplusplusLibC
|
||||
#define CplusplusLibC -L/usr/lib/cmplrs/cxx -lcxx
|
||||
#endif
|
||||
#ifndef CplusplusOptions
|
||||
#define CplusplusOptions -call_shared
|
||||
#endif
|
||||
#endif /* HasDECCplusplus */
|
||||
|
||||
|
||||
#if HasGcc2ForCplusplus
|
||||
#ifndef CplusplusLibC
|
||||
#define CplusplusLibC `$(CXX) -print-libgcc-file-name`
|
||||
#endif
|
||||
#endif /* HasGcc2ForCplusplus */
|
||||
|
||||
#ifdef CplusplusLibDir
|
||||
# define SystemBuildLibPath \
|
||||
/usr/shlib:/usr/ccs/lib:CplusplusLibDir:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib:/var/shlib
|
||||
#else
|
||||
# define SystemBuildLibPath \
|
||||
/usr/shlib:/usr/ccs/lib:/usr/lib/cmplrs/cc:/usr/lib:/usr/local/lib:/var/shlib
|
||||
#endif
|
||||
|
||||
#include <osfLib.rules>
|
||||
#define NoRConst YES
|
||||
|
||||
#ifdef AlphaArchitecture
|
||||
#ifndef HasWChar32
|
||||
#define HasWChar32 YES
|
||||
#endif
|
||||
#define ServerExtraDefines -D_XSERVER64
|
||||
#define ServerOSDefines -DDDXTIME
|
||||
#ifndef DefaultCCOptions
|
||||
#define DefaultCCOptions -std1
|
||||
#endif
|
||||
#ifndef XawI18nDefines
|
||||
#define XawI18nDefines -DHAS_WCHAR_H
|
||||
#endif
|
||||
#ifndef BuildServer
|
||||
#define BuildServer NO
|
||||
#endif
|
||||
|
||||
/* For DtHelp's TIFF processing routines. */
|
||||
#define LSBBitOrder YES
|
||||
|
||||
#define MotifDefines -DNO_REGCOMP -DNO_REGEX -DSTRINGS_ALIGNED
|
||||
#define DtSvcDefines -DMULTIBYTE -DMESSAGE_CAT
|
||||
#define DtSearchDefines -DI18N_MSG DtSvcDefines
|
||||
#define DtWidgetDefines DtSearchDefines
|
||||
#define DtPrintDefines DtSearchDefines
|
||||
#define DtMailDefines \
|
||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS -DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
||||
|
||||
#define ArchitectureDefines -DALPHA_ARCHITECTURE
|
||||
#endif
|
||||
|
||||
#ifdef MipsArchitecture
|
||||
#define DefaultCCOptions -Xa
|
||||
#define XdecServer YES
|
||||
#define ServerOSDefines -DDDXTIME
|
||||
#define PexCCOptions -Xa -Wf,-XNp15000,-XNd15000
|
||||
#define NormalLibObjCompile(options) ClearmakeOSName \
|
||||
$(RM) $@ $*.os \ @@\
|
||||
&& $(CC) -c options $(CFLAGS) $*.c \ @@\
|
||||
&& $(LD) $(LDSTRIPFLAGS) -r $@ -o $*.os \ @@\
|
||||
&& $(MV) $*.os $@
|
||||
#endif
|
||||
|
||||
#if !HasClearmake
|
||||
#ifndef HasMakefileSafeInclude
|
||||
#define HasMakefileSafeInclude YES
|
||||
#endif
|
||||
#ifndef IncludeMakefile
|
||||
#define IncludeMakefile(file) @@-include file
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef ManKeywordsTarget
|
||||
#define ManKeywordsTarget(manpath) @@\
|
||||
man_keywords:: @@\
|
||||
catman -M $(DESTDIR)manpath -w
|
||||
#endif
|
||||
|
||||
#define CdeTicDefines -DHAS_KNL -DHAS_KTAB
|
||||
#define CdeProjectDefines \
|
||||
-DDEC -DMULTIBYTE -DNLS16 \
|
||||
-DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
|
|
@ -1,118 +0,0 @@
|
|||
XCOMM $XConsortium: osfLib.rules /main/16 1996/09/28 16:11:55 rws $
|
||||
|
||||
/*
|
||||
* OSF/1 shared library rules
|
||||
*/
|
||||
|
||||
#ifndef HasSharedLibraries
|
||||
#define HasSharedLibraries YES
|
||||
#endif
|
||||
#ifndef SeparateSharedCompile
|
||||
#define SeparateSharedCompile NO
|
||||
#endif
|
||||
#ifndef SharedDataSeparation
|
||||
#define SharedDataSeparation NO
|
||||
#endif
|
||||
#ifndef SharedCodeDef
|
||||
#define SharedCodeDef /**/
|
||||
#endif
|
||||
#ifndef SharedLibraryDef
|
||||
#define SharedLibraryDef /**/
|
||||
#endif
|
||||
#ifndef ShLibIncludeFile
|
||||
#define ShLibIncludeFile <osfLib.tmpl>
|
||||
#endif
|
||||
#ifndef SharedLibraryLoadFlags
|
||||
#define SharedLibraryLoadFlags -shared -no_archive
|
||||
#endif
|
||||
|
||||
#ifndef PositionIndependentCFlags
|
||||
#define PositionIndependentCFlags /**/
|
||||
#endif
|
||||
|
||||
/*
|
||||
* InstallSharedLibrary - generate rules to install the shared library.
|
||||
*/
|
||||
#ifndef InstallSharedLibrary
|
||||
#define InstallSharedLibrary(libname,rev,dest) @@\
|
||||
install:: Concat(lib,libname.so.rev) @@\
|
||||
MakeDir($(DESTDIR)dest) @@\
|
||||
$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@\
|
||||
$(RM) Concat($(DESTDIR)dest/lib,libname.so) @@\
|
||||
cd $(DESTDIR)dest; $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)
|
||||
|
||||
#endif /* InstallSharedLibrary */
|
||||
|
||||
/*
|
||||
* InstallSharedLibraryData - generate rules to install the shared library data
|
||||
*/
|
||||
#ifndef InstallSharedLibraryData
|
||||
#define InstallSharedLibraryData(libname,rev,dest)
|
||||
#endif /* InstallSharedLibraryData */
|
||||
|
||||
#ifndef PackageName(libname)
|
||||
#if ModernOSF1
|
||||
#define PackageName(libname) /**/
|
||||
#define Objects(objlist) -all objlist -none
|
||||
#else
|
||||
#define PackageName(libname) -package libname
|
||||
#define Objects(objlist) objlist
|
||||
#endif
|
||||
#endif
|
||||
#if ThreadedX && ModernOSF1 && OSMajorVersion < 4
|
||||
#define BaseShLibReqs -lc_r -lc
|
||||
#else
|
||||
#define BaseShLibReqs -lc
|
||||
#endif
|
||||
|
||||
/*
|
||||
* SharedLibraryTarget - generate rules to create a shared library;
|
||||
* build it into a different name so that we do not hose people by having
|
||||
* the library gone for long periods.
|
||||
*/
|
||||
#ifndef SharedLibraryTarget
|
||||
#if SeparateSharedCompile
|
||||
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
|
||||
AllTarget(Concat(lib,libname.so.rev)) @@\
|
||||
@@\
|
||||
Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
|
||||
$(RM) $@~ @@\
|
||||
(cd down; $(LD) -o up/$@~ $(SHLIBLDFLAGS) PackageName($@) \ @@\
|
||||
-soname $@ Objects(solist) \ @@\
|
||||
$(REQUIREDLIBS) BaseShLibReqs) @@\
|
||||
$(RM) $@ @@\
|
||||
$(MV) $@~ $@ @@\
|
||||
$(RM) Concat(lib,libname.so) @@\
|
||||
$(LN) $@ Concat(lib,libname.so) @@\
|
||||
LinkBuildLibrary($@) @@\
|
||||
LinkBuildLibrary(Concat(lib,libname.so)) @@\
|
||||
@@\
|
||||
clean:: @@\
|
||||
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
|
||||
#else
|
||||
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
|
||||
AllTarget(Concat(lib,libname.so.rev)) @@\
|
||||
@@\
|
||||
Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
|
||||
$(RM) $@~ @@\
|
||||
$(LD) -o $@~ $(SHLIBLDFLAGS) PackageName($@) \ @@\
|
||||
-soname $@ Objects(solist) \ @@\
|
||||
$(REQUIREDLIBS) BaseShLibReqs @@\
|
||||
$(RM) $@ @@\
|
||||
$(MV) $@~ $@ @@\
|
||||
$(RM) Concat(lib,libname.so) @@\
|
||||
$(LN) $@ Concat(lib,libname.so) @@\
|
||||
LinkBuildLibrary($@) @@\
|
||||
LinkBuildLibrary(Concat(lib,libname.so)) @@\
|
||||
@@\
|
||||
clean:: @@\
|
||||
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
|
||||
#endif /* SeparateSharedCompile */
|
||||
#endif /* SharedLibraryTarget */
|
||||
|
||||
/*
|
||||
* SharedLibraryDataTarget - generate rules to create shlib data file;
|
||||
*/
|
||||
#ifndef SharedLibraryDataTarget
|
||||
#define SharedLibraryDataTarget(libname,rev,salist)
|
||||
#endif /* SharedLibraryTarget */
|
|
@ -1,52 +0,0 @@
|
|||
XCOMM $XConsortium: osfLib.tmpl /main/22 1996/09/28 16:12:00 rws $
|
||||
|
||||
/*
|
||||
* OSF/1 shared library template
|
||||
*/
|
||||
|
||||
#if ThreadedX && ModernOSF1
|
||||
#if OSMajorVersion < 4
|
||||
#define SharedX11Reqs -lpthreads -lmach
|
||||
#endif
|
||||
#endif
|
||||
#define SharedOldXReqs $(LDPRELIBS) $(XLIBONLY)
|
||||
|
||||
#if ThreadedX && ModernOSF1 && OSMajorVersion < 4
|
||||
#define SharedThreadReqs -lpthreads -lmach
|
||||
#else
|
||||
#define SharedThreadReqs /**/
|
||||
#endif
|
||||
#define SharedXtReqs $(LDPRELIBS) $(XLIBONLY) $(SMLIB) $(ICELIB) SharedThreadReqs
|
||||
#if ModernOSF1
|
||||
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB)
|
||||
#else
|
||||
#define SharedXawReqs $(LDPRELIBS) $(XMULIB) $(XTOOLLIB) $(XLIB) -init _XawFixupVendorShell
|
||||
#endif
|
||||
#define SharedXmuReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB)
|
||||
#define SharedXextReqs $(LDPRELIBS) $(XLIBONLY)
|
||||
#define SharedXiReqs $(LDPRELIBS) $(XLIB)
|
||||
#define SharedPexReqs $(LDPRELIBS) $(XLIBONLY) MathLibrary
|
||||
#define SharedXtstReqs $(LDPRELIBS) $(XLIB)
|
||||
#define SharedXieReqs $(LDPRELIBS) $(XLIBONLY)
|
||||
#define SharedSMReqs $(LDPRELIBS) $(ICELIB)
|
||||
#define SharedXpReqs $(LDPRELIBS) $(XLIB)
|
||||
|
||||
#define SharedXReqs $(XTOOLLIB) $(XLIB) SharedThreadReqs $(LDPOSTLIBS)
|
||||
#define SharedXmReqs $(LDPRELIBS) SharedXReqs
|
||||
#define SharedMrmReqs $(LDPRELIBS) $(XMLIB) SharedXReqs
|
||||
#define SharedUilReqs $(LDPRELIBS) $(MRESOURCELIB) $(XMLIB) SharedXReqs
|
||||
|
||||
/* #define SharedPamReqs */
|
||||
#define SharedTtReqs $(LDPRELIBS) $(XTOOLLIB) $(XLIB) SharedThreadReqs $(CXXLIB)
|
||||
#define SharedDtSvcReqs $(LDPRELIBS) $(TTLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
|
||||
#define SharedDtMmdbReqs $(LDPRELIBS) $(DTSVCLIB) $(TTLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
|
||||
#define SharedDtSearchReqs $(LDPRELIBS) -lm
|
||||
#define SharedDtWidgetReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
|
||||
#define SharedDtHelpReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm -liconv
|
||||
#define SharedDtPrintReqs $(LDPRELIBS) $(DTSVCLIB) $(DTHELPLIB) $(XMLIB) SharedXReqs -lm $(CXXLIB)
|
||||
#define SharedDtTermReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm
|
||||
#define SharedDtMrmReqs $(LDPRELIBS) $(DTTERMLIB) $(DTPRINTLIB) $(DTHELPLIB) $(DTWIDGETLIB) $(MRESOURCELIB) $(XMLIB) SharedXReqs -lm
|
||||
#define SharedDtMailReqs $(LDPRELIBS) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) SharedXReqs -liconv -lm $(CXXLIB)
|
||||
#define SharedCsaReqs $(LDPRELIBS) $(DTSVCLIB) $(XMLIB) SharedXReqs -lm
|
||||
|
||||
ICONVSYSLIB = -liconv
|
|
@ -42,10 +42,6 @@ XCOMM site: $TOG: site.def /main/23 1998/03/19 18:43:26 mgreess $
|
|||
# endif
|
||||
# endif
|
||||
|
||||
# ifdef AlphaArchitecture
|
||||
# define HasDECCplusplus YES
|
||||
# endif
|
||||
|
||||
# ifdef HPArchitecture
|
||||
# define HasHPCplusplus YES
|
||||
# endif
|
||||
|
|
|
@ -481,21 +481,6 @@ char *cpp_argv[ARGUMENTS] = {
|
|||
# endif
|
||||
# endif
|
||||
#endif
|
||||
#ifdef __osf__
|
||||
"-D__osf__",
|
||||
# ifdef __mips__
|
||||
"-D__mips__",
|
||||
# endif
|
||||
# ifdef __alpha
|
||||
"-D__alpha",
|
||||
# endif
|
||||
# ifdef __i386__
|
||||
"-D__i386__",
|
||||
# endif
|
||||
# ifdef __GNUC__
|
||||
"-traditional",
|
||||
# endif
|
||||
#endif
|
||||
#ifdef Oki
|
||||
"-DOki",
|
||||
#endif
|
||||
|
@ -594,11 +579,6 @@ char *cpp_argv[ARGUMENTS] = {
|
|||
# define DEFAULT_OS_MINOR_REV "r %*[^.].%*d.%1s"
|
||||
# define DEFAULT_OS_TEENY_REV "r %*[^.].%*d.%*c%[0-9]"
|
||||
# define DEFAULT_OS_NAME "srvm %[^\n]"
|
||||
#elif defined(__osf__)
|
||||
/* uname -r returns "Wx.y", e.g. "V3.2" or "T4.0" */
|
||||
# define DEFAULT_OS_MAJOR_REV "r %*[^0-9]%[0-9]"
|
||||
# define DEFAULT_OS_MINOR_REV "r %*[^.].%[0-9]"
|
||||
# define DEFAULT_OS_NAME "srvm %[^\n]"
|
||||
#elif defined(__FreeBSD__)
|
||||
/* uname -r returns "x.y[.z]-mumble", e.g. "9.0-RELEASE" or "11.0-CURRENT" */
|
||||
# define DEFAULT_OS_MAJOR_REV "r %[0-9]"
|
||||
|
@ -772,21 +752,9 @@ struct symtab predefs[] = {
|
|||
{"_SYSTYPE_SYSV", "1"},
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __OSF__
|
||||
{"__OSF__", "1"},
|
||||
#endif
|
||||
#ifdef __osf__
|
||||
{"__osf__", "1"},
|
||||
#endif
|
||||
#ifdef __alpha
|
||||
{"__alpha", "1"},
|
||||
#endif
|
||||
#ifdef __DECC
|
||||
{"__DECC", "1"},
|
||||
#endif
|
||||
#ifdef __decc
|
||||
{"__decc", "1"},
|
||||
#endif
|
||||
#ifdef __unix__
|
||||
{"__unix__", "1"},
|
||||
#endif
|
||||
|
|
|
@ -90,28 +90,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-DEMOS
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>-------------------------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<-------------------------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-FONTS
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -658,163 +636,6 @@ programs/fontaliases/sun/ja/dtinfo.pcf.Z
|
|||
# type = sym_link
|
||||
#}
|
||||
|
||||
#
|
||||
# for Digital
|
||||
#
|
||||
|
||||
# ##########################################################################
|
||||
#
|
||||
# 1 - Locale and platform specific entries
|
||||
#
|
||||
# There are no German, Spanish, French, Italian or Swedith
|
||||
# symbolic links for 1 because they use the same name as
|
||||
# the generic name.
|
||||
#
|
||||
# ##########################################################################
|
||||
|
||||
#
|
||||
./ja
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/fonts.alias
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/fonts.alias
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/fonts.dir
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/fonts.dir
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/dtinfo.pcf
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/75dpi/fonts.alias
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/75dpi/fonts.alias
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/75dpi/fonts.dir
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/75dpi/fonts.dir
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/75dpi/dtinfo.pcf
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/100dpi/fonts.alias
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/100dpi/fonts.alias
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/100dpi/fonts.dir
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/100dpi/fonts.dir
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/C/100dpi/dtinfo.pcf
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/100dpi/fonts.alias
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/ja/100dpi/fonts.alias
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/100dpi/fonts.dir
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/ja/100dpi/fonts.dir
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/100dpi/dtinfo.pcf
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/75dpi/fonts.alias
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/ja/75dpi/fonts.alias
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/75dpi/fonts.dir
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/ja/75dpi/fonts.dir
|
||||
}
|
||||
#
|
||||
programs/fontaliases/dec/ja/75dpi/dtinfo.pcf
|
||||
{ dec
|
||||
install_target = /usr/dt/config/xfonts/C/dtinfo.pcf
|
||||
}
|
||||
#
|
||||
#programs/fontaliases/dec/ko/100dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/ko/100dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/ko/100dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/ko/100dpi/fonts.dir
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/ko/75dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/ko/75dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/ko/75dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/ko/75dpi/fonts.dir
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh/100dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh/100dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh/100dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh/100dpi/fonts.dir
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh/75dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh/75dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh/75dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh/75dpi/fonts.dir
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh_TW/100dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh_TW/100dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh_TW/100dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh_TW/100dpi/fonts.dir
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh_TW/75dpi/fonts.alias
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh_TW/75dpi/fonts.alias
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/dec/zh_TW/75dpi/fonts.dir
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/xfonts/zh_TW/75dpi/fonts.dir
|
||||
#}
|
||||
|
||||
|
||||
#
|
||||
#>------------------------------------
|
||||
# the Postscript prolog files
|
||||
|
@ -918,30 +739,6 @@ programs/fontaliases/postscript/ja/prolog.ps
|
|||
# install_target = /usr/dt/config/psfonts/zh_TW/prolog.ps
|
||||
#}
|
||||
|
||||
#
|
||||
# For Digital
|
||||
#
|
||||
programs/fontaliases/postscript/ja/prolog.ps
|
||||
{ dec
|
||||
install_target = /usr/dt/config/psfonts/ja/prolog.ps
|
||||
}
|
||||
#
|
||||
#programs/fontaliases/postscript/ko/prolog.ps
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/psfonts/ko/prolog.ps
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/postscript/zh/prolog.ps
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/psfonts/zh/prolog.ps
|
||||
#}
|
||||
#
|
||||
#programs/fontaliases/postscript/zh_TW/prolog.ps
|
||||
#{ dec
|
||||
# install_target = /usr/dt/config/psfonts/zh_TW/prolog.ps
|
||||
#}
|
||||
|
||||
|
||||
#
|
||||
# for OpenBSD
|
||||
#
|
||||
|
|
|
@ -74,28 +74,6 @@ XCOMM
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>-------------------------------------------------
|
||||
XCOMM Defaults for: Digital
|
||||
XCOMM <<-------------------------------------------------
|
||||
XCOMM
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = %_FILENAME_%
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name = --
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: standalone product
|
||||
XCOMM --------------------------------
|
||||
|
@ -2999,45 +2977,4 @@ XCOMM #########################################################################
|
|||
#endif
|
||||
#endif /* _AIX */
|
||||
|
||||
XCOMM #########################################################################
|
||||
XCOMM
|
||||
XCOMM DEC - Locale and platform specific entries
|
||||
XCOMM
|
||||
XCOMM There are no German, Spanish, French, Italian or Swedith
|
||||
XCOMM symbolic links for DEC because they use the same name as
|
||||
XCOMM the generic name.
|
||||
XCOMM
|
||||
XCOMM #########################################################################
|
||||
#ifdef __osf__
|
||||
#ifdef _JAPANESE_
|
||||
/usr/dt/appconfig/help/ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/help/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _KOREAN_
|
||||
/usr/dt/appconfig/help/ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/help/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _CHINESE_
|
||||
/usr/dt/appconfig/help/zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/help/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _TAIWANESE_
|
||||
/usr/dt/appconfig/help/zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/help/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
|
||||
|
||||
XCOMM ### END OF DATABASE SPECIFICATION ####
|
||||
|
|
|
@ -56,28 +56,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#--------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-HELP-PRG
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name = --
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#--------------------------------
|
||||
|
@ -182,11 +160,6 @@ programs/dthelp/dthelpdemo/README
|
|||
install_target = /usr/dt/share/examples/dthelp/README
|
||||
}
|
||||
#
|
||||
programs/dthelp/dthelpdemo/Makefile.DEC
|
||||
{ default
|
||||
install_target = /usr/dt/share/examples/dthelp/Makefile.DEC
|
||||
}
|
||||
#
|
||||
programs/dthelp/dthelpdemo/Makefile.IBM
|
||||
{ default
|
||||
install_target = /usr/dt/share/examples/dthelp/Makefile.IBM
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-HELP-RUN
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -499,11 +477,6 @@ lib/DtHelp/HP-UX.lcx
|
|||
install_target = /usr/dt/config/svc/HP-UX.lcx
|
||||
}
|
||||
#
|
||||
lib/DtHelp/OSF1.lcx
|
||||
{ dec
|
||||
install_target = /usr/dt/config/svc/OSF1.lcx
|
||||
}
|
||||
#
|
||||
lib/DtHelp/AIX.lcx
|
||||
{ aix
|
||||
install_target = /usr/dt/config/svc/AIX.lcx
|
||||
|
|
|
@ -89,29 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
|
||||
#>>-------------------------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<-------------------------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-ICONS
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -2991,11 +2968,6 @@ programs/icons/Dtload.t.pm
|
|||
install_target = /usr/dt/appconfig/icons/C/Dtload.t.pm
|
||||
}
|
||||
#
|
||||
programs/icons/DECDtlogo.pm
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/icons/C/DECDtlogo.pm
|
||||
}
|
||||
#
|
||||
programs/icons/FreeBSDDtlogo.bm
|
||||
{ freebsd
|
||||
install_target = /usr/dt/appconfig/icons/C/FreeBSDDtlogo.bm
|
||||
|
|
|
@ -68,29 +68,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>-------------------------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<-------------------------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-INC
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
|
|
@ -92,28 +92,6 @@
|
|||
}
|
||||
#
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-RUN
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
#
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
#
|
||||
|
|
|
@ -25,28 +25,6 @@ XCOMM
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: Digital
|
||||
XCOMM <<------------------------------
|
||||
XCOMM
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = %_FILENAME_%
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: standalone product
|
||||
XCOMM <<------------------------------
|
||||
|
@ -502,24 +480,3 @@ XCOMM ##########################################################################
|
|||
#endif
|
||||
|
||||
#endif /* _AIX */
|
||||
|
||||
XCOMM ##########################################################################
|
||||
XCOMM
|
||||
XCOMM DEC - Locale and platform specific entries
|
||||
XCOMM
|
||||
XCOMM There are no German, Spanish, French, Italian or Swedith
|
||||
XCOMM symbolic links for DEC because they use the same name as
|
||||
XCOMM the generic/normalized/cannonical locale name.
|
||||
XCOMM
|
||||
XCOMM ##########################################################################
|
||||
#ifdef __osf__
|
||||
|
||||
#ifdef _JAPANESE_
|
||||
../infolib/ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/infolib/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __osf__ */
|
||||
|
|
|
@ -25,28 +25,6 @@ XCOMM
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: Digital
|
||||
XCOMM <<------------------------------
|
||||
XCOMM
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = %_FILENAME_%
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: standalone product
|
||||
XCOMM <<------------------------------
|
||||
|
@ -1705,209 +1683,3 @@ programs/dtimsstart/conf/aix/none
|
|||
}
|
||||
#endif
|
||||
#endif /* _AIX */
|
||||
|
||||
XCOMM ##########################################################################
|
||||
XCOMM
|
||||
XCOMM DEC - Locale and platform specific entries
|
||||
XCOMM
|
||||
XCOMM There are no German, Spanish, French, Italian or Swedith
|
||||
XCOMM symbolic links for DEC because they use the same name as
|
||||
XCOMM the generic name.
|
||||
XCOMM
|
||||
XCOMM ##########################################################################
|
||||
#ifdef __osf__
|
||||
#ifdef _JAPANESE_
|
||||
./ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/app-defaults/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/appmanager/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/types/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./desc.ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/share/palettes/desc.ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./desc.ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/share/backdrops/desc.ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
./ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/share/examples/types/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
XCOMM dtimsstart configuration files
|
||||
XCOMM
|
||||
programs/dtimsstart/conf/hpux/ja_JP.eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/%_LANG_%
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/xjim
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/xjim
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/atok8
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/atok8
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/vje
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/vje
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/egb
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/egb
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/builtin.jpn
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/builtin.jpn
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/none
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/none
|
||||
}
|
||||
#endif
|
||||
#ifdef _KOREAN_
|
||||
./ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/app-defaults/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/appmanager/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/types/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./desc.ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/share/palettes/desc.ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./desc.ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/share/backdrops/desc.ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
./ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/share/examples/types/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
XCOMM dtimsstart configuration files
|
||||
XCOMM
|
||||
programs/dtimsstart/conf/hpux/ko_KR.eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/%_LANG_%
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/xkim
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/xkim
|
||||
}
|
||||
programs/dtimsstart/conf/hpux/none
|
||||
{ dec
|
||||
install_target = /usr/dt/config/ims/none
|
||||
}
|
||||
#endif
|
||||
#ifdef _CHINESE_
|
||||
./zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/app-defaults/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/appmanager/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/types/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/config/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./desc.zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/share/palettes/desc.zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./desc.zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/share/backdrops/desc.zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
./zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/share/examples/types/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _TAIWANESE_
|
||||
./zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/app-defaults/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/appmanager/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/appconfig/types/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/config/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./desc.zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/share/palettes/desc.zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./desc.zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/share/backdrops/desc.zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
./zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/share/examples/types/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-MAN-DEV
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -2863,7 +2841,3 @@ doc/C/man/man5/csacsa.5
|
|||
install_target = /usr/dt/man
|
||||
type = sym_link
|
||||
}
|
||||
{ dec
|
||||
install_target = /usr/dt/man
|
||||
type = sym_link
|
||||
}
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-MAN
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -826,10 +804,6 @@ doc/C/man/man6/ttsnoop.6
|
|||
install_target = /usr/dt/man
|
||||
type = sym_link
|
||||
}
|
||||
{ dec
|
||||
install_target = /usr/dt/man
|
||||
type = sym_link
|
||||
}
|
||||
{ freebsd
|
||||
install_target = /usr/dt/man
|
||||
type = sym_link
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-MIN
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
|
|
@ -25,28 +25,6 @@ XCOMM
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: Digital
|
||||
XCOMM <<------------------------------
|
||||
XCOMM
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = %_FILENAME_%
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: standalone product
|
||||
XCOMM <<------------------------------
|
||||
|
@ -534,43 +512,3 @@ XCOMM ##########################################################################
|
|||
}
|
||||
#endif
|
||||
#endif /* _AIX */
|
||||
|
||||
XCOMM ###########################################################################
|
||||
XCOMM
|
||||
XCOMM DEC - Locale and platform specific entries
|
||||
XCOMM
|
||||
XCOMM There are no German, Spanish, French, Italian or Swedith
|
||||
XCOMM symbolic links for DEC because they use the same name as
|
||||
XCOMM the generic name.
|
||||
XCOMM
|
||||
XCOMM ###########################################################################
|
||||
#ifdef __osf__
|
||||
#ifdef _JAPANESE_
|
||||
/usr/dt/lib/nls/msg/ja_JP.dt-eucJP
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/nls/msg/ja_JP.eucJP
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _KOREAN_
|
||||
/usr/dt/lib/nls/msg/ko_KR.dt-eucKR
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/nls/msg/ko_KR
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _CHINESE_
|
||||
/usr/dt/lib/nls/msg/zh_CN.dt-eucCN
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/nls/msg/zh_CN
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#ifdef _TAIWANESE_
|
||||
/usr/dt/lib/nls/msg/zh_TW.dt-eucTW
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/nls/msg/zh_TW.eucTW
|
||||
type = sym_link
|
||||
}
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
|
|
|
@ -89,29 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: dec
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-PRG
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0644
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-RUN
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
@ -220,27 +198,11 @@ programs/dtconfig/ibm/rc.dt
|
|||
mode = 0544
|
||||
}
|
||||
#
|
||||
programs/dtconfig/dec/xlogin
|
||||
{ dec
|
||||
install_target = /usr/dt/bin/xlogin
|
||||
mode = 0544
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xconfig
|
||||
{ default
|
||||
install_target = /usr/dt/config/Xconfig
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xconfig.nc
|
||||
{ dec
|
||||
install_target = /usr/dt/config/Xconfig.nc
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xconfig.con
|
||||
{ dec
|
||||
install_target = /usr/dt/config/Xconfig.con
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xreset
|
||||
{ default
|
||||
install_target = /usr/dt/config/Xreset
|
||||
|
@ -258,16 +220,6 @@ programs/dtlogin/config/Xservers
|
|||
install_target = /usr/dt/config/Xservers
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xservers.nc
|
||||
{ dec
|
||||
install_target = /usr/dt/config/Xservers.nc
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xservers.con
|
||||
{ dec
|
||||
install_target = /usr/dt/config/Xservers.con
|
||||
}
|
||||
#
|
||||
programs/dtlogin/config/Xaccess
|
||||
{ default
|
||||
install_target = /usr/dt/config/Xaccess
|
||||
|
@ -1251,14 +1203,6 @@ programs/dtaction/dtaction
|
|||
mode = 06555
|
||||
}
|
||||
#
|
||||
programs/dtaction/dtaction
|
||||
{ dec
|
||||
install_target = /usr/dt/bin/dtaction
|
||||
owner = root
|
||||
group = system
|
||||
mode = 06555
|
||||
}
|
||||
#
|
||||
programs/dtpad/dtpad
|
||||
{ default
|
||||
install_target = /usr/dt/bin/dtpad
|
||||
|
|
|
@ -90,28 +90,6 @@ XCOMM
|
|||
}
|
||||
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: dec
|
||||
XCOMM <<------------------------------
|
||||
XCOMM
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-SHLIBS
|
||||
type = file
|
||||
status = di----
|
||||
processor = alpha
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
XCOMM >>------------------------------
|
||||
XCOMM Defaults for: standalone product
|
||||
XCOMM <<------------------------------
|
||||
|
@ -685,210 +663,6 @@ lib/DtMmdb/libDtMmdb.sl.2.1
|
|||
install_target = /usr/dt/lib/libDtMmdb.sl.2.1
|
||||
mode = 0755
|
||||
}
|
||||
XCOMM
|
||||
XCOMM
|
||||
XCOMM >>-----------------------------
|
||||
XCOMM DEC OSF/1 libraries
|
||||
XCOMM <<-----------------------------
|
||||
XCOMM
|
||||
XCOMM
|
||||
../dt/lib/libXm.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libXm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libMrm.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libMrm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libUil.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libUil.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtHelp/libDtHelp.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtHelp.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtHelp.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtHelp.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtHelp.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtHelp.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtPrint/libDtPrint.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtPrint.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtPrint.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtPrint.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtPrint.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtPrint.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtMrm/libDtMrm.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtMrm.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtMrm.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtMrm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtMrm.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtMrm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtSvc/libDtSvc.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtSvc.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtSvc.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtSvc.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtSvc.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtSvc.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtWidget/libDtWidget.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtWidget.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtWidget.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtWidget.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtWidget.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtWidget.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtTerm/libDtTerm.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtTerm.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtTerm.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtTerm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtTerm.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtTerm.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/tt/lib/libtt.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libtt.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libtt.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libtt.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libtt.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libtt.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/csa/libcsa.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libcsa.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libcsa.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libcsa.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libcsa.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libcsa.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtSearch/libDtSearch.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtSearch.so.2.1
|
||||
mode = 0555
|
||||
}
|
||||
XCOMM
|
||||
./libDtSearch.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtSearch.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtSearch.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtSearch.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
lib/DtMmdb/libDtMmdb.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtMmdb.so.2.1
|
||||
mode = 0755
|
||||
}
|
||||
XCOMM
|
||||
./libDtMmdb.so.2.1
|
||||
{ dec
|
||||
install_target = /usr/dt/lib/libDtMmdb.so
|
||||
type = sym_link
|
||||
}
|
||||
XCOMM
|
||||
../dt/lib/libDtMmdb.so
|
||||
{ dec
|
||||
install_target = /usr/shlib/libDtMmdb.so
|
||||
type = sym_link
|
||||
}
|
||||
|
||||
|
||||
XCOMM
|
||||
|
|
|
@ -89,28 +89,6 @@
|
|||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: Digital
|
||||
#<<------------------------------
|
||||
#
|
||||
{ dec : defaults
|
||||
install_target =
|
||||
fileset = CDE-TT
|
||||
type = file
|
||||
status = di----
|
||||
processor = 378
|
||||
mode = 0444
|
||||
owner = bin
|
||||
group = bin
|
||||
link_source = <LNK>
|
||||
build_target = /
|
||||
install_rule_name =
|
||||
install_flags =
|
||||
a_out_location = <SRC>
|
||||
order = 0
|
||||
responsible_project = cde_dt
|
||||
}
|
||||
|
||||
#>>------------------------------
|
||||
# Defaults for: standalone product
|
||||
#<<------------------------------
|
||||
|
|
|
@ -15,9 +15,6 @@ UDB_RELEASE_OPT = -ReleaseStream sun
|
|||
#ifdef RsArchitecture
|
||||
UDB_RELEASE_OPT = -ReleaseStream aix
|
||||
#endif
|
||||
#ifdef AlphaArchitecture
|
||||
UDB_RELEASE_OPT = -ReleaseStream dec
|
||||
#endif
|
||||
#ifdef LinuxArchitecture
|
||||
UDB_RELEASE_OPT = -ReleaseStream linux
|
||||
#endif
|
||||
|
@ -35,7 +32,7 @@ UDB_RELEASE_OPT = -ReleaseStream netbsd
|
|||
* Insure that symbols used in the .udb files are undefined for
|
||||
* pre-processing by cpp.
|
||||
*/
|
||||
UDB_CPP_UNDEF_LIST = -UhpV4 -Uhpux -Uaix -Usun -Udec -Uunix -Ulinux -Uopenbsd -Ufreebsd -Unetbsd
|
||||
UDB_CPP_UNDEF_LIST = -UhpV4 -Uhpux -Uaix -Usun -Uunix -Ulinux -Uopenbsd -Ufreebsd -Unetbsd
|
||||
|
||||
|
||||
#define CreateLocalizedFilesets(Locale,Lang,readablename,runfs,helpfs,msgfs,AltLang,HelpLang,ResDB,HelpDB,MsgDB,InfoDB) @@\
|
||||
|
|
|
@ -1095,7 +1095,6 @@ CDExc19226 -RunScriptsOnly option is obsolete in installCD
|
|||
CDExc19339 The post-install confingRun script cannot find /etc/src.s
|
||||
CDExc19393 If chown or chgrp fails during an install, the failure is mis-reporte
|
||||
CDExc20554 Various warnings/cleanups during installCD
|
||||
CDExc21373 During a DEC install some files that exist are reported missin
|
||||
CDExc21811 Sunsoft needs to provide configuration files for dtimsstart
|
||||
CDExc22200 install set[gu]id non-readabl
|
||||
CDExc22543 system specific locale links should come from .lcx databas
|
||||
|
@ -1863,8 +1862,6 @@ CDExc19211 dtHelpGui Novell has changed window titl
|
|||
|
||||
Component: DtHelp Sub-component: CDE1
|
||||
|
||||
CDExc19881 Test will not run on platform DEC and Fujits
|
||||
|
||||
Component: DtHelp Sub-component: Canvas/Render
|
||||
|
||||
CDExc22942 CREPrinting seem to be affected by timing issue
|
||||
|
@ -1885,7 +1882,6 @@ CDExc23075 DtClientPrinting tests - some test cases do not leave resul
|
|||
|
||||
Component: DtSvc Sub-component: actioninvoke
|
||||
|
||||
CDExc19856 On DEC all DtSvc/DtAction tests SIGSEG
|
||||
CDExc20889 Missing env vars cause 4 UNINITIATED TPs on Fujits
|
||||
CDExc23826 DtAction tests should be implemented to look for windows with WaitProc
|
||||
|
||||
|
|
|
@ -170,29 +170,6 @@ typedef enum {B_FALSE, B_TRUE} boolean_t;
|
|||
extern int strncasecmp(const char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
/*
|
||||
**
|
||||
*/
|
||||
#if defined(__osf__)
|
||||
|
||||
#define vfork fork
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef MAXPATHLEN
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifndef MAXNAMELEN
|
||||
#define MAXNAMELEN 256
|
||||
#endif
|
||||
|
||||
typedef enum {B_FALSE, B_TRUE} boolean_t;
|
||||
|
||||
#undef BIG_ENDIAN
|
||||
|
||||
#endif /* __osf__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -235,10 +235,6 @@ typedef struct _dtCvLine {
|
|||
_DtCvPointer data;
|
||||
} _DtCvLine;
|
||||
|
||||
#ifdef __osf__
|
||||
typedef struct _dtCvSegment * _DtCvSegmentPointer;
|
||||
#endif
|
||||
|
||||
typedef struct _dtCvContainer {
|
||||
char *id;
|
||||
char *justify_char;
|
||||
|
@ -257,11 +253,7 @@ typedef struct _dtCvContainer {
|
|||
_DtCvUnit tmargin;
|
||||
_DtCvUnit bmargin;
|
||||
_DtCvLine bdr_info;
|
||||
#ifdef __osf__
|
||||
_DtCvSegmentPointer seg_list;
|
||||
#else
|
||||
struct _dtCvSegment *seg_list;
|
||||
#endif
|
||||
} _DtCvContainer;
|
||||
|
||||
typedef struct _DtCvString {
|
||||
|
@ -310,19 +302,11 @@ struct _dtCvSegPts {
|
|||
int len;
|
||||
};
|
||||
|
||||
#ifdef __osf__
|
||||
typedef struct _dtCvLinkDb * _DtCvLinkDbPointer;
|
||||
#endif
|
||||
|
||||
typedef struct _dtCvTopicInfo {
|
||||
char *id_str;
|
||||
struct _dtCvSegment *seg_list;
|
||||
_DtCvPointInfo **mark_list;
|
||||
#ifdef __osf__
|
||||
_DtCvLinkDbPointer link_data;
|
||||
#else
|
||||
struct _dtCvLinkDb *link_data;
|
||||
#endif
|
||||
} _DtCvTopicInfo;
|
||||
|
||||
typedef struct _dtCvStringClientData {
|
||||
|
|
|
@ -3122,7 +3122,7 @@ static void StartSearchCB(
|
|||
for the SunOS 5.3 optimized executable. It isn't a problem for the
|
||||
non-optimized or debuggable versions or any versions on AIX 3.2 or
|
||||
HP-UX 9.05. */
|
||||
#if !defined(sun) && !defined(__osf__)
|
||||
#if !defined(sun)
|
||||
n = 0;
|
||||
XtSetArg(args[n],XmNeditable,False); n++;
|
||||
XtSetArg(args[n],XmNcursorPositionVisible,False); n++;
|
||||
|
|
|
@ -1,563 +0,0 @@
|
|||
!
|
||||
! *****************************************************************
|
||||
! * *
|
||||
! * Copyright (c) Digital Equipment Corporation, 1991, 1995 *
|
||||
! * *
|
||||
! * All Rights Reserved. Unpublished rights reserved under *
|
||||
! * the copyright laws of the United States. *
|
||||
! * *
|
||||
! * The software contained on this media is proprietary to *
|
||||
! * and embodies the confidential technology of Digital *
|
||||
! * Equipment Corporation. Possession, use, duplication or *
|
||||
! * dissemination of the software and media is authorized only *
|
||||
! * pursuant to a valid written license from Digital Equipment *
|
||||
! * Corporation. *
|
||||
! * *
|
||||
! * *
|
||||
! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS *
|
||||
! * OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE *
|
||||
! * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
|
||||
! * PARTICULAR PURPOSE. *
|
||||
! * *
|
||||
! * *
|
||||
! * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
|
||||
! * by the U.S. Government is subject to restrictions as set *
|
||||
! * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
|
||||
! * or in FAR 52.227-19, as applicable. *
|
||||
! * *
|
||||
! *****************************************************************
|
||||
!
|
||||
!
|
||||
! HISTORY
|
||||
!
|
||||
! @(#)$XConsortium: OSF1.lcx /main/4 1996/10/28 13:57:14 drk $
|
||||
!
|
||||
!!!!!!!!!!!!!! OSF1 Locale-Related Translations !!!!!!!!!!!!!!
|
||||
! File: OSF1.lcx
|
||||
! Default location: /usr/dt/config/svc/OSF1.lcx
|
||||
! Purpose:
|
||||
! Define the OSF1-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 OSF1 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: OSF1.lcx /main/4 1996/10/28 13:57:14 drk $
|
||||
! 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.
|
||||
!
|
||||
! 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 standard 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.
|
||||
!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
! define this resource to dump debug/test info
|
||||
!*debugDtXlate: True
|
||||
|
||||
!!!!!!!!!!!!!!!! OSF1 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.
|
||||
!!!
|
||||
! Define string for OSF/1 Platinum
|
||||
OSF1.?.version.<.400: "[A-Z]4\\..*"
|
||||
! Define string for OSF/1 Gold minor
|
||||
OSF1.?.version.<.320: "[A-Z]3\\.2.*" !! any OSF/1 GM version
|
||||
! Define string for OSF/1 Gold
|
||||
OSF1.?.version.<.300: "[A-Z]3\\..*"
|
||||
|
||||
!!!!!!!!!!!!!!!! OSF1-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 OSF1 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
|
||||
OSF1.400+.setlocale.~.C.ISO-8859-1: C ! setlocales compliance ,IBM, HP, Sun ,
|
||||
OSF1.400+.setlocale.~.POSIX.ISO-8859-1: POSIX ! setlocales compliance ,IBM, HP, Sun ,
|
||||
|
||||
! W European/Americas, Latin 1 codeset
|
||||
OSF1.400+.setlocale.~.da_DK.ISO-8859-1: da_DK.ISO8859-1 ! Danish, Denmark XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.>.de_AT.ISO-8859-1: de_DE.ISO8859-1 ! German,Austria XoJIG, , , ,
|
||||
OSF1.400+.setlocale.~.de_CH.ISO-8859-1: de_CH.ISO8859-1 ! German,Switzerland XoJIG,IBM, , ,
|
||||
OSF1.400+.setlocale.~.de_DE.ISO-8859-1: de_DE.ISO8859-1 ! German, Germany XoJIG,IBM, HP, Sun ("de"),
|
||||
OSF1.400+.setlocale.>.en_AU.ISO-8859-1: en_GB.ISO8859-1 ! English,Australia , , , ,
|
||||
OSF1.400+.setlocale.>.en_CA.ISO-8859-1: en_US.ISO8859-1 ! English,Canada XoJIG, , , ,
|
||||
OSF1.400+.setlocale.>.en_DK.ISO-8859-1: en_GB.ISO8859-1 ! English, Denmark XoJIG, , , ,
|
||||
OSF1.400+.setlocale.~.en_GB.ISO-8859-1: en_GB.ISO8859-1 ! English, U.K. XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.>.en_JP.ISO-8859-1: en_US.ISO8859-1 ! English, Japan XoJIG,IBM, , ,
|
||||
OSF1.400+.setlocale.>.en_IE.ISO-8859-1: en_GB.ISO8859-1 ! English, Ireland XoJIG, , , ,
|
||||
OSF1.400+.setlocale.>.en_MY.ISO-8859-1: en_US.ISO8859-1 ! English,Malaysia , , , ,
|
||||
OSF1.400+.setlocale.>.en_NZ.ISO-8859-1: en_GB.ISO8859-1 ! English,New Zealand , , , ,
|
||||
OSF1.400+.setlocale.>.en_KR.ISO-8859-1: en_US.ISO8859-1 ! English,Korea , , , ,
|
||||
OSF1.400+.setlocale.>.en_TW.ISO-8859-1: en_US.ISO8859-1 ! English,Taiwan , , , ,
|
||||
OSF1.400+.setlocale.~.en_US.ISO-8859-1: en_US.ISO8859-1 ! English, USA XoJIG,IBM, HP, Sun ,
|
||||
OSF1.400+.setlocale.>.es_AR.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Argentina , , , Sun ,
|
||||
OSF1.400+.setlocale.>.es_BO.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Bolivia , , , Sun
|
||||
OSF1.400+.setlocale.>.es_CL.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Chile , , , Sun ,
|
||||
OSF1.400+.setlocale.>.es_CO.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Columbia , , , Sun
|
||||
OSF1.400+.setlocale.>.es_CR.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Costa Rica , , , Sun
|
||||
OSF1.400+.setlocale.>.es_EC.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Ecuador , , , Sun
|
||||
OSF1.400+.setlocale.~.es_ES.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Spain XoJIG,IBM, HP, Sun ,
|
||||
OSF1.400+.setlocale.~.ca_ES.ISO-8859-1: ca_ES.ISO8859-1 ! Catalan, Spain XoJIG,IBM, HP, Sun , , DEC
|
||||
OSF1.400+.setlocale.>.es_GT.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Guatemala , , , Sun
|
||||
OSF1.400+.setlocale.>.es_MX.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Mexico , , , Sun ,
|
||||
OSF1.400+.setlocale.>.es_PE.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Peru , , , Sun
|
||||
OSF1.400+.setlocale.>.es_UY.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Uruguay , , , Sun
|
||||
OSF1.400+.setlocale.>.es_VE.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Venezuela , , , Sun ,
|
||||
! OSF1.400+.setlocale.>.et_EE.ISO-8859-1: ! Estonian, Estonia XoJIG,
|
||||
OSF1.400+.setlocale.~.fi_FI.ISO-8859-1: fi_FI.ISO8859-1 ! Finnish, Finland XoJIG,IBM, HP, ,
|
||||
! OSF1.400+.setlocale.>.fo_FO.ISO-8859-1: ! Faroese, Faeroe Island XoJIG,
|
||||
OSF1.400+.setlocale.~.fr_BE.ISO-8859-1: fr_BE.ISO8859-1 ! French,Belgium XoJIG, , , ,
|
||||
OSF1.400+.setlocale.~.fr_CA.ISO-8859-1: fr_CA.ISO8859-1 ! French, Canada XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.~.fr_CH.ISO-8859-1: fr_CH.ISO8859-1 ! French, Switzerland XoJIG,IBM, , ,
|
||||
OSF1.400+.setlocale.~.fr_FR.ISO-8859-1: fr_FR.ISO8859-1 ! French, France XoJIG,IBM, HP, Sun ("fr"),
|
||||
OSF1.400+.setlocale.~.is_IS.ISO-8859-1: is_IS.ISO8859-1 ! Icelandic, Iceland XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.>.it_CH.ISO-8859-1: it_IT.ISO8859-1 ! Italian,Switzerland , , , ,
|
||||
OSF1.400+.setlocale.~.it_IT.ISO-8859-1: it_IT.ISO8859-1 ! Italian, Italy XoJIG,IBM, HP, Sun ("it"),
|
||||
! OSF1.400+.setlocale.>.kl_GL.ISO-8859-1: ! Greenlandic, Greenland XoJIG,
|
||||
! OSF1.400+.setlocale.>.lt_LT.ISO-8859-1: ! Lithuanian, Lithuania XoJIG,
|
||||
! OSF1.400+.setlocale.>.lv_LV.ISO-8859-1: ! Latvian, Latvia XoJIG,
|
||||
OSF1.400+.setlocale.~.nl_BE.ISO-8859-1: nl_BE.ISO8859-1 ! Dutch, Belgium XoJIG,IBM, , ,
|
||||
OSF1.400+.setlocale.~.nl_NL.ISO-8859-1: nl_NL.ISO8859-1 ! Dutch, The Netherlands XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.~.no_NO.ISO-8859-1: no_NO.ISO8859-1 ! Norwegian, Norway XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.>.pt_BR.ISO-8859-1: pt_PT.ISO8859-1 ! Portuguese,Brazil , , , ,
|
||||
OSF1.400+.setlocale.~.pt_PT.ISO-8859-1: pt_PT.ISO8859-1 ! Portuguese, Portugal XoJIG,IBM, HP, ,
|
||||
OSF1.400+.setlocale.>.sv_FI.ISO-8859-1: sv_SE.ISO8859-1 ! Swedish, Finland XoJIG,
|
||||
OSF1.400+.setlocale.~.sv_SE.ISO-8859-1: sv_SE.ISO8859-1 ! Swedish, Sweden XoJIG,IBM, HP, Sun ("sv"),
|
||||
|
||||
! E European
|
||||
OSF1.400+.setlocale.~.cs_CS.ISO-8859-2: cs_CZ.ISO8859-2 ! Czech(1) ,IBM, HP
|
||||
! OSF1.400+.setlocale.>.hr_HR.ISO-8859-2: ! Croatian, Croatia ,IBM
|
||||
OSF1.400+.setlocale.~.hu_HU.ISO-8859-2: hu_HU.ISO8859-2 ! Hungarian, Hungry XoJIG,IBM, HP
|
||||
OSF1.400+.setlocale.~.pl_PL.ISO-8859-2: pl_PL.ISO8859-2 ! Polish, Poland XoJIG,IBM, HP
|
||||
! OSF1.400+.setlocale.>.ro_RO.ISO-8859-2: ! Rumanian, Romania XoJIG,IBM, HP
|
||||
! OSF1.400+.setlocale.>.sh_YU.ISO-8859-2: ! Serbocroatian, Yugoslavia(1) ,IBM, HP
|
||||
OSF1.400+.setlocale.>.sl_CS.ISO-8859-2: sl_SI.ISO8859-2 ! Slovenian , , HP, , , DEC
|
||||
OSF1.400+.setlocale.~.si_SI.ISO-8859-2: sl_SI.ISO8859-2 ! Slovenian ,IBM, , , , DEC
|
||||
OSF1.400+.setlocale.~.sk_SK.ISO-8859-2: sk_SK.ISO8859-2 ! Slovak ,IBM
|
||||
|
||||
! N European
|
||||
OSF1.400+.setlocale.~.lt_LT.ISO-8859-4: lt_LT.ISO8859-4 ! Lithuanian, Lithuania , , , , , DEC
|
||||
|
||||
! Cyrillic
|
||||
! OSF1.400+.setlocale.>.bg_BG.ISO-8859-5: ! Bulgarian, Bulgaria ,IBM, HP
|
||||
! OSF1.400+.setlocale.>.mk_MK.ISO-8859-5: ! Macedonian ,IBM
|
||||
OSF1.400+.setlocale.~.ru_RU.ISO-8859-5: ru_RU.ISO8859-5 ! Russian(1) ,IBM,
|
||||
OSF1.400+.setlocale.>.ru_SU.ISO-8859-5: ru_RU.ISO8859-5 ! Russian(1) , , HP
|
||||
! OSF1.400+.setlocale.>.sp_YU.ISO-8859-5: ! Serbian,Yugoslavia(1) ,IBM
|
||||
|
||||
! Arabic
|
||||
! OSF1.400+.setlocale.>.ar_DZ.ISO-8859-6: ! Arabic(2) , , HP
|
||||
! OSF1.400+.setlocale.>.ar_SA.ISO-8859-6: ! Arabic(2) ,IBM, HP
|
||||
|
||||
! Hebrew
|
||||
OSF1.400+.setlocale.~.iw_IL.ISO-8859-8: iw_IL.ISO8859-8 ! Hebrew, Israel ,IBM, HP
|
||||
|
||||
! Greek
|
||||
OSF1.400+.setlocale.~.el_GR.ISO-8859-7: el_GR.ISO8859-7 ! Greek, Greece ,IBM, HP
|
||||
|
||||
! Turkish
|
||||
OSF1.400+.setlocale.~.tr_TR.ISO-8859-9: tr_TR.ISO8859-9 ! Turkish, Turkey ,IBM, HP
|
||||
|
||||
! East Asia
|
||||
OSF1.400+.setlocale.~.ja_JP.EUC-JP: ja_JP ! Japanese, Japan ,IBM, HP, Sun ("ja"),
|
||||
OSF1.400+.setlocale.~.ja_JP.IBM-932: ja_JP.SJIS ! Japanese, Japan ,IBM
|
||||
OSF1.400+.setlocale.>.ja_JP.HP-SJIS: ja_JP.SJIS ! Japanese, Japan aka japanese 15 , , HP,
|
||||
OSF1.400+.setlocale.~.ja_JP.DEC-KANJI: ja_JP.deckanji ! Japanese, Japan , , , , , DEC
|
||||
OSF1.400+.setlocale.~.ja_JP.DEC-SKANJI: ja_JP.sdeckanji ! Japanese, Japan , , , , , DEC
|
||||
OSF1.400+.setlocale.~.ko_KR.EUC-KR: ko_KR ! Korean, Korea , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_CN.EUC-CN: zh_CN ! Chinese, China ,IBM, , Sun ("zh"),
|
||||
OSF1.400+.setlocale.>.zh_CN.HP-15CN: zh_CN ! Chinese, China , , HP
|
||||
OSF1.400+.setlocale.~.zh_TW.DEC-HANYU: zh_TW ! Chinese, Taiwan , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_TW.DEC-BIG5: zh_TW.big5 ! Chinese, Taiwan , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_TW.EUC-TW: zh_TW.eucTW ! Chinese, Taiwan ,IBM, HP, Sun ,
|
||||
OSF1.400+.setlocale.~.zh_HK.EUC-CN: zh_HK.dechanzi ! Chinese, Hong Kong , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_HK.DEC-HANYU: zh_HK.dechanyu ! Chinese, Hong Kong , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_HK.DEC-BIG5: zh_HK.big5 ! Chinese, Hong Kong , , , , , DEC
|
||||
OSF1.400+.setlocale.~.zh_HK.EUC-TW: zh_HK.eucTW ! Chinese, Hong Kong , , , , , DEC
|
||||
! OSF1.400+.setlocale.>.zh_TW.HP-BIG5: ! Chinese, Taiwan , , HP, ,
|
||||
! OSF1.400+.setlocale.>.zh_TW.HP-CCDC: ! Chinese, Taiwan , , HP, ,
|
||||
! OSF1.400+.setlocale.>.ja_JP.HP-KANA8: ! Japanese, Japan , , HP, ,
|
||||
|
||||
! Thai
|
||||
OSF1.400+.setlocale.~.th_TH.TIS-620: th_TH ! Thai, Thailand ,IBM, HP
|
||||
|
||||
! codesets supported for iconv(1,3) & nl_langinfo and above
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-1: ISO8859-1
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-2: ISO8859-2
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-4: ISO8859-4
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-5: ISO8859-5
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-6: ISO8859-6
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-7: ISO8859-7
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-8: ISO8859-8
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-9: ISO8859-9
|
||||
OSF1.400+.iconv1,iconv3.=.?.EUC-KR: eucKR
|
||||
OSF1.400+.nl_langinfo(CODESET).=.?.EUC-KR: KSC5601
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-JP: eucJP
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-KANJI: deckanji
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-SKANJI: sdeckanji
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-TW: eucTW
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-HANYU: dechanyu
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-BIG5: big5
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-CN: dechanzi
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).>.?.HP-15CN: dechanzi
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.IBM-932: SJIS
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).>.?.HP-SJIS: SJIS
|
||||
OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.TIS-620: TACTIS
|
||||
|
||||
! codesets supported for iconv(1,3) only
|
||||
OSF1.400+.iconv1,iconv3.=.?.ISO-2022-JP: ISO-2022-JP
|
||||
OSF1.400+.iconv1,iconv3.=.?.ISO-2022-KR: ISO-2022-KR
|
||||
|
||||
! codesets not supported for either iconv(1,3) or nl_langinfo
|
||||
! OSF1.?.iconv1,iconv3.~.?.UCS-2:
|
||||
! OSF1.?.iconv1,iconv3.~.?.UTF-8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-ARABIC8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-GREEK8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-HEBREW8
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-ROMAN8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-TURKISH8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-KANA8:
|
||||
! OSF1.?.iconv1,iconv3.~.?.ISO-2022-TW:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-CCDC:
|
||||
! OSF1.?.iconv1,iconv3.~.?.HP-BIG5:
|
||||
! OSF1.?.iconv1,iconv3.~.?.ISO-2022-CN:
|
||||
! OSF1.?.iconv1,iconv3.~.?.IBM-437:
|
||||
! OSF1.?.iconv1,iconv3.~.?.IBM-850:
|
||||
! OSF1.?.iconv1,iconv3.~.?.IBM-856:
|
||||
! OSF1.?.iconv1,iconv3.~.?.IBM-1046:
|
||||
|
||||
! multibyte codesets
|
||||
! This translation provides an alternative to a call to
|
||||
! using setlocale() and MB_CUR_MAX to determine this.
|
||||
OSF1.?.multibyte.=.?.EUC-KR: 3
|
||||
OSF1.?.multibyte.=.?.HP-SJIS: 2
|
||||
OSF1.?.multibyte.=.?.IBM-932: 2
|
||||
OSF1.?.multibyte.=.?.EUC-JP: 3
|
||||
OSF1.?.multibyte.=.?.DEC-KANJI: 2
|
||||
OSF1.?.multibyte.=.?.DEC-SKANJI: 3
|
||||
! OSF1.?.multibyte.~.?.HP-CCDC: 2
|
||||
! OSF1.?.multibyte.~.?.HP-BIG5: 2
|
||||
OSF1.?.multibyte.=.?.EUC-TW: 4
|
||||
OSF1.?.multibyte.=.?.DEC-HANYU: 4
|
||||
OSF1.?.multibyte.=.?.DEC-BIG5: 2
|
||||
OSF1.?.multibyte.=.?.EUC-CN: 2
|
||||
OSF1.?.multibyte.=.?.HP-15CN: 2
|
||||
|
||||
! Translations from predefined CCDF-locales to CDE Standard Locales
|
||||
OSF1.?.ccdf.=.?.HP-ROMAN8: hp-roman8
|
||||
OSF1.?.ccdf.=.?.ISO-8859-1: ISO8859-1
|
||||
OSF1.?.ccdf.=.ko_KR.EUC-KR: hp-korean15
|
||||
OSF1.?.ccdf.=.ko_KR.EUC-KR: eucKR
|
||||
OSF1.?.ccdf.=.ja_JP.HP-SJIS: hp-japanese15
|
||||
OSF1.?.ccdf.=.ja_JP.EUC-JP: eucJP
|
||||
OSF1.?.ccdf.=.?.DT-SYMBOL-1: symbol !!! standard Dt symbol font
|
||||
|
||||
! These CDE standard locales may have CCDF-locales, but they are defined by localizers
|
||||
! OSF1.?.ccdf.=.ar_SA.HP-ARABIC8: arabic8
|
||||
! OSF1.?.ccdf.=.el_GR.HP-GREEK8: greek8
|
||||
! OSF1.?.ccdf.=.iw_IL.HP-HEBREW8: hebrew8
|
||||
! OSF1.?.ccdf.=.tr_TR.HP-TURKISH8: turkish8
|
||||
! OSF1.?.ccdf.<.ja_JP.HP-SJIS: sjis
|
||||
! OSF1.?.ccdf.=.ja_JP.HP-KANA8: kana8
|
||||
! OSF1.?.ccdf.<.ja_JP.EUC-JP: ujis
|
||||
! OSF1.?.ccdf.=.zh_CN.HP-CCDC: roc15
|
||||
|
||||
! Codesets that require multibyte parsing to avoid confusion with shell special chars
|
||||
OSF1.?.dtkshSpecialParse.=.ja_JP.HP-JIS: True
|
||||
OSF1.?.dtkshSpecialParse.=.ja_JP.HP-SJIS: True
|
||||
OSF1.?.dtkshSpecialParse.=.ja_JP.IBM-932: True
|
||||
OSF1.?.dtkshSpecialParse.=.zh_TW.HP-BIG5: True
|
||||
OSF1.?.dtkshSpecialParse.=.zh_TW.HP-CCDC: True
|
||||
OSF1.?.dtkshSpecialParse.=.zh_TW.EUC-TW: True
|
||||
OSF1.?.dtkshSpecialParse.=.?.DEC-KANJI: True
|
||||
OSF1.?.dtkshSpecialParse.=.?.DEC-SKANJI: True
|
||||
OSF1.?.dtkshSpecialParse.=.?.DEC-HANYU: True
|
||||
OSF1.?.dtkshSpecialParse.=.?.DEC-BIG5: 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 JIS
|
||||
!! before it is sent.
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-ROMAN8: ISO-8859-1 ! HP Roman8
|
||||
! OSF1.?.interchangeCodeset.>.?.IBM-437: ISO-8859-1 ! PC (US)
|
||||
! OSF1.?.interchangeCodeset.>.?.IBM-850: ISO-8859-1 ! PC (Multi-lingual)
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-4: ISO-8859-4 ! ISO Latin 4
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-ARABIC8: ISO-8859-6 ! HP Arabic8
|
||||
! OSF1.?.interchangeCodeset.>.?.IBM-1046: ISO-8859-6 ! PC Arabic Code Set
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-HEBREW8: ISO-8859-8 ! HP Hebrew8
|
||||
! OSF1.?.interchangeCodeset.>.?.IBM-856: ISO-8859-8 ! PC Hebrew
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-GREEK8: ISO-8859-7 ! HP Greek8
|
||||
OSF1.?.interchangeCodeset.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-TURKISH8: ISO-8859-9 ! HP Turkish8
|
||||
OSF1.?.interchangeCodeset.~.?.EUC-JP: ISO-2022-JP ! Japanese EUC
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-SJIS: ISO-2022-JP ! HP Japanese Shift JIS
|
||||
OSF1.?.interchangeCodeset.>.?.IBM-932: ISO-2022-JP ! PC Japanese Shift JIS
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-KANA8: ISO-2022-JP ! HP Japanese Katakana8
|
||||
OSF1.?.interchangeCodeset.~.?.DEC-KANJI: ISO-2022-JP ! Japanese DEC Kanji
|
||||
OSF1.?.interchangeCodeset.~.?.DEC-SKANJI: ISO-2022-JP ! Japanese Super DEC Kanji
|
||||
OSF1.?.interchangeCodeset.~.?.EUC-KR: ISO-2022-KR ! Korean EUC
|
||||
! comment when ISO-2022-CN is supported by iconv
|
||||
OSF1.?.interchangeCodeset.~.?.EUC-CN: EUC-CN ! China Chinese EUC
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-15CN: EUC-CN ! HP Chinese EUC
|
||||
! uncomment when ISO-2022-CN is supported by iconv
|
||||
! OSF1.?.interchangeCodeset.~.?.EUC-CN: ISO-2022-CN ! China Chinese EUC
|
||||
! ! OSF1.?.interchangeCodeset.>.?.HP-15CN: ISO-2022-CN ! HP Chinese EUC
|
||||
! comment when ISO-2022-TW is supported by iconv
|
||||
OSF1.?.interchangeCodeset.~.?.EUC-TW: EUC-TW ! Taiwan Chinese EUC
|
||||
OSF1.?.interchangeCodeset.~.?.DEC-HANYU: DEC-HANYU ! Taiwan Chinese DEC Hanyu
|
||||
OSF1.?.interchangeCodeset.~.?.DEC-BIG5: DEC-BIG5 ! Taiwan Chinese DEC Big5
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-BIG5: EUC-TW ! HP Big5 Chinese
|
||||
! OSF1.?.interchangeCodeset.>.?.HP-CCDC: EUC-TW ! HP CCDC Chinese
|
||||
! uncomment when ISO-2022-TW is supported by iconv
|
||||
! OSF1.?.interchangeCodeset.~.?.EUC-TW: ISO-2022-TW ! Taiwan Chinese EUC
|
||||
! ! OSF1.?.interchangeCodeset.>.?.HP-BIG5: ISO-2022-TW ! HP Big5 Chinese
|
||||
! ! OSF1.?.interchangeCodeset.>.?.HP-CCDC: ISO-2022-TW ! HP CCDC Chinese
|
||||
OSF1.?.interchangeCodeset.~.?.TIS-620: TIS-620 ! Thai
|
||||
OSF1.?.interchangeCodeset.>.?.UCS-2: UTF-8 ! Unicode
|
||||
OSF1.?.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).
|
||||
OSF1.?.mime.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
|
||||
OSF1.?.mime.~.?.HP-ROMAN8: X-HP-ROMAN8 ! HP Roman8
|
||||
OSF1.?.mime.~.?.IBM-437: X-IBM-437 ! PC (US)
|
||||
OSF1.?.mime.~.?.IBM-850: X-IBM-850 ! PC (Multi-lingual)
|
||||
OSF1.?.mime.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
|
||||
OSF1.?.mime.~.?.ISO-8859-4: ISO-8859-4 ! ISO Latin 4
|
||||
OSF1.?.mime.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
|
||||
OSF1.?.mime.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
|
||||
OSF1.?.mime.~.?.HP-ARABIC8: X-HP-ARABIC8 ! HP Arabic8
|
||||
OSF1.?.mime.~.?.IBM-1046: X-IBM-1046 ! PC Arabic Code Set
|
||||
OSF1.?.mime.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
|
||||
OSF1.?.mime.~.?.HP-HEBREW8: X-HP-HEBREW8 ! HP Hebrew8
|
||||
OSF1.?.mime.~.?.IBM-856: X-IBM-856 ! PC Hebrew
|
||||
OSF1.?.mime.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
|
||||
OSF1.?.mime.~.?.HP-GREEK8: X-HP-GREEK8 ! HP Greek8
|
||||
OSF1.?.mime.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
|
||||
OSF1.?.mime.~.?.HP-TURKISH8: X-HP-TURKISH8 ! HP Turkish8
|
||||
OSF1.?.mime.~.?.EUC-JP: X-EUC-JP ! Japanese EUC
|
||||
OSF1.?.mime.~.?.ISO-2022-JP: ISO-2022-JP ! Japanese JIS with 7-bit encoding per ISO-2022-JP
|
||||
OSF1.?.mime.~.?.HP-SJIS: X-HP-SJIS ! HP Japanese Shift JIS
|
||||
OSF1.?.mime.~.?.IBM-932: X-IBM-932 ! PC Japanese Shift JIS
|
||||
OSF1.?.mime.~.?.HP-KANA8: X-HP-KANA8 ! HP Japanese Katakana8
|
||||
OSF1.?.mime.~.?.EUC-KR: X-EUC-KR ! Korean EUC
|
||||
OSF1.?.mime.~.?.ISO-2022-KR: ISO-2022-KR ! Korean with 7-bit encoding per ISO-2022-KR
|
||||
OSF1.?.mime.~.?.EUC-CN: X-EUC-CN ! China Chinese EUC
|
||||
OSF1.?.mime.~.?.ISO-2022-CN: ISO-2022-CN ! China Chinese with 7-bit encoding per ISO-2022-CN
|
||||
OSF1.?.mime.~.?.HP-15CN: X-HP-15CN ! HP China Chinese EUC
|
||||
OSF1.?.mime.~.?.EUC-TW: X-EUC-TW ! Taiwan Chinese EUC
|
||||
OSF1.?.mime.~.?.ISO-2022-TW: ISO-2022-TW ! Taiwan Chinese with 7-bit encoding per ISO-2022-TW
|
||||
OSF1.?.mime.~.?.DEC-HANYU: X-DEC-HANYU ! Taiwan Chinese DEC Hanyu
|
||||
OSF1.?.mime.~.?.DEC-BIG5: X-DEC-BIG5 ! Taiwan Chinese DEC Big5
|
||||
OSF1.?.mime.~.?.HP-BIG5: X-HP-BIG5 ! HP Big5 Taiwan Chinese
|
||||
OSF1.?.mime.~.?.HP-CCDC: X-HP-CCDC ! HP CCDC Taiwan Chinese
|
||||
OSF1.?.mime.~.?.TIS-620: X-TIS-620 ! Thai
|
||||
OSF1.?.mime.~.?.UCS-2: X-UCS-2 ! Unicode; group 0, plane 0 of ISO-10646
|
||||
OSF1.?.mime.~.?.UCS-4: X-UCS-4 ! ISO-10646
|
||||
OSF1.?.mime.~.?.UTF-7: X-UTF-7 ! multibyte encoding of Unicode
|
||||
OSF1.?.mime.~.?.UTF-8: X-UTF-8 ! multibyte encoding of Unicode
|
||||
OSF1.?.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>.?.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.
|
||||
OSF1.?.mime.<.?.ISO-8859-1: us-ascii ! ISO Latin 1
|
||||
OSF1.?.mime.<.?.ISO-8859-1: US-ASCII ! ISO Latin 1
|
|
@ -32,10 +32,6 @@
|
|||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
|
||||
#ifdef __osf__
|
||||
#define SBSTDINC_H_NO_REDEFINE
|
||||
#endif
|
||||
|
||||
#include <Dt/UserMsg.h>
|
||||
|
||||
#include <bms/sbport.h> /* NOTE: sbport.h must be the first include. */
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
* (c) Copyright 1993, 1994 Novell, Inc. *
|
||||
*/
|
||||
|
||||
#ifdef __osf__
|
||||
/* #define SBSTDINC_H_NO_INCLUDE */
|
||||
#define SBSTDINC_H_NO_REDEFINE
|
||||
#endif
|
||||
|
||||
#include <bms/sbport.h>
|
||||
#include <bms/bms.h>
|
||||
|
||||
|
|
|
@ -36,11 +36,7 @@
|
|||
#define __need_fd_set
|
||||
|
||||
#include <bms/sbport.h>
|
||||
#ifdef __osf__
|
||||
#include <sys/time.h> /* For declaration of select(). */
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
@ -206,7 +202,7 @@ void local_channel_object_input_handler(void * client_data,
|
|||
timeout.tv_sec = 0;
|
||||
timeout.tv_usec = 0;
|
||||
|
||||
#if defined(SVR4) || defined(__osf__) || defined(__hpux) || defined(__OpenBSD__) || defined(linux)
|
||||
#if defined(SVR4) || defined(__hpux) || defined(__OpenBSD__) || defined(linux)
|
||||
select(max_fds, (fd_set*)&read_fd_vect, NULL, (fd_set*)&except_fd_vect, &timeout);
|
||||
#else
|
||||
/* UX has select defined with int*, not fd_set* parms */
|
||||
|
|
|
@ -998,7 +998,7 @@ _DtCmdCommandInvokerExecute (
|
|||
if (commandPid == 0)
|
||||
{
|
||||
|
||||
#if defined(__hp_osf) || defined(__osf__) || defined(CSRG_BASED)
|
||||
#if defined(CSRG_BASED)
|
||||
setsid() ;
|
||||
#else
|
||||
(void) setpgrp ();
|
||||
|
|
|
@ -45,13 +45,9 @@
|
|||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#if defined(__hp_osf) || defined (__osf__)
|
||||
#include <sys/access.h>
|
||||
#else
|
||||
#if defined(__hpux)
|
||||
#include <sys/getaccess.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
|
|
@ -47,11 +47,7 @@
|
|||
* file, and therefore affects the Xsession.src, Xreset.src, and
|
||||
* Xstartup.src scripts in dtlogin/config.
|
||||
*/
|
||||
#ifdef __osf__
|
||||
# define _DTDTSMMTEMPDIR "/var/tmp"
|
||||
#else
|
||||
# define _DTDTSMMTEMPDIR "/tmp"
|
||||
#endif
|
||||
#define _DTDTSMMTEMPDIR "/tmp"
|
||||
|
||||
typedef int DtDtsMMSeqNo; /* the order it occures in db */
|
||||
typedef int DtDtsMMFieldCount; /* number of fields in record */
|
||||
|
|
|
@ -2199,7 +2199,7 @@ int _DtXlateGetXlateEnv(
|
|||
/* then look up version number of execution host */
|
||||
if (ret_AppExecEnvVersion)
|
||||
{
|
||||
#if defined(sun) || defined(_AIX) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(sun) || defined(_AIX) || defined(linux) || defined(CSRG_BASED)
|
||||
char version[SYS_NMLN+SYS_NMLN+2];
|
||||
#else
|
||||
char version[UTSLEN+UTSLEN+2];
|
||||
|
|
|
@ -110,22 +110,6 @@
|
|||
# define OSF_BUG
|
||||
#endif
|
||||
|
||||
#if defined(__osf__) && !defined(__osf)
|
||||
# define __osf
|
||||
# define __sysv
|
||||
# define OSF_BUG
|
||||
# define __char_ptr_yytext
|
||||
#endif
|
||||
|
||||
#if defined(osf) && !defined(__osf)
|
||||
# define __osf
|
||||
# define __sysv
|
||||
# define __osfs700
|
||||
# define OSF_BUG
|
||||
# define __hp_color_object
|
||||
# define __char_ptr_yytext
|
||||
#endif
|
||||
|
||||
#ifdef __hpux
|
||||
# define __sysv
|
||||
/* __hp9000s300 or __hp9000s800 is defined by HP-UX cpp */
|
||||
|
@ -223,10 +207,6 @@
|
|||
/* ----------------------------------------------------------------- */
|
||||
|
||||
#if defined(__need_timeval) /* Get "struct timeval" */
|
||||
# ifdef __osf
|
||||
# define _OSF_SOURCE
|
||||
# include <sys/time.h>
|
||||
# endif
|
||||
# ifdef __sun
|
||||
# include <sys/time.h>
|
||||
# endif
|
||||
|
@ -240,10 +220,6 @@
|
|||
|
||||
|
||||
#if defined(__need_fd_set) /* Get "typedef struct fd_set" */
|
||||
# ifdef __osf
|
||||
# define _OSF_SOURCE
|
||||
# include <sys/types.h>
|
||||
# endif
|
||||
# ifdef __apollo
|
||||
# define _INCLUDE_BSD_SOURCE
|
||||
# include "/bsd4.3/usr/include/sys/types.h"
|
||||
|
@ -255,9 +231,6 @@
|
|||
|
||||
|
||||
#if defined(__need_S_IF) /* Get S_IFNWK, S_IFLNK */
|
||||
# ifdef __osf
|
||||
# define _OSF_SOURCE
|
||||
# endif
|
||||
# ifdef __apollo
|
||||
# define _APOLLO_SOURCE
|
||||
# endif
|
||||
|
@ -271,9 +244,6 @@
|
|||
#endif
|
||||
|
||||
#if defined(__need_all_signals) /* Get all SIGxxx values */
|
||||
# ifdef __osf
|
||||
# define _OSF_SOURCE
|
||||
# endif
|
||||
# ifdef __apollo
|
||||
# define _APOLLO_SOURCE
|
||||
# include "/bsd4.3/usr/include/sys/types.h"
|
||||
|
@ -285,7 +255,7 @@
|
|||
/* about above. So, declare them only if we don't already have them */
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(_INCLUDE_BSD_SOURCE) || defined(_OSF_SOURCE) || defined(__aix) || defined(__osf__) || defined(linux)
|
||||
#if defined(_HPUX_SOURCE) || defined(__sun) || defined(_INCLUDE_BSD_SOURCE) || defined(__aix) || defined(linux)
|
||||
/* the "u_types" are defined in standard files */
|
||||
# undef _INCLUDE_BSD_SOURCE
|
||||
#else
|
||||
|
@ -299,14 +269,10 @@
|
|||
/* -------------------------------------------------------------------- */
|
||||
typedef char int8;
|
||||
typedef short int16;
|
||||
#ifndef __osf__
|
||||
typedef long int32;
|
||||
#endif
|
||||
typedef unsigned char u_int8;
|
||||
typedef unsigned short u_int16;
|
||||
#ifndef __osf__
|
||||
typedef unsigned long u_int32;
|
||||
#endif
|
||||
|
||||
#define __xechar_is_signed
|
||||
#undef __xechar_is_unsigned
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
#if !(defined(apollo) && defined(__bsd)) && !defined(CSRG_BASED)
|
||||
|
||||
#if defined(__STDC__)
|
||||
#if !defined(linux) && !defined(__osf__) && !defined(_XFUNCS_H_) && !defined(sun)
|
||||
#if !defined(linux) && !defined(_XFUNCS_H_) && !defined(sun)
|
||||
extern void bcopy(char *b1, char *b2, int length);
|
||||
extern int bcmp(char *b1, char *b2, int length);
|
||||
extern void bzero(char *b, int length);
|
||||
|
@ -70,7 +70,7 @@ extern void bzero(char *b, int length);
|
|||
|
||||
extern char *mktemp(char *tmplate);
|
||||
#elif ! defined(__cplusplus)
|
||||
#if !defined(linux) && !defined(__osf__) && !defined(_XFUNCS_H_)
|
||||
#if !defined(linux) && !defined(_XFUNCS_H_)
|
||||
extern void bcopy();
|
||||
extern int bcmp();
|
||||
extern void bzero();
|
||||
|
@ -224,12 +224,10 @@ extern size_t Xestrlen(ConstXeString s);
|
|||
#else
|
||||
extern size_t Xestrlen();
|
||||
#endif
|
||||
#ifndef __osf__
|
||||
# ifdef strlen
|
||||
#ifdef strlen
|
||||
# undef strlen
|
||||
# endif
|
||||
# define strlen Xestrlen
|
||||
#endif
|
||||
#define strlen Xestrlen
|
||||
|
||||
#if defined(__STDC__) || defined(__cplusplus)
|
||||
extern XeString Xestrdup(ConstXeString s);
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <generic.h>
|
||||
#endif
|
||||
#if defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
#define _DELETE_ARRAY(sz) delete[]
|
||||
#else
|
||||
#define _DELETE_ARRAY(sz) delete[(sz)]
|
||||
|
|
|
@ -48,9 +48,9 @@ typedef void (*privbuf_func)(void *v);
|
|||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
// The DEC C++ compiler rejects valid inline declarations, claiming
|
||||
// they have both internal and external linkage.
|
||||
#if defined(sun) || defined(linux) || defined(CSRG_BASED)
|
||||
// Rejects valid inline declarations, claiming they have both internal and
|
||||
// external linkage.
|
||||
#else
|
||||
inline static void *operator new(size_t size) { return malloc((unsigned)size); }
|
||||
inline static void operator delete(void *p) { if (p) free((char*)p); }
|
||||
|
|
|
@ -54,9 +54,7 @@ extern "C"
|
|||
{
|
||||
#endif
|
||||
#if defined(__cplusplus) || defined(__STDC__)
|
||||
#if !defined(__osf__) && !defined(sun)
|
||||
/* The DEC C++ compiler rejects this, claiming it has both */
|
||||
/* internal and external linkage. */
|
||||
#if !defined(sun)
|
||||
char *strnew(size_t len);
|
||||
void strfree(const char *s);
|
||||
#endif
|
||||
|
@ -75,13 +73,11 @@ extern "C"
|
|||
|
||||
#ifdef __cplusplus
|
||||
char *strtokx(char *&ptr, const char *sep);
|
||||
# if !defined(__osf__) && !defined(linux) && !defined(sun) && !defined(CSRG_BASED)
|
||||
# if !defined(linux) && !defined(sun) && !defined(CSRG_BASED)
|
||||
char **strsep(const char *str, const char *sep,
|
||||
boolean whsp = TRUE, int *num = NULL);
|
||||
# if !defined(__osf__)
|
||||
const char *strcmbn(const char **vec, const char *sep = " ");
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#else /* __STDC__ */
|
||||
char *strtokx(char **ptr, const char *sep);
|
||||
|
@ -89,9 +85,7 @@ extern "C"
|
|||
char **strsep(const char *str, const char *sep,
|
||||
boolean whsp, int *num);
|
||||
#endif
|
||||
#ifndef __osf__
|
||||
const char *strcmbn(const char **vec, const char *sep);
|
||||
#endif
|
||||
|
||||
#endif /* __STDC__ */
|
||||
|
||||
|
@ -125,7 +119,7 @@ extern size_t nl_strlen(); /* __OBSOLETE */
|
|||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
#if defined(apollo) || defined(__aix) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(apollo) || defined(__aix) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
|
@ -137,7 +131,7 @@ inline void strfree(const char *s)
|
|||
{ if (s != NULL) free((char *)s); }
|
||||
#else
|
||||
inline void strfree(const char *s)
|
||||
#if defined(__hpux) || defined(__osf__) || defined(CSRG_BASED)
|
||||
#if defined(__hpux) || defined(CSRG_BASED)
|
||||
{ if (s != NULL) free((void *)s); }
|
||||
#else
|
||||
{ if (s != NULL) free((void *)s); }
|
||||
|
|
|
@ -70,12 +70,7 @@
|
|||
#define F8_VT "\033[19~"
|
||||
#define F9_VT "\033[20~"
|
||||
#define F10_VT "\033[21~"
|
||||
#ifdef __osf__
|
||||
/* Temporary work around */
|
||||
#define F11_VT "\033"
|
||||
#else
|
||||
#define F11_VT "\033[23~"
|
||||
#endif /* __osf__ */
|
||||
#define F12_VT "\033[24~"
|
||||
#define F13_VT "\033[25~"
|
||||
#define F14_VT "\033[26~"
|
||||
|
|
|
@ -39,11 +39,6 @@ static char rcs_id[] = "$TOG: TermPrimPendingText.c /main/3 1997/07/03 15:40:05
|
|||
#include "TermPrimDebug.h"
|
||||
#include "TermPrimPendingTextP.h"
|
||||
|
||||
#ifdef __osf__
|
||||
#include <termios.h>
|
||||
#include <poll.h>
|
||||
#endif /* __osf__ */
|
||||
|
||||
static
|
||||
PendingTextChunk
|
||||
mallocChunk(int len);
|
||||
|
|
|
@ -85,11 +85,6 @@ static char rcs_id[] = "$TOG: TermPrimSetUtmp.c /main/10 1998/04/03 17:11:42 mgr
|
|||
#define UT_NO_pututline
|
||||
#endif /* __AIX */
|
||||
|
||||
#ifdef __osf__
|
||||
#define UT_HOST ut_host
|
||||
#define UT_NO_pututline
|
||||
#endif /* __osf__ */
|
||||
|
||||
|
||||
/* /etc/utmp include files... */
|
||||
#ifdef UT_UTMPX
|
||||
|
@ -386,10 +381,10 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
|
|||
}
|
||||
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
|
||||
#else /* __hpux */
|
||||
#if defined(__AIX) || defined(__osf__)
|
||||
#if defined(__AIX)
|
||||
(void) strncpy(utPtr->ut_id, utmpLine,
|
||||
sizeof(utPtr->ut_id));
|
||||
#else /* __AIX || __osf__ */
|
||||
#else /* __AIX */
|
||||
#if defined(linux) || defined(sun)
|
||||
if (c = strchr(utmpLine, '/')) {
|
||||
c++;
|
||||
|
@ -400,7 +395,7 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
|
|||
#else /* linux || sun */
|
||||
error out -- missing code for utPtr->ut_id
|
||||
#endif /* sun */
|
||||
#endif /* __AIX || __osf__ */
|
||||
#endif /* __AIX */
|
||||
#endif /* __hpux */
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__hpux) || defined(__osf__)
|
||||
#if defined(__hpux)
|
||||
# include <wchar.h>
|
||||
#elif defined(sun)
|
||||
# if (_XOPEN_VERSION==3)
|
||||
|
@ -771,14 +771,12 @@ static XtActionsRec EditorActionTable[] = {
|
|||
# define iswblank(wc) iswctype((wc),blnkclass)
|
||||
# undef getwc /* Use the libc function */
|
||||
#endif
|
||||
#if defined(__osf__) || defined(_AIX) /* __osf__ || _AIX */
|
||||
/* function prototype for wctype() was changed to meet spec1170 */
|
||||
/* digital compiler flagged warning */
|
||||
#if defined(_AIX) /* _AIX */
|
||||
/* IBM defines wctype to get_wctype above - don't use const. */
|
||||
static char *blankString = "space";
|
||||
#else /* __osf__ || _AIX */
|
||||
#else /* _AIX */
|
||||
static const char *blankString = "space";
|
||||
#endif /* __osf__ || _AIX */
|
||||
#endif /* _AIX */
|
||||
static wctype_t _DtEditor_blankClass;
|
||||
#else
|
||||
# define wctype_t int
|
||||
|
|
|
@ -44,13 +44,8 @@
|
|||
bool_t
|
||||
xdr_time_t(register XDR *xdrs, time_t *objp)
|
||||
{
|
||||
#ifdef __osf__
|
||||
if (!xdr_int(xdrs, objp))
|
||||
return (FALSE);
|
||||
#else
|
||||
if (!xdr_long(xdrs, objp))
|
||||
return (FALSE);
|
||||
#endif
|
||||
return (TRUE);
|
||||
}
|
||||
|
||||
|
|
|
@ -80,17 +80,10 @@ static void delete_client_info(_DtCm_Client_Info *oldci);
|
|||
static void cleanup_some_connection(_DtCm_Client_Info *dontclose);
|
||||
static void check_registration(_DtCm_Connection *conn);
|
||||
static _DtCm_Client_Info * get_new_client_handle(_DtCm_Connection *conn);
|
||||
#ifdef __osf__
|
||||
static CSA_return_code get_client_handle(const char *host, const u_int prognum,
|
||||
u_long *vers_outp, const u_long vers_low,
|
||||
const u_long vers_high, char *nettype,
|
||||
CLIENT **clnt);
|
||||
#else
|
||||
static CSA_return_code get_client_handle(const char *host, const u_long prognum,
|
||||
u_long *vers_outp, const u_long vers_low,
|
||||
const u_long vers_high, char *nettype,
|
||||
CLIENT **clnt);
|
||||
#endif
|
||||
static CSA_return_code regstat4_to_dtcmstatus(Registration_Status_4 stat4);
|
||||
|
||||
extern CSA_return_code
|
||||
|
@ -824,11 +817,7 @@ get_new_client_handle(_DtCm_Connection *conn)
|
|||
static CSA_return_code
|
||||
get_client_handle(
|
||||
const char *host,
|
||||
#ifdef __osf__
|
||||
const u_int prognum,
|
||||
#else
|
||||
const u_long prognum,
|
||||
#endif
|
||||
u_long *vers_outp,
|
||||
const u_long vers_low,
|
||||
const u_long vers_high,
|
||||
|
@ -854,23 +843,12 @@ get_client_handle(
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __osf__
|
||||
/*
|
||||
* A longer timeout value may be necessay - for example if
|
||||
* the system is bogged down and/or rpc.cmsd is not running.
|
||||
*
|
||||
* The value below is the same value used when a ToolTalk app connects
|
||||
* to the ToolTalk database server (lib/tt/lib/db/tt_db_client.C).
|
||||
*/
|
||||
tv.tv_sec = 4;
|
||||
#else
|
||||
tv.tv_sec = 1;
|
||||
#endif
|
||||
tv.tv_usec = 0;
|
||||
|
||||
*clnt = NULL;
|
||||
for (vers = vers_high; vers >= vers_low; vers--) {
|
||||
#if defined(__osf__) || defined(__hpux)
|
||||
#if defined(__hpux)
|
||||
if ((cl = clnt_create((char *)host, prognum, vers, nettype)) != NULL) {
|
||||
#else
|
||||
|
||||
|
@ -884,13 +862,6 @@ get_client_handle(
|
|||
if (status == RPC_SUCCESS) {
|
||||
*vers_outp = vers;
|
||||
*clnt = cl;
|
||||
#ifdef __osf__
|
||||
/*
|
||||
* Set the timeout back to the original.
|
||||
*/
|
||||
tv.tv_sec = 1;
|
||||
clnt_control(cl, CLSET_TIMEOUT, (char *)&tv);
|
||||
#endif
|
||||
return (CSA_SUCCESS);
|
||||
} else if (status != RPC_PROGVERSMISMATCH) {
|
||||
return (_DtCm_clntstat_to_csastat(status));
|
||||
|
|
|
@ -136,11 +136,7 @@ _csa_iso8601_to_tick(char *buf, time_t *tick_out)
|
|||
orig_tzset = B_TRUE;
|
||||
}
|
||||
|
||||
#ifdef __osf__
|
||||
set_timezone("GMT0");
|
||||
#else
|
||||
set_timezone("GMT");
|
||||
#endif
|
||||
|
||||
*tick_out = mktime(&time_str);
|
||||
|
||||
|
@ -186,11 +182,7 @@ _csa_tick_to_iso8601(time_t tick, char *buf_out)
|
|||
orig_tzset = B_TRUE;
|
||||
}
|
||||
|
||||
#ifdef __osf__
|
||||
set_timezone("GMT0");
|
||||
#else
|
||||
set_timezone("GMT");
|
||||
#endif
|
||||
|
||||
time_str = localtime(&tk);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "tt_options.h"
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(sun)
|
||||
|
|
|
@ -34,11 +34,7 @@
|
|||
|
||||
#include "tt_options.h"
|
||||
#include <string.h>
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#if defined(OPT_BUG_SUNOS_4)
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "tt_options.h"
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(sun)
|
||||
|
|
|
@ -214,7 +214,7 @@ main(int argc, char** argv, char **envp)
|
|||
void install_signal_handler();
|
||||
SVCXPRT *transp;
|
||||
struct sockaddr_in saddr;
|
||||
#if defined(DEC) || defined(HPUX)
|
||||
#if defined(HPUX)
|
||||
int asize = sizeof(saddr);
|
||||
#else
|
||||
# if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
|
@ -484,11 +484,11 @@ main(int argc, char** argv, char **envp)
|
|||
if (!_tt_debug_mode) {
|
||||
if (0!=fork()) exit(0);
|
||||
|
||||
#if defined(__osf__) || defined(CSRG_BASED)
|
||||
#if defined(CSRG_BASED)
|
||||
setsid();
|
||||
#else
|
||||
setpgrp();
|
||||
#endif // __osf__
|
||||
#endif //CSRG_BASED
|
||||
|
||||
close(0); close(1); close(2);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(__osf__) || defined(linux) || defined(sun) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(sun) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(sun)
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <osfcn.h>
|
||||
#endif /* __osf__ */
|
||||
#endif
|
||||
#include "api/c/tt_c.h"
|
||||
#include "util/tt_iostream.h"
|
||||
#include "tttar_utils.h"
|
||||
|
|
|
@ -242,19 +242,6 @@ printf("DEBUG _tt_host_netfile_file: resolving locally.\n");
|
|||
return _tt_netfile_file(netfilename);
|
||||
}
|
||||
|
||||
#ifdef __osf__
|
||||
// hostname and localhost were not the same, so make one more check
|
||||
// of the environment variable created by /usr/dt/bin/Xsession. If
|
||||
// we have started the system without a network configured, this will
|
||||
// be true during an initial system installation.
|
||||
|
||||
if (getenv("DTNONETWORK")) {
|
||||
// strdup already done in _tt_netfile_file()
|
||||
return _tt_file_netfile(netfilename);
|
||||
}
|
||||
|
||||
#endif /* __osf__ */
|
||||
|
||||
_Tt_string path(netfilename);
|
||||
_Tt_string file;
|
||||
|
||||
|
|
|
@ -380,17 +380,6 @@ xdr_Tt_oidaccess_args(XDR *xdrs, _Tt_oidaccess_args *objp)
|
|||
bool_t
|
||||
xdr_Tt_oidaccess_results(XDR *xdrs, _Tt_oidaccess_results *objp)
|
||||
{
|
||||
#ifdef __osf__
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->uid)) {
|
||||
return (FALSE);
|
||||
}
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->group)) {
|
||||
return (FALSE);
|
||||
}
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->mode)) {
|
||||
return (FALSE);
|
||||
}
|
||||
#else
|
||||
if (!xdr_long(xdrs, (long *)&objp->uid)) {
|
||||
return (FALSE);
|
||||
}
|
||||
|
@ -400,7 +389,6 @@ xdr_Tt_oidaccess_results(XDR *xdrs, _Tt_oidaccess_results *objp)
|
|||
if (!xdr_short(xdrs, (short *)&objp->mode)) {
|
||||
return (FALSE);
|
||||
}
|
||||
#endif
|
||||
if (!xdr_int(xdrs, &objp->result)) {
|
||||
return (FALSE);
|
||||
}
|
||||
|
@ -515,25 +503,13 @@ xdr_tt_property(XDR *xdrs, _tt_property *objp)
|
|||
bool_t
|
||||
xdr_tt_access(XDR *xdrs, _tt_access *objp)
|
||||
{
|
||||
#ifdef __osf__
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->user)) {
|
||||
#else
|
||||
if (!xdr_long(xdrs, (long *)&objp->user)) {
|
||||
#endif /* __osf__ */
|
||||
return (FALSE);
|
||||
}
|
||||
#ifdef __osf__
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->group)) {
|
||||
#else
|
||||
if (!xdr_long(xdrs, (long *)&objp->group)) {
|
||||
#endif /* __osf__ */
|
||||
return (FALSE);
|
||||
}
|
||||
#ifdef __osf__
|
||||
if (!xdr_u_int(xdrs, (u_int *)&objp->mode)) {
|
||||
#else
|
||||
if (!xdr_u_long(xdrs, (unsigned long *)&objp->mode)) {
|
||||
#endif /* __osf__ */
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include "db/tt_db_hostname_global_map_ref.h"
|
||||
#include "db/tt_db_access_utils.h"
|
||||
#include "db/tt_db_property_utils.h"
|
||||
#if defined(OPT_BUG_HPUX) || defined(OPT_BUG_AIX) || defined(__osf__)
|
||||
#if defined(OPT_BUG_HPUX) || defined(OPT_BUG_AIX)
|
||||
# undef copy
|
||||
#endif
|
||||
|
||||
|
|
|
@ -46,16 +46,9 @@
|
|||
struct _Tt_key_data {
|
||||
unsigned short version;
|
||||
unsigned short padding;
|
||||
#ifdef __osf__
|
||||
/* These fields need to be: <host id:4> <time sec:4> <counter:4> */
|
||||
unsigned int hostid;
|
||||
unsigned int time_sec;
|
||||
unsigned int counter;
|
||||
#else
|
||||
unsigned long hostid;
|
||||
unsigned long time_sec;
|
||||
unsigned long counter;
|
||||
#endif /* __osf__ */
|
||||
};
|
||||
|
||||
const int TT_DB_KEY_LENGTH = sizeof(_Tt_key_data);
|
||||
|
|
|
@ -667,11 +667,7 @@ privateC++ _Tt_trace::operator<<(int) const
|
|||
privateC++ _Tt_trace::print(void (*)(const _Tt_ostream&,const _Tt_object*),const _Tt_object*) const
|
||||
privateC++ _Tt_xdr_size_stream::_Tt_xdr_size_stream(void)
|
||||
privateC++ _Tt_xdr_size_stream::operator XDR*(void)
|
||||
#ifdef __osf__
|
||||
privateC++ _tt_base64_encode(unsigned int)
|
||||
#else /* __osf__ */
|
||||
privateC++ _tt_base64_encode(unsigned long)
|
||||
#endif /* __osf__ */
|
||||
privateC++ _tt_catgets(int,int,const char*)
|
||||
privateC++ _tt_db_create_objid(const _Tt_db_key_ptr&,const _Tt_string&,const _Tt_string&,const _Tt_string&)
|
||||
privateC++ _tt_dir_entries(const _Tt_string&,int)
|
||||
|
@ -2561,7 +2557,7 @@ internal __page_size_K
|
|||
internal _mutex_global_np
|
||||
#endif
|
||||
|
||||
#if defined(_AIX) || defined(__osf__)
|
||||
#if defined(_AIX)
|
||||
/* Symbols from realpath.c */
|
||||
internal _tt_internal_realpath
|
||||
#endif
|
||||
|
|
|
@ -149,7 +149,7 @@ c_open_unix_socket(char *socket_name)
|
|||
memset(&server_addr, 0, sizeof(server_addr));
|
||||
server_addr.sun_family = AF_UNIX;
|
||||
strcpy(server_addr.sun_path, socket_name);
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux) || defined(__osf__)
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux)
|
||||
int servlen = strlen(server_addr.sun_path) + sizeof(server_addr.sun_fam\
|
||||
ily);
|
||||
if (connect(sock, (sockaddr *)&server_addr, servlen) < 0) {
|
||||
|
|
|
@ -408,34 +408,6 @@
|
|||
# undef OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# define OPT_BUG_RPCINTR
|
||||
|
||||
#elif defined(__osf__)
|
||||
# define OPT_UNIX_SOCKET_RPC
|
||||
# undef OPT_TLI
|
||||
# undef OPT_DLOPEN_X11
|
||||
# undef OPT_DLOPEN_CE
|
||||
# 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_PATCH
|
||||
# undef OPT_I18N
|
||||
# define OPT_CATGETS
|
||||
# undef OPT_GETDTABLESIZE
|
||||
# undef OPT_SYSINFO
|
||||
# define OPT_CPP_PATH "/usr/ccs/lib/cpp"
|
||||
# define OPT_CPP_OPTIONS ""
|
||||
# define OPT_STRERROR
|
||||
# undef OPT_SVR4_GETMNTENT
|
||||
# define OPT_LOCAL_MOUNT_TYPE MNTTYPE_UFS
|
||||
# define OPT_DEFINE_SIG_PF
|
||||
# undef OPT_TAR_HAS_EXCLUDE_OPTION
|
||||
# undef OPT_HAS_REALPATH
|
||||
# if defined(OSMAJORVERSION) && (OSMAJORVERSION >= 4)
|
||||
# define OPT_XDR_LONG_TYPE int
|
||||
# endif
|
||||
|
||||
#elif defined(linux)
|
||||
|
||||
# undef OPT_UNIX_SOCKET_RPC
|
||||
|
|
|
@ -75,19 +75,6 @@ static const char base64_values[256] = {
|
|||
64, 64, 64, 64, 64, 64, 64, 64,
|
||||
64, 64, 64, 64, 64, 64, 64, 64};
|
||||
|
||||
#ifdef __osf__
|
||||
/*
|
||||
* _tt_base64_encode(i) -- convert number to base-64 character string
|
||||
*
|
||||
* Purpose: Convert an int value (typically a time) to a "base-64"
|
||||
* representation. Return a _Tt_string containing
|
||||
* the representation, not including any leading zeroes.
|
||||
*/
|
||||
_Tt_string
|
||||
_tt_base64_encode(unsigned int i)
|
||||
{
|
||||
int maxlen = (sizeof(int)*8+5)/6;
|
||||
#else /* __osf__ */
|
||||
/*
|
||||
* _tt_base64_encode(i) -- convert number to base-64 character string
|
||||
*
|
||||
|
@ -99,7 +86,6 @@ _Tt_string
|
|||
_tt_base64_encode(unsigned long i)
|
||||
{
|
||||
int maxlen = (sizeof(long)*8+5)/6;
|
||||
#endif /* __osf__ */
|
||||
|
||||
_Tt_string retval(maxlen);
|
||||
int c = maxlen-1;
|
||||
|
@ -116,19 +102,6 @@ _tt_base64_encode(unsigned long i)
|
|||
return retval;
|
||||
}
|
||||
|
||||
#ifdef __osf__
|
||||
/*
|
||||
* _tt_base64_decode(i) -- convert base-64 character string to number
|
||||
*
|
||||
* Purpose: Convert a string in a "base-64"
|
||||
* representation to an unsigned int.
|
||||
*/
|
||||
unsigned int
|
||||
_tt_base64_decode(const char *s)
|
||||
{
|
||||
int c,v;
|
||||
unsigned int r;
|
||||
#else /* __osf__ */
|
||||
/*
|
||||
* _tt_base64_decode(i) -- convert base-64 character string to number
|
||||
*
|
||||
|
@ -140,7 +113,6 @@ _tt_base64_decode(const char *s)
|
|||
{
|
||||
int c,v;
|
||||
unsigned long r;
|
||||
#endif /* __osf__ */
|
||||
|
||||
r = 0;
|
||||
while (c = *s++) {
|
||||
|
|
|
@ -40,13 +40,8 @@
|
|||
|
||||
#include "util/tt_string.h"
|
||||
|
||||
#ifdef __osf__
|
||||
unsigned int _tt_base64_decode(const char *s);
|
||||
_Tt_string _tt_base64_encode(unsigned int n);
|
||||
#else /* __osf__ */
|
||||
unsigned long _tt_base64_decode(const char *s);
|
||||
_Tt_string _tt_base64_encode(unsigned long n);
|
||||
#endif /* __osf__ */
|
||||
|
||||
#endif /* _TT_BASE64_H */
|
||||
|
||||
|
|
|
@ -449,7 +449,7 @@ _Tt_string _tt_entrypt_to_string(_Tt_entry_pt fun)
|
|||
return "tt_feature_enabled";
|
||||
case TT_FEATURE_REQUIRED :
|
||||
return "tt_feature_required";
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(linux)
|
||||
case TT_API_CALL_LAST: return (char *) NULL;
|
||||
#elif defined(OPT_CONST_CORRECT)
|
||||
case TT_API_CALL_LAST: return (const char *) NULL;
|
||||
|
|
|
@ -83,15 +83,13 @@
|
|||
# define ttFsName(e) vmt2dataptr(e,VMT_OBJECT)
|
||||
# define ttMountPt(e) vmt2dataptr(e,VMT_STUB)
|
||||
# define ttCloseMntTbl(f) free(tmpbuf)
|
||||
#elif defined(__osf__) || defined(CSRG_BASED)
|
||||
#elif defined(CSRG_BASED)
|
||||
# include <sys/types.h>
|
||||
# include <sys/mount.h>
|
||||
|
||||
|
||||
#if defined(HAS_STATVFS)
|
||||
extern "C" int getfsstat(struct statvfs *, long, int);
|
||||
#elif defined(__osf__)
|
||||
extern "C" int getfsstat(struct statfs *, long, int);
|
||||
# endif
|
||||
|
||||
# define MNTTYPE_NFS "nfs"
|
||||
|
@ -104,15 +102,7 @@
|
|||
# define TtMntEntry struct statfs *
|
||||
# endif
|
||||
|
||||
# ifdef __osf__
|
||||
# define ttFsType(e) \
|
||||
(((e)->f_type == MOUNT_UFS) ? "ufs" \
|
||||
: (((e)->f_type == MOUNT_NFS3) ? "nfs" \
|
||||
: (((e)->f_type == MOUNT_NFS) ? "nfs" \
|
||||
: (((e)->f_type == MOUNT_CDFS) ? "cdfs" \
|
||||
: (((e)->f_type == MOUNT_PROCFS) ? "procfs" \
|
||||
: "unknown")))))
|
||||
# elif defined(CSRG_BASED)
|
||||
# if defined(CSRG_BASED)
|
||||
# define ttFsType(e) (e->f_fstypename)
|
||||
# endif
|
||||
# define ttFsName(e) ((char *)((e)->f_mntfromname))
|
||||
|
@ -510,7 +500,7 @@ updateFileSystemEntries ()
|
|||
}
|
||||
entry = &buf[i];
|
||||
|
||||
#elif defined(__osf__) || defined(CSRG_BASED)
|
||||
#elif defined(CSRG_BASED)
|
||||
int numfs,i;
|
||||
struct statfs *buf;
|
||||
long bufsize;
|
||||
|
@ -549,7 +539,7 @@ updateFileSystemEntries ()
|
|||
#else
|
||||
while (entry = getmntent(mount_table))
|
||||
#endif
|
||||
#if !defined(__osf__) && !defined(CSRG_BASED)
|
||||
#if !defined(CSRG_BASED)
|
||||
{
|
||||
#endif
|
||||
fse = createFileSystemEntry( entry );
|
||||
|
|
|
@ -45,13 +45,9 @@ extern "C" in_addr_t inet_addr(const char *);
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <string.h>
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf */
|
||||
|
||||
#define X_INCLUDE_NETDB_H
|
||||
#define XOS_USE_XT_LOCKING
|
||||
|
@ -162,14 +158,8 @@ init_byaddr(_Tt_string addr)
|
|||
int _Tt_host::
|
||||
init_bystringaddr(_Tt_string addr)
|
||||
{
|
||||
|
||||
#ifdef __osf__
|
||||
unsigned int *ip_address;
|
||||
unsigned int ip_address_buf;
|
||||
#else
|
||||
unsigned long *ip_address;
|
||||
unsigned long ip_address_buf;
|
||||
#endif
|
||||
struct hostent *addr_ret;
|
||||
_Xgethostbynameparams addr_buf;
|
||||
|
||||
|
|
|
@ -225,9 +225,8 @@ _Tt_ostream::operator <<(
|
|||
return *this;
|
||||
}
|
||||
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
/* This operator is being added to take care of uid_t and gid_t
|
||||
* for osf */
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
// This operator is being added to take care of uid_t and gid_t
|
||||
const _Tt_ostream &
|
||||
_Tt_ostream::operator <<(
|
||||
unsigned int n
|
||||
|
|
|
@ -86,7 +86,7 @@ class _Tt_ostream : public virtual _Tt_allocated {
|
|||
const _Tt_ostream &operator <<(
|
||||
int n
|
||||
) const;
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
const _Tt_ostream &operator <<(
|
||||
unsigned int n
|
||||
) const;
|
||||
|
|
|
@ -34,13 +34,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef __osf__
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
|
||||
#include <osfcn.h>
|
||||
#endif
|
||||
#endif /* __osf__ */
|
||||
|
||||
#define X_INCLUDE_TIME_H
|
||||
#define XOS_USE_XT_LOCKING
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <rpc/rpc.h>
|
||||
#include <util/tt_ptr.h>
|
||||
#include <util/tt_object.h>
|
||||
#if defined(OPT_BUG_HPUX) || defined(OPT_BUG_AIX) || defined(__osf__)
|
||||
#if defined(OPT_BUG_HPUX) || defined(OPT_BUG_AIX)
|
||||
# undef remove
|
||||
#endif
|
||||
|
||||
|
|
|
@ -122,15 +122,6 @@ _tt_gethostname()
|
|||
}
|
||||
#endif /* OPT_GETHOSTNAME */
|
||||
|
||||
#ifdef __osf__
|
||||
// An environment variable will be created by /usr/dt/bin/Xsession if
|
||||
// we have started the system without a network configured. This will
|
||||
// be true during an initial system installation.
|
||||
|
||||
if (getenv("DTNONETWORK"))
|
||||
result = default_hostname;
|
||||
#endif
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -209,11 +200,11 @@ _tt_gethostid(void)
|
|||
sscanf(serial_num, "%12lx", &_hostid);
|
||||
}
|
||||
}
|
||||
#elif defined(hpux) || defined(_AIX) || defined(__osf__)
|
||||
#elif defined(hpux) || defined(_AIX)
|
||||
struct utsname uts_name;
|
||||
|
||||
uname(&uts_name);
|
||||
# if defined(_AIX) || defined(__osf__)
|
||||
# if defined(_AIX)
|
||||
_hostid = atol(uts_name.machine);
|
||||
# else
|
||||
_hostid = atol(uts_name.idnumber);
|
||||
|
@ -374,7 +365,7 @@ _tt_vsyslog(
|
|||
return;
|
||||
}
|
||||
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX) || defined(__osf__)
|
||||
#if defined(OPT_BUG_AIX) || defined(OPT_BUG_HPUX)
|
||||
char buf[5000];
|
||||
vsprintf( buf, _format, args );
|
||||
syslog( priority, buf );
|
||||
|
|
|
@ -53,8 +53,6 @@ extern "C" {
|
|||
#include <wctype.h>
|
||||
#elif defined(OPT_BUG_AIX)
|
||||
#include <string.h>
|
||||
#elif defined(__osf__)
|
||||
#include <wchar.h>
|
||||
#endif
|
||||
|
||||
#include <rpc/rpc.h>
|
||||
|
|
|
@ -41,8 +41,7 @@
|
|||
#include "util/tt_trace_parser.h"
|
||||
#include "util/tt_entry_pt_names.h"
|
||||
|
||||
#if defined (_AIX) || defined(hpux) || defined(__osf__) || defined(linux) || \
|
||||
defined(CSRG_BASED)
|
||||
#if defined (_AIX) || defined(hpux) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ tt_x_putbytes(XDR *xp, caddr_t, int len)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#if defined(ultrix) || defined(__osf__)
|
||||
#if defined(ultrix)
|
||||
static int*
|
||||
#elif defined(CSRG_BASED)
|
||||
static int32_t*
|
||||
|
@ -104,7 +104,7 @@ tt_x_inline(XDR *xp, int len)
|
|||
*/
|
||||
if (len > 0 && (caddr_t) (intptr_t) len < xp->x_base) {
|
||||
xp->x_handy += RNDUP (len);
|
||||
#if defined(ultrix) || defined(__osf__)
|
||||
#if defined(ultrix)
|
||||
return (int *) xp->x_private;
|
||||
#elif defined(CSRG_BASED)
|
||||
return (int32_t *) xp->x_private;
|
||||
|
|
|
@ -115,7 +115,7 @@ s_open_unix_socket(char *socket_name)
|
|||
server_addr.sun_family = AF_UNIX;
|
||||
(void)unlink(socket_name);
|
||||
strcpy(server_addr.sun_path, socket_name);
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux) || defined(__osf__)
|
||||
#if defined(ultrix) || defined(_AIX) || defined(hpux)
|
||||
int servlen = strlen(server_addr.sun_path) + sizeof(server_addr.sun_fam\
|
||||
ily);
|
||||
if (bind(sock, (struct sockaddr *)&server_addr,servlen) < 0) {
|
||||
|
|
|
@ -403,7 +403,7 @@ SetGidUid ( unsigned short rgid, unsigned short ruid )
|
|||
/* fix process gid */
|
||||
#if defined(SVR4) || defined(_AIX)
|
||||
setgid(rgid);
|
||||
#elif defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#elif defined(linux) || defined(CSRG_BASED)
|
||||
if(-1 == setregid(rgid, rgid)) {
|
||||
fprintf(stderr, "SetGidUid: setregid failed on %d\n", rgid);
|
||||
}
|
||||
|
@ -416,7 +416,7 @@ SetGidUid ( unsigned short rgid, unsigned short ruid )
|
|||
/* fix process uid */
|
||||
#if defined (SVR4) || defined (_AIX)
|
||||
setuid(ruid);
|
||||
#elif defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#elif defined(linux) || defined(CSRG_BASED)
|
||||
if(-1 == setreuid(ruid, ruid)) {
|
||||
fprintf(stderr, "SetGidUid: setreuid failed on %d\n", ruid);
|
||||
}
|
||||
|
|
|
@ -178,7 +178,6 @@ AB_MAKEFILES = \
|
|||
Makefile.aix \
|
||||
Makefile.hpux \
|
||||
Makefile.sunos \
|
||||
Makefile.osf1 \
|
||||
Makefile.linux \
|
||||
Makefile.freebsd \
|
||||
Makefile.netbsd \
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue