1 | ! $Header: /afs/dev.mit.edu/source/repository/athena/etc/xdm/xlogin/Xlogin.presed,v 1.31 1993-07-16 23:53:17 cfields Exp $ |
---|
2 | |
---|
3 | xlogin.wcChildren: login, savershell, instructions, \ |
---|
4 | warningShell, getSessionShell, queryShell |
---|
5 | |
---|
6 | !------------------------------------------------------- |
---|
7 | ! Program resources |
---|
8 | !------------------------------------------------------- |
---|
9 | *title: xlogin |
---|
10 | *saveTimeout: 60 |
---|
11 | *activateTimeout: 90 |
---|
12 | *randomize: 180 |
---|
13 | |
---|
14 | xlogin*top: ChainTop |
---|
15 | xlogin*bottom: ChainTop |
---|
16 | xlogin*right: ChainLeft |
---|
17 | xlogin*left: ChainLeft |
---|
18 | |
---|
19 | *login.wcClassName: Form |
---|
20 | *login.wcChildren: eyes, version, \ |
---|
21 | logo, welcome, host, clock, logo2, \ |
---|
22 | userName, password, \ |
---|
23 | name_input, pword_input, \ |
---|
24 | selection, \ |
---|
25 | loptions, ooptions, lmenu, omenu, \ |
---|
26 | register |
---|
27 | |
---|
28 | *savershell.wcConstructor: XtCreateTransientShell |
---|
29 | *savershell.geometry: 2000x2000+0+0 |
---|
30 | |
---|
31 | *instructions.wcConstructor: XtCreateTransientShell |
---|
32 | *instructions.wcChildren: hitanykey |
---|
33 | *instructions.allowShellResize: true |
---|
34 | |
---|
35 | *hitanykey.wcClassName: Form |
---|
36 | *hitanykey.wcChildren: version, logo, welcome, host, clock, mesg, \ |
---|
37 | logo2, motd |
---|
38 | |
---|
39 | *warningShell.wcConstructor: XtCreateTransientShell |
---|
40 | *warningShell.wcChildren: warning |
---|
41 | |
---|
42 | *getSessionShell.wcConstructor: XtCreateTransientShell |
---|
43 | *getSessionShell.wcChildren: getsession |
---|
44 | |
---|
45 | *queryShell.wcConstructor: XtCreateTransientShell |
---|
46 | *queryShell.wcChildren: query |
---|
47 | |
---|
48 | |
---|
49 | ! ------------------------------------------------------------ |
---|
50 | ! General Resources. |
---|
51 | ! ------------------------------------------------------------ |
---|
52 | |
---|
53 | xlogin.Geometry: 580x325+205+105 |
---|
54 | *bitmapFilePath: /etc/athena/login/bitmaps:/etc/athena/login |
---|
55 | *BorderWidth: 0 |
---|
56 | *saveUnder: False |
---|
57 | *Command.translations: #override \ |
---|
58 | <BtnDown>: set() \n\ |
---|
59 | <BtnUp>: notify() unset() |
---|
60 | *Text.borderWidth: 3 |
---|
61 | *Command.borderWidth: 1 |
---|
62 | *SimpleMenu*leftMargin: 25 |
---|
63 | *MenuButton.borderWidth: 1 |
---|
64 | *SimpleMenu*borderWidth: 1 |
---|
65 | *defaultDistance: 20 |
---|
66 | *Font: -adobe-new century schoolbook-bold-r-*-140-* |
---|
67 | |
---|
68 | |
---|
69 | ! ------------------------------------------------------------ |
---|
70 | ! Greet Widget specifications. |
---|
71 | ! ------------------------------------------------------------ |
---|
72 | |
---|
73 | |
---|
74 | *logo.wcClassName: Label |
---|
75 | *logo.bitmap: owl |
---|
76 | |
---|
77 | *logo2.wcClassName: Label |
---|
78 | *logo2.bitmap: is |
---|
79 | *logo2.fromHoriz: *welcome |
---|
80 | *logo2.horizDistance: 38 |
---|
81 | *logo2.vertDistance: 26 |
---|
82 | *logo2.internalWidth: 0 |
---|
83 | *logo2.internalHeight: 0 |
---|
84 | *logo2.label: is0.xbm \ |
---|
85 | is1.xbm \ |
---|
86 | is2.xbm \ |
---|
87 | is3.xbm \ |
---|
88 | is4.xbm \ |
---|
89 | is5.xbm |
---|
90 | |
---|
91 | *eyes.wcClassName: Label |
---|
92 | *eyes.bitmap: owleyes0.xbm |
---|
93 | *eyes.label: owleyes0.xbm \ |
---|
94 | owleyes1.xbm \ |
---|
95 | owleyes2.xbm \ |
---|
96 | owleyes3.xbm \ |
---|
97 | owleyes4.xbm \ |
---|
98 | owleyes5.xbm |
---|
99 | ! defaultDistance = 20, plus offset into owl bitmap of 55, 26 |
---|
100 | ! plus 4,2 for normal internal spacing. geez! |
---|
101 | *eyes.horizDistance: 79 |
---|
102 | *eyes.vertDistance: 48 |
---|
103 | *eyes.internalWidth: 0 |
---|
104 | *eyes.internalHeight: 0 |
---|
105 | |
---|
106 | |
---|
107 | ! defaultDistance = 20, plus offset into owl bitmap of 32, 77 |
---|
108 | ! plus 4,2 for normal internal spacing. Then play with the numbers |
---|
109 | ! 'til it looks ok... |
---|
110 | *version.wcClassName: Label |
---|
111 | ! there's a space after the version label to make the picture look right |
---|
112 | *version.label: ATHENA_VERSION |
---|
113 | *version.horizDistance: 56 |
---|
114 | *version.vertDistance: 99 |
---|
115 | *version.internalWidth: 2 |
---|
116 | *version.internalHeight: 0 |
---|
117 | *version.font: -adobe-new century schoolbook-bold-r-*-120-* |
---|
118 | |
---|
119 | *welcome.wcClassName: Label |
---|
120 | *welcome.label: Welcome to Athena |
---|
121 | *welcome.fromHoriz: *logo |
---|
122 | *welcome.horizDistance: 35 |
---|
123 | *welcome.vertDistance: 45 |
---|
124 | *welcome.font: -adobe-new century schoolbook-bold-r-*-240-* |
---|
125 | |
---|
126 | *host.wcClassName: Label |
---|
127 | *host.label: hostname.mit.edu |
---|
128 | *host.width: 320 |
---|
129 | *host.fromHoriz: *logo |
---|
130 | *host.horizDistance: 5 |
---|
131 | *host.vertDistance: -5 |
---|
132 | *host.fromVert: *welcome |
---|
133 | *host.font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
134 | *host.resize: False |
---|
135 | |
---|
136 | *clock.wcClassName: Clock |
---|
137 | *clock.update: 1 |
---|
138 | *clock.analog: False |
---|
139 | *clock*font: -adobe-new century schoolbook-medium-r-*-120-* |
---|
140 | *clock.fromVert: *host |
---|
141 | *clock.fromHoriz: *logo |
---|
142 | *clock.horizDistance: 90 |
---|
143 | *clock.width: 200 |
---|
144 | *clock.vertDistance: -5 |
---|
145 | |
---|
146 | *mesg.wcClassName: Label |
---|
147 | *mesg.fromHoriz: *logo |
---|
148 | *mesg.horizDistance: 5 |
---|
149 | *mesg.vertDistance: 20 |
---|
150 | *mesg.fromVert: *clock |
---|
151 | *mesg.font: -adobe-new century schoolbook-bold-r-*-240-* |
---|
152 | *mesg.label: Press any key to start . . . |
---|
153 | |
---|
154 | *motdFile: MOTD_FILE |
---|
155 | *motd.wcClassName: Label |
---|
156 | *motd.horizDistance: 5 |
---|
157 | *motd.vertDistance: 10 |
---|
158 | *motd.fromVert: *mesg |
---|
159 | *motd.font: 9x15 |
---|
160 | *motd*resizable: true |
---|
161 | |
---|
162 | *userName.wcClassName: Label |
---|
163 | *userName.fromVert: *welcome |
---|
164 | *userName.width: 110 |
---|
165 | *userName.vertDistance: 72 |
---|
166 | *userName.horizDistance: 100 |
---|
167 | *userName.font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
168 | *userName.label: Username: |
---|
169 | |
---|
170 | *name_input.wcClassName: AsciiText |
---|
171 | *name_input*length: 8 |
---|
172 | *name_input*string: |
---|
173 | *name_input*font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
174 | *name_input*editType: edit |
---|
175 | *name_input*useStringInPlace: TRUE |
---|
176 | *name_input.fromVert: *welcome |
---|
177 | *name_input.fromHoriz: *userName |
---|
178 | *name_input.vertDistance: 70 |
---|
179 | *name_input.width: 210 |
---|
180 | *name_input.leftMargin: 4 |
---|
181 | *name_input.translations: #replace \n\ |
---|
182 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
183 | Ctrl<Key>b: backward-character() \n\ |
---|
184 | Ctrl<Key>d: delete-next-character() \n\ |
---|
185 | Ctrl<Key>e: end-of-line() \n\ |
---|
186 | Ctrl<Key>f: forward-character() \n\ |
---|
187 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
188 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
189 | Ctrl<Key>p: WcExitACT(3) \n\ |
---|
190 | Ctrl<Key>t: transpose-characters() \n\ |
---|
191 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
192 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
193 | :Meta<Key>d: delete-next-word() \n\ |
---|
194 | :Meta<Key>h: delete-previous-word() \n\ |
---|
195 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
196 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
197 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
198 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
199 | <Key>Right: forward-character() \n\ |
---|
200 | <Key>Left: backward-character() \n\ |
---|
201 | <Key>Delete: delete-previous-character() \n\ |
---|
202 | <Key>BackSpace: delete-previous-character() \n\ |
---|
203 | <FocusIn>: focus-in() \n\ |
---|
204 | <FocusOut>: focus-out() \n\ |
---|
205 | Shift<Key>F1: callbackACT(*omenuEntry2) \n\ |
---|
206 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
207 | Shift<Key>F3: callbackACT(*omenuEntry4) \n\ |
---|
208 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
209 | Shift<Key>F5: callbackACT(*omenuEntry6) \n\ |
---|
210 | Shift<Key>F6: callbackACT(*omenuEntry6a) \n\ |
---|
211 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
212 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
213 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
214 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
215 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
216 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
217 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
218 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
219 | <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
220 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
221 | <Key>Return: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
222 | WcSetValueACT(this.borderColor: white) \ |
---|
223 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
224 | idleReset() \ |
---|
225 | setfocus(*pword_input) \n\ |
---|
226 | <Key>KP_Enter: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
227 | WcSetValueACT(this.borderColor: white) \ |
---|
228 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
229 | idleReset() \ |
---|
230 | setfocus(*pword_input) \n\ |
---|
231 | Ctrl<Key>m: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
232 | WcSetValueACT(this.borderColor: white) \ |
---|
233 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
234 | idleReset() \ |
---|
235 | setfocus(*pword_input) \n\ |
---|
236 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
237 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
238 | <Key>: insert-char() \ |
---|
239 | idleReset() |
---|
240 | |
---|
241 | *password.wcClassName: Label |
---|
242 | *password.fromVert: *userName |
---|
243 | *password.width: 110 |
---|
244 | *password.vertDistance: 10 |
---|
245 | *password.horizDistance: 100 |
---|
246 | *password.font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
247 | *password*label: Password: |
---|
248 | |
---|
249 | *pword_input.wcClassName: AsciiText |
---|
250 | *pword_input.wcCallback: WcSetValueCB(this.borderColor: white) |
---|
251 | *pword_input*length: 128 |
---|
252 | *pword_input*string: |
---|
253 | *pword_input*font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
254 | *pword_input*editType: edit |
---|
255 | *pword_input*useStringInPlace: TRUE |
---|
256 | *pword_input.displayCaret: FALSE |
---|
257 | *pword_input.fromVert: *name_input |
---|
258 | *pword_input.fromHoriz: *password |
---|
259 | *pword_input.vertDistance: 5 |
---|
260 | *pword_input.Width: 210 |
---|
261 | *pword_input*echo: False |
---|
262 | *pword_input.translations: #replace \n\ |
---|
263 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
264 | Ctrl<Key>b: backward-character() \n\ |
---|
265 | Ctrl<Key>d: delete-next-character() \n\ |
---|
266 | Ctrl<Key>e: end-of-line() \n\ |
---|
267 | Ctrl<Key>f: forward-character() \n\ |
---|
268 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
269 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
270 | Ctrl<Key>p: WcExitACT(3) \n\ |
---|
271 | Ctrl<Key>t: transpose-characters() \n\ |
---|
272 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
273 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
274 | :Meta<Key>d: delete-next-word() \n\ |
---|
275 | :Meta<Key>h: delete-previous-word() \n\ |
---|
276 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
277 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
278 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
279 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
280 | <Key>Right: forward-character() \n\ |
---|
281 | <Key>Left: backward-character() \n\ |
---|
282 | <Key>Delete: delete-previous-character() \n\ |
---|
283 | <Key>BackSpace: delete-previous-character() \n\ |
---|
284 | <FocusIn>: focus-in() \n\ |
---|
285 | <FocusOut>: focus-out() \n\ |
---|
286 | Shift<Key>F1: callbackACT(*omenuEntry2) \n\ |
---|
287 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
288 | Shift<Key>F3: callbackACT(*omenuEntry4) \n\ |
---|
289 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
290 | Shift<Key>F5: callbackACT(*omenuEntry6) \n\ |
---|
291 | Shift<Key>F6: callbackACT(*omenuEntry6a) \n\ |
---|
292 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
293 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
294 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
295 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
296 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
297 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
298 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
299 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
300 | <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
301 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
302 | <Key>Return: WcSetValueACT(this.borderColor: white) \ |
---|
303 | login() \n\ |
---|
304 | <Key>KP_Enter: WcSetValueACT(this.borderColor: white) \ |
---|
305 | login() \n\ |
---|
306 | Ctrl<Key>m: WcSetValueACT(this.borderColor: white) \ |
---|
307 | login() \n\ |
---|
308 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
309 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
310 | <Key>Up: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
311 | WcSetValueACT(this.borderColor: white) \ |
---|
312 | WcSetValueACT(*name_input.displayCaret: TRUE) \ |
---|
313 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
314 | idleReset() \ |
---|
315 | setfocus(*name_input) \n\ |
---|
316 | Shift<Key>Tab: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
317 | WcSetValueACT(this.borderColor: white) \ |
---|
318 | WcSetValueACT(*name_input.displayCaret: TRUE) \ |
---|
319 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
320 | idleReset() \ |
---|
321 | setfocus(*name_input) \n\ |
---|
322 | <Key>: insert-char() \ |
---|
323 | idleReset() |
---|
324 | |
---|
325 | *selection.wcClassName: Label |
---|
326 | *selection.label: |
---|
327 | *selection.width: 470 |
---|
328 | *selection.horizDistance: 35 |
---|
329 | *selection.fromVert: *password |
---|
330 | *selection.vertDistance: 5 |
---|
331 | *selection.font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
332 | |
---|
333 | *loptions.wcClassName: MenuButton |
---|
334 | *loptions.vertDistance: 40 |
---|
335 | *loptions.horizDistance: 105 |
---|
336 | *loptions.label: Login Options |
---|
337 | *loptions.fromVert: *password |
---|
338 | *loptions.leftBitmap: menu16 |
---|
339 | *loptions.leftMargin: 20 |
---|
340 | *loptions.menuName: lmenu |
---|
341 | |
---|
342 | *ooptions.wcClassName: MenuButton |
---|
343 | *ooptions.vertDistance: 40 |
---|
344 | *ooptions.horizDistance: 100 |
---|
345 | *ooptions.label: Other Options |
---|
346 | *ooptions.fromVert: *password |
---|
347 | *ooptions.fromHoriz: *loptions |
---|
348 | *ooptions.leftBitmap: menu16 |
---|
349 | *ooptions.leftMargin: 20 |
---|
350 | *ooptions.menuName: omenu |
---|
351 | |
---|
352 | *SimpleMenu*popupCallback: idleResetCB() |
---|
353 | *SimpleMenu*popdownCallback: idleResetCB() |
---|
354 | |
---|
355 | *lmenu*rightMargin: 40 |
---|
356 | *lmenu.wcClassName: simpleMenu |
---|
357 | *lmenu.right: ChainRight |
---|
358 | *lmenu.wcManaged: False |
---|
359 | *lmenu.wcChildren: lmenuEntry1, lmenuEntry2, lmenuEntry3, \ |
---|
360 | lmenuEntry4, lmenuEntry5, lmenuEntry6 |
---|
361 | |
---|
362 | *lmenuEntry1.wcClassName: SmeBSB |
---|
363 | *lmenuEntry2.wcClassName: SmeBSB |
---|
364 | *lmenuEntry3.wcClassName: SmeBSB |
---|
365 | *lmenuEntry4.wcClassName: SmeBSB |
---|
366 | *lmenuEntry5.wcClassName: SmeBSB |
---|
367 | *lmenuEntry6.wcClassName: SmeBSB |
---|
368 | |
---|
369 | *lmenuEntry1.leftBitmap: check |
---|
370 | *lmenuEntry2.leftBitmap: white |
---|
371 | *lmenuEntry3.leftBitmap: white |
---|
372 | *lmenuEntry4.leftBitmap: white |
---|
373 | *lmenuEntry5.leftBitmap: white |
---|
374 | |
---|
375 | *lmenuEntry1.rightBitmap: F1 |
---|
376 | *lmenuEntry2.rightBitmap: F2 |
---|
377 | *lmenuEntry3.rightBitmap: F3 |
---|
378 | *lmenuEntry4.rightBitmap: F4 |
---|
379 | *lmenuEntry5.rightBitmap: F5 |
---|
380 | *lmenuEntry6.rightBitmap: F6 |
---|
381 | |
---|
382 | *lmenuEntry1.label: Your usual login session |
---|
383 | *lmenuEntry2.label: Ignore your customizations |
---|
384 | *lmenuEntry3.label: Terminal-style session |
---|
385 | *lmenuEntry4.label: Check your email |
---|
386 | *lmenuEntry5.label: Specify special login |
---|
387 | *lmenuEntry6.label: Start Over |
---|
388 | |
---|
389 | *lmenuEntry1.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: check), \ |
---|
390 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
391 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
392 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
393 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
394 | WcSetValueCB(*selection.label: ) |
---|
395 | *lmenuEntry2.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
396 | WcSetValueCB(*lmenuEntry2.leftBitmap: check), \ |
---|
397 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
398 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
399 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
400 | WcSetValueCB(*selection.label: Ignore customizations selected) |
---|
401 | *lmenuEntry3.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
402 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
403 | WcSetValueCB(*lmenuEntry3.leftBitmap: check), \ |
---|
404 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
405 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
406 | WcSetValueCB(*selection.label: Terminal-style login session selected) |
---|
407 | *lmenuEntry4.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
408 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
409 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
410 | WcSetValueCB(*lmenuEntry4.leftBitmap: check), \ |
---|
411 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
412 | WcSetValueCB(*selection.label: Mail-check login session selected) |
---|
413 | *lmenuEntry5.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
414 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
415 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
416 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
417 | WcSetValueCB(*lmenuEntry5.leftBitmap: check), \ |
---|
418 | WcSetValueCB(*selection.label: Special login session selected), \ |
---|
419 | WcPopupGrabCB(*getSessionShell), \ |
---|
420 | setfocusCB(*getsession*value) |
---|
421 | *lmenuEntry6.callback: resetCB() |
---|
422 | |
---|
423 | *omenu*rightMargin: 77 |
---|
424 | *omenu.wcClassName: SimpleMenu |
---|
425 | *omenu.right: ChainRight |
---|
426 | *omenu.wcManaged: False |
---|
427 | *omenu.wcChildren: omenuEntry1, omenuEntry2, omenuEntry3, \ |
---|
428 | omenuEntry4, omenuEntry5, omenuEntry6, \ |
---|
429 | omenuEntry6a, menuLine, \ |
---|
430 | omenuEntry7, omenuEntry8, omenuEntry9, \ |
---|
431 | omenuEntry10, omenuEntry11 |
---|
432 | |
---|
433 | *menuLine.wcClassName: SmeLine |
---|
434 | *omenuEntry1.wcClassName: SmeBSB |
---|
435 | *omenuEntry2.wcClassName: SmeBSB |
---|
436 | *omenuEntry3.wcClassName: SmeBSB |
---|
437 | *omenuEntry4.wcClassName: SmeBSB |
---|
438 | *omenuEntry5.wcClassName: SmeBSB |
---|
439 | *omenuEntry6.wcClassName: SmeBSB |
---|
440 | *omenuEntry6a.wcClassName: SmeBSB |
---|
441 | *omenuEntry7.wcClassName: SmeBSB |
---|
442 | *omenuEntry8.wcClassName: SmeBSB |
---|
443 | *omenuEntry9.wcClassName: SmeBSB |
---|
444 | *omenuEntry10.wcClassName: SmeBSB |
---|
445 | *omenuEntry11.wcClassName: SmeBSB |
---|
446 | |
---|
447 | *omenuEntry1.label: Information |
---|
448 | *omenuEntry1.justify: center |
---|
449 | *omenuEntry1.flipColors: False |
---|
450 | *omenuEntry2.label: Athena On-Line Help (olh) |
---|
451 | *omenuEntry2.callback: runCB(xterm -geometry 80x34+60+25 -fn -adobe-courier-medium-r-normal--18-180-75-75-\*-\*-\*-\* -display :0.0 -e timeout 120 olh -tty) |
---|
452 | *omenuEntry3.label: Map/Status of Athena Clusters (xcluster) |
---|
453 | *omenuEntry3.callback: runCB(xcluster -i 60 -display :0.0) |
---|
454 | *omenuEntry4.label: MIT On-Line Information (TechInfo) |
---|
455 | *omenuEntry4.callback: attachAndRunCB(techinfo,xterm -geometry 80x34+60+25 -fn -adobe-courier-medium-r-normal--18-180-75-75-\*-\*-\*-\* -display :0.0 -e timeout 120 /mit/techinfo/techinfo.prelogin) |
---|
456 | *omenuEntry5.label: Library Access |
---|
457 | *omenuEntry5.callback: attachAndRunCB(library,/mit/library/bin/library -timeout -geometry 80x25+270+270) |
---|
458 | *omenuEntry6.label: MIT Campus Map (xinfo) |
---|
459 | *omenuEntry6.callback: runCB(xinfo -inactive 180 -display :0.0) |
---|
460 | *omenuEntry6a.label: Display Workstation Configuration |
---|
461 | *omenuEntry6a.callback: runCB(xterm -geometry 80x34+60+25 -fn -adobe-courier-medium-r-normal--18-180-75-75-\*-\*-\*-\* -display :0.0 -e timeout 60 /etc/athena/login/machine) |
---|
462 | *omenuEntry7.label: Other |
---|
463 | *omenuEntry7.justify: center |
---|
464 | *omenuEntry7.flipColors: False |
---|
465 | *omenuEntry8.label: Login to MITVMA |
---|
466 | *omenuEntry8.callback: runCB(/usr/athena/lib/login/mitvma) |
---|
467 | *omenuEntry9.label: Update MIT Mailhub Info (Moira) |
---|
468 | *omenuEntry9.callback: attachAndRunCB(moira,xterm -geometry 80x34+60+25 +ut -fn -adobe-courier-medium-r-normal--18-180-75-75-\*-\*-\*-\* -display :0.0 -e timeout 120 /mit/moira/namespace) |
---|
469 | *omenuEntry10.label: Display Console Window |
---|
470 | *omenuEntry10.callback: signalConsoleCB(show) |
---|
471 | *omenuEntry11.label: Shut Down Window System |
---|
472 | *omenuEntry11.callback: WcExitCB(3) |
---|
473 | |
---|
474 | *omenuEntry2.rightBitmap: Shift-F1 |
---|
475 | *omenuEntry3.rightBitmap: Shift-F2 |
---|
476 | *omenuEntry4.rightBitmap: Shift-F3 |
---|
477 | *omenuEntry5.rightBitmap: Shift-F4 |
---|
478 | *omenuEntry6.rightBitmap: Shift-F5 |
---|
479 | *omenuEntry6a.rightBitmap: Shift-F6 |
---|
480 | *omenuEntry8.rightBitmap: Shift-F7 |
---|
481 | *omenuEntry9.rightBitmap: Shift-F8 |
---|
482 | *omenuEntry10.rightBitmap: Prev |
---|
483 | *omenuEntry11.rightBitmap: Ctrl-P |
---|
484 | |
---|
485 | *register.wcClassName: Command |
---|
486 | *register.vertDistance: 10 |
---|
487 | *register.horizDistance: 195 |
---|
488 | *register.label: Register for an Account |
---|
489 | *register.fromVert: *loptions |
---|
490 | *register.callback: attachAndRunCB(register,/afs/athena/system/register/xregister) |
---|
491 | |
---|
492 | |
---|
493 | ! ------------------------------------------------------------ |
---|
494 | ! Option Shell Widget specifications. |
---|
495 | ! ------------------------------------------------------------ |
---|
496 | |
---|
497 | *getSessionShell.geometry: +200+480 |
---|
498 | |
---|
499 | *getsession.wcClassName: Dialog |
---|
500 | *getsession.icon: question |
---|
501 | *getsession.label: Please enter the name of a shell script or program: |
---|
502 | *getsession.label.font: -adobe-new century schoolbook-bold-r-*-180-* |
---|
503 | *getsession.wcChildren: doit, abort |
---|
504 | |
---|
505 | *getsession*value.borderWidth: 2 |
---|
506 | *getsession*value.horizDistance: 100 |
---|
507 | *getsession*value.width: 300 |
---|
508 | *getsession*value.length: 128 |
---|
509 | *getsession*value.useStringInPlace: True |
---|
510 | *getsession*value: |
---|
511 | *getsession*value*resize: False |
---|
512 | *getsession*value.translations: #replace \n\ |
---|
513 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
514 | Ctrl<Key>b: backward-character() \n\ |
---|
515 | Ctrl<Key>d: delete-next-character() \n\ |
---|
516 | Ctrl<Key>e: end-of-line() \n\ |
---|
517 | Ctrl<Key>f: forward-character() \n\ |
---|
518 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
519 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
520 | Ctrl<Key>p: WcExitACT(3) \n\ |
---|
521 | Ctrl<Key>t: transpose-characters() \n\ |
---|
522 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
523 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
524 | :Meta<Key>d: delete-next-word() \n\ |
---|
525 | :Meta<Key>h: delete-previous-word() \n\ |
---|
526 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
527 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
528 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
529 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
530 | <Key>Right: forward-character() \n\ |
---|
531 | <Key>Left: backward-character() \n\ |
---|
532 | <Key>Delete: delete-previous-character() \n\ |
---|
533 | <Key>BackSpace: delete-previous-character() \n\ |
---|
534 | <FocusIn>: focus-in() \n\ |
---|
535 | <FocusOut>: focus-out() \n\ |
---|
536 | Shift<Key>F1: callbackACT(*omenuEntry2) \n\ |
---|
537 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
538 | Shift<Key>F3: callbackACT(*omenuEntry4) \n\ |
---|
539 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
540 | Shift<Key>F5: callbackACT(*omenuEntry6) \n\ |
---|
541 | Shift<Key>F6: callbackACT(*omenuEntry6a) \n\ |
---|
542 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
543 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
544 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
545 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
546 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
547 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
548 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
549 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
550 | <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
551 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
552 | <Key>Return: WcPopdownACT(*getSessionShell) \ |
---|
553 | setCorrectFocus(*name_input) \ |
---|
554 | idleReset() \n\ |
---|
555 | <Key>KP_Enter: WcPopdownACT(*getSessionShell) \ |
---|
556 | setCorrectFocus(*name_input) \ |
---|
557 | idleReset() \n\ |
---|
558 | Ctrl<Key>m: WcPopdownACT(*getSessionShell) \ |
---|
559 | setCorrectFocus(*name_input) \ |
---|
560 | idleReset() \n\ |
---|
561 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
562 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
563 | <Key>: insert-char() \ |
---|
564 | idleReset() |
---|
565 | |
---|
566 | *doit.wcClassName: Command |
---|
567 | *doit.label: OK |
---|
568 | *doit.callback: WcPopdownCB(*getSessionShell), \ |
---|
569 | setfocusCB(*name_input) |
---|
570 | *abort.wcClassName: Command |
---|
571 | *abort.fromHoriz: *doit |
---|
572 | *abort.label: abort |
---|
573 | *abort.callback: WcPopdownCB(*getSessionShell), \ |
---|
574 | setfocusCB(*name_input), \ |
---|
575 | WcSetValueCB(*lmenuEntry1.leftBitmap: check), \ |
---|
576 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
577 | WcSetValueCB(*selection.label: ) |
---|
578 | |
---|
579 | |
---|
580 | *queryShell.geometry: 400x300+290+240 |
---|
581 | *queryShell.borderWidth: 3 |
---|
582 | |
---|
583 | *query.wcClassName: Dialog |
---|
584 | *query.icon: question |
---|
585 | *query.label: Login Incomplete |
---|
586 | *query.label.font: -adobe-new century schoolbook-bold-r-*-240-* |
---|
587 | *query.label.width: 250 |
---|
588 | *query.value: this will be replaced before it is used |
---|
589 | *query.wcChildren: cont, giveup |
---|
590 | |
---|
591 | *cont.wcClassName: Command |
---|
592 | *cont.label: continue |
---|
593 | |
---|
594 | *giveup.wcClassName: Command |
---|
595 | *giveup.label: abort |
---|
596 | *giveup.fromHoriz: *cont |
---|
597 | |
---|
598 | *query*value.width: 380 |
---|
599 | *query*value.height: 160 |
---|
600 | *query*value.borderWidth: 0 |
---|
601 | *query*value.autoFill: True |
---|
602 | *query*value.resize: False |
---|
603 | *query*value.displayCaret: False |
---|
604 | *query*value.translations: #replace |
---|
605 | |
---|
606 | *warningShell.geometry: 400x300+290+240 |
---|
607 | *warningShell.borderWidth: 3 |
---|
608 | |
---|
609 | *warning.wcClassName: Dialog |
---|
610 | *warning.icon: warning |
---|
611 | *warning.label: Login Failed |
---|
612 | *warning.label.font: -adobe-new century schoolbook-bold-r-*-240-* |
---|
613 | *warning.label.width: 200 |
---|
614 | *warning.value: this will be replaced before it is used |
---|
615 | *warning.wcChildren: continue |
---|
616 | |
---|
617 | *warning*value.width: 380 |
---|
618 | *warning*value.height: 160 |
---|
619 | *warning*value.borderWidth: 0 |
---|
620 | *warning*value.autoFill: True |
---|
621 | *warning*value.resize: False |
---|
622 | *warning*value.displayCaret: False |
---|
623 | *warning*value.translations: #replace \n\ |
---|
624 | Ctrl<Key>p: WcExitACT(3) \n\ |
---|
625 | <Key>Return: WcPopdownACT(*warningShell) \ |
---|
626 | reset() \n\ |
---|
627 | <Key>KP_Enter: WcPopdownACT(*warningShell) \ |
---|
628 | reset() \n\ |
---|
629 | Ctrl<Key>m: WcPopdownACT(*warningShell) \ |
---|
630 | reset() |
---|
631 | |
---|
632 | *continue.wcClassName: Command |
---|
633 | *continue.callback: WcPopdownCB(*warningShell), \ |
---|
634 | resetCB() |
---|
635 | |
---|
636 | ! |
---|
637 | ! ***************************** WARNING ************************************* |
---|
638 | ! This version of xlogin contains a color converter which is NON-STANDARD. |
---|
639 | ! The syntax for the following resources should not be used when specifying |
---|
640 | ! resources for other programs, as it will generate a warning from that |
---|
641 | ! program. |
---|
642 | ! |
---|
643 | ! Also, the color converter does not deal with the "reverseVideo" resource, |
---|
644 | ! for reasons too complicated to explain here. |
---|
645 | ! |
---|
646 | ! Having said all that... when writing a color spec, you can use up to three |
---|
647 | ! comma-seperated colors, which are applied as follows: |
---|
648 | ! - if three colors are given, they specify the color to use on mono, |
---|
649 | ! grayscale and color monitors, respectively. |
---|
650 | ! - if only two colors are given, the first is used for both mono and |
---|
651 | ! grayscale, and the second is for color. |
---|
652 | ! - if only one color is given, it is used for all three visual classes. |
---|
653 | ! |
---|
654 | |
---|
655 | *login*background: white |
---|
656 | *login*foreground: black,gray55,black |
---|
657 | |
---|
658 | *login.logo.foreground: black,gray15,red |
---|
659 | *login.eyes.foreground: black,gray15,red |
---|
660 | *login.version.foreground: black,gray15,red |
---|
661 | *login.logo2.foreground: black,gray15,red |
---|
662 | |
---|
663 | ! savershell is the big black window that covers the screen when the xlogin |
---|
664 | ! "screensaver" kicks in. |
---|
665 | ! |
---|
666 | *savershell*foreground: white |
---|
667 | *savershell*background: black |
---|
668 | |
---|
669 | ! hitanykey is the window that bounces around on top of savershell when the |
---|
670 | ! xlogin "screensaver" kicks in. |
---|
671 | ! |
---|
672 | *hitanykey*foreground: white,gray80,gray80 |
---|
673 | *hitanykey*background: black |
---|
674 | |
---|
675 | *hitanykey.logo.foreground: white,gray75,red |
---|
676 | *hitanykey.version.foreground: white,gray75,red |
---|
677 | *hitanykey.logo2.foreground: white,gray75,red |
---|
678 | |
---|
679 | |
---|
680 | *queryShell.borderColor: black |
---|
681 | *warningShell.borderColor: black |
---|