This file is indexed.

/etc/jupp/syntax/mason.jsf is in jupp 3.1.28-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
# $MirOS: contrib/code/jupp/syntax/mason.jsf.in,v 1.2 2008/05/13 16:17:45 tg Exp $
#-
# JOE syntax highlight file for HTML
# This needs lots of work...

# Always reparse from beginning
-

# Define colors

=Idle
=Preproc	blue
=Comment 	green
=Constant 	cyan
=Escape 	bold cyan
=Type		bold
=Keyword 	bold
=Bad		bold red
=Attr		magenta

# HTML section

:reset Idle
	*		idle		noeat
	"%"		lperl_idle

:idle Idle
	*		idle
	"&"		char		recolor=-1
	"<"		start
	"\n"		reset

:char Escape
	*		char
	";"		idle

:start Idle
	*		mark		noeat
	"!"		bang
	"%"		mason_tag
	"&"		perl_idle

:mason_tag
	*		perl_idle
	">"		perl_idle
	"a-z"		mason_tag

:bang Idle
	*		mark		noeat
	"-"		maybe_comment

:maybe_comment Idle
	*		mark		noeat
	"-"		comment		recolor=-2

:comment Comment
	*		comment
	"-"		maybe_end_comment

:maybe_end_comment Comment
	*		comment
	"-"		end_comment

:end_comment Bad
	*		idle
	"-"		maybe_another_comment
	" \t\n"		end_comment
	">"		idle		recolor= -1

:maybe_another_comment Idle
	*		end_comment
	"-"		comment		recolor= -2


# We're in a markup

:mark Idle
	*		mark
	">"		idle
	"a-zA-Z_"	ident		buffer
	"0-9"		number		recolor= -1
	"\""		astring		recolor= -1
	"\'"		bstring		recolor= -1

:number Constant
	*		mark	noeat
	"0-9"		number


# Strings

:astring Constant
	*		astring
	"\""		mark

:bstring Constant
	*		bstring
	"'"		mark

# Keywords

:ident Idle
	*		mark		noeat istrings
	"html"		kw
	"head"		kw
	"base"		kw
	"isindex"	kw
	"link"		kw
	"meta"		kw
	"nextid"	kw
	"script"	kw
	"title"		kw
	"body"		kw
	"address"	kw
	"blockquote"	kw
	"form"		kw
	"input"		kw
	"select"	kw
	"option"	kw
	"textarea"	kw
	"h1"		kw
	"h2"		kw
	"h3"		kw
	"h4"		kw
	"h5"		kw
	"h6"		kw
	"hr"		kw
	"dl"		kw
	"dt"		kw
	"dd"		kw
	"ol"		kw
	"li"		kw
	"ul"		kw
	"dir"		kw
	"menu"		kw
	"pre"		kw
	"table"		kw
	"caption"	kw
	"tr"		kw
	"td"		kw
	"th"		kw
	"p"		kw
	"applet"	kw
	"param"		kw
	"basefont"	kw
	"center"	kw
	"map"		kw
	"area"		kw
	"bgsound"	kw
	"marquee"	kw
	"frameset"	kw
	"frame"		kw
	"noframes"	kw
	"b"		kw
	"i"		kw
	"tt"		kw
	"big"		kw
	"small"		kw
	"sub"		kw
	"sup"		kw
	"u"		kw
	"font"		kw
	"blink"		kw
	"nobr"		kw
	"cite"		kw
	"code"		kw
	"em"		kw
	"kbd"		kw
	"samp"		kw
	"strong"	kw
	"var"		kw
	"a"		kw
	"br"		kw
	"img"		kw
	"wbr"		kw
# attributes
	"href"		attr
	"target"	attr
	"prompt"	attr
	"methods"	attr
	"name"		attr
	"rel"		attr
	"rev"		attr
	"title"		attr
	"urn"		attr
	"http-equiv"	attr
	"content"	attr
	"n"		attr
	"background"	attr
	"bgcolor"	attr
	"text"		attr
	"link"		attr
	"vlink"		attr
	"bgproperties"	attr
	"action"	attr
	"enctype"	attr
	"method"	attr
done
	"a-zA-Z0-9_"	ident

:kw Keyword
	*	mark	noeat

:attr Attr
	*	mark	noeat

# Perl block section

# JOE syntax highlight file for Perl

# Still need:

# _ in numbers
# 0b for binary
# \cC for Ctrl-C
# \x{hex} unicode
# no escapes in single quotes (except \\ and \')
# \N{NAME} named character

