comparison cmd/Kinput2.ad @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children 31f1de16683a
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 ! $Id: Kinput2.ad,v 1.24 1999/04/12 09:21:26 ishisone Exp $
2 !
3 ! app-defaults file for kinput2 version 2.0
4 !
5 !!
6 !! things you shouldn't change
7 !!
8 Kinput2.mappedWhenManaged: false
9 Kinput2.width: 1
10 Kinput2.height: 1
11 *converter.accelerators: <Key>: to-inputobj()
12 ! AIX seems to need the following superfluous definition.
13 *ki2AppDefsLoaded: true
14 !!
15 !! title
16 !!
17 *SeparateConversion.title: Kana-Kanji Conversion
18 *selectionShell.title: Candidate Selection
19 *auxShell.title: Auxiliary Control
20 ! if you're using mwm (Motif1.1), you can set kanji titles.
21 !*SeparateConversion.title: \033$(B$+$J4A;zJQ49
22 !*SeparateConversion.titleEncoding: COMPOUND_TEXT
23 !*selectionShell.title: \033$(BA*Br%Q%M%k
24 !*selectionShell.titleEncoding: COMPOUND_TEXT
25 !!
26 !! fonts to be used by root-window type conversion widget and
27 !! candidate selection widget
28 !!
29 *Font: -*-fixed-medium-r-normal--14-*-*-*-c-*-iso8859-1
30 *KanjiFont: -misc-fixed-medium-r-normal--14-*-*-*-c-*-jisx0208.1983-0
31 *KanaFont: -*-fixed-medium-r-normal--14-*-*-*-c-*-jisx0201.1976-0
32 !!
33 !! Wnn setup
34 !!
35 !*CcWnn.Jserver: "primary-jserver-host"
36 !*CcWnn.jserver2nd: "secondary-jserver-host-if-any"
37 *CcWnn.ccdef: ccdef.kinput2
38 !*CcWnn.wnnEnvrc4: "wnenvrc-file-for-Wnn4"
39 !*CcWnn.wnnEnvrc6: "wnenvrc-file-for-Wnn6"
40 !!
41 !! Canna setup for version 2.x, 3.x
42 !!
43 !*Canna.Cannahost: "canna-host"
44 !*Canna.Cannafile: "canna-initialization-file"
45 !!
46 !! Sj3 setup
47 !*Sj3.sj3serv: "primary-sj3serv-host"
48 !*Sj3.sj3serv2: "secondary-sj3serv-host-if-any"
49 !!
50 !! candidate selection
51 !!
52 *selection.width: 500
53 *selectionShell.allowShellResize: True
54 *selection.cursor: left_ptr
55 !!
56 !! input style dependent resources
57 !!
58 ! over-the-spot type input
59 *OverTheSpotConversion.AutoSpotForwarding: true
60 *OverTheSpotConversion.ShrinkWindow: true
61 *OverTheSpotConversion.modeLocation: tracktext
62 !*OverTheSpotConversion.modeLocation: bottomleft
63 *OverTheSpotConversion*modeShell.input: false
64 *OverTheSpotConversion*modeShell.allowShellResize: true
65 *OverTheSpotConversion*text.borderWidth: 0
66 *OverTheSpotConversion*modeShell.borderWidth: 2
67 ! off-the-spot type input
68 *OffTheSpotConversion.input: false
69 *OffTheSpotConversion*modeShell.borderWidth: 0
70 *OffTheSpotConversion.text.borderWidth: 0
71 ! root-window type input
72 *SeparateConversion*form*vertDistance: 3
73 *SeparateConversion*mode.left: chainleft
74 *SeparateConversion*mode.right: chainleft
75 *SeparateConversion*mode.top: chaintop
76 *SeparateConversion*mode.bottom: chaintop
77 *SeparateConversion*mode.width: 80
78 *SeparateConversion*mode.height: 20
79 *SeparateConversion*mode.resizable: true
80 *SeparateConversion*text.fromVert: mode
81 *SeparateConversion*text.left: chainleft
82 *SeparateConversion*text.right: chainright
83 *SeparateConversion*text.top: chaintop
84 *SeparateConversion*text.bottom: chainbottom
85 *SeparateConversion*text.width: 400
86 *SeparateConversion*text.height: 100
87 ! status display string justification -- for over-the-spot and off-the-spot
88 ! "left" seems appropriate for most applications.
89 *modeShell.mode.justify: left
90 !!
91 !! conversion protocol dependent resources
92 !!
93 ! KinputProtocol
94 *KinputProtocol.BackwardCompatible: true
95 *KinputProtocol.XlcConversionStartKey: Shift<Key>space
96 ! XimpProtocol
97 *XimpProtocol.ForceDefaultServer: true
98 ! X Input Method Protocol
99 *IMProtocol.locales: ja_JP.SJIS, ja_JP.EUC, ja_JP, japanese, japan, ja
100 ! common to XimpProtocol and IMProtocol
101 *defaultFontList: -misc-fixed-medium-r-normal--14-*-*-*-c-*
102 *ConversionStartKeys: \
103 Shift<Key>space \n\
104 Ctrl<Key>Kanji
105 !!
106 !! sending back unused keypress events
107 !!
108 *sendbackKeyPress: True
109 !!
110 !! title bar height of popup shells (candidate selection etc.)
111 !!
112 !*titlebarHeight: 24
113 !!
114 !! a work around for buggy window managers
115 !!
116 ! If you encounter a strange phenomenon where kinput2's mode display
117 ! window is flickering and you cannot type in any text, try enabling
118 ! the following resource. This phenomenon is caused by the incorrent
119 ! focus management of your window manager, and this resource avoids
120 ! it by making the window manager totally ignore the mode window.
121 !*OverTheSpotConversion.UseOverrideShellForMode: True