mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-17 11:00:59 -05:00
RDB's Unicode patch. Fonts are now used in Unicode mode where
possible and we have a single unified means of trying to display any Unicode code point. Instead of the various ad-hoc translation modes we had before, we now have a single `codepage' option which allows us to treat the incoming (and outgoing) text as any given character set, and locally we map that to Unicode and back. [originally from svn r1110]
This commit is contained in:
11
settings.c
11
settings.c
@ -150,10 +150,7 @@ void save_settings(char *section, int do_host, Config * cfg)
|
||||
}
|
||||
write_setting_s(sesskey, buf, buf2);
|
||||
}
|
||||
write_setting_i(sesskey, "KoiWinXlat", cfg->xlat_enablekoiwin);
|
||||
write_setting_i(sesskey, "88592Xlat", cfg->xlat_88592w1250);
|
||||
write_setting_i(sesskey, "88592-CP852", cfg->xlat_88592cp852);
|
||||
write_setting_i(sesskey, "CapsLockCyr", cfg->xlat_capslockcyr);
|
||||
write_setting_s(sesskey, "LineCodePage", cfg->line_codepage);
|
||||
write_setting_i(sesskey, "ScrollBar", cfg->scrollbar);
|
||||
write_setting_i(sesskey, "ScrollOnKey", cfg->scroll_on_key);
|
||||
write_setting_i(sesskey, "ScrollOnDisp", cfg->scroll_on_disp);
|
||||
@ -353,10 +350,8 @@ void load_settings(char *section, int do_host, Config * cfg)
|
||||
cfg->wordness[j] = atoi(q);
|
||||
}
|
||||
}
|
||||
gppi(sesskey, "KoiWinXlat", 0, &cfg->xlat_enablekoiwin);
|
||||
gppi(sesskey, "88592Xlat", 0, &cfg->xlat_88592w1250);
|
||||
gppi(sesskey, "88592-CP852", 0, &cfg->xlat_88592cp852);
|
||||
gppi(sesskey, "CapsLockCyr", 0, &cfg->xlat_capslockcyr);
|
||||
gpps(sesskey, "LineCodePage", "", cfg->line_codepage,
|
||||
sizeof(cfg->line_codepage));
|
||||
gppi(sesskey, "ScrollBar", 1, &cfg->scrollbar);
|
||||
gppi(sesskey, "ScrollOnKey", 0, &cfg->scroll_on_key);
|
||||
gppi(sesskey, "ScrollOnDisp", 1, &cfg->scroll_on_disp);
|
||||
|
Reference in New Issue
Block a user