… | |
… | |
9 | * - extensive modifications |
9 | * - extensive modifications |
10 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
10 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
11 | * - extensive modifications |
11 | * - extensive modifications |
12 | * Copyright (c) 1999 D J Hawkey Jr <hawkeyd@visi.com> |
12 | * Copyright (c) 1999 D J Hawkey Jr <hawkeyd@visi.com> |
13 | * - QNX support |
13 | * - QNX support |
|
|
14 | * Copyright (c) 2003-2004 Marc Lehmann <pcg@goof.com> |
14 | * |
15 | * |
15 | * This program is free software; you can redistribute it and/or modify |
16 | * This program is free software; you can redistribute it and/or modify |
16 | * it under the terms of the GNU General Public License as published by |
17 | * it under the terms of the GNU General Public License as published by |
17 | * the Free Software Foundation; either version 2 of the License, or |
18 | * the Free Software Foundation; either version 2 of the License, or |
18 | * (at your option) any later version. |
19 | * (at your option) any later version. |
… | |
… | |
398 | #if defined (HOTKEY_CTRL) || defined (HOTKEY_META) |
399 | #if defined (HOTKEY_CTRL) || defined (HOTKEY_META) |
399 | ks_bigfont = XK_greater; |
400 | ks_bigfont = XK_greater; |
400 | ks_smallfont = XK_less; |
401 | ks_smallfont = XK_less; |
401 | #endif |
402 | #endif |
402 | |
403 | |
403 | #ifdef GREEK_SUPPORT |
|
|
404 | ks_greekmodeswith = GREEK_KEYBOARD_MODESWITCH; |
|
|
405 | #endif |
|
|
406 | |
|
|
407 | refresh_limit = 1; |
404 | refresh_limit = 1; |
408 | refresh_type = SLOW_REFRESH; |
405 | refresh_type = SLOW_REFRESH; |
409 | prev_nrow = prev_ncol = 0; |
406 | prev_nrow = prev_ncol = 0; |
410 | #ifdef MULTICHAR_SET |
407 | #ifdef MULTICHAR_SET |
411 | # ifdef MULTICHAR_ENCODING |
408 | # ifdef MULTICHAR_ENCODING |
… | |
… | |
806 | rxvt_term::set_locale (const char *locale) |
803 | rxvt_term::set_locale (const char *locale) |
807 | { |
804 | { |
808 | #if HAVE_XSETLOCALE || HAVE_SETLOCALE |
805 | #if HAVE_XSETLOCALE || HAVE_SETLOCALE |
809 | free (this->locale); |
806 | free (this->locale); |
810 | this->locale = rxvt_strdup (setlocale (LC_CTYPE, "")); |
807 | this->locale = rxvt_strdup (setlocale (LC_CTYPE, "")); |
811 | rxvt_set_locale (this->locale); |
808 | SET_LOCALE (this->locale); |
812 | mbstate.reset (); |
809 | mbstate.reset (); |
813 | #endif |
810 | #endif |
814 | #if HAVE_NL_LANGINFO |
811 | #if HAVE_NL_LANGINFO |
815 | free (codeset); |
812 | free (codeset); |
816 | codeset = strdup (nl_langinfo (CODESET)); |
813 | codeset = strdup (nl_langinfo (CODESET)); |
… | |
… | |
899 | if (menubar_visible ()) |
896 | if (menubar_visible ()) |
900 | { |
897 | { |
901 | PrivateModes |= PrivMode_menuBar; |
898 | PrivateModes |= PrivMode_menuBar; |
902 | SavedModes |= PrivMode_menuBar; |
899 | SavedModes |= PrivMode_menuBar; |
903 | } |
900 | } |
904 | |
|
|
905 | #ifdef GREEK_SUPPORT |
|
|
906 | greek_init (); |
|
|
907 | #endif |
|
|
908 | |
901 | |
909 | #ifdef CURSOR_BLINK |
902 | #ifdef CURSOR_BLINK |
910 | if (Options & Opt_cursorBlink) |
903 | if (Options & Opt_cursorBlink) |
911 | (void)gettimeofday (&lastcursorchange, NULL); |
904 | (void)gettimeofday (&lastcursorchange, NULL); |
912 | #endif |
905 | #endif |