# / .. / regex
# s/ .. / .. /
# $name allowed in regex
# m//  same as //
# s///
# tr/// y///
# qr//

# can also do this: s(egg)<larva>
# s' ' ' - no interpolation

# Define colors

:perl_idle Idle
	*		perl_idle
	"#"		perl_line_comment	recolor=-1
	"\n"		perl_idle
	"0"		perl_first_digit	recolor=-1
	"1-9"		perl_decimal	recolor=-1
	"."		perl_maybe_float
	"\""		perl_string		recolor=-1
	"\\"		perl_not_string
	"'"		perl_char		recolor=-1
	"`"		perl_backtick	recolor=-1
	"a-zA-Z_"	perl_ident		buffer
	"%"		perl_maybe_done
	"&"		perl_maybe_done
	"<"		perl_maybe_done_1

:perl_maybe_done
	*		perl_idle	noeat
	">"		idle

:perl_maybe_done_1
	*		perl_idle	noeat
	"/"		perl_maybe_done_2

:perl_maybe_done_2
	*		perl_idle	noeat
	"a-z"		perl_maybe_done_2
	">"		reset

:perl_not_string Idle
	*		perl_idle noeat
	"\"'`"		perl_idle

:perl_line_comment Comment
	*		perl_line_comment
	"\n"		perl_idle

:perl_first_digit Constant
	*		perl_idle	noeat
	"x"		perl_hex
	"b"		perl_binary
	"."		perl_float
	"eE"		perl_epart
	"0-7"		perl_octal
	"89"		perl_bad_number	recolor=-1

:perl_bad_number Bad
	*		perl_idle	noeat
	"0-9"		perl_bad_number

:perl_octal Constant
	*		perl_idle	noeat
	"0-7_"		perl_octal
	"89"		perl_bad_number	recolor=-1

:perl_binary Constant
	*		perl_idle	noeat
	"01_"		perl_binary
	"2-9"		perl_bad_number	recolor=-1

:perl_hex Constant
	*		perl_idle	noeat
	"0-9A-Fa-f_"	perl_hex

:perl_decimal Constant
	*		perl_idle	noeat
	"0-9_"		perl_decimal
	"eE"		perl_epart
	"."		perl_float

:perl_maybe_float Constant
	*		perl_idle	recolor=-2	noeat
	"0-9"		perl_float		recolor=-2

:perl_float Constant
	*		perl_idle	noeat
	"eE"		perl_epart
	"0-9_"		perl_float

:perl_epart Constant
	*		perl_idle	noeat
	"0-9+\-"	perl_enum

:perl_enum Constant
	*		perl_idle	noeat
	"0-9_"		perl_enum

:perl_string	Constant
	*		perl_string
	"\""		perl_idle
	"\\"		perl_string_escape	recolor=-1
	"$@"		perl_string_subst	recolor=-1

:perl_string_subst Escape
	*		perl_string	noeat recolor=-1
	"a-zA-Z_0-9"	perl_string_subst

:perl_string_escape Escape
	*		perl_string
	"x"		perl_string_hex1
	"c"		perl_string_ctrl
	"N"		perl_string_named
	"0-7"		perl_string_octal2
	"\n"		perl_string		recolor=-2

:perl_string_named Escape
	*		perl_string
	"{"		perl_string_named_rest

:perl_string_named_rest Escape
	*		perl_string_named_rest
	"}"		perl_string

:perl_string_ctrl Escape
	*		perl_string

:perl_string_hex1 Escape
	*		perl_string		noeat
	"{"		perl_string_unicode
	"0-9a-fA-F"	perl_string_hex2

:perl_string_unicode Escape
	*		perl_string_unicode
	"}"		perl_string

:perl_string_hex2 Escape
	*		perl_string		noeat
	"0-9a-fA-F"	perl_string

:perl_string_octal2 Escape
	*		perl_string		noeat
	"0-7"		perl_string_octal3

:perl_string_octal3 Escape
	*		perl_string		noeat
	"0-7"		perl_string

:perl_char Constant
	*		perl_char
	"\n"		perl_reset
	"'"		perl_idle
	"\\"		perl_char_escape	recolor=-1

:perl_char_escape	Escape
	*		perl_char		recolor=-2
	"\\'"	perl_char

:perl_backtick	Constant
	*		perl_backtick
	"`"		perl_idle
	"\\"		perl_backtick_escape	recolor=-1
	"$@"		perl_backtick_subst recolor=-1

:perl_backtick_subst Escape
	*		perl_backtick	noeat recolor=-1
	"a-zA-Z_0-9"	perl_backtick_subst

