1 /* $TOG: vgmsg.h /main/5 1998/03/04 19:29:00 mgreess $ */
3 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
4 * (c) Copyright 1993, 1994 International Business Machines Corp. *
5 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
6 * (c) Copyright 1993, 1994 Novell, Inc. *
8 /************************************<+>*************************************
9 ****************************************************************************
13 ** Project: HP Visual User Environment (DT)
15 ** Description: Header file for Dtgreet application.
17 ** _DtMessage catalog string numbers and default strings
18 ** are specified here. The default strings should match
19 ** the strings in the "C" message catalog.
22 ** (c) Copyright 1987, 1988, 1989 by Hewlett-Packard Company
26 ****************************************************************************
27 ************************************<+>*************************************/
33 /****************************************************************************
37 ****************************************************************************/
39 #ifndef CDE_INSTALLATION_TOP
40 #define CDE_INSTALLATION_TOP "/opt/dt"
44 #define FBCONSOLE "/usr/openwin/bin/fbconsole"
45 #define OWPATH_ENV "OPENWINHOME=/usr/openwin"
49 * message catalog id numbers...
51 #define MC_LABEL_SET 1
52 #define MC_LOGIN_LABEL 1
53 #define MC_PASSWD_LABEL 2
55 #define MC_CLEAR_LABEL 4
56 #define MC_OPTIONS_LABEL 5
57 #define MC_HELP_LABEL 6
60 #define MC_COPY_LABEL 9
61 /* #define MC_FS_LABEL 10 */
62 #define MC_LANG_LABEL 11
63 #define MC_START_LABEL 12
64 #define MC_CANCEL_LABEL 13
65 #define MC_HELP_LABEL_2 14
66 #define MC_DTLITE_LABEL 15
67 #define MC_GREET_LABEL 16
68 #define MC_DT_LABEL 17
69 #define MC_SUS1_LABEL 18
70 #define MC_SUS2_LABEL 19
71 #define MC_SUS3_LABEL 20
72 #define MC_RES_LABEL 21
73 #define MC_START_LBLDPY 22
74 #define MC_WAIT_LABEL 23
76 #define MC_SES_LABEL 25
77 #define MC_PERS_GREET_LABEL 26
78 #define MC_FS_LABEL 27
81 * Sun specific message catalog id numbers in MC_LABEL_SET messages.
82 * (Starting at a random uneven higher number to allow some room
83 * for some shared sample source message additions.
85 #define MC_USER_DT_LABEL 73
86 #define MC_TO_LABEL 74
89 #define MC_ERROR_SET 2
92 #define MC_MAX_USERS 3
93 #define MC_PASSWD_EXPIRED 4
97 #define MC_BAD_AFLAG 8
99 #define MC_BAD_ROOT 10
100 #define MC_LOG_REBUILD 11
101 #define MC_LOG_RESCAN 12
102 #define MC_LOG_REREADCFG 13
103 #define MC_LOG_REREADSRV 14
104 #define MC_LOG_REREADACC 15
105 #define MC_NO_MEMORY 16
107 #define MC_HELP_SET 3
110 #define MC_HELP_CHOOSER 3
113 #define MC_LOG_ACC_FILE 1
114 #define MC_LOG_HOST_ENT 2
115 #define MC_LOG_ACC_DPY 3
116 #define MC_LOG_ACC_CTL 4
117 #define MC_LOG_DOMAIN 5
118 #define MC_LOG_SRV_OPEN 6
119 #define MC_LOG_SRV_WRT 7
120 #define MC_LOG_SAVE_ADDR 8
121 #define MC_LOG_NET_CFG 9
122 #define MC_LOG_SET_AUTH 10
123 #define MC_LOG_LCK_AUTH 11
124 #define MC_LOG_NOT_AUTH 12
125 #define MC_LOG_NO_CREATE 13
126 #define MC_LOG_NO_LOCK 14
127 #define MC_LOG_NO_SRVACC 15
128 #define MC_LOG_NEW_DPY 16
129 #define MC_LOG_NO_ERRLOG 17
130 #define MC_LOG_MAX_LOGFILE 18
131 #define MC_LOG_MISS_NAME 19
132 #define MC_LOG_MISS_TYPE 20
133 #define MC_LOG_INV_HOSTNM 21
134 #define MC_LOG_BAD_DPYTYPE 22
135 #define MC_LOG_PSEUDO 23
136 #define MC_LOG_GET_RSC 24
137 #define MC_LOG_NO_SPACE 25
138 #define MC_LOG_NO_OPENCFG 26
139 #define MC_LOG_EXTRA_ARG 27
140 #define MC_LOG_NO_ARGS 28
141 #define MC_LOG_NO_EXESRV 29
142 #define MC_LOG_FAIL_FORK 30
143 #define MC_LOG_SRV_DIED 31
144 #define MC_LOG_HUNG_DPY 32
145 #define MC_LOG_FAIL_SRVOPEN 33
146 #define MC_LOG_FATAL_IO 34
147 #define MC_LOG_X_ERR 35
148 #define MC_LOG_FAIL_START 36
149 #define MC_LOG_NO_SECDPY 37
150 #define MC_LOG_NO_SECKEY 38
151 #define MC_LOG_NO_BLSACCT 39
152 #define MC_LOG_NO_BLSPACCT 40
153 #define MC_LOG_NO_VFYLVL 41
154 #define MC_LOG_NO_BLSUSR 42
155 #define MC_LOG_AFS_FAIL 43
156 #define MC_LOG_FAIL_SETUID 44
157 #define MC_LOG_NO_HMDIR 45
158 #define MC_LOG_SES_EXEFAIL 46
159 #define MC_LOG_NO_CMDARG 47
160 #define MC_LOG_NO_SESFORK 48
161 #define MC_LOG_NO_KILLCL 49
162 #define MC_LOG_NO_EXE 50
163 #define MC_LOG_NO_FORK 51
164 #define MC_LOG_IMPROP_AUTH 52
165 #define MC_LOG_NO_DTGREET 53
166 #define MC_LOG_NO_FORKCG 54
167 #define MC_LOG_FAIL_SOCK 55
168 #define MC_LOG_ERR_BIND 56
169 #define MC_LOG_MAKEENV 57
170 #define MC_LOG_SETENV 58
171 #define MC_LOG_PARSEARGS 59
172 #define MC_LOG_NO_SCAN 60
173 #define MC_LOG_MORE_GRP 61
174 #define MC_LOG_NOT_SUSER 62
175 #define MC_LOG_INV_EVENT 63
176 #define MC_LOG_ERR_ERRNO 64
177 #define MC_LOG_AFS_FAILATH 65
178 #define MC_LOG_ACC_EXP 66
179 #define MC_LOG_DEADSRV 67
180 #define MC_LOG_NO_LOGOBIT 68
181 #define MC_LOG_NO_MSGCAT 69
182 #define MC_LOG_NO_DPYINIT 70
183 #define MC_LOG_BAD_MATTE 71
184 #define MC_LOG_BAD_HMATTE 72
186 #define MC_CHOOSER_SET 5
187 #define MC_CHOOSER_TITLE 1
188 #define MC_CHOOSER_HEADING 2
189 #define MC_UPDATE_LABEL 3
193 * message catalog default strings...
196 #define MC_DEF_LOGIN_LABEL "Please enter your user name"
197 #define MC_DEF_PASSWD_LABEL "Please enter your password"
198 #define MC_DEF_OK_LABEL "OK"
199 #define MC_DEF_CLEAR_LABEL "Start Over"
200 #define MC_DEF_OPTIONS_LABEL "Options"
201 #define MC_DEF_HELP_LABEL "Help"
202 #define MC_DEF_RS_LABEL "Reset Login Screen"
203 #define MC_DEF_NW_LABEL "Command Line Login"
204 #define MC_DEF_COPY_LABEL "Version..."
205 #define MC_DEF_FS_LABEL "Failsafe Session"
206 #define MC_DEF_USER_DT_LABEL "User's Last Desktop"
207 #define MC_DEF_LANG_LABEL "Language"
208 #define MC_DEF_TO_LABEL "to"
209 #define MC_DEF_START_LABEL "Start DT"
210 #define MC_DEF_CANCEL_LABEL "Cancel"
211 #define MC_DEF_DTLITE_LABEL "DT Lite Session"
212 #define MC_DEF_GREET_LABEL "Welcome to"
213 #define MC_DEF_PERS_GREET_LABEL "Welcome %s"
214 #define MC_DEF_DT_LABEL "Regular Desktop"
215 #define MC_DEF_SES_LABEL "Session"
217 #define MC_DEF_LOGIN "Login incorrect; please try again."
218 #define MC_DEF_HOME "Unable to change to home directory."
219 #define MC_DEF_MAX_USERS "Sorry. Maximum number of users already logged in."
220 #define MC_DEF_BAD_UID "Login error, invalid user id."
221 #define MC_DEF_BAD_GID "Login error, invalid group id."
222 #define MC_DEF_BAD_AID "Login error, invalid audit id."
223 #define MC_DEF_BAD_AFLAG "Login error, invalid audit flag."
224 #define MC_DEF_NO_LOGIN "Logins are currently disabled."
227 #define MC_DEF_PASSWD_EXPIRED \
229 You need to choose an initial password for your account,\n\
230 or your current password has expired.\n\
232 After you set your password, you must log in again\n\
233 using the new password.\
238 * default help message...
241 #define MC_DEF_HELP \
245 Use the login screen to identify yourself to the computer.\n\
248 1) Type your user name and press <Enter> or click [OK].\n\
249 (if you have not created a user, enter \"root\" as the\n\
251 2) Type your password and press <Enter> or click [OK].\n\
254 Erases your entries so you can re-enter your user name and\n\
258 Allows you to change session options:\n\
260 With the mouse pointer over the [Options] button, press and\n\
261 hold mouse button 1. Drag the pointer through the choices.\n\
262 Releasing the mouse button with the pointer on an item will\n\
263 select that item. You may choose:\n\
265 Language - to change the session language\n\
266 Session - to select preferred user Desktop\n\
267 Current - Starts your most recent session\n\
268 Home - Starts your home session (if you set one)\n\
269 <display-name> - Current - starts your most recent session for\n\
271 <display-name> - Home - starts your home session for\n\
273 FailSafe Session - Starts a failsafe session.\n\
274 Command Line Login - to switch to a command line environment\n\
275 Reset Login Screen - to restart the X-server\n\
277 Click anywhere on the background with any mouse button to\n\
278 refresh the screen, for example, if system messages make the\n\
279 screen unreadable.\n\
281 For more help information, log in first, then click on the Help\n\
282 Manager icon that is in the Information Manager slide-up menu\n\
283 in the Front Panel (Book with an information symbol).\n\
284 Then find the Login Manager help volume.\n\
288 * system name set to "unknown" message...
290 #define MC_DEF_SYSTEM \
292 Your workstation does not have a unique name. It is currently\n\
293 set to \"unknown\". It is recommended that you name this\n\
296 #define MC_DEF_HELP_CHOOSER \
300 Use the chooser screen to choose which server to log into.\n\
302 The chooser screen contains a list that has 2 parts for each\n\
303 entry. The first part (Server Name) contains the network\n\
304 name for each available server. The second part (Server\n\
305 Information) will contain different information depending on\n\
306 what login manager is being run on each server. If a server\n\
307 is running the CDE Desktop, it should provide information\n\
308 about the number of users (or tty devices) currently in use,\n\
309 and load averages (average CPU usage) for the last 5, 10, and\n\
312 To choose a server to log into, just select the line in the\n\
313 list that contains the name of the server you wish.\n\
315 Once you have made your selection, press the ok button.\n\
316 This will bring up a login screen from the server you selected.\n\
319 This will clear the list and rebuild it by querying the\n\
320 servers on the network to see if they will allow logins.\n\
323 Allows you to change session options:\n\
325 With the mouse pointer over the [Options] button, press and\n\
326 hold mouse button 1. Drag the pointer through the choices.\n\
327 Releasing the mouse button with the pointer on an item will\n\
328 select that item. You may choose:\n\
330 Language - to change the session language\n\
331 Reset Login Screen - to restart the X-server\n\
333 Click anywhere on the background with any mouse button to\n\
334 refresh the screen, for example, if system messages make the\n\
335 screen unreadable.\n\
340 #define MC_DEF_SUS1_LABEL "* Suspending Desktop Login...\r\n*\r\n"
341 #define MC_DEF_SUS2_LABEL "* Press [Enter] for a login prompt.\r\n*\r\n"
342 #define MC_DEF_SUS3_LABEL "* Log in. Desktop Login will resume shortly after you log out.\r\n*\r\n"
343 #define MC_DEF_RES_LABEL "* Resuming Desktop Login...\r\n*\r\n"
344 #define MC_DEF_START_LBLDPY "* Starting Desktop Login on display %1$s...\r\n*\r\n"
345 #define MC_DEF_WAIT_LABEL "* Wait for the Desktop Login screen before logging in.\r\n*\r\n"
346 #define MC_DEF_X_LABEL "* The X-server can not be started on display %1$s...\r\n*\r\n"
348 #define MC_DEF_BAD_ROOT "Only root wants to run %1$s\n"
349 #define MC_DEF_LOG_REBUILD "Rebuilding default language list from %1$s\n"
350 #define MC_DEF_LOG_RESCAN "Rescanning both config and servers files\n"
351 #define MC_DEF_LOG_REREADCFG "Rereading configuration file %1$s\n"
352 #define MC_DEF_LOG_REREADSRV "Rereading servers file %1$s\n"
353 #define MC_DEF_LOG_REREADACC "Rereading access file %1$s\n"
354 #define MC_DEF_NO_MEMORY "dtlogin: out of memory in routine\n"
357 #define MC_DEF_LOG_ACC_FILE "Access file \"%1$s\", host \"%2$s\" not found\n"
358 #define MC_DEF_LOG_HOST_ENT "ReadHostEntry\n"
359 #define MC_DEF_LOG_ACC_DPY "Access file %1$2s, display %1$2s unknown\n"
360 #define MC_DEF_LOG_ACC_CTL "Cannot open access control file %1$s, no XDMCP reqeusts will be granted\n"
361 #define MC_DEF_LOG_DOMAIN "Domain/OS authentication error: %1$s (%2$s/%3$s)"
362 #define MC_DEF_LOG_SRV_OPEN "Can not open server authorization file %1$s\n"
363 #define MC_DEF_LOG_SRV_WRT "Cannot write server authorization file %1$s\n"
364 #define MC_DEF_LOG_SAVE_ADDR "saveAddr"
365 #define MC_DEF_LOG_NET_CFG "Trouble getting network interface configuration"
366 #define MC_DEF_LOG_SET_AUTH "setAuthNumber"
367 #define MC_DEF_LOG_LCK_AUTH "Can not lock authorization file %1$s or backup %2$s\n"
368 #define MC_DEF_LOG_NOT_AUTH "Can not move authorization into place\n"
369 #define MC_DEF_LOG_NO_CREATE "Can not create/lock pid file %1$s\n"
370 #define MC_DEF_LOG_NO_LOCK "Can not lock pid file %1$s, another Dtlogin is running (pid %2$d)\n"
371 #define MC_DEF_LOG_NO_SRVACC "Can not access servers file %1$s\n"
372 #define MC_DEF_LOG_NEW_DPY "NewDisplay"
373 #define MC_DEF_LOG_NO_ERRLOG "Can not open errorLogFile %1$s\n"
374 #define MC_DEF_LOG_MAX_LOGFILE "TrimErrorLog(): maximum size of error log file is 200Kb.\n"
375 #define MC_DEF_LOG_MISS_NAME "Missing display name in servers file\n"
376 #define MC_DEF_LOG_MISS_TYPE "Missing display type for %1$s\n"
377 #define MC_DEF_LOG_INV_HOSTNM "Hostname %1$s is invalid. Setting DISPLAY to ':0'\n"
378 #define MC_DEF_LOG_BAD_DPYTYPE "Unacceptable display type %1$s for display %2$s\n"
379 #define MC_DEF_LOG_PSEUDO "Pseudo reset timed out.\n"
380 #define MC_DEF_LOG_GET_RSC "GetResource"
381 #define MC_DEF_LOG_NO_SPACE "no space for argument realloc\n"
382 #define MC_DEF_LOG_NO_OPENCFG "Can not open configuration file %1$s\n"
383 #define MC_DEF_LOG_EXTRA_ARG "Extra arguments on command line:"
384 #define MC_DEF_LOG_NO_ARGS "StartServer(): no arguments\n"
385 #define MC_DEF_LOG_NO_EXESRV "Server %1$s cannot be executed\n"
386 #define MC_DEF_LOG_FAIL_FORK "StartServer() fork failed, sleeping\n"
387 #define MC_DEF_LOG_SRV_DIED "Server unexpectedly died\n"
388 #define MC_DEF_LOG_HUNG_DPY "Hung in XOpenDisplay(%1$s) attempt #%2$d, aborting.\n"
389 #define MC_DEF_LOG_FAIL_SRVOPEN "Server open attempt #%1$d failed for %2$s, giving up\n"
390 #define MC_DEF_LOG_FATAL_IO "Fatal IO error %d (%1$s)\n"
391 #define MC_DEF_LOG_X_ERR "X error\n"
392 #define MC_DEF_LOG_FAIL_START "Session start failed\n"
393 #define MC_DEF_LOG_NO_SECDPY "WARNING: display %1$s could not be secured\n"
394 #define MC_DEF_LOG_NO_SECKEY "WARNING: keyboard on display %1$s could not be secured\n"
395 #define MC_DEF_LOG_NO_BLSACCT "BLS - Could not obtain account information.\n"
396 #define MC_DEF_LOG_NO_BLSPACCT "BLS - Could not obtain protected account information.\n"
397 #define MC_DEF_LOG_NO_VFYLVL "BLS - Could not verify sensitivity level.\n"
398 #define MC_DEF_LOG_NO_BLSUSR "BLS - Could not change to user: %1$s.\n"
399 #define MC_DEF_LOG_AFS_FAIL "AFS - setgroups() failure when starting session\n"
400 #define MC_DEF_LOG_FAIL_SETUID "Setuid failed for user %s, errno = %d\n"
401 #define MC_DEF_LOG_NO_HMDIR "No home directory %1$s for user %2$s, using /\n"
402 #define MC_DEF_LOG_SES_EXEFAIL "Session execution failed %1$s\n"
403 #define MC_DEF_LOG_NO_CMDARG "Session has no command/arguments\n"
404 #define MC_DEF_LOG_NO_SESFORK "Can not start session for %s, fork failed\n"
405 #define MC_DEF_LOG_NO_KILLCL "Dtlogin can not kill client\n"
406 #define MC_DEF_LOG_NO_EXE "Can not execute %1$s\n"
407 #define MC_DEF_LOG_NO_FORK "Can not fork to execute %1$s\n"
408 #define MC_DEF_LOG_IMPROP_AUTH "Improper authentication name \"%1$s\". Use AFS, Kerberos or the default.\n"
409 #define MC_DEF_LOG_NO_DTGREET "Can not execute Dtgreet %1$s for %2$s\n"
410 #define MC_DEF_LOG_NO_FORKCG "Can not fork to execute Dtgreet %1$s\n"
411 #define MC_DEF_LOG_FAIL_SOCK "Socket creation failed on port %1$d\n"
412 #define MC_DEF_LOG_ERR_BIND "error binding socket address %1$d, errno = %2$d\n"
413 #define MC_DEF_LOG_MAKEENV "makeEnv"
414 #define MC_DEF_LOG_SETENV "setEnv"
415 #define MC_DEF_LOG_PARSEARGS "parseArgs"
416 #define MC_DEF_LOG_NO_SCAN "Scan of %1$s directory exceeded %2$d seconds. Terminating scan...\n"
417 #define MC_DEF_LOG_MORE_GRP "%s belongs to more than %1$d groups, %2$s ignored\n"
418 #define MC_DEF_LOG_NOT_SUSER "audwrite() error: caller is not superuser\n"
419 #define MC_DEF_LOG_INV_EVENT "audwrite() error: invalid event number in audit record.\n"
420 #define MC_DEF_LOG_ERR_ERRNO "audwrite() error: errno = %1$d\n"
421 #define MC_DEF_LOG_AFS_FAILATH "AFS authentication failure: %1$s\n"
422 #define MC_DEF_LOG_ACC_EXP "Account for %1$s has expired. Please see your System Administrator.\n"
423 #define MC_DEF_LOG_DEADSRV "Server dead %1$s\n"
424 #define MC_DEF_LOG_NO_LOGOBIT "Can't open logo bitmap file: %1$s\n"
425 #define MC_DEF_LOG_NO_MSGCAT "cannot read \"%1$s\" message catalog. Using default language."
426 #define MC_DEF_LOG_NO_DPYINIT "display %1$s could not be initialized, server may be grabbed.\n"
427 #define MC_DEF_LOG_BAD_MATTE "(%1$s): Login matte width exceeds display, using default. Matte units are pixels.\n"
428 #define MC_DEF_LOG_BAD_HMATTE "(%1$s) Login matte height exceeds display, using default. Matte units are pixels.\n"
430 #define MC_DEF_CHOOSER_TITLE "Select a server to log into:"
431 #define MC_DEF_CHOOSER_HEADING "Server Name Server Information"
432 #define MC_DEF_UPDATE_LABEL " Update List "
434 #endif /* _VGMSG_H */