2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* @(#)$XConsortium: ximspath.h /main/3 1996/05/07 14:03:38 drk $ */
28 #include <sys/param.h>
31 #define MAXPATHLEN 1024
37 #define DTIMS_PROGNAME "dtimsstart"
38 #define DTIMS_CLASS "Dtimsstart"
40 /* atom for properties */
41 #define DTIMS_ATOM_MAIN "_DTIMSSTART_MAIN"
42 #define DTIMS_ATOM_STATUS "_DTIMSSTART_STATUS"
43 #define DTIMS_ATOM_DATA "_DTIMSSTART_DATA"
46 #define ENV_DTIMS_STARTCONF "DTIMS_STARTCONF"
47 #define ENV_NO_DTIMSSTART "NODTIMSSTART"
48 #define ENV_XFILESEARCHPATH "XFILESEARCHPATH"
49 #define ENV_XFILESEARCHPATH_STRING \
50 "/etc/dt/app-defaults/%L/%N:/etc/dt/app-defaults/C/%N:/usr/dt/app-defaults/%L/%N:/usr/dt/app-defaults/C/%N"
51 #define ENV_NLSPATH "NLSPATH"
52 #define ENV_NLSPATH_STRING \
53 "/usr/dt/lib/nls/msg/%L/%N.cat:/usr/dt/lib/nls/msg/C/%N.cat"
56 #define DTIMS_CONFDIR "/usr/dt/config/ims"
57 #define DTIMS_APPDIR "/usr/dt/app-defaults"
58 #define DTIMS_CONFFILE "start.conf"
60 /* path of executable (used for remote execution) */
61 #define DTIMS_CMDPATH "/usr/dt/bin/dtimsstart"
64 #define DTIMS_IMSDIR "ims" /* [%b] */
65 #define DTIMS_LOGDIR "/var/dt" /* [%G] */
66 #define DTIMS_LOGFILE "imslog" /* [%g] */
69 #define DTIMS_USRIMSDIR "%U/ims" /* [%S] $HOME/.dt/ims/ */
70 #define DTIMS_USRTMPDIR "%U/tmp" /* [%T] $HOME/.dt/tmp/ */
71 #define DTIMS_USRALTDIR "/var/tmp" /* [%A] */
72 #define DEFAULT_LOGPATH "%S/%g" /* $HOME/.dt/ims/imslog */
73 #define ALT_LOGPATH "%A/%g.%u" /* /var/tmp/imslog.$USER */
74 #define MAX_LOGSIZE (20 * 1024) /* 20 KB */
77 #define NAME_ACT_GETREMCONF "DtImsGetRemoteConf"
78 #define NAME_ACT_RUNREMIMS "DtImsRunRemoteIms"
83 #define ENV_XMODIFIERS "XMODIFIERS"
84 #define ENV_DISPLAY "DISPLAY"
85 #define ENV_LANG "LANG"
86 #define ENV_MOD_IM "@im="
88 /* format of XMODFIERS=@im */
89 #define IM_XMOD_XIM "%n"
90 #define IM_XMOD_XIMP "_XIMP_%L#%n.%s"
91 #define IM_XMOD_XSI "_XIM_INPUTMETHOD"
92 /* protocol atom name */
93 #define IM_ATOM_XIM "@server=%N"
94 #define IM_ATOM_XIMP "_XIMP_%L@%n.%s"
95 #define IM_ATOM_XSI "_XIM_INPUTMETHOD"
99 #define SH_PATH "/usr/bin/sh"
100 #define CAT_PATH "/usr/bin/cat"
101 #define XRDB_PATH "/usr/bin/X11/xrdb"
102 #define DTSESSION_RES_PATH "/usr/dt/bin/dtsession_res"
106 #define VUE_CONFDIR "/etc/vue/config"
107 #define VUE_USERDIR "%H/.vue"
108 # endif /* old_hpux */
111 #define DT_CONFDIR "/usr/dt/config"
112 #define DT_USERDIR "%H/.dt"
114 #endif /* _XIMSPATH_H_ */