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