[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xterm 中无法通过 shift 切换 scim 中英文模式

Xterm 中无法通过 Shift 按键切换 scim 的中英文输入模式,不知道大家遇到
这个问题没有。最近这两天看了源码,找到了一个解决办法。在 .Xresources 

XTerm*VT100*translations: #override \n\
    Shift <KeyRelease>:insert-seven-bit()


问题的原因是 Xterm 没有把 Shift Key Release 事件传递给 Scim。加入这句
话之后就能够将 Shift Key Release 事件传递给 scim。

我在想,有没有必要将这个配置加入到 deiban 的 xterm 包中。毕竟对中文输


flowchart, n. & v.:
	[From flow "to ripple down in rich profusion, as hair" + chart
"a cryptic hidden-treasure map designed to mislead the uninitiated."]
1. n. The solution, if any, to a class of Mascheroni construction
problems in which given algorithms require geometrical representation
using only the 35 basic ideograms of the ANSI template.  2. n. Neronic
doodling while the system burns.  3. n. A low-cost substitute for
wallpaper.  4. n.  The innumerate misleading the illiterate.  "A
thousand pictures is worth ten lines of code." -- The Programmer's
Little Red Vade Mecum, Mao Tse T'umps.  5. v.intrans. To produce
flowcharts with no particular object in mind.  6. v.trans. To obfuscate
(a problem) with esoteric cartoons.
		-- Stan Kelly-Bootle, "The Devil's DP Dictionary"

Reply to: