To: vim-dev@vim.org Subject: patch 5.5a.10 (extra) Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5a.10 Problem: Win32 console: Using ALTGR on a German keyboard to produce "}" doesn't work, because the 8th bit is set when ALT is pressed. Solution: Don't set the 8th bit when ALT and CTRL are used. (Leipert) Files: src/os_win32.c *** ../vim-5.5a.9/src/os_win32.c Mon Aug 30 10:40:57 1999 --- src/os_win32.c Thu Sep 2 20:16:52 1999 *************** *** 531,538 **** else { *pch = (i > 0) ? pker->AChar : NUL; ! /* Interpret the ALT key as making the key META */ ! if ((nModifs & ALT) != 0) *pch |= 0x80; } --- 531,539 ---- else { *pch = (i > 0) ? pker->AChar : NUL; ! /* Interpret the ALT key as making the key META, but only when not ! * combined with CTRL (which is ALTGR). */ ! if ((nModifs & ALT) != 0 && (nModifs & CTRL) == 0) *pch |= 0x80; } *** ../vim-5.5a.9/src/version.c Thu Sep 2 20:09:15 1999 --- src/version.c Thu Sep 2 20:17:04 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 10, -- [SIR LAUNCELOT runs back up the stairs, grabs a rope of the wall and swings out over the heads of the CROWD in a swashbuckling manner towards a large window. He stops just short of the window and is left swing pathetically back and forth.] LAUNCELOT: Excuse me ... could somebody give me a push ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / / .