Merge branch 'linux1'
[oweals/cde.git] / cde / programs / dtlogin / config / Xsetup.src
1 XCOMM!/bin/ksh
2 XCOMM $XConsortium: Xsetup.src /main/8 1996/07/02 11:40:32 mgreess $
3 XCOMM ##########################################################################
4 XCOMM
5 XCOMM  Common Desktop Environment
6 XCOMM
7 XCOMM  (c) Copyright 1993, 1994 Hewlett-Packard Company
8 XCOMM  (c) Copyright 1993, 1994 International Business Machines Corp.
9 XCOMM  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
10 XCOMM  (c) Copyright 1993, 1994 Novell, Inc.
11 XCOMM
12 XCOMM      ************** DO NOT EDIT THIS FILE **************
13 XCOMM
14 XCOMM  CDE_INSTALLATION_TOP/config/Xsetup is a factory-default file and will
15 XCOMM  be unconditionally overwritten upon subsequent installation.
16 XCOMM  Before making changes to the file, copy it to the configuration 
17 XCOMM  directory, CDE_CONFIGURATION_TOP/config. You must also update the setup
18 XCOMM  resource in CDE_CONFIGURATION_TOP/config/Xconfig.
19 XCOMM
20 XCOMM ##########################################################################
21 #if defined (_AIX)
22 XCOMM
23 XCOMM List of displays and keyboard languages
24 XCOMM
25 XCOMM This list is used to determine the keyboard language mapping for a
26 XCOMM particular X station. Each item in the list is a display name
27 XCOMM followed by a locale name to use for that display's keyboard
28 XCOMM language mapping. To add a new mapping, simply add a new item to
29 XCOMM the list. For example, if you have displays named chili:0, carp:0
30 XCOMM and pecos:0 with japanese, french and german keyboards, respectively,
31 XCOMM your KBD_MAP list would be:
32 XCOMM
33 XCOMM KBD_MAP[0]="chili:0     Ja_JP"
34 XCOMM KBD_MAP[1]="carp:0      Fr_FR"
35 XCOMM KBD_MAP[2]="pecos:0     Gr_GR"
36 XCOMM
37 XCOMM
38 KBD_MAP[0]=""
39
40 #endif
41 XCOMM ##########################################################################
42 XCOMM 
43 XCOMM Directory specifications
44 XCOMM 
45 XCOMM ##########################################################################
46
47 #if defined (_AIX) && defined (AIXV4)
48 XCOMM
49 XCOMM Wait for boot sequence to end (if booting)
50 XCOMM
51 if [ "$LOCATION" != "remote" ]; then
52   /usr/sbin/rc.bootx
53 fi
54 #endif
55
56
57 #ifdef sun
58   XDIR=/usr/openwin/bin
59 #elif defined(CSRG_BASED) || defined(linux)
60   XDIR=/usr/bin
61 #else
62   XDIR=/usr/bin/X11
63 #endif
64
65 #define cpp_Xsetup
66 #include "_common.ksh.src"
67 #undef cpp_Xsetup
68
69 #ifdef sun
70   if [ ! -f /etc/pam.conf ]; then
71     if [ -f /usr/dt/config/sys.pam.conf ]; then
72       /bin/cp /usr/dt/config/sys.pam.conf /etc/pam.conf
73       /bin/chmod 644 /etc/pam.conf
74     fi
75   fi
76 #endif