1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: xdefaults.c |
2 | * File: xdefaults.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: xdefaults.C,v 1.6 2003/12/18 00:38:07 pcg Exp $ |
4 | * $Id: xdefaults.C,v 1.7 2004/01/16 22:26:18 pcg Exp $ |
5 | * |
5 | * |
6 | * All portions of code are copyright by their respective author/s. |
6 | * All portions of code are copyright by their respective author/s. |
7 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
7 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
8 | * - original version |
8 | * - original version |
9 | * Copyright (c) 1997,1998 mj olesen <olesen@me.queensu.ca> |
9 | * Copyright (c) 1997,1998 mj olesen <olesen@me.queensu.ca> |
… | |
… | |
141 | #endif |
141 | #endif |
142 | #ifdef CURSOR_BLINK |
142 | #ifdef CURSOR_BLINK |
143 | BOOL(Rs_cursorBlink, "cursorBlink", "bc", Opt_cursorBlink, "blinking cursor"), |
143 | BOOL(Rs_cursorBlink, "cursorBlink", "bc", Opt_cursorBlink, "blinking cursor"), |
144 | #endif |
144 | #endif |
145 | #ifdef POINTER_BLANK |
145 | #ifdef POINTER_BLANK |
146 | BOOL(Rs_pointerBlank, "pointerBlank", NULL, Opt_pointerBlank, NULL), |
146 | BOOL(Rs_pointerBlank, "pointerBlank", "pb", Opt_pointerBlank, "switch off pointer after delay"), |
147 | #endif |
147 | #endif |
148 | STRG(Rs_color + Color_bg, "background", "bg", "color", "background color"), |
148 | STRG(Rs_color + Color_bg, "background", "bg", "color", "background color"), |
149 | STRG(Rs_color + Color_fg, "foreground", "fg", "color", "foreground color"), |
149 | STRG(Rs_color + Color_fg, "foreground", "fg", "color", "foreground color"), |
150 | RSTRG(Rs_color + minCOLOR + 0, "color0", "color"), |
150 | RSTRG(Rs_color + minCOLOR + 0, "color0", "color"), |
151 | RSTRG(Rs_color + minCOLOR + 1, "color1", "color"), |
151 | RSTRG(Rs_color + minCOLOR + 1, "color1", "color"), |
… | |
… | |
530 | |
530 | |
531 | if (str != NULL) |
531 | if (str != NULL) |
532 | rxvt_parse_keysym(aR_ opt + sizeof("keysym.") - 1, str); |
532 | rxvt_parse_keysym(aR_ opt + sizeof("keysym.") - 1, str); |
533 | } else |
533 | } else |
534 | #endif |
534 | #endif |
535 | ; |
535 | bad_option = 1; |
536 | } |
536 | } |
537 | |
537 | |
538 | if (bad_option) |
538 | if (bad_option) |
539 | rxvt_usage(0); |
539 | rxvt_usage(0); |
540 | } |
540 | } |