author | Claus Gittinger <cg@exept.de> |
Wed, 01 Dec 1999 23:17:25 +0100 | |
changeset 399 | 5a842f5d7196 |
parent 209 | 22793de5d56e |
child 609 | f0f51d4a0066 |
permissions | -rw-r--r-- |
0 | 1 |
"* |
2 |
* $Header$ |
|
84 | 3 |
* |
399 | 4 |
* MIMEType: application/x-smalltalk-source |
5 |
* |
|
209 | 6 |
* ST/X startup configuration file: |
0 | 7 |
* display related configuration - generic |
8 |
* |
|
9 |
* this is a dummy script - |
|
10 |
* use this file as a guide for display-specific configurations |
|
11 |
* (see how display.rc figures out on what type of display we run) |
|
5 | 12 |
* |
23 | 13 |
* i.e. copy this file to d_<your_display_name>.rc and edit as needed |
5 | 14 |
* see d_sun.rc, d_iris.rc etc. as examples |
0 | 15 |
*" |
16 |
||
5 | 17 |
"* |
123
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
18 |
* some X-windowManagers crash if you set |
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
19 |
* the icon to a deep (i.e. depth~~1) bitmap. |
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
20 |
* the default is false. |
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
21 |
*" |
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
22 |
|
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
23 |
"/ Display supportsDeepIcons:true |
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
24 |
|
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
25 |
|
a974136fe017
startup infoPrinting suppressable (-q flag)
Claus Gittinger <cg@exept.de>
parents:
84
diff
changeset
|
26 |
"* |
5 | 27 |
* view style - uncomment the one you like most (I prefer #iris :-) |
7 | 28 |
* (there are actually more possibilities - see style-files in the |
29 |
* resources directory) |
|
5 | 30 |
*" |
7 | 31 |
"/ View defaultStyle:#next |
32 |
"/ View defaultStyle:#iris |
|
33 |
"/ View defaultStyle:#openwin |
|
34 |
"/ View defaultStyle:#motif |
|
8 | 35 |
"/ View defaultStyle:#'motif_red' |
7 | 36 |
"/ View defaultStyle:#normal |
37 |
"/ View defaultStyle:#mswindows |
|
38 |
"/ View defaultStyle:#st80 |
|
8 | 39 |
"/ View defaultStyle:#greenPC |
40 |
"/ View defaultStyle:#rocky |
|
0 | 41 |
|
42 |
"* |
|
43 |
* define keys/keyboard abbreviations etc. which are not handled by xmodmap |
|
44 |
*" |
|
5 | 45 |
|map| |
46 |
||
47 |
map := Display keyboardMap. |
|
48 |
||
49 |
" |
|
50 |
map bindValue:#Again to:#F1. |
|
51 |
map bindValue:#Copy to:#F2. |
|
52 |
map bindValue:#Cut to:#F3. |
|
53 |
" |
|
54 |
||
55 |
" |
|
56 |
* on some german keyboards, we get already translated characters |
|
57 |
* (plus the ALT-key) |
|
58 |
*" |
|
59 |
" |
|
60 |
map bindValue:$[ to:#'Alt['. |
|
61 |
map bindValue:$] to:#'Alt]'. |
|
62 |
map bindValue:${ to:#'Alt{'. |
|
63 |
map bindValue:$} to:#'Alt}'. |
|
64 |
map bindValue:$\ to:#'Alt\'. |
|
65 |
map bindValue:$| to:#'Alt|'. |
|
66 |
map bindValue:$@ to:#'Alt@'. |
|
67 |
" |
|
68 |
||
69 |
" |
|
70 |
* on others, they come untranslated |
|
71 |
* (plus the ALT-key) |
|
72 |
*" |
|
73 |
" |
|
74 |
map bindValue:$[ to:#'Alt8'. |
|
75 |
map bindValue:$] to:#'Alt9'. |
|
76 |
map bindValue:${ to:#'Alt7'. |
|
77 |
map bindValue:$} to:#'Alt0'. |
|
78 |
map bindValue:$\ to:#'Alt?'. |
|
79 |
map bindValue:$| to:#'Alt<'. |
|
80 |
map bindValue:$@ to:#'Altq'. |
|
81 |
" |
|
0 | 82 |
! |
83 |
||
84 |
"* |
|
85 |
* define the size of the screen |
|
86 |
* most X-Servers do not (cannot) tell the truth ... |
|
87 |
* (how should it know what size of monitor you have ?) |
|
88 |
* if yours does, make the next one a comment |
|
89 |
* |
|
90 |
* (check out by measuring your display, and compare |
|
91 |
* the values returned by 'Display widthInMillimeter' |
|
92 |
* and 'Display heightInMillimeter') |
|
93 |
* |
|
94 |
* do not trust the numbers I have written below - size given |
|
95 |
* should be the visible picture size, which depends on display |
|
96 |
* adjusts (many monitors have hSize & vSize adjusts) |
|
8 | 97 |
* |
98 |
* you only need this definition to be exact, if you want |
|
99 |
* correct sizes/ratios in the DrawTool |
|
100 |
* If you leave the statements below commented, ST/X will ask |
|
101 |
* the X-server and take these values. |
|
0 | 102 |
*" |
103 |
||
104 |
"* |
|
8 | 105 |
* this is for a VGA gas plasma display |
106 |
* (may also be ok for most LCD displays) |
|
107 |
*" |
|
108 |
" |
|
109 |
Display heightInMillimeter:160. |
|
110 |
Display widthInMillimeter:212 |
|
111 |
" |
|
112 |
||
113 |
"* |
|
0 | 114 |
* this is for a 14' monitor ... |
115 |
*" |
|
116 |
" |
|
117 |
Display heightInMillimeter:175. |
|
118 |
Display widthInMillimeter:235 |
|
119 |
" |
|
120 |
||
121 |
"* |
|
122 |
* this is for a 16' monitor (measured on a jvc quadsync) |
|
123 |
*" |
|
124 |
" |
|
125 |
Display heightInMillimeter:208. |
|
126 |
Display widthInMillimeter:275 |
|
127 |
" |
|
128 |
||
129 |
"* |
|
130 |
* this is for a 20' (megascan) ... |
|
131 |
*" |
|
132 |
" |
|
133 |
Display heightInMillimeter:279. |
|
134 |
Display widthInMillimeter:346 |
|
135 |
" |
|
136 |
||
137 |
"* |
|
138 |
* this is for a 21' (eizo flexscan) ... |
|
139 |
*" |
|
140 |
" |
|
141 |
Display heightInMillimeter:275. |
|
142 |
Display widthInMillimeter:370 |
|
143 |
" |
|
144 |
! |
|
145 |
||
146 |
"* |
|
5 | 147 |
* uncomment if you have a b&w monitor connected to a |
0 | 148 |
* color server (which the server wouldn't know) |
5 | 149 |
* try 'Display visualType' to see what X thinks. |
0 | 150 |
*" |
8 | 151 |
"/ Display hasColors:false |
24 | 152 |
|
153 |
"* |
|
154 |
* uncomment to force black&white operation |
|
155 |
* (makes sense on 4-plane servers) |
|
156 |
*" |
|
157 |
"/ Display hasGreyscales:false |
|
0 | 158 |
! |