File: Mgdiff.ad

package info (click to toggle)
mgdiff 1.0-29.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 416 kB
  • ctags: 923
  • sloc: ansic: 3,764; makefile: 1,142; awk: 477; sh: 306
file content (303 lines) | stat: -rw-r--r-- 8,285 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
!
! Mgdiff.ad,v 2.0 1994/05/19 02:01:03 dan Exp
!

!
! 				widget hierarchy:
!
!Mgdiff  mgdiff
!	XmMainWindow  mainw
!		XmSeparatorGadget  MainWinSep1
!		XmSeparatorGadget  MainWinSep2
!		XmSeparatorGadget  MainWinSep3
!		XmRowColumn  menubar
!			XmCascadeButtonGadget  button_0
!			XmCascadeButtonGadget  button_1
!			XmCascadeButtonGadget  button_2
!			XmCascadeButtonGadget  button_3
!			XmCascadeButtonGadget  button_4
!			XmMenuShell  popup_file_menu
!				XmRowColumn  select_menu
!					XmPushButtonGadget  button_0
!					XmPushButtonGadget  button_1
!					XmSeparatorGadget  separator_0
!					XmPushButtonGadget  button_2
!				XmRowColumn  file_menu
!					XmPushButtonGadget  button_0
!					XmPushButtonGadget  button_1
!					XmPushButtonGadget  button_2
!					XmPushButtonGadget  button_3
!					XmSeparatorGadget  separator_0
!					XmPushButtonGadget  button_4
!				XmRowColumn  options_menu
!					XmToggleButtonGadget  button_0
!					XmToggleButtonGadget  button_1
!					XmToggleButtonGadget  button_2
!				XmRowColumn  help_menu
!					XmPushButtonGadget  button_0
!					XmPushButtonGadget  button_1
!					XmPushButtonGadget  button_2
!				XmRowColumn  view_menu
!					XmPushButtonGadget  button_0
!					XmPushButtonGadget  button_1
!					XmPushButtonGadget  button_2
!		XmForm  form1
!			XmFrame  frame1
!				XmForm  form3
!					XmScrollBar  sbl
!					XmDrawingArea  dam
!					XmScrollBar  sbr
!			XmFrame  frame2
!				XmForm  form4
!					XmForm  form2
!						XmScrollBar  sb
!						XmForm  form21
!							XmFrame  frame3
!								XmLabel  fnamel
!							XmFrame  frame31
!								XmTextField  linenuml
!						XmForm  form22
!							XmFrame  frame4
!								XmLabel  fnamer
!							XmFrame  frame41
!								XmTextField  linenumr
!						XmDrawingArea  textl
!						XmDrawingArea  textr
!					XmScrollBar  sbh
!	XmDialogShell  version_popup
!		XmMessageBox  version
!			XmLabelGadget  symbol
!			XmLabelGadget  
!			XmSeparatorGadget  separator
!			XmPushButtonGadget  OK
!			XmPushButtonGadget  Cancel
!			XmPushButtonGadget  Help
!	XmDialogShell  manualpage_popup
!		XmForm  manualpage
!			XmPanedWindow  pane
!				XmScrolledWindow  help_textSW
!					XmScrollBar  vbar
!					XmText  help_text
!				XmForm  form2a
!					XmPushButton  OK
!				XmSash  sash
!				XmSeparatorGadget  separator
!				XmSash  sash
!				XmSeparatorGadget  separator
!	XmDialogShell  legend_popup
!		XmForm  legend
!			XmPanedWindow  pane
!				XmRowColumn  rc
!					XmLabel  label1
!					XmLabel  label2
!					XmLabel  label3
!					XmLabel  label4
!					XmLabel  label5
!				XmForm  form2a
!					XmPushButton  OK
!				XmSash  sash
!				XmSeparatorGadget  separator
!				XmSash  sash
!				XmSeparatorGadget  separator
!	XmDialogShell  werror_popup
!		XmMessageBox  werror
!			XmLabelGadget  symbol
!			XmLabelGadget  
!			XmSeparatorGadget  separator
!			XmPushButtonGadget  OK
!			XmPushButtonGadget  Cancel
!			XmPushButtonGadget  Help
!

!
! this should only be defined in the site-wide file
!
?.AppDefaultsVersion:			2

?.Geometry:				800x600

!
! Use these values on color displays
!
*DiffForeground:			black
*DiffBackground:			yellow
*SameForeground:			black
*SameBackground:			grey
*InsertForeground:			black
*InsertBackground:			orange
*BlankForeground:			black
*BlankBackground:			grey66
*SelectForeground:			black
*SelectBackground:			light slate blue

!
! Use these values on gray-scale displays
!
!*DiffForeground:			black
!*DiffBackground:			white
!*SameForeground:			black
!*SameBackground:			grey
!*InsertForeground:			black
!*InsertBackground:			#888
!*BlankForeground:			black
!*BlankBackground:			grey66
!*SelectForeground:			white
!*SelectBackground:			#444

*Font:					7x13bold

*DragScroll:				true
*Overview:				true
*QuitIfSame:				false
*Filename:				(stdin)
*HorzScrollbar:				true
*LinesOfContext:			3
*ManCommand:				(man mgdiff | col -bx) 2>&1

!
! GNU diff can be much faster, especially for large files
!
*DiffCommand:				diff
*DiffArgs:				

*Background:				cadet blue
*FontList:				variable

*text.Foreground:			black
*text.Background:			grey

!
! the overview area
!
*sbl.width:				16
*sbr.width:				16
*dam.width:				16
*dam.Foreground:			black
*dam.Background:			cyan

*version_popup.Title:			Version Information
*openfiles.Title:			Open Files
*openfile_popup.Title:			Open File
*savefile_popup.Title:			Save File
*legend_popup.Title:			Mgdiff Legend
*manualerr_popup.Title:			Mgdiff Error

*manualpage*XmText*FontList:		7x13bold
*manualpage*XmText*Rows:		40
*manualpage*XmText*Columns:		80
*manualpage_popup.Title:		Mgdiff Manual Page

*legend*XmLabel*FontList:		7x13bold
*label1.XmString:			this color indicates blocks which differ between files
*label2.XmString:			this color indicates blocks which are identical between files
*label3.XmString:			this color indicates blocks which have been inserted in one file
*label4.XmString:			this color indicates blocks which are for display purposes
*label5.XmString:			this color indicates blocks which have been selected by the user
!
!
*file_menu*button_0.XmString:		Open...
*file_menu*button_0.Mnemonic:		O
*file_menu*button_0.Accelerator:	Ctrl<Key>o
*file_menu*button_0.AcceleratorText:	Ctrl+O

*file_menu*button_1.XmString:		Open Left...
*file_menu*button_1.Mnemonic:		L
*file_menu*button_1.Accelerator:	Ctrl<Key>l
*file_menu*button_1.AcceleratorText:	Ctrl+L

*file_menu*button_2.XmString:		Open Right...
*file_menu*button_2.Mnemonic:		R
*file_menu*button_2.Accelerator:	Ctrl<Key>r
*file_menu*button_2.AcceleratorText:	Ctrl+R

*file_menu*button_3.XmString:		Save As...
*file_menu*button_3.Mnemonic:		S
*file_menu*button_3.Accelerator:	Ctrl<Key>s
*file_menu*button_3.AcceleratorText:	Ctrl+S

*file_menu*button_4.XmString:		Save As Left...
*file_menu*button_5.XmString:		Save As Right...

*file_menu*button_6.XmString:		Exit
*file_menu*button_6.Mnemonic:		E
*file_menu*button_6.Accelerator:	Ctrl<Key>c
*file_menu*button_6.AcceleratorText:	Ctrl+C

!
!
*view_menu*button_0.XmString:		Previous
*view_menu*button_0.Mnemonic:		P
*view_menu*button_0.Accelerator:	Ctrl<Key>p
*view_menu*button_0.AcceleratorText:	Ctrl+P

*view_menu*button_1.XmString:		Next
*view_menu*button_1.Mnemonic:		N
*view_menu*button_1.Accelerator:	Ctrl<Key>n
*view_menu*button_1.AcceleratorText:	Ctrl+N

*view_menu*button_2.XmString:		Next Unselected
*view_menu*button_2.Mnemonic:		U
*view_menu*button_2.Accelerator:	Ctrl<Key>u
*view_menu*button_2.AcceleratorText:	Ctrl+U
!
!
*select_menu*button_0.XmString:		Left All
*select_menu*button_0.Mnemonic:		L
!*select_menu*button_0.Accelerator:	
!*select_menu*button_0.AcceleratorText:	

*select_menu*button_1.XmString:		Right All
*select_menu*button_1.Mnemonic:		R
!*select_menu*button_1.Accelerator:	
!*select_menu*button_1.AcceleratorText:	

*select_menu*button_2.XmString:		Unselect All
*select_menu*button_2.Mnemonic:		U
!*select_menu*button_2.Accelerator:	
!*select_menu*button_2.AcceleratorText:	
!
!
*options_menu*button_0.XmString:	Overview
*options_menu*button_0.Mnemonic:	O
*options_menu*button_0.Accelerator:	Ctrl<Key>w
*options_menu*button_0.AcceleratorText:	Ctrl+W

*options_menu*button_1.XmString:	Horizontal Scrollbar
*options_menu*button_1.Mnemonic:	H
*options_menu*button_1.Accelerator:	Ctrl<Key>h
*options_menu*button_1.AcceleratorText:	Ctrl+H

*options_menu*button_2.XmString:	Drag Scroll
*options_menu*button_2.Mnemonic:	D
*options_menu*button_2.Accelerator:	Ctrl<Key>d
*options_menu*button_2.AcceleratorText:	Ctrl+D
!
!
*help_menu*button_0.XmString:		Version...
*help_menu*button_0.Mnemonic:		V
*help_menu*button_0.Accelerator:	Ctrl<Key>v
*help_menu*button_0.AcceleratorText:	Ctrl+V

*help_menu*button_1.XmString:		Manual Page...
*help_menu*button_1.Mnemonic:		M
*help_menu*button_1.Accelerator:	Ctrl<Key>m
*help_menu*button_1.AcceleratorText:	Ctrl+M

*help_menu*button_2.XmString:		Color Legend...
*help_menu*button_2.Mnemonic:		G
*help_menu*button_2.Accelerator:	Ctrl<Key>g
*help_menu*button_2.AcceleratorText:	Ctrl+G
!
!
*menubar.button_0.XmString:		File
*menubar.button_0.Mnemonic:		F
*menubar.button_1.XmString:		View
*menubar.button_1.Mnemonic:		V
*menubar.button_2.XmString:		Select
*menubar.button_2.Mnemonic:		S
*menubar.button_3.XmString:		Options
*menubar.button_3.Mnemonic:		O
*menubar.button_4.XmString:		Help
*menubar.button_5.Mnemonic:		H

*XmDialogShell*OK.XmString:		OK