… | |
… | |
191 | }; |
191 | }; |
192 | |
192 | |
193 | bool |
193 | bool |
194 | rxvt_term::init_vars () |
194 | rxvt_term::init_vars () |
195 | { |
195 | { |
|
|
196 | sw_term.start (SIGTERM); |
|
|
197 | |
196 | pix_colors_focused = new rxvt_color [TOTAL_COLORS]; |
198 | pix_colors_focused = new rxvt_color [TOTAL_COLORS]; |
197 | #ifdef OFF_FOCUS_FADING |
199 | #ifdef OFF_FOCUS_FADING |
198 | pix_colors_unfocused = new rxvt_color [TOTAL_COLORS]; |
200 | pix_colors_unfocused = new rxvt_color [TOTAL_COLORS]; |
199 | #endif |
201 | #endif |
200 | pix_colors = pix_colors_focused; |
202 | pix_colors = pix_colors_focused; |
… | |
… | |
617 | XA_STRING, 8, PropModeReplace, |
619 | XA_STRING, 8, PropModeReplace, |
618 | (unsigned char *)locale, strlen (locale)); |
620 | (unsigned char *)locale, strlen (locale)); |
619 | |
621 | |
620 | if (!XSupportsLocale ()) |
622 | if (!XSupportsLocale ()) |
621 | { |
623 | { |
622 | rxvt_warn ("the locale is not supported by Xlib, working withotu locale support.\n"); |
624 | rxvt_warn ("the locale is not supported by Xlib, working without locale support.\n"); |
623 | return; |
625 | return; |
624 | } |
626 | } |
625 | |
627 | |
626 | im_ev.start (display); |
628 | im_ev.start (display); |
627 | |
629 | |
… | |
… | |
1390 | rxvt_get_ttymode (&tio, er); |
1392 | rxvt_get_ttymode (&tio, er); |
1391 | |
1393 | |
1392 | /* set initial window size */ |
1394 | /* set initial window size */ |
1393 | tt_winch (); |
1395 | tt_winch (); |
1394 | |
1396 | |
|
|
1397 | sw_chld.start (SIGCHLD); |
|
|
1398 | |
1395 | #ifndef __QNX__ |
1399 | #ifndef __QNX__ |
1396 | /* spin off the command interpreter */ |
1400 | /* spin off the command interpreter */ |
1397 | switch (cmd_pid = fork ()) |
1401 | switch (cmd_pid = fork ()) |
1398 | { |
1402 | { |
1399 | case -1: |
1403 | case -1: |