:perl_backtick_escape Escape
	*		perl_backtick
	"x"		perl_backtick_hex1
	"c"		perl_backtick_ctrl
	"N"		perl_backtick_named
	"0-7"		perl_backtick_octal2
	"\n"		perl_backtick		recolor=-2

:perl_backtick_named Escape
	*		perl_backtick
	"{"		perl_backtick_named_rest

:perl_backtick_named_rest Escape
	*		perl_backtick_named_rest
	"}"		perl_backtick

:perl_backtick_ctrl Escape
	*		perl_backtick

:perl_backtick_hex1 Escape
	*		perl_backtick		noeat
	"{"		perl_backtick_unicode
	"0-9a-fA-F"	perl_backtick_hex2

:perl_backtick_unicode Escape
	*		perl_backtick_unicode
	"}"		perl_backtick

:perl_backtick_hex2 Escape
	*		perl_backtick		noeat
	"0-9a-fA-F"	perl_backtick

:perl_backtick_octal2 Escape
	*		perl_backtick		noeat
	"0-7"		perl_backtick_octal3

:perl_backtick_octal3 Escape
	*		perl_backtick		noeat
	"0-7"		perl_backtick

:perl_ident	Idle
	*		perl_idle		noeat strings
	"if"		perl_kw
	"unless"	perl_kw
	"while"		perl_kw
	"until"		perl_kw
	"foreach"	perl_kw
	"sub"		perl_kw
	"my"		perl_kw
	"do"		perl_kw
	"if"		perl_kw
	"else"		perl_kw
	"elsif"		perl_kw
	"for"		perl_kw
	"continue"	perl_kw
	"last"		perl_kw
	"print"		perl_kw
	"reset"		perl_kw
	"die"		perl_kw
	"goto"		perl_kw
	"require"	perl_kw
	"use"		perl_kw
	"eval"		perl_kw
	"redo"		perl_kw
	"next"		perl_kw
	"warn"		perl_kw
done
	"a-zA-Z0-9_"	perl_ident

:perl_type Type
	*	perl_idle	noeat

:perl_kw Keyword
	*	perl_idle	noeat

# Perl line section

# JOE syntax highlight file for Perl

# Still need:

# _ in numbers
# 0b for binary
# \cC for Ctrl-C
# \x{hex} unicode
# no escapes in single quotes (except \\ and \')
# \N{NAME} named character

# / .. / regex
# s/ .. / .. /
# $name allowed in regex
# m//  same as //
# s///
# tr/// y///
# qr//

# can also do this: s(egg)<larva>
# s' ' ' - no interpolation

# Define colors

:lperl_idle Idle
	*		lperl_idle
	"#"		lperl_line_comment	recolor=-1
	"\n"		reset
	"0"		lperl_first_digit	recolor=-1
	"1-9"		lperl_decimal	recolor=-1
	"."		lperl_maybe_float
	"\""		lperl_string		recolor=-1
	"\\"		lperl_not_string
	"'"		lperl_char		recolor=-1
	"`"		lperl_backtick	recolor=-1
	"a-zA-Z_"	lperl_ident		buffer

:lperl_not_string Idle
	*		lperl_idle noeat
	"\"'`"		lperl_idle

:lperl_line_comment Comment
	*		lperl_line_comment
	"\n"		reset

:lperl_first_digit Constant
	*		lperl_idle	noeat
	"x"		lperl_hex
	"b"		lperl_binary
	"."		lperl_float
	"eE"		lperl_epart
	"0-7"		lperl_octal
	"89"		lperl_bad_number	recolor=-1

:lperl_bad_number Bad
	*		lperl_idle	noeat
	"0-9"		lperl_bad_number

:lperl_octal Constant
	*		lperl_idle	noeat
	"0-7_"		lperl_octal
	"89"		lperl_bad_number	recolor=-1

:lperl_binary Constant
	*		lperl_idle	noeat
	"01_"		lperl_binary
	"2-9"		lperl_bad_number	recolor=-1

:lperl_hex Constant
	*		lperl_idle	noeat
	"0-9A-Fa-f_"	lperl_hex

:lperl_decimal Constant
	*		lperl_idle	noeat
	"0-9_"		lperl_decimal
	"eE"		lperl_epart
	"."		lperl_float

:lperl_maybe_float Constant
	*		lperl_idle	recolor=-2	noeat
	"0-9"		lperl_float		recolor=-2

:lperl_float Constant
	*		lperl_idle	noeat
	"eE"		lperl_epart
	"0-9_"		lperl_float

:lperl_epart Constant
	*		lperl_idle	noeat
	"0-9+\-"	lperl_enum

:lperl_enum Constant
	*		lperl_idle	noeat
	"0-9_"		lperl_enum

:lperl_string	Constant
	*		lperl_string
	"\""		lperl_idle
	"\\"		lperl_string_escape	recolor=-1
	"$@"		lperl_string_subst	recolor=-1

:lperl_string_subst Escape
	*		lperl_string	noeat recolor=-1
	"a-zA-Z_0-9"	lperl_string_subst

:lperl_string_escape Escape
	*		lperl_string
	"x"		lperl_string_hex1
	"c"		lperl_string_ctrl
	"N"		lperl_string_named
	"0-7"		lperl_string_octal2
	"\n"		reset		recolor=-2

:lperl_string_named Escape
	*		lperl_string
	"{"		lperl_string_named_rest

:lperl_string_named_rest Escape
	*		lperl_string_named_rest
	"}"		lperl_string

:lperl_string_ctrl Escape
	*		lperl_string

:lperl_string_hex1 Escape
	*		lperl_string		noeat
	"{"		lperl_string_unicode
	"0-9a-fA-F"	lperl_string_hex2

:lperl_string_unicode Escape
	*		lperl_string_unicode
	"}"		lperl_string

:lperl_string_hex2 Escape
	*		lperl_string		noeat
	"0-9a-fA-F"	lperl_string

:lperl_string_octal2 Escape
	*		lperl_string		noeat
	"0-7"		lperl_string_octal3

:lperl_string_octal3 Escape
	*		lperl_string		noeat
	"0-7"		lperl_string

:lperl_char Constant
	*		lperl_char
	"\n"		reset
	"'"		lperl_idle
	"\\"		lperl_char_escape	recolor=-1

:lperl_char_escape	Escape
	*		lperl_char		recolor=-2
	"\\'"	lperl_char

:lperl_backtick	Constant
	*		lperl_backtick
	"`"		lperl_idle
	"\\"		lperl_backtick_escape	recolor=-1
	"$@"		lperl_backtick_subst recolor=-1

:lperl_backtick_subst Escape
	*		lperl_backtick	noeat recolor=-1
	"a-zA-Z_0-9"	lperl_backtick_subst

:lperl_backtick_escape Escape
	*		lperl_backtick
	"x"		lperl_backtick_hex1
	"c"		lperl_backtick_ctrl
	"N"		lperl_backtick_named
	"0-7"		lperl_backtick_octal2
	"\n"		reset		recolor=-2

:lperl_backtick_named Escape
	*		lperl_backtick
	"{"		lperl_backtick_named_rest

:lperl_backtick_named_rest Escape
	*		lperl_backtick_named_rest
	"}"		lperl_backtick

:lperl_backtick_ctrl Escape
	*		lperl_backtick

:lperl_backtick_hex1 Escape
	*		lperl_backtick		noeat
	"{"		lperl_backtick_unicode
	"0-9a-fA-F"	lperl_backtick_hex2

:lperl_backtick_unicode Escape
	*		lperl_backtick_unicode
	"}"		lperl_backtick

:lperl_backtick_hex2 Escape
	*		lperl_backtick		noeat
	"0-9a-fA-F"	lperl_backtick

:lperl_backtick_octal2 Escape
	*		lperl_backtick		noeat
	"0-7"		lperl_backtick_octal3

:lperl_backtick_octal3 Escape
	*		lperl_backtick		noeat
	"0-7"		lperl_backtick

:lperl_ident	Idle
	*		lperl_idle		noeat strings
	"if"		lperl_kw
	"unless"	lperl_kw
	"while"		lperl_kw
	"until"		lperl_kw
	"foreach"	lperl_kw
	"sub"		lperl_kw
	"my"		lperl_kw
	"do"		lperl_kw
	"if"		lperl_kw
	"else"		lperl_kw
	"elsif"		lperl_kw
	"for"		lperl_kw
	"continue"	lperl_kw
	"last"		lperl_kw
	"print"		lperl_kw
	"reset"		lperl_kw
	"die"		lperl_kw
	"goto"		lperl_kw
	"require"	lperl_kw
	"use"		lperl_kw
	"eval"		lperl_kw
	"redo"		lperl_kw
	"next"		lperl_kw
	"warn"		lperl_kw
done
	"a-zA-Z0-9_"	lperl_ident

:lperl_type Type
	*	lperl_idle	noeat

:lperl_kw Keyword
	*	lperl_idle	noeat