1 | ! $Header: /afs/dev.mit.edu/source/repository/athena/etc/xdm/xlogin/Xlogin.sgi.presed,v 1.8 1998-03-13 16:12:12 mbarker 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+350+180 |
---|
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-75-* |
---|
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-75-* |
---|
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-75-* |
---|
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-75-* |
---|
134 | *host.resize: False |
---|
135 | |
---|
136 | *clock.wcClassName: ClockWidget |
---|
137 | *clock.update: 1 |
---|
138 | *clock.analog: False |
---|
139 | *clock*font: -adobe-new century schoolbook-medium-r-*-120-75-* |
---|
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-75-* |
---|
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-75-* |
---|
168 | *userName.label: Username: |
---|
169 | |
---|
170 | *name_input.wcClassName: AsciiText |
---|
171 | *name_input*length: 8 |
---|
172 | *name_input.borderColor: black |
---|
173 | *name_input*string: |
---|
174 | *name_input*font: -adobe-new century schoolbook-bold-r-*-180-75-* |
---|
175 | *name_input*editType: edit |
---|
176 | *name_input*useStringInPlace: TRUE |
---|
177 | *name_input.fromVert: *welcome |
---|
178 | *name_input.fromHoriz: *userName |
---|
179 | *name_input.vertDistance: 70 |
---|
180 | *name_input.width: 210 |
---|
181 | *name_input.leftMargin: 4 |
---|
182 | *name_input.translations: #replace \n\ |
---|
183 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
184 | Ctrl<Key>b: backward-character() \n\ |
---|
185 | Ctrl<Key>d: delete-next-character() \n\ |
---|
186 | Ctrl<Key>e: end-of-line() \n\ |
---|
187 | Ctrl<Key>f: forward-character() \n\ |
---|
188 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
189 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
190 | Ctrl<Key>p: windowShutdownACT() \n\ |
---|
191 | Ctrl<Key>t: transpose-characters() \n\ |
---|
192 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
193 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
194 | :Meta<Key>d: delete-next-word() \n\ |
---|
195 | :Meta<Key>h: delete-previous-word() \n\ |
---|
196 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
197 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
198 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
199 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
200 | <Key>Right: forward-character() \n\ |
---|
201 | <Key>Left: backward-character() \n\ |
---|
202 | <Key>Delete: delete-previous-character() \n\ |
---|
203 | <Key>BackSpace: delete-previous-character() \n\ |
---|
204 | <FocusIn>: focus-in() \n\ |
---|
205 | <FocusOut>: focus-out() \n\ |
---|
206 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
207 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
208 | Shift<Key>F6: callbackACT(*omenuEntry6) \n\ |
---|
209 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
210 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
211 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
212 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
213 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
214 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
215 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
216 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
217 | ~Shift <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
218 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
219 | <Key>Return: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
220 | WcSetValueACT(this.borderColor: white) \ |
---|
221 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
222 | idleReset() \ |
---|
223 | setfocus(*pword_input) \n\ |
---|
224 | <Key>KP_Enter: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
225 | WcSetValueACT(this.borderColor: white) \ |
---|
226 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
227 | idleReset() \ |
---|
228 | setfocus(*pword_input) \n\ |
---|
229 | Ctrl<Key>m: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
230 | WcSetValueACT(this.borderColor: white) \ |
---|
231 | WcSetValueACT(*pword_input.borderColor: black) \ |
---|
232 | idleReset() \ |
---|
233 | setfocus(*pword_input) \n\ |
---|
234 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
235 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
236 | <Key>: insert-char() \ |
---|
237 | idleReset() |
---|
238 | |
---|
239 | *password.wcClassName: Label |
---|
240 | *password.fromVert: *userName |
---|
241 | *password.width: 110 |
---|
242 | *password.vertDistance: 10 |
---|
243 | *password.horizDistance: 100 |
---|
244 | *password.font: -adobe-new century schoolbook-bold-r-*-180-75-* |
---|
245 | *password*label: Password: |
---|
246 | |
---|
247 | *pword_input.wcClassName: AsciiText |
---|
248 | *pword_input.wcCallback: WcSetValueCB(this.borderColor: white) |
---|
249 | *pword_input.borderColor: white |
---|
250 | *pword_input*length: 128 |
---|
251 | *pword_input*string: |
---|
252 | *pword_input*font: -adobe-new century schoolbook-bold-r-*-180-75-* |
---|
253 | *pword_input*editType: edit |
---|
254 | *pword_input*useStringInPlace: TRUE |
---|
255 | *pword_input.displayCaret: FALSE |
---|
256 | *pword_input.fromVert: *name_input |
---|
257 | *pword_input.fromHoriz: *password |
---|
258 | *pword_input.vertDistance: 5 |
---|
259 | *pword_input.Width: 210 |
---|
260 | *pword_input*echo: False |
---|
261 | *pword_input.translations: #replace \n\ |
---|
262 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
263 | Ctrl<Key>b: backward-character() \n\ |
---|
264 | Ctrl<Key>d: delete-next-character() \n\ |
---|
265 | Ctrl<Key>e: end-of-line() \n\ |
---|
266 | Ctrl<Key>f: forward-character() \n\ |
---|
267 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
268 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
269 | Ctrl<Key>p: windowShutdownACT() \n\ |
---|
270 | Ctrl<Key>t: transpose-characters() \n\ |
---|
271 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
272 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
273 | :Meta<Key>d: delete-next-word() \n\ |
---|
274 | :Meta<Key>h: delete-previous-word() \n\ |
---|
275 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
276 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
277 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
278 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
279 | <Key>Right: forward-character() \n\ |
---|
280 | <Key>Left: backward-character() \n\ |
---|
281 | <Key>Delete: delete-previous-character() \n\ |
---|
282 | <Key>BackSpace: delete-previous-character() \n\ |
---|
283 | <FocusIn>: focus-in() \n\ |
---|
284 | <FocusOut>: focus-out() \n\ |
---|
285 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
286 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
287 | Shift<Key>F6: callbackACT(*omenuEntry6) \n\ |
---|
288 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
289 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
290 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
291 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
292 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
293 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
294 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
295 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
296 | ~Shift <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
297 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
298 | <Key>Return: WcSetValueACT(this.borderColor: white) \ |
---|
299 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
300 | login() \n\ |
---|
301 | <Key>KP_Enter: WcSetValueACT(this.borderColor: white) \ |
---|
302 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
303 | login() \n\ |
---|
304 | Ctrl<Key>m: WcSetValueACT(this.borderColor: white) \ |
---|
305 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
306 | login() \n\ |
---|
307 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
308 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
309 | <Key>Up: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
310 | WcSetValueACT(this.borderColor: white) \ |
---|
311 | WcSetValueACT(*name_input.displayCaret: TRUE) \ |
---|
312 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
313 | idleReset() \ |
---|
314 | setfocus(*name_input) \n\ |
---|
315 | Shift<Key>Tab: WcSetValueACT(this.displayCaret: FALSE) \ |
---|
316 | WcSetValueACT(this.borderColor: white) \ |
---|
317 | WcSetValueACT(*name_input.displayCaret: TRUE) \ |
---|
318 | WcSetValueACT(*name_input.borderColor: black) \ |
---|
319 | idleReset() \ |
---|
320 | setfocus(*name_input) \n\ |
---|
321 | <Key>: insert-char() \ |
---|
322 | idleReset() |
---|
323 | |
---|
324 | *selection.wcClassName: Label |
---|
325 | *selection.label: |
---|
326 | *selection.width: 470 |
---|
327 | *selection.horizDistance: 35 |
---|
328 | *selection.fromVert: *password |
---|
329 | *selection.vertDistance: 5 |
---|
330 | *selection.font: -adobe-new century schoolbook-bold-r-*-180-75-* |
---|
331 | |
---|
332 | *loptions.wcClassName: MenuButton |
---|
333 | *loptions.vertDistance: 40 |
---|
334 | *loptions.horizDistance: 105 |
---|
335 | *loptions.label: Login Options |
---|
336 | *loptions.fromVert: *password |
---|
337 | *loptions.leftBitmap: menu16 |
---|
338 | *loptions.leftMargin: 20 |
---|
339 | *loptions.menuName: lmenu |
---|
340 | |
---|
341 | *ooptions.wcClassName: MenuButton |
---|
342 | *ooptions.vertDistance: 40 |
---|
343 | *ooptions.horizDistance: 100 |
---|
344 | *ooptions.label: Other Options |
---|
345 | *ooptions.fromVert: *password |
---|
346 | *ooptions.fromHoriz: *loptions |
---|
347 | *ooptions.leftBitmap: menu16 |
---|
348 | *ooptions.leftMargin: 20 |
---|
349 | *ooptions.menuName: omenu |
---|
350 | |
---|
351 | *SimpleMenu*popupCallback: idleResetCB() |
---|
352 | *SimpleMenu*popdownCallback: idleResetCB() |
---|
353 | |
---|
354 | *lmenu*rightMargin: 40 |
---|
355 | *lmenu.wcClassName: simpleMenu |
---|
356 | *lmenu.right: ChainRight |
---|
357 | *lmenu.wcManaged: False |
---|
358 | *lmenu.wcChildren: lmenuEntry1, lmenuEntry2, lmenuEntry3, \ |
---|
359 | lmenuEntry4, lmenuEntry5, lmenuEntry6 |
---|
360 | |
---|
361 | *lmenuEntry1.wcClassName: SmeBSB |
---|
362 | *lmenuEntry2.wcClassName: SmeBSB |
---|
363 | *lmenuEntry3.wcClassName: SmeBSB |
---|
364 | *lmenuEntry4.wcClassName: SmeBSB |
---|
365 | *lmenuEntry5.wcClassName: SmeBSB |
---|
366 | *lmenuEntry6.wcClassName: SmeBSB |
---|
367 | |
---|
368 | *lmenuEntry1.leftBitmap: check |
---|
369 | *lmenuEntry2.leftBitmap: white |
---|
370 | *lmenuEntry3.leftBitmap: white |
---|
371 | *lmenuEntry4.leftBitmap: white |
---|
372 | *lmenuEntry5.leftBitmap: white |
---|
373 | |
---|
374 | *lmenuEntry1.rightBitmap: F1 |
---|
375 | *lmenuEntry2.rightBitmap: F2 |
---|
376 | *lmenuEntry3.rightBitmap: F3 |
---|
377 | *lmenuEntry4.rightBitmap: F4 |
---|
378 | *lmenuEntry5.rightBitmap: F5 |
---|
379 | *lmenuEntry6.rightBitmap: F6 |
---|
380 | |
---|
381 | *lmenuEntry1.label: Your usual login session |
---|
382 | *lmenuEntry2.label: Ignore your customizations |
---|
383 | *lmenuEntry3.label: Terminal-style session |
---|
384 | *lmenuEntry4.label: Check your email |
---|
385 | *lmenuEntry5.label: Specify special login |
---|
386 | *lmenuEntry6.label: Start Over |
---|
387 | |
---|
388 | *lmenuEntry1.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: check), \ |
---|
389 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
390 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
391 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
392 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
393 | WcSetValueCB(*selection.label: ) |
---|
394 | *lmenuEntry2.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
395 | WcSetValueCB(*lmenuEntry2.leftBitmap: check), \ |
---|
396 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
397 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
398 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
399 | WcSetValueCB(*selection.label: Ignore customizations selected) |
---|
400 | *lmenuEntry3.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
401 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
402 | WcSetValueCB(*lmenuEntry3.leftBitmap: check), \ |
---|
403 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
404 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
405 | WcSetValueCB(*selection.label: Terminal-style login session selected) |
---|
406 | *lmenuEntry4.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
407 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
408 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
409 | WcSetValueCB(*lmenuEntry4.leftBitmap: check), \ |
---|
410 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
411 | WcSetValueCB(*selection.label: Mail-check login session selected) |
---|
412 | *lmenuEntry5.callback: WcSetValueCB(*lmenuEntry1.leftBitmap: white), \ |
---|
413 | WcSetValueCB(*lmenuEntry2.leftBitmap: white), \ |
---|
414 | WcSetValueCB(*lmenuEntry3.leftBitmap: white), \ |
---|
415 | WcSetValueCB(*lmenuEntry4.leftBitmap: white), \ |
---|
416 | WcSetValueCB(*lmenuEntry5.leftBitmap: check), \ |
---|
417 | WcSetValueCB(*selection.label: Special login session selected), \ |
---|
418 | WcPopupGrabCB(*getSessionShell), \ |
---|
419 | setfocusCB(*getsession*value) |
---|
420 | *lmenuEntry6.callback: WcSetValueCB(*pword_input.borderColor: white), \ |
---|
421 | WcSetValueCB(*name_input.borderColor: black), \ |
---|
422 | WcPopdownCB(*getSessionShell), \ |
---|
423 | resetCB() |
---|
424 | |
---|
425 | *omenu*rightMargin: 77 |
---|
426 | *omenu.wcClassName: SimpleMenu |
---|
427 | *omenu.right: ChainRight |
---|
428 | *omenu.wcManaged: False |
---|
429 | *omenu.wcChildren: omenuEntry1, omenuEntry3, \ |
---|
430 | omenuEntry5, \ |
---|
431 | omenuEntry6, menuLine, \ |
---|
432 | omenuEntry7, omenuEntry8, omenuEntry9, \ |
---|
433 | omenuEntry10, omenuEntry11 |
---|
434 | |
---|
435 | *menuLine.wcClassName: SmeLine |
---|
436 | *omenuEntry1.wcClassName: SmeBSB |
---|
437 | *omenuEntry3.wcClassName: SmeBSB |
---|
438 | *omenuEntry5.wcClassName: SmeBSB |
---|
439 | *omenuEntry6.wcClassName: SmeBSB |
---|
440 | *omenuEntry7.wcClassName: SmeBSB |
---|
441 | *omenuEntry8.wcClassName: SmeBSB |
---|
442 | *omenuEntry9.wcClassName: SmeBSB |
---|
443 | *omenuEntry10.wcClassName: SmeBSB |
---|
444 | *omenuEntry11.wcClassName: SmeBSB |
---|
445 | |
---|
446 | *omenuEntry1.label: Information |
---|
447 | *omenuEntry1.justify: center |
---|
448 | *omenuEntry1.flipColors: False |
---|
449 | *omenuEntry3.label: Map/Status of Athena Clusters (xcluster) |
---|
450 | *omenuEntry3.callback: runCB(xcluster -i 60 -display :0.0) |
---|
451 | *omenuEntry5.label: Library Access |
---|
452 | *omenuEntry5.callback: attachAndRunCB(library,/mit/library/bin/library -timeout -geometry 80x25+270+270) |
---|
453 | *omenuEntry6.label: Display Workstation Configuration |
---|
454 | *omenuEntry6.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) |
---|
455 | *omenuEntry7.label: Other |
---|
456 | *omenuEntry7.justify: center |
---|
457 | *omenuEntry7.flipColors: False |
---|
458 | *omenuEntry8.label: Login to MITVMA |
---|
459 | *omenuEntry8.callback: runCB(/usr/athena/lib/login/mitvma) |
---|
460 | *omenuEntry9.label: Update MIT Mailhub Info (Moira) |
---|
461 | *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) |
---|
462 | *omenuEntry10.label: Display Console Window |
---|
463 | *omenuEntry10.callback: signalConsoleCB(show) |
---|
464 | *omenuEntry11.label: Shut Down Window System |
---|
465 | *omenuEntry11.callback: windowShutdownCB() |
---|
466 | |
---|
467 | *omenuEntry3.rightBitmap: Shift-F2 |
---|
468 | *omenuEntry5.rightBitmap: Shift-F4 |
---|
469 | *omenuEntry6.rightBitmap: Shift-F6 |
---|
470 | *omenuEntry8.rightBitmap: Shift-F7 |
---|
471 | *omenuEntry9.rightBitmap: Shift-F8 |
---|
472 | *omenuEntry10.rightBitmap: Prev |
---|
473 | *omenuEntry11.rightBitmap: Ctrl-P |
---|
474 | |
---|
475 | *register.wcClassName: Command |
---|
476 | *register.vertDistance: 10 |
---|
477 | *register.horizDistance: 195 |
---|
478 | *register.label: Register for an Account |
---|
479 | *register.fromVert: *loptions |
---|
480 | *register.callback: attachAndRunCB(register,/afs/athena/system/register/xregister) |
---|
481 | |
---|
482 | |
---|
483 | ! ------------------------------------------------------------ |
---|
484 | ! Option Shell Widget specifications. |
---|
485 | ! ------------------------------------------------------------ |
---|
486 | |
---|
487 | *getSessionShell.geometry: +350+550 |
---|
488 | |
---|
489 | *getsession.wcClassName: Dialog |
---|
490 | *getsession.icon: question |
---|
491 | *getsession.label: Please enter the name of a shell script or program: |
---|
492 | *getsession.label.font: -adobe-new century schoolbook-bold-r-*-180-75-* |
---|
493 | *getsession.wcChildren: doit, abort |
---|
494 | |
---|
495 | *getsession*value.borderWidth: 2 |
---|
496 | *getsession*value.horizDistance: 100 |
---|
497 | *getsession*value.width: 300 |
---|
498 | *getsession*value.length: 128 |
---|
499 | *getsession*value.useStringInPlace: True |
---|
500 | *getsession*value: |
---|
501 | *getsession*value*resize: False |
---|
502 | *getsession*value.translations: #replace \n\ |
---|
503 | Ctrl<Key>a: beginning-of-line() \n\ |
---|
504 | Ctrl<Key>b: backward-character() \n\ |
---|
505 | Ctrl<Key>d: delete-next-character() \n\ |
---|
506 | Ctrl<Key>e: end-of-line() \n\ |
---|
507 | Ctrl<Key>f: forward-character() \n\ |
---|
508 | Ctrl<Key>h: delete-previous-character() \n\ |
---|
509 | Ctrl<Key>k: kill-to-end-of-line() \n\ |
---|
510 | Ctrl<Key>p: windowShutdownACT() \n\ |
---|
511 | Ctrl<Key>t: transpose-characters() \n\ |
---|
512 | Ctrl<Key>u: beginning-of-line() kill-to-end-of-line() \n\ |
---|
513 | Ctrl<Key>w: beginning-of-line() kill-to-end-of-line() \n\ |
---|
514 | :Meta<Key>d: delete-next-word() \n\ |
---|
515 | :Meta<Key>h: delete-previous-word() \n\ |
---|
516 | ~Shift Meta<Key>Delete: delete-previous-word() \n\ |
---|
517 | Shift Meta<Key>Delete: backward-kill-word() \n\ |
---|
518 | ~Shift Meta<Key>BackSpace: delete-previous-word() \n\ |
---|
519 | Shift Meta<Key>BackSpace: backward-kill-word() \n\ |
---|
520 | <Key>Right: forward-character() \n\ |
---|
521 | <Key>Left: backward-character() \n\ |
---|
522 | <Key>Delete: delete-previous-character() \n\ |
---|
523 | <Key>BackSpace: delete-previous-character() \n\ |
---|
524 | <FocusIn>: focus-in() \n\ |
---|
525 | <FocusOut>: focus-out() \n\ |
---|
526 | Shift<Key>F2: callbackACT(*omenuEntry3) \n\ |
---|
527 | Shift<Key>F4: callbackACT(*omenuEntry5) \n\ |
---|
528 | Shift<Key>F6: callbackACT(*omenuEntry6) \n\ |
---|
529 | Shift<Key>F7: callbackACT(*omenuEntry8) \n\ |
---|
530 | Shift<Key>F8: callbackACT(*omenuEntry9) \n\ |
---|
531 | Shift<Key>F10: callbackACT(*omenuEntry10) \n\ |
---|
532 | Shift<Key>F11: callbackACT(*omenuEntry11) \n\ |
---|
533 | <Key>F1: callbackACT(*lmenuEntry1) \n\ |
---|
534 | <Key>F2: callbackACT(*lmenuEntry2) \n\ |
---|
535 | <Key>F3: callbackACT(*lmenuEntry3) \n\ |
---|
536 | <Key>F4: callbackACT(*lmenuEntry4) \n\ |
---|
537 | ~Shift <Key>F5: callbackACT(*lmenuEntry5) \n\ |
---|
538 | <Key>F6: callbackACT(*lmenuEntry6) \n\ |
---|
539 | <Key>Return: WcPopdownACT(*getSessionShell) \ |
---|
540 | setCorrectFocus(*name_input) \ |
---|
541 | idleReset() \n\ |
---|
542 | <Key>KP_Enter: WcPopdownACT(*getSessionShell) \ |
---|
543 | setCorrectFocus(*name_input) \ |
---|
544 | idleReset() \n\ |
---|
545 | Ctrl<Key>m: WcPopdownACT(*getSessionShell) \ |
---|
546 | setCorrectFocus(*name_input) \ |
---|
547 | idleReset() \n\ |
---|
548 | <Key>Prior: signalConsoleACT(show) \n\ |
---|
549 | <Key>Next: signalConsoleACT(hide) \n\ |
---|
550 | <Key>: insert-char() \ |
---|
551 | idleReset() |
---|
552 | |
---|
553 | *doit.wcClassName: Command |
---|
554 | *doit.label: OK |
---|
555 | *doit.callback: WcPopdownCB(*getSessionShell), \ |
---|
556 | setfocusCB(*name_input) |
---|
557 | *abort.wcClassName: Command |
---|
558 | *abort.fromHoriz: *doit |
---|
559 | *abort.label: abort |
---|
560 | *abort.callback: WcPopdownCB(*getSessionShell), \ |
---|
561 | setfocusCB(*name_input), \ |
---|
562 | WcSetValueCB(*lmenuEntry1.leftBitmap: check), \ |
---|
563 | WcSetValueCB(*lmenuEntry5.leftBitmap: white), \ |
---|
564 | WcSetValueCB(*selection.label: ) |
---|
565 | |
---|
566 | |
---|
567 | *queryShell.geometry: 400x300+440+350 |
---|
568 | *queryShell.borderWidth: 3 |
---|
569 | |
---|
570 | *query.wcClassName: Dialog |
---|
571 | *query.icon: question |
---|
572 | *query.label: Login Incomplete |
---|
573 | *query.label.font: -adobe-new century schoolbook-bold-r-*-240-75-* |
---|
574 | *query.label.width: 250 |
---|
575 | *query.value: this will be replaced before it is used |
---|
576 | *query.wcChildren: cont, giveup |
---|
577 | |
---|
578 | *cont.wcClassName: Command |
---|
579 | *cont.label: continue |
---|
580 | |
---|
581 | *giveup.wcClassName: Command |
---|
582 | *giveup.label: abort |
---|
583 | *giveup.fromHoriz: *cont |
---|
584 | |
---|
585 | *query*value.width: 380 |
---|
586 | *query*value.height: 160 |
---|
587 | *query*value.borderWidth: 0 |
---|
588 | *query*value.autoFill: True |
---|
589 | *query*value.resize: False |
---|
590 | *query*value.displayCaret: False |
---|
591 | *query*value.translations: #replace |
---|
592 | |
---|
593 | *warningShell.geometry: 400x300+440+350 |
---|
594 | *warningShell.borderWidth: 3 |
---|
595 | |
---|
596 | *warning.wcClassName: Dialog |
---|
597 | *warning.icon: warning |
---|
598 | *warning.label: Login Failed |
---|
599 | *warning.label.font: -adobe-new century schoolbook-bold-r-*-240-75-* |
---|
600 | *warning.label.width: 200 |
---|
601 | *warning.value: this will be replaced before it is used |
---|
602 | *warning.wcChildren: continue |
---|
603 | |
---|
604 | *warning*value.width: 380 |
---|
605 | *warning*value.height: 160 |
---|
606 | *warning*value.borderWidth: 0 |
---|
607 | *warning*value.autoFill: True |
---|
608 | *warning*value.resize: False |
---|
609 | *warning*value.displayCaret: False |
---|
610 | *warning*value.translations: #replace \n\ |
---|
611 | Ctrl<Key>p: windowShutdownACT() \n\ |
---|
612 | <Key>Return: WcPopdownACT(*warningShell) \ |
---|
613 | reset() \n\ |
---|
614 | <Key>KP_Enter: WcPopdownACT(*warningShell) \ |
---|
615 | reset() \n\ |
---|
616 | Ctrl<Key>m: WcPopdownACT(*warningShell) \ |
---|
617 | reset() |
---|
618 | |
---|
619 | *continue.wcClassName: Command |
---|
620 | *continue.callback: WcPopdownCB(*warningShell), \ |
---|
621 | resetCB() |
---|
622 | |
---|
623 | ! |
---|
624 | ! ***************************** WARNING ************************************* |
---|
625 | ! This version of xlogin contains a color converter which is NON-STANDARD. |
---|
626 | ! The syntax for the following resources should not be used when specifying |
---|
627 | ! resources for other programs, as it will generate a warning from that |
---|
628 | ! program. |
---|
629 | ! |
---|
630 | ! Also, the color converter does not deal with the "reverseVideo" resource, |
---|
631 | ! for reasons too complicated to explain here. |
---|
632 | ! |
---|
633 | ! Having said all that... when writing a color spec, you can use up to three |
---|
634 | ! comma-seperated colors, which are applied as follows: |
---|
635 | ! - if three colors are given, they specify the color to use on mono, |
---|
636 | ! grayscale and color monitors, respectively. |
---|
637 | ! - if only two colors are given, the first is used for both mono and |
---|
638 | ! grayscale, and the second is for color. |
---|
639 | ! - if only one color is given, it is used for all three visual classes. |
---|
640 | ! |
---|
641 | |
---|
642 | *login*background: white |
---|
643 | *login*foreground: black,gray55,black |
---|
644 | |
---|
645 | *login.logo.foreground: black,gray15,red |
---|
646 | *login.eyes.foreground: black,gray15,red |
---|
647 | *login.version.foreground: black,gray15,red |
---|
648 | *login.logo2.foreground: black,gray15,red |
---|
649 | |
---|
650 | ! savershell is the big black window that covers the screen when the xlogin |
---|
651 | ! "screensaver" kicks in. |
---|
652 | ! |
---|
653 | *savershell*foreground: white |
---|
654 | *savershell*background: black |
---|
655 | |
---|
656 | ! hitanykey is the window that bounces around on top of savershell when the |
---|
657 | ! xlogin "screensaver" kicks in. |
---|
658 | ! |
---|
659 | *hitanykey*foreground: white,gray80,gray80 |
---|
660 | *hitanykey*background: black |
---|
661 | |
---|
662 | *hitanykey.logo.foreground: white,gray75,red |
---|
663 | *hitanykey.version.foreground: white,gray75,red |
---|
664 | *hitanykey.logo2.foreground: white,gray75,red |
---|
665 | |
---|
666 | |
---|
667 | *queryShell.borderColor: black |
---|
668 | *warningShell.borderColor: black |
---|