]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - mac_res.r
Right, we now have:
[PuTTY.git] / mac_res.r
1 /* $Id: mac_res.r,v 1.1.2.5 1999/02/28 02:38:40 ben Exp $ */
2 /* PuTTY resources */
3
4 #include "Types.r"
5 #include "Dialogs.r"
6 #include "Palettes.r"
7
8 /* Get resource IDs we share with C code */
9 #include "macresid.h"
10
11 /*
12  * Finder-related resources
13  */
14
15 /* 'pTTY' is now registered with Apple as PuTTY's signature */
16
17 type 'pTTY' as 'STR ';
18
19 resource 'pTTY' (0, purgeable) {
20     "PuTTY experimental Mac port"
21 };
22
23 resource 'vers' (1, purgeable) {
24     0x00, 0x45,         /* Major and minor (BCD) */
25     development, 0,     /* Status and pre-release */
26     2,                  /* Region code (2 = UK) */
27     "Mac exp",          /* Short version (list views) */
28     "Mac experimental version.  "
29     "Copyright Simon Tatham 1997-9",    /* Long version (get info) */
30 };
31
32 resource 'SIZE' (-1) {
33     reserved,
34     ignoreSuspendResumeEvents,
35     reserved,
36     cannotBackground,
37     needsActivateOnFGSwitch,
38     backgroundAndForeground,
39     dontGetFrontClicks,
40     ignoreAppDiedEvents,
41     is32BitCompatible,
42     notHighLevelEventAware,
43     onlyLocalHLEvents,
44     notStationeryAware,
45     useTextEditServices,
46     reserved,
47     reserved,
48     reserved,
49     1024 * 1024,        /* Minimum size */
50     1024 * 1024,        /* Preferred size */
51 };
52
53 resource 'FREF' (128, purgeable) {
54     /* The application itself */
55     'APPL', 128, ""
56 };
57
58 resource 'FREF' (129, purgeable) {
59     /* Saved session */
60     'Sess', 129, ""
61     };
62
63 resource 'FREF' (130, purgeable) {
64     /* SSH host keys database */
65     'HKey', 130, ""
66 };
67
68 resource 'BNDL' (128, purgeable) {
69     'pTTY', 0,
70     {
71         'ICN#', {
72             128, 128,
73             129, 129,
74             130, 130
75         },
76         'FREF', {
77             128, 128,
78             129, 129,
79             130, 130
80         };
81     };
82 };
83
84 /* Icons, courtesy of DeRez */
85
86 /* Application icon */
87 resource 'ICN#' (128, purgeable) {
88         {       /* array: 2 elements */
89                 /* [1] */
90                 $"00003FFE 00004001 00004FF9 00005005"
91                 $"00005355 00004505 00005A05 00002405"
92                 $"00004A85 00019005 000223F9 00047C01"
93                 $"00180201 7FA00C7D 801F1001 9FE22001"
94                 $"A00CDFFE AA892002 A0123FFE A82C0000"
95                 $"A0520000 AA6A0000 A00A0000 9FF20000"
96                 $"80020000 80020000 80FA0000 80020000"
97                 $"80020000 7FFC0000 40040000 7FFC",
98                 /* [2] */
99                 $"00003FFE 00007FFF 0000 7FFF 00007FFF"
100                 $"00007FFF 00007FFF 0000 7FFF 00007FFF"
101                 $"00007FFF 00007FFF 0000 7FFF 00007FFF"
102                 $"00007FFF 7FFC7FFF FFFE 7FFF FFFE7FFF"
103                 $"FFFE3FFE FFFE3FFE FFFE 3FFE FFFE0000"
104                 $"FFFE0000 FFFE0000 FFFE 0000 FFFE0000"
105                 $"FFFE0000 FFFE0000 FFFE 0000 FFFE0000"
106                 $"FFFE0000 7FFC0000 7FFC 0000 7FFC"
107         }
108 };
109 resource 'ics#' (128, purgeable) {
110         {       /* array: 2 elements */
111                 /* [1] */
112                 $"00FF 0081 00BD 00A5 00A5 00BD FF81 818D"
113                 $"BD81 A57E A500 BD00 8100 8D00 8100 7E",
114                 /* [2] */
115                 $"00FF 00FF 00FF 00FF 00FF 00FF FFFF FFFF"
116                 $"FFFF FF7E FF00 FF00 FF00 FF00 FF00 7E"
117         }
118 };
119
120 /* Known hosts icon */
121 resource 'ICN#' (130, purgeable) {
122         {       /* array: 2 elements */
123                 /* [1] */
124                 $"1FFFFC00 10000600 10000500 1FFFFC80"
125                 $"10000440 10000420 1FFFFFF0 10000010"
126                 $"13FC0F90 1C03F0F0 15FA8090 150A8090"
127                 $"1D0B80F0 150A8050 15FA8050 1C038070"
128                 $"143A8050 14028050 1FFFABF0 12048110"
129                 $"13FCFF10 1AAAAAB0 10000010 17FFFFD0"
130                 $"14000050 15252250 15555550 15252250"
131                 $"14000050 17FFFFD0 10000010 1FFFFFF0",
132                 /* [2] */
133                 $"1FFFFC00 1FFFFE00 1FFFFF00 1FFFFF80"
134                 $"1FFFFFC0 1FFFFFE0 1FFFFFF0 1FFFFFF0"
135                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
136                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
137                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
138                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
139                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
140                 $"1FFFFFF0 1FFFFFF0 1FFFFFF0 1FFFFFF0"
141         }
142 };
143
144 resource 'icl4' (130, purgeable) {
145         $"000FFFFFFFFFFFFFFFFFFF0000000000"
146         $"000F00000000000000000FF000000000"
147         $"000F00000000000000000FCF00000000"
148         $"000FFFFFFFFFFFFFFFFFFFCCF0000000"
149         $"000F00000000000000000FCCCF000000"
150         $"000F00000000000000000FCCCCF00000"
151         $"000FFFFFFFFFFFFFFFFFFFFFFFFF0000"
152         $"000F00000000000000000000000F0000"
153         $"000F00FFFFFFFF000000FFFFF00F0000"
154         $"000FFFCCCCCCCCFFFFFFCCCCFFFF0000"
155         $"000F0FCEEEEECCF0FCCCCCCCF00F0000"
156         $"000F0FCE0D0D0CF0FCCCCCCCF00F0000"
157         $"000FFFCED0D0CCFFFCCCCCCCFFFF0000"
158         $"000F0FCE0D0D0CF0FCCCCCCCCF0F0000"
159         $"000F0FCCC0C0CCF0FCCCCCCCCF0F0000"
160         $"000FFFCCCCCCCCFFFCCCCCCCCFFF0000"
161         $"000F0FCCCCFFFCF0FCCCCCCCCF0F0000"
162         $"000F0FCCCCCCCCF0FCCCCCCCCF0F0000"
163         $"000FFFFFFFFFFFFFFDDDDDDFFFFF0000"
164         $"000F00FCCDDEEF00FDDDDDDF000F0000"
165         $"000F00FFFFFFFF00FFFFFFFF000F0000"
166         $"000F0C0C0C0C0C0C0C0C0C0C0C0F0000"
167         $"000FC0C0C0C0C0C0C0C0C0C0C0CF0000"
168         $"000F0FFFFFFFFFFFFFFFFFFFFF0F0000"
169         $"000FCF0000000000000000000FCF0000"
170         $"000F0F0F00F00F0F00F000F00F0F0000"
171         $"000FCF0F0F0F0F0F0F0F0F0F0FCF0000"
172         $"000F0F0F00F00F0F00F000F00F0F0000"
173         $"000FCF0000000000000000000FCF0000"
174         $"000F0FFFFFFFFFFFFFFFFFFFFF0F0000"
175         $"000FC0C0C0C0C0C0C0C0C0C0C0CF0000"
176         $"000FFFFFFFFFFFFFFFFFFFFFFFFF"
177 };
178 resource 'icl8' (130, purgeable) {
179         $"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000"
180         $"000000FF0000000000000000000000000000000000FFFF000000000000000000"
181         $"000000FF0000000000000000000000000000000000FFF6FF0000000000000000"
182         $"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F6FF00000000000000"
183         $"000000FF0000000000000000000000000000000000FFF6F6F6FF000000000000"
184         $"000000FF0000000000000000000000000000000000FFF6F6F6F6FF0000000000"
185         $"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000"
186         $"000000FF0000000000000000000000000000000000000000000000FF00000000"
187         $"000000FF0000FFFFFFFFFFFFFFFF000000000000FFFFFFFFFF0000FF00000000"
188         $"000000FFFFFF2B2B2B2B2B2B2B2BFFFFFFFFFFFF2B2B2B2BFFFFFFFF00000000"
189         $"000000FF00FF2BFCFCFCFCFCF82BFF00FF2B2B2B2B2B2B2BFF0000FF00000000"
190         $"000000FF00FF2BFC2A2A2A2A002BFF00FF2B2B2B2B2B2B2BFF0000FF00000000"
191         $"000000FFFFFF2BFC2A2A2A2A002BFFFFFF2B2B2B2B2B2B2BFFFFFFFF00000000"
192         $"000000FF00FF2BFC2A2A2A2A002BFF00FF2B2B2B2B2B2B2B2BFF00FF00000000"
193         $"000000FF00FF2BF800000000002BFF00FF2B2B2B2B2B2B2B2BFF00FF00000000"
194         $"000000FFFFFF2B2B2B2B2B2B2B2BFFFFFF2B2B2B2B2B2B2B2BFFFFFF00000000"
195         $"000000FF00FF2B2B2B2BFFFFFF2BFF00FF2B2B2B2B2B2B2B2BFF00FF00000000"
196         $"000000FF00FF2B2B2B2B2B2B2B2BFF00FF2B2B2B2B2B2B2B2BFF00FF00000000"
197         $"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF9F9F9F9F9F9FFFFFFFFFF00000000"
198         $"000000FF0000FFF7F8F9FAFBFCFF0000FFF9F9F9F9F9F9FF000000FF00000000"
199         $"000000FF0000FFFFFFFFFFFFFFFF0000FFFFFFFFFFFFFFFF000000FF00000000"
200         $"000000FFF5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5FF00000000"
201         $"000000FFF5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5FF00000000"
202         $"000000FFF5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5FF00000000"
203         $"000000FFF5FF00000000000000000000000000000000000000FFF5FF00000000"
204         $"000000FFF5FF00FF0000FF0000FF00FF0000FF000000FF0000FFF5FF00000000"
205         $"000000FFF5FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FFF5FF00000000"
206         $"000000FFF5FF00FF0000FF0000FF00FF0000FF000000FF0000FFF5FF00000000"
207         $"000000FFF5FF00000000000000000000000000000000000000FFF5FF00000000"
208         $"000000FFF5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5FF00000000"
209         $"000000FFF5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5F5FF00000000"
210         $"000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
211 };
212
213
214 /*
215  * Internal resources
216  */
217
218 /* Menu bar */
219
220 resource 'MBAR' (MBAR_Main, preload) {
221     { mApple, mFile }
222 };
223
224 resource 'MENU' (mApple, preload) {
225     mApple,
226     textMenuProc,
227     0b11111111111111111111111111111101,
228     enabled,
229     apple,
230     {
231         "About PuTTYÉ",         noicon, nokey, nomark, plain,
232         "-",                    noicon, nokey, nomark, plain,
233     }
234 };
235
236 resource 'MENU' (mFile, preload) {
237     mFile,
238     textMenuProc,
239     0b11111111111111111111111111111011,
240     enabled,
241     "File",
242     {
243         "New Session",          noicon, "N",   nomark, plain,
244         "Close",                noicon, "W",   nomark, plain,
245         "-",                    noicon, nokey, nomark, plain,
246         "Quit",                 noicon, "Q",   nomark, plain,
247     }
248 };
249
250 /* Fatal error box.  Stolen from the Finder. */
251
252 resource 'ALRT' (wFatal, "fatalbox", purgeable) {
253         {54, 67, 152, 435},
254         wFatal,
255         beepStages,
256         alertPositionMainScreen
257 };
258
259 resource 'DITL' (wFatal, "fatalbox", purgeable) {
260         {       /* array DITLarray: 3 elements */
261                 /* [1] */
262                 {68, 299, 88, 358},
263                 Button {
264                         enabled,
265                         "OK"
266                 },
267                 /* [2] */
268                 {68, 227, 88, 286},
269                 StaticText {
270                         disabled,
271                         ""
272                 },
273                 /* [3] */
274                 {7, 74, 55, 358},
275                 StaticText {
276                         disabled,
277                         "^0"
278                 }
279         }
280 };
281
282 /* Terminal window */
283
284 resource 'WIND' (wTerminal, "terminal", purgeable) {
285     { 0, 0, 200, 200 },
286     zoomDocProc,
287     invisible,
288     goAway,
289     0x0,
290     "untitled",
291     staggerParentWindowScreen
292 };
293
294 resource 'CNTL' (cVScroll, "vscroll", purgeable) {
295     { 0, 0, 48, 16 },
296     0, invisible, 0, 0,
297     scrollBarProc, 0, ""
298 };
299
300 /* "About" box */
301
302 resource 'DLOG' (wAbout, "about", purgeable) {
303     { 0, 0, 120, 186 },
304     noGrowDocProc,
305     visible,
306     goAway,
307     wAbout,             /* RefCon -- identifies the window to PuTTY */
308     wAbout,             /* DITL ID */
309     "About PuTTY",
310     alertPositionMainScreen
311 };
312
313 resource 'dlgx' (wAbout, "about", purgeable) {
314     versionZero {
315         kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
316     }
317 };
318
319 resource 'DITL' (wAbout, "about", purgeable) {
320     {
321         { 87, 13, 107, 173 },
322         Button { enabled, "View Licence" },
323         { 13, 13, 29, 173 },
324         StaticText { disabled, "PuTTY"},
325         { 42, 13, 74, 173 },
326         StaticText { disabled, "Experimental Mac Port\n"
327                                "© 1997-9 Simon Tatham"},
328     }
329 };
330
331 /* Licence box */
332
333 resource 'WIND' (wLicence, "licence", purgeable) {
334     { 0, 0, 300, 300 },
335     noGrowDocProc,
336     visible,
337     goAway,
338     wLicence,
339     "PuTTY Licence",
340     alertPositionParentWindowScreen
341 };
342
343 type 'TEXT' {
344     string;
345 };
346
347 resource 'TEXT' (wLicence, "licence", purgeable) {
348     "Copyright © 1997-9 Simon Tatham\n"
349     "Portions copyright Gary S. Brown and Eric Young\n\n"
350     
351     "Permission is hereby granted, free of charge, to any person "
352     "obtaining a copy of this software and associated documentation "
353     "files (the \"Software\"), to deal in the Software without "
354     "restriction, including without limitation the rights to use, "
355     "copy, modify, merge, publish, distribute, sublicense, and/or "
356     "sell copies of the Software, and to permit persons to whom the "
357     "Software is furnished to do so, subject to the following "
358     "conditions:\n\n"
359     
360     "The above copyright notice and this permission notice shall be "
361     "included in all copies or substantial portions of the Software.\n\n"
362     
363     "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, "
364     "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF "
365     "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND "
366     "NONINFRINGEMENT.  IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR "
367     "ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF "
368     "CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN "
369     "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
370     "SOFTWARE."
371 };
372
373 /* Default Preferences */
374
375 type PREF_wordness_type {
376     wide array [256] {
377         integer;
378     };
379 };
380
381 /*
382  * This resource collects together the various short settings we need.
383  * Each area of the system gets its own longword for flags, and then
384  * we have the other settings.  Strings are stored as two shorts --
385  * the id of a STR# or STR resource, and the index if it's a STR# (0
386  * for STR).
387  */
388
389 type 'pSET' {
390     /* Basic boolean options */
391     boolean dont_close_on_exit, close_on_exit;
392     align long;
393     /* SSH options */
394     boolean use_pty, no_pty;
395     align long;
396     /* Telnet options */
397     boolean bsd_environ, rfc_environ;
398     align long;
399     /* Keyboard options */
400     boolean backspace, delete;
401     boolean std_home_end, rxvt_home_end;
402     boolean std_funkeys, linux_funkeys;
403     boolean normal_cursor, app_cursor;
404     boolean normal_keypad, app_keypad;
405     align long;
406     /* Terminal options */
407     boolean no_dec_om, dec_om;
408     boolean no_auto_wrap, auto_wrap;
409     boolean no_auto_cr, auto_cr;
410     boolean use_icon_name, win_name_always;
411     align long;
412     /* Colour options */
413     boolean bold_font, bold_colour;
414     align long;
415     /* Non-boolean options */
416     integer; integer;           /* host */
417     longint;                    /* port */
418     longint prot_telnet = 0, prot_ssh = 1; /* protocol */
419     integer; integer;           /* termtype */
420     integer; integer;           /* termspeed */
421     integer; integer;           /* environmt */
422     integer; integer;           /* username */
423     longint;                    /* width */
424     longint;                    /* height */
425     longint;                    /* save_lines */
426     integer; unsigned integer;  /* font */
427     longint;                    /* font_height */
428     integer;                    /* 'pltt' for colours */
429     integer;                    /* 'wORD' for wordness */
430 };
431
432 resource 'pSET' (PREF_settings, "settings", purgeable) {
433     close_on_exit,
434     use_pty,
435     rfc_environ,
436     delete,
437     std_home_end,
438     std_funkeys,
439     normal_cursor,
440     normal_keypad,
441     no_dec_om,
442     auto_wrap,
443     no_auto_cr,
444     use_icon_name,
445     bold_colour,
446 #define PREF_strings 1024
447     PREF_strings, 1,            /* host 'STR#' */
448     23, prot_telnet,            /* port, protocol */
449     PREF_strings, 2,            /* termtype 'STR#' */
450     PREF_strings, 3,            /* termspeed 'STR#' */
451     PREF_strings, 4,            /* environmt 'STR#' */
452     PREF_strings, 5,            /* username */
453     80, 24, 200,                /* width, height, save_lines */
454     PREF_strings, 6,            /* font 'STR#' */
455     9,                          /* font_height */
456 #define PREF_pltt 1024
457     PREF_pltt,                  /* colours 'pltt' */
458 #define PREF_wordness 1024
459     PREF_wordness,              /* wordness 'wORD */
460 };
461
462 resource 'STR#' (PREF_strings, "strings", purgeable) {
463     {
464         "nowhere.loopback.edu",
465         "xterm",
466         "38400,38400",
467         "\000",
468         "",
469         "Monaco",
470     }
471 };
472
473 resource PREF_wordness_type (PREF_wordness, "wordness", purgeable) {
474     {
475         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
476         0,1,2,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,
477         1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,2,
478         1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,
479         1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
480         1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
481         2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,
482         2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2
483     }
484 };
485
486 /*
487  * and _why_ isn't this provided for us?
488  */
489 type 'TMPL' {
490     array {
491         pstring;                /* Item name */
492         literal longint;        /* Item type */
493     };
494 };
495
496 resource 'TMPL' (128, "pSET") {
497     {
498         "Close on exit", 'BBIT',
499         "", 'BBIT', /* Must pad to a multiple of 8 */
500         "", 'BBIT',
501         "", 'BBIT',
502         "", 'BBIT',
503         "", 'BBIT',
504         "", 'BBIT',
505         "", 'BBIT',
506         "", 'ALNG',
507         "No PTY", 'BBIT',
508         "", 'BBIT',
509         "", 'BBIT',
510         "", 'BBIT',
511         "", 'BBIT',
512         "", 'BBIT',
513         "", 'BBIT',
514         "", 'BBIT',
515         "", 'ALNG',
516         "RFC OLD-ENVIRON", 'BBIT',
517         "", 'BBIT',
518         "", 'BBIT',
519         "", 'BBIT',
520         "", 'BBIT',
521         "", 'BBIT',
522         "", 'BBIT',
523         "", 'BBIT',
524         "", 'ALNG',
525         "Delete key sends delete", 'BBIT',
526         "rxvt home/end", 'BBIT',
527         "Linux function keys", 'BBIT',
528         "Application cursor keys", 'BBIT',
529         "Application keypad", 'BBIT',
530         "", 'BBIT',
531         "", 'BBIT',
532         "", 'BBIT',
533         "", 'ALNG',
534         "Use colour for bold", 'BBIT',
535         "", 'BBIT',
536         "", 'BBIT',
537         "", 'BBIT',
538         "", 'BBIT',
539         "", 'BBIT',
540         "", 'BBIT',
541         "", 'BBIT',
542         "", 'ALNG',
543         "Host STR# ID", 'DWRD',
544         "Host STR# index", 'DWRD',
545         "Port", 'DLNG',
546         "Protocol", 'DLNG',
547         "Termspeed STR# ID", 'DWRD',
548         "Termspeed STR# index", 'DWRD',
549         "Environ STR# ID", 'DWRD',
550         "Environ STR# index", 'DWRD',
551         "Username STR# ID", 'DWRD',
552         "Username STR# index", 'DWRD',
553         "Terminal width", 'DLNG',
554         "Terminal height", 'DLNG',
555         "Save lines", 'DLNG',
556         "Font STR# ID", 'DWRD',
557         "Font STR# index", 'DWRD',
558         "Font size", 'DLNG',
559         "pltt ID", 'DWRD',
560         "wORD ID", 'DWRD',
561     };
562 };
563
564 resource 'pltt' (PREF_pltt, purgeable) {
565     {
566         0x0000, 0x0000, 0x0000, pmTolerant, 0x2000,     /* black */
567         0x5555, 0x5555, 0x5555, pmTolerant, 0x2000,     /* bright black */
568         0xbbbb, 0x0000, 0x0000, pmTolerant, 0x2000,     /* red */
569         0xffff, 0x5555, 0x5555, pmTolerant, 0x2000,     /* bright red */
570         0x0000, 0xbbbb, 0x0000, pmTolerant, 0x2000,     /* green */
571         0x5555, 0xffff, 0x5555, pmTolerant, 0x2000,     /* bright green */
572         0xbbbb, 0xbbbb, 0x0000, pmTolerant, 0x2000,     /* yellow */
573         0xffff, 0xffff, 0x0000, pmTolerant, 0x2000,     /* bright yellow */
574         0x0000, 0x0000, 0xbbbb, pmTolerant, 0x2000,     /* blue */
575         0x5555, 0x5555, 0xffff, pmTolerant, 0x2000,     /* bright blue */
576         0xbbbb, 0x0000, 0xbbbb, pmTolerant, 0x2000,     /* magenta */
577         0xffff, 0x5555, 0xffff, pmTolerant, 0x2000,     /* bright magenta */
578         0x0000, 0xbbbb, 0xbbbb, pmTolerant, 0x2000,     /* cyan */
579         0x5555, 0xffff, 0xffff, pmTolerant, 0x2000,     /* bright cyan */
580         0xbbbb, 0xbbbb, 0xbbbb, pmTolerant, 0x2000,     /* white */
581         0xffff, 0xffff, 0xffff, pmTolerant, 0x2000,     /* bright white */
582         0xbbbb, 0xbbbb, 0xbbbb, pmTolerant, 0x2000,     /* default fg */
583         0xffff, 0xffff, 0xffff, pmTolerant, 0x2000,     /* default bold fg */
584         0x0000, 0x0000, 0x0000, pmTolerant, 0x2000,     /* default bg */
585         0x5555, 0x5555, 0x5555, pmTolerant, 0x2000,     /* default bold bg */
586         0x0000, 0x0000, 0x0000, pmTolerant, 0x2000,     /* cursor bg */
587         0x0000, 0x0000, 0x0000, pmTolerant, 0x2000,     /* bold cursor bg */
588         0x0000, 0xffff, 0x0000, pmTolerant, 0x2000,     /* cursor fg */
589         0x0000, 0xffff, 0x0000, pmTolerant, 0x2000,     /* bold cursor fg */
590     }
591 };
592