-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexpected.html
979 lines (861 loc) · 46 KB
/
expected.html
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
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
Why hello, moe, how are you?
Why hello, larry, how are you?
Why hello, curly, how are you?
This content came from a text file.
This content came from a text file.
456
123
<h1>Test Results: aa_macro.py</h1>
<h2>Text Formatting</h2>
<h3>HTML 4.01s Mode:</h3>
<p><strong>bold text</strong></p>
<p><em>italic text</em></p>
<p><span style="text-decoration: underline;">underlined text</span></p>
<p><span style="background-color: #002288; color: #887766;">color3</span></p>
<p><span style="background-color: #002288; color: #FEDCBA;">color6</span></p>
<h3>HTML 3.2 Mode:</h3>
<p><u><em><strong>Why hello, Ben, how are you?</strong></em></u></p>
<p><font color="#887766">color3</font></p>
<p><font color="#FEDCBA">color6</font></p>
<h2>linking</h2>
<p><a href="http://fyngyrz.com">http://fyngyrz.com</a></p>
<p><a target="_blank" href="http://fyngyrz.com">http://fyngyrz.com</a></p>
<p><a target="_blank" href="http://fyngyrz.com">My Link</a></p>
<p><a href="http://fyngyrz.com">My Other Link</a></p>
<p><a href="web" target="_blank">On The Web</a></p>
<p><a href="http://fyngyrz.com" target="_blank">Another Link</a></p>
<p><a href="link" target="_blank">link</a></p>
<p><a href="http://fyngyrz.com" target="_blank">Another Link</a></p>
hi%2C+Fred+%26+linda
<h2>Images</h2>
<h3>No size, no local lookup so no relative path</h3>
<p><a href="http://fyngyrz.com" target="_blank"><img src="http://fyngyrz.com/images/beachflag.png" alt="" title=""></a></p>
<p><img src="http://fyngyrz.com/images/beachflag.png" alt="" title=""></p>
<p><img alt="Beach Flag" title="Beach Flag" src="http://fyngyrz.com/images/beachflag.png"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img alt="Beach Flag" title="Beach Flag" src="http://fyngyrz.com/images/beachflag.png"></a></p>
<h3>Size, identical (empty) relative path</h3>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" src="test.png" alt="" title=""></a></p>
<p><img width="291" height="407" src="test.png" alt="" title=""></p>
<p><img width="291" height="407" alt=".png Test" title=".png Test" src="test.png"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" alt=".png Test" title=".png Test" src="test.png"></a></p>
<p><img src="/mypics/test.png" alt="" title=""></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" src="test.jpg" alt="" title=""></a></p>
<p><img width="207" height="346" src="test.jpg" alt="" title=""></p>
<p><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="test.jpg"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="test.jpg"></a></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" src="test.gif" alt="" title=""></a></p>
<p><img width="40" height="40" src="test.gif" alt="" title=""></p>
<p><img width="40" height="40" alt=".gif Test" title=".gif Test" src="test.gif"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" alt=".gif Test" title=".gif Test" src="test.gif"></a></p>
<h3>Size, relative path only</h3>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" src="test.png" alt="" title=""></a></p>
<p><img width="291" height="407" src="test.png" alt="" title=""></p>
<p><img width="291" height="407" alt=".png Test" title=".png Test" src="test.png"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" alt=".png Test" title=".png Test" src="test.png"></a></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" src="test.jpg" alt="" title=""></a></p>
<p><img width="207" height="346" src="test.jpg" alt="" title=""></p>
<p><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="test.jpg"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="test.jpg"></a></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" src="test.gif" alt="" title=""></a></p>
<p><img width="40" height="40" src="test.gif" alt="" title=""></p>
<p><img width="40" height="40" alt=".gif Test" title=".gif Test" src="test.gif"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" alt=".gif Test" title=".gif Test" src="test.gif"></a></p>
<h3>Size, relative path and http path</h3>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" src="randomdir/test.png" alt="" title=""></a></p>
<p><img width="291" height="407" src="randomdir/test.png" alt="" title=""></p>
<p><img width="291" height="407" alt=".png Test" title=".png Test" src="randomdir/test.png"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="291" height="407" alt=".png Test" title=".png Test" src="randomdir/test.png"></a></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" src="randomdir/test.jpg" alt="" title=""></a></p>
<p><img width="207" height="346" src="randomdir/test.jpg" alt="" title=""></p>
<p><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="randomdir/test.jpg"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="207" height="346" alt=".jpg Test" title=".jpg Test" src="randomdir/test.jpg"></a></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" src="randomdir/test.gif" alt="" title=""></a></p>
<p><img width="40" height="40" src="randomdir/test.gif" alt="" title=""></p>
<p><img width="40" height="40" alt=".gif Test" title=".gif Test" src="randomdir/test.gif"></p>
<p><a href="http://fyngyrz.com" target="_blank"><img width="40" height="40" alt=".gif Test" title=".gif Test" src="randomdir/test.gif"></a></p>
<img width="291" height="407" alt="" title="" src="test.png">
<img width="291" height="407" alt="" title="a pic" src="test.png">
<img width="291" height="407" alt="testpng" title="" src="test.png">
<a href="http://ourtimelines.com"><img width="291" height="407" alt="" title="" src="test.png"></a>
<img src="/mypics/test.png" alt="" title="">
<h2>Multiple Style Invocation</h2>
aXa
bXb
aXabYb
cXc
dXd
cXcdYd
aXa
bXb
cXc
dXd
aWabXbcYcdXd
aJabKbcLcdMd
aNabObcPcdQd
aAabSb
cBcdTd
aAabSbcIcdAd
<h2>HTML Lists</h2>
<p><ul>
<li>item1</li>
<li>item2</li>
</ul>
</p>
<p><ul>
<li>item1</li>
<li>item2</li>
<li>item3</li>
</ul>
</p>
<p><ul>
<li><u>item1</u></li>
<li><u>item2</u></li>
</ul>
</p>
<p><ul>
<li><u>itemW</u></li>
<li><u>itemX</u></li>
</ul>
</p>
<p><ul>
<li><u>itemY</u></li>
<li><u>itemZ</u></li>
</ul>
</p>
<p><ol>
<li>item1</li>
<li>item2</li>
</ol>
</p>
<p>item1<br></p>
<p><ul>
<li>item1</li>
<li>item2</li>
</ul>
</p>
<p>item1<br></p>
<p><ol>
<li>item1</li>
<li>item2</li>
</ol>
</p>
<p>abc</p>
<p><code>a</code><code>b</code><code>c</code></p>
<p><code>d</code><code>e</code><code>f</code></p>
<ul>
<li style="color:#ff0000">a</li>
<li style="color:#ff0000">b</li>
<li style="color:#ff0000">c</li>
</ul>
<ul style="font-weight: bold;">
<li>a</li>
<li>b</li>
<li>c</li>
</ul>
<ul style="margin-bottom: .5em;">
<li style="color:#00ff00">a</li>
<li style="color:#00ff00">b</li>
<li style="color:#00ff00">c</li>
</ul>
<span style="color:#ff0000">item1</span><br>
<ul>
<li style="color:#ff0000">item1</li>
<li style="color:#ff0000">item2</li>
</ul>
<span style="color:#ff0000">item1</span><br>
<ol>
<li style="color:#ff0000">item1</li>
<li style="color:#ff0000">item2</li>
</ol>
item1<br>
<ul style="font-weight: bold;">
<li>item1</li>
<li>item2</li>
</ul>
item1<br>
<ol style="font-weight: bold;">
<li>item1</li>
<li>item2</li>
</ol>
<span style="color:#00ff00">item1</span><br>
<ul style="margin-bottom: .5em;">
<li style="color:#00ff00">item1</li>
<li style="color:#00ff00">item2</li>
</ul>
<span style="color:#00ff00">item1</span><br>
<ol style="margin-bottom: .5em;">
<li style="color:#00ff00">item1</li>
<li style="color:#00ff00">item2</li>
</ol>
<h2>Tables</h2>
<table>
<tr><th>col 1</th><th>col 2</th></tr>
<tr><td>test1</td><td>test2</td></tr>
</table>
<table border=0>
<tr><th bgcolor="#ffffff">col 1</th><th>col 2</th></tr>
<tr bgcolor="#888888"><td>test1</td><td align="center"> test2</td></tr>
</table>
<h2>Variables</h2>
<p>
bar
bong
barbipbar
bipbip Hooray!
2
1
1
2
1
</p>
<h2>stack</h2>
<p>
stack="X"
stack="Z","Y",X"
stack="","","bugger"
stack="","",""
stack 1="Y"
"","","","","five"
</p>
<h2>Math</h2>
<p>
34
2
3.0
3.2
6.7
5
1
15
8
2
9
max 5 10 = 10
max 9 4 = 9
min 5 10 = 5
min 4 9 = 4
stage 100 50 10 5 = 75
stage 50 75 10 5 = 62
stage mode=float,digits=1,0 1 10 5 = 0.5
stage mode=float,digits=3,0 1 10 10 = 1.000
stage mode=float,0 1.5 3 2 = 1.00
stage mode=float,2.5 3.5 2 1 = 3.00
stage mode=float,digits=6,0 10 3 1 = 3.333333
stage mode=float,.5 .75 5 2 = 0.60
stage mode=float,0 1 10 5.5 = 0.55
</p>
<h2>Conditionals</h2>
<p>
EVEN
ODD
Match
sepMatch
comMatch
No sepMatch
No comMatch
No Match
1: --Match--
2: --No Match--
1 Something
2 Something
3 !EMPTY!
4 !EMPTY!
5 !EMPTY!
6 !EMPTY!
7 Something
8 Something
Something
!EMPTY!
</p>
<h2>Parsing and text processing</h2>
(Unknown Built-in or Squiggly: tag="p
monkeytest2
test3
foo" data="bar bleep bloptest 4
I WAS LOWER, BUT NOW AM HIGH
i was higher, but now am brought low
I have a CDXXVII Hemi ox-cart
BEN
1,234,567,890
12,345,678.90
17 dec to hex: 11
9 dec to oct: 11
3 dec to bin: 11
11 hex to dec: 17
11 oct to dec: 9
11 bin to dec: 3
97 hex to binary: 10010111
11010110 to hex: D6
7 dec to hex 2-digits: 07
7 dec to oct 3-digits: 007
9 dec to bin 8-digits: 00001001
11 hex to dec 3-digits: 017
11 oct to dec 3-digits: 009
11 bin to dec 3-digits: 003
should be "tothis": "tothis"
should be no content: ""
should be "tothat": "tothat"
should be no content: ""
stripe charset=xy,xytestingyx = testing
414243
0x41., 0x42., 0x43.
content:
this is a test
of the emergency broadcast system
lines: 2
words: 9
chars: 48
2
9
48
<strong>style <font color="#FF8844">me</font></strong>
<em>style <font color="#FF8844">me</font></em>
<u>style <font color="#FF8844">me</font></u>
content: thaAAAaaas right all
a: 8
aa: 3
overlaps=yes,aa: 6
sep=|,overlaps=yes,aa: 6
casesens=yes,aa: 1
casesens=yes,AA: 1
overlaps=yes,casesens=yes,AA: 2
sep=|,overlaps=yes,casesens=yes,AA: 2
Knuth Soundex: K530
Asimov Soundex: A251
Clarke Soundex: C462
Einstein Soundex: E523
content: <font color="#556677">testing <strong>1 <em>2</em> 3</strong></font>
stripped of tags: testing 1 2 3
Hamcalls:
N2MGA
W2GGI Robert
w2jvm Harold
W3OZ Larry
KE4TP-Pete
N5CST!Johann!
AA7AS,Ben
")
<h2>aa_macro and Python Parsing</h2>
<span style="color: #00ff00"></span>
<span style="color: #00ff00"><span style="color: #ff00ff">from</span> aa_macro <span style="color: #ff00ff">import</span> <span style="color:#00ffff;">*</span></span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">mod <span style="color:#00ffff;">=</span> macro<span style="color:#ff8844;">(</span><span style="color:#ff8844;">)</span></span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">inputtext <span style="color:#00ffff;">=</span> </span><span style="color: #ffffff">'</span><span style="color: #ff0000">[i print \'some\' "content" from here][local foo bar]</span><span style="color: #ffffff">'</span><span style="color: #00ff00"></span>
<span style="color: #00ff00">outputext <span style="color:#00ffff;">=</span> mod<span style="color:#00ffff;">.</span>do<span style="color:#ff8844;">(</span>inputtext<span style="color:#ff8844;">)</span></span>
<span style="color: #00ff00"><span style="color: #ff00ff">print</span> outputtext</span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">inputtext <span style="color:#00ffff;">=</span> </span><span style="color: #ffffff">"</span><span style="color: #ff0000">[b \"more\" 'content'] [v foo]</span><span style="color: #ffffff">"</span><span style="color: #00ff00"> </span><span style="color: #ffff00"># as we're using the same object, anything...</span>
<span style="color: #00ff00">outputext <span style="color:#00ffff;">=</span> mod<span style="color:#00ffff;">.</span>do<span style="color:#ff8844;">(</span>inputtext<span style="color:#ff8844;">)</span> </span><span style="color: #ffff00"># ...set up in it is still in context here</span>
<span style="color: #00ff00"><span style="color: #ff00ff">print</span> outputtext</span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00"><span style="color: #ff00ff">from</span> aa_macro <span style="color: #ff00ff">import</span> <span style="color:#00ffff;">*</span></span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">mod <span style="color:#00ffff;">=</span> macro<span style="color:#ff8844;">(</span><span style="color:#ff8844;">)</span></span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">inputtext <span style="color:#00ffff;">=</span> </span><span style="color: #ffffff">'</span><span style="color: #ff0000">[lb]i print \'some\' "content" from here[rb][lb]local foo bar[rb]</span><span style="color: #ffffff">'</span><span style="color: #00ff00"></span>
<span style="color: #00ff00">outputext <span style="color:#00ffff;">=</span> mod<span style="color:#00ffff;">.</span>do<span style="color:#ff8844;">(</span>inputtext<span style="color:#ff8844;">)</span></span>
<span style="color: #00ff00"><span style="color: #ff00ff">print</span> outputtext</span>
<span style="color: #00ff00"></span>
<span style="color: #00ff00">inputtext <span style="color:#00ffff;">=</span> </span><span style="color: #ffffff">"</span><span style="color: #ff0000">[lb]b \"more\" 'content'[rb] [lb]v foo[rb]</span><span style="color: #ffffff">"</span><span style="color: #00ff00"> </span><span style="color: #ffff00"># as we're using the same object, anything...</span>
<span style="color: #00ff00">outputext <span style="color:#00ffff;">=</span> mod<span style="color:#00ffff;">.</span>do<span style="color:#ff8844;">(</span>inputtext<span style="color:#ff8844;">)</span> </span><span style="color: #ffff00"># ...set up in it is still in context here</span>
<span style="color: #00ff00"><span style="color: #ff00ff">print</span> outputtext</span>
<span style="color: #00ff00"></span>
<br>
<div style="<br>
width: 75%;<br>
border-style: solid;<br>
background: #ffffff;<br>
text-align: center;<br>
padding: .5em;<br>
margin: auto;<br>
"><br>
[i Keyboard Navigation]<br>
<hr width="75%"><br>
{key ,} Previous Page<br>
{key .} Next Page<br>
{key t} TOC<br>
{key i} Index<br>
</div>
<h2>switch/case</h2>
switch (csep=X,)(isep=Y,)(default=styleName,)switchName caseXstyleName(YcaseXstylename)
foo(bah)bar
bar(humbug)foo
dude:shhhh!
remark:"speaking extemporaneously"
foo(with-foo)bar
bar(with-bar)foo
??with-nothing??
<h2>for/in</h2>
0 2 4 6 8
a c d c
<h2>Data Lists</h2>
slicetest list: a2c4e6g8
1 = 2
2:3 = c
:4 = a2c4
4: = e6g8
::-1 = 8g6e4c2a
efghi
efghik
k
i
g
efh
list length of a,b,c: 3
c b a
C aircraft A amphetamine
AaircraftCamphetamine
"A" "aircraft" "C" "amphetamine"
B
ALPHA
-a-LPH-a-
"larry" "ben" "Beth" "alan" "leroy"
"Beth" "alan" "ben" "larry" "leroy"
"alan" "ben" "Beth" "larry" "leroy"
"44,larry" "1,ben" "2,Beth" "3,alan,smith" "5,leroy"
"1,ben" "2,Beth" "3,alan,smith" "5,leroy" "44,larry"
"ben" "Beth" "alan,smith" "leroy" "larry"
line 1line 2line3
Word wrap at 72 columns
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
this is line one this is line two this is line three this is line four
and I'm really not kidding about this at all, no fooling, folks and this
is the last line
Word wrap at 31 columns
123456789 123456789 123456789 123456789
this is line one this is line
two this is line three this is
line four and I'm really not
kidding about this at all, no
fooling, folks and this is the
last line
Word wrap at 72 columns, with style
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
(this is line one this is line two this is line three this is line four)
(and I'm really not kidding about this at all, no fooling, folks and this)
(is the last line)
Word wrap at 31 columns, with style
123456789 123456789 123456789 123456789
(this is line one this is line)
(two this is line three this is)
(line four and I'm really not)
(kidding about this at all, no)
(fooling, folks and this is the)
(last line)
Word wrap with HTML
123456789 123456789 123456789
This is a <b>test</b> of the
emergency <font
color="#ff0000">broadcast
system</font>. This is
<i>only</i> a test. If this
had been a real emergency, you
would have been instructed to
weep in abject fear.
Word wrap with HTML, but not counting it
123456789 123456789 123456789
This is a <b>test</b> of the
emergency <font color="#ff0000">broadcast system</font>.
This is <i>only</i> a test. If this
had been a real emergency, you
would have been instructed to
weep in abject fear.
Unsorted list:
--------------
W3OZ Larry
N2MGA
AA7AS Ben
w2jvm Harold
W2GGI Robert
N5CST!Johann!
KE4TP-Pete
Sorted List:
------------
N2MGA
W2GGI Robert
w2jvm Harold
W3OZ Larry
KE4TP-Pete
N5CST!Johann!
AA7AS Ben
first, middle and last styles
-----------------------------
-a :b: :c: d-
With nice interspersion:
------------------------
W3Oz (Larry), N5CST (Johann), aa7as (Ben)
<h2>Data Dictionaries</h2>
'
gee="whiz"
foo="bar"
bip=""
resetting foo...\n'
foo="guggle"
<h2>Text Processing</h2>
foofoofoo
barbarbarbarbar
1:blarg 2:blarg 3:blarg 4:blarg 5:blarg
testing 3
5
9
you bar this
mark, larry, or leroy
--four
three
foo
'--bar' odd in odd, left side pad only
'--xyz--' odd in odd, pad both sides
'-wxyz--' even in odd, pad both sides
'--xyz---' odd in even, pad both sides
Joe and the Dog
The Exception
Tropic of Consumption
Joe and a Dog
Joe And A Dog
Joe and a dog
I prefer HTML, and Python, to HTML and PHP.
1234-5678-90
12-3456-7890
Marge
ben
fred
larry
zander
ben
fred
larry
Marge
zander
1,ben
2,larry
3,Marge
4,zander
5,fred
<h2>Escapes</h2>
,
|
< >
[ ]
{ }
<h2>Miscellanea</h2>
<p>
two two test1
three three three
three again: three again: three again:
five five five five five
two two
</p>
<p>
<h3>[b]</h3>
Third-level title <i>[b]</i>
<h3>[b]</h3>
<h3>humma humma</h3>
</p>
Gee whiz, this is //really// messed up!: Darn it, this is //truly// foo bar!
Befunked, afraid -- and *clueless*. = Bewildered, nervous -- and *confused*.
This person is a flaming-idiot!
<p>
<HTML>
<HEAD>
<TITLE>aagen Example</TITLE>
</HEAD>
<BODY>
<p>
Why hello, Ebenezer, how are you?
</p>
</BODY>
</HTML>
happy extension: this is a good thing :)
unhappy extension: this is a bad thing :(
back-reference to parent by embraced module: a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, nor
Replacement of [i]: <em>emphasize me</em>
abcdef
abcdef
"She & me & some Tequila"
</p>
if 5 <= 4 lte =
if 5 <= 5 lte = lte
if 5 <= 6 lte = lte
if 5 >= 4 gte = gte
if 5 >= 5 gte = gte
if 5 >= 6 gte =
shell test
-----
foobar, brother and again: foobar, brother
-----
-----
, and again: ,
-----
-----
st nd rd th
1st 2nd 3rd 4th
CD
MartyLarryBenGeorge
Ben: AA7AS
George: W4KVU
Larry: W3OZ
Marty: KA7GKN
barbeque dolly
// plugin_demo.c
// -------------
// tab stops every 4 spaces
#include <math.h>
#include <string.h>
#include "developer.h"
void pengine(struct plug *p,long start,long finish,struct pkg *(*service)(struct req *p)) // sets 64K remap
{
long i,v,b;
b = (p->f[0] - 100.0f) * 655.35f; // b is now [-65535...65535]
for (i = start; i < finish; i++) // we set this range to [0...65536]
{
v = i + b; // temp brightness adjust;
if (v < 0) v = 0; // now limit remap range...
if (v > 65535) v = 65535; // ...to acceptable bounds
p->lr[i] = v; // install in remap channel
}
}
void dengine(struct plug *p,long start,long finish,struct pkg *(*service)(struct req *p)) // generates output
{
long i;
for (i = start; i < finish; i++) // 1-dimensional pixel processing
{
p->sr[i] = p->lr[p->mr[i]]; // remap pixel brightness
p->sg[i] = p->lr[p->mg[i]]; // ...using 64k table in layer
p->sb[i] = p->lr[p->mb[i]]; // ...
}
}
void setup(struct plugin *p) // NOTE: most struct elements are preset to 0,
{ // if that is the setting you need, it's there.
#include "ak_pu_date.txt" // this inserts the current date in the plugin
p->layer_pri = 9500; // layer priority (posit in fx stack - see developer.h)
strcpy(p->panel.n,"Brightness"); // name appearing on panel
p->pthread[0] = 1; // plugin desires pengine() threading
p->prange_methods[0]= 2; // custom range for pengine()
p->pfinish[0] = 65536; // end+1 range for pengine() to process
p->dthread[0] = 1; // plugin desires dengine() threading
p->promotable = 1; // BUT user can add alpha, paint
p->req_lr = 65536; // we'd like 1 layer of this size in lr
p->slider_req = 1; // we'd like 1 slider (#0)
strcpy(p->sliders[0].n,"Intensity");// legend for slider
p->forder[0] = 20; // position on line zero
p->svalues[0] = 100.0f; // initial value
p->zvalues[0] = 200.0f; // initial hi value (user settable)
p->ticks[0] = 21; // Ten ticks per hundred
} // (low values default to 0.0f)
void init(struct plug *pl,struct pkg *(*service)(struct req *p)) // called before pengine() and dengine()
{
struct req r;
struct pkg *p;
char *msg = "demo plugin init";
// the following just demonstrates using the service function
r.svc = REQ_STATUS; // request status line message service
r.p1 = msg; // set up request with proper parameter
p = service(&r); // send msg to status line, get package back
}
void cleanup(struct plug *pl,struct pkg *(*service)(struct req *p)) // called after all pengine() and dengine threads complete
{
struct req r;
struct pkg *p;
char *msg = "demo plugin cleanup";
// the following just demonstrates using the service function
r.svc = REQ_STATUS; // request status line message service
r.p1 = msg; // set up request with proper parameter
p = service(&r); // send msg to status line, get package back
}
<span style="color: #888888;">// plugin_demo.c
</span><span style="color: #888888;">// -------------
</span><span style="color: #888888;">// tab stops every 4 spaces
</span><span style="color: #4488ff;">
</span><span style="color: #ff0000;">#include</span> <span style="color: #4488ff;"><</span>math<span style="color: #4488ff;">.</span>h<span style="color: #4488ff;">>
</span><span style="color: #ff0000;">#include</span> <span style="color: #4488ff;"><</span>string<span style="color: #4488ff;">.</span>h<span style="color: #4488ff;">>
</span><span style="color: #ff0000;">#include</span> <span style="color: #ffffff;">"developer.h"</span><span style="color: #4488ff;">
</span><span style="color: #4488ff;">
</span><span style="color: #ff8844;">void</span> pengine<span style="color: #4488ff;">(</span><span style="color: #ff8844;">struct</span> plug <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">,</span><span style="color: #ff8844;">long</span> start<span style="color: #4488ff;">,</span><span style="color: #ff8844;">long</span> finish<span style="color: #4488ff;">,</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*(*</span>service<span style="color: #4488ff;">)(</span><span style="color: #ff8844;">struct</span> req <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">))</span> <span style="color: #888888;">// sets 64K remap
</span><span style="color: #4488ff;">{
</span><span style="color: #ff8844;">long</span> i<span style="color: #4488ff;">,</span>v<span style="color: #4488ff;">,</span>b<span style="color: #4488ff;">;
</span><span style="color: #4488ff;">
</span> b <span style="color: #4488ff;">=</span> <span style="color: #4488ff;">(</span>p<span style="color: #4488ff;">-></span>f<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">-</span> 100<span style="color: #4488ff;">.</span>0f<span style="color: #4488ff;">)</span> <span style="color: #4488ff;">*</span> 655<span style="color: #4488ff;">.</span>35f<span style="color: #4488ff;">;</span> <span style="color: #888888;">// b is now [-65535...65535]
</span> for <span style="color: #4488ff;">(</span>i <span style="color: #4488ff;">=</span> start<span style="color: #4488ff;">;</span> i <span style="color: #4488ff;"><</span> finish<span style="color: #4488ff;">;</span> i<span style="color: #4488ff;">++)</span> <span style="color: #888888;">// we set this range to [0...65536]
</span> <span style="color: #4488ff;">{
</span> v <span style="color: #4488ff;">=</span> i <span style="color: #4488ff;">+</span> b<span style="color: #4488ff;">;</span> <span style="color: #888888;">// temp brightness adjust;
</span> if <span style="color: #4488ff;">(</span>v <span style="color: #4488ff;"><</span> 0<span style="color: #4488ff;">)</span> v <span style="color: #4488ff;">=</span> 0<span style="color: #4488ff;">;</span> <span style="color: #888888;">// now limit remap range...
</span> if <span style="color: #4488ff;">(</span>v <span style="color: #4488ff;">></span> 65535<span style="color: #4488ff;">)</span> v <span style="color: #4488ff;">=</span> 65535<span style="color: #4488ff;">;</span> <span style="color: #888888;">// ...to acceptable bounds
</span> p<span style="color: #4488ff;">-></span>lr<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> v<span style="color: #4488ff;">;</span> <span style="color: #888888;">// install in remap channel
</span> <span style="color: #4488ff;">}
</span><span style="color: #4488ff;">}
</span><span style="color: #4488ff;">
</span><span style="color: #ff8844;">void</span> dengine<span style="color: #4488ff;">(</span><span style="color: #ff8844;">struct</span> plug <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">,</span><span style="color: #ff8844;">long</span> start<span style="color: #4488ff;">,</span><span style="color: #ff8844;">long</span> finish<span style="color: #4488ff;">,</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*(*</span>service<span style="color: #4488ff;">)(</span><span style="color: #ff8844;">struct</span> req <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">))</span> <span style="color: #888888;">// generates output
</span><span style="color: #4488ff;">{
</span><span style="color: #ff8844;">long</span> i<span style="color: #4488ff;">;
</span><span style="color: #4488ff;">
</span> for <span style="color: #4488ff;">(</span>i <span style="color: #4488ff;">=</span> start<span style="color: #4488ff;">;</span> i <span style="color: #4488ff;"><</span> finish<span style="color: #4488ff;">;</span> i<span style="color: #4488ff;">++)</span> <span style="color: #888888;">// 1-dimensional pixel processing
</span> <span style="color: #4488ff;">{
</span> p<span style="color: #4488ff;">-></span>sr<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> p<span style="color: #4488ff;">-></span>lr<span style="color: #4488ff;">[</span>p<span style="color: #4488ff;">-></span>mr<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]];</span> <span style="color: #888888;">// remap pixel brightness
</span> p<span style="color: #4488ff;">-></span>sg<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> p<span style="color: #4488ff;">-></span>lr<span style="color: #4488ff;">[</span>p<span style="color: #4488ff;">-></span>mg<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]];</span> <span style="color: #888888;">// ...using 64k table in layer
</span> p<span style="color: #4488ff;">-></span>sb<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> p<span style="color: #4488ff;">-></span>lr<span style="color: #4488ff;">[</span>p<span style="color: #4488ff;">-></span>mb<span style="color: #4488ff;">[</span>i<span style="color: #4488ff;">]];</span> <span style="color: #888888;">// ...
</span> <span style="color: #4488ff;">}
</span><span style="color: #4488ff;">}
</span><span style="color: #4488ff;">
</span><span style="color: #ff8844;">void</span> setup<span style="color: #4488ff;">(</span><span style="color: #ff8844;">struct</span> plugin <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">)</span> <span style="color: #888888;">// NOTE: most struct elements are preset to 0,
</span><span style="color: #4488ff;">{</span> <span style="color: #888888;">// if that is the setting you need, it's there.
</span><span style="color: #ff0000;">#include</span> <span style="color: #ffffff;">"ak_pu_date.txt"</span> <span style="color: #888888;">// this inserts the current date in the plugin
</span><span style="color: #4488ff;">
</span> p<span style="color: #4488ff;">-></span>layer_pri <span style="color: #4488ff;">=</span> 9500<span style="color: #4488ff;">;</span> <span style="color: #888888;">// layer priority (posit in fx stack - see developer.h)
</span> strcpy<span style="color: #4488ff;">(</span>p<span style="color: #4488ff;">-></span>panel<span style="color: #4488ff;">.</span>n<span style="color: #4488ff;">,</span><span style="color: #ffffff;">"Brightness"</span><span style="color: #4488ff;">);</span> <span style="color: #888888;">// name appearing on panel
</span> p<span style="color: #4488ff;">-></span>pthread<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 1<span style="color: #4488ff;">;</span> <span style="color: #888888;">// plugin desires pengine() threading
</span> p<span style="color: #4488ff;">-></span>prange_methods<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]=</span> 2<span style="color: #4488ff;">;</span> <span style="color: #888888;">// custom range for pengine()
</span> p<span style="color: #4488ff;">-></span>pfinish<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 65536<span style="color: #4488ff;">;</span> <span style="color: #888888;">// end+1 range for pengine() to process
</span> p<span style="color: #4488ff;">-></span>dthread<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 1<span style="color: #4488ff;">;</span> <span style="color: #888888;">// plugin desires dengine() threading
</span> p<span style="color: #4488ff;">-></span>promotable <span style="color: #4488ff;">=</span> 1<span style="color: #4488ff;">;</span> <span style="color: #888888;">// BUT user can add alpha, paint
</span> p<span style="color: #4488ff;">-></span>req_lr <span style="color: #4488ff;">=</span> 65536<span style="color: #4488ff;">;</span> <span style="color: #888888;">// we'd like 1 layer of this size in lr
</span> p<span style="color: #4488ff;">-></span>slider_req <span style="color: #4488ff;">=</span> 1<span style="color: #4488ff;">;</span> <span style="color: #888888;">// we'd like 1 slider (#0)
</span> strcpy<span style="color: #4488ff;">(</span>p<span style="color: #4488ff;">-></span>sliders<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">].</span>n<span style="color: #4488ff;">,</span><span style="color: #ffffff;">"Intensity"</span><span style="color: #4488ff;">);</span><span style="color: #888888;">// legend for slider
</span> p<span style="color: #4488ff;">-></span>forder<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 20<span style="color: #4488ff;">;</span> <span style="color: #888888;">// position on line zero
</span> p<span style="color: #4488ff;">-></span>svalues<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 100<span style="color: #4488ff;">.</span>0f<span style="color: #4488ff;">;</span> <span style="color: #888888;">// initial value
</span> p<span style="color: #4488ff;">-></span>zvalues<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 200<span style="color: #4488ff;">.</span>0f<span style="color: #4488ff;">;</span> <span style="color: #888888;">// initial hi value (user settable)
</span> p<span style="color: #4488ff;">-></span>ticks<span style="color: #4488ff;">[</span>0<span style="color: #4488ff;">]</span> <span style="color: #4488ff;">=</span> 21<span style="color: #4488ff;">;</span> <span style="color: #888888;">// Ten ticks per hundred
</span><span style="color: #4488ff;">}</span> <span style="color: #888888;">// (low values default to 0.0f)
</span><span style="color: #4488ff;">
</span><span style="color: #ff8844;">void</span> init<span style="color: #4488ff;">(</span><span style="color: #ff8844;">struct</span> plug <span style="color: #4488ff;">*</span>pl<span style="color: #4488ff;">,</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*(*</span>service<span style="color: #4488ff;">)(</span><span style="color: #ff8844;">struct</span> req <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">))</span> <span style="color: #888888;">// called before pengine() and dengine()
</span><span style="color: #4488ff;">{
</span><span style="color: #ff8844;">struct</span> req r<span style="color: #4488ff;">;
</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">;
</span><span style="color: #ff8844;">char</span> <span style="color: #4488ff;">*</span>msg <span style="color: #4488ff;">=</span> <span style="color: #ffffff;">"demo plugin init"</span><span style="color: #4488ff;">;
</span> <span style="color: #888888;">// the following just demonstrates using the service function
</span> r<span style="color: #4488ff;">.</span>svc <span style="color: #4488ff;">=</span> REQ_STATUS<span style="color: #4488ff;">;</span> <span style="color: #888888;">// request status line message service
</span> r<span style="color: #4488ff;">.</span>p1 <span style="color: #4488ff;">=</span> msg<span style="color: #4488ff;">;</span> <span style="color: #888888;">// set up request with proper parameter
</span> p <span style="color: #4488ff;">=</span> service<span style="color: #4488ff;">(&</span>r<span style="color: #4488ff;">);</span> <span style="color: #888888;">// send msg to status line, get package back
</span><span style="color: #4488ff;">}
</span><span style="color: #4488ff;">
</span><span style="color: #ff8844;">void</span> cleanup<span style="color: #4488ff;">(</span><span style="color: #ff8844;">struct</span> plug <span style="color: #4488ff;">*</span>pl<span style="color: #4488ff;">,</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*(*</span>service<span style="color: #4488ff;">)(</span><span style="color: #ff8844;">struct</span> req <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">))</span> <span style="color: #888888;">// called after all pengine() and dengine threads complete
</span><span style="color: #4488ff;">{
</span><span style="color: #ff8844;">struct</span> req r<span style="color: #4488ff;">;
</span><span style="color: #ff8844;">struct</span> pkg <span style="color: #4488ff;">*</span>p<span style="color: #4488ff;">;
</span><span style="color: #ff8844;">char</span> <span style="color: #4488ff;">*</span>msg <span style="color: #4488ff;">=</span> <span style="color: #ffffff;">"demo plugin cleanup"</span><span style="color: #4488ff;">;
</span> <span style="color: #888888;">// the following just demonstrates using the service function
</span> r<span style="color: #4488ff;">.</span>svc <span style="color: #4488ff;">=</span> REQ_STATUS<span style="color: #4488ff;">;</span> <span style="color: #888888;">// request status line message service
</span> r<span style="color: #4488ff;">.</span>p1 <span style="color: #4488ff;">=</span> msg<span style="color: #4488ff;">;</span> <span style="color: #888888;">// set up request with proper parameter
</span> p <span style="color: #4488ff;">=</span> service<span style="color: #4488ff;">(&</span>r<span style="color: #4488ff;">);</span> <span style="color: #888888;">// send msg to status line, get package back
</span><span style="color: #4488ff;">}
</span>
<ol start="7">
<li>seven</li>
<li>eight</li>
<li>nine</li>
</ol>
<ol type="A">
<li>seven</li>
<li>eight</li>
<li>nine</li>
</ol>
<ol type="A" start="3">
<li>seven</li>
<li>eight</li>
<li>nine</li>
</ol>
<span style="color: #0000ff;"><strong>[a-b]</strong></span>
abcd
abcd1234
1234 test
test
<a href="http://fyngyrz.com/">Home</a>
<a name="glop"></a>
<a name="foo"></a>
<a target="_blank" href="http://fyngyrz.com/">Home Page</a>
<a style="text-decoration: underline;" href="http://fyngyrz.com/">Home Page</a>
<a href="http://fyngyrz.com/">Home Page</a>
void main()
{
printf("Hello, Whirled\n");
}
F422B0F0
8C620929
3F267228
D9ED
this is a test
74686B7F1D5886ED
6362391C61284F5A
8CE2A2
this is also a test
*1* *2* *3* *4*
*a* *b* *c* *d*
*i* *ii* *iii/iv*
1-2-3-4
1, 2, 3 and 4
x1y x2y x3y x4y
x1y x2y x3y and x4y
(1)-(2)-(3)-(4)
(1), (2), (3) and (4)
x(1)y x(2)y x(3)y x(4)y
x(1)y x(2)y x(3)y and x(4)y
1:grape
2:cherry
3:persimmon
<br>
<br clear="all">
can't touch this<br>
or this either<br clear="all">
0.936760277793
0.549369813109
4.0
3.33333333333
4.5
2.8
Mar
March
0 AM 1 AM 2 AM 3 AM 4 AM 5 AM 6 AM 7 AM 8 AM 9 AM 10 AM 11 AM 12 AM 13 PM 14 PM 15 PM 16 PM 17 PM 18 PM 19 PM 20 PM 21 PM 22 PM 23 PM
12 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11
Double locked-box encryption:
last stage of mode 0:
7EBC4FCC9DDDF7B6
8F8924F7AE21
This is a test
Double locked-box encryption, mode 1:
Last stage of mode 1:
C06B9725E9E15443
2CB4F9
1
0
1
0
Test-tickle
this is a test of the emergency broadcast
system. If this had been a real
emergency, we would all be dead by now.
this is a test
This is a test of the emergency
broadcast system. If this had been a
real emergency, you would have been
instructed to place your head between
your legs and kiss your ass goodbye.
Or at least, you would have been
instructed to go quiver underneath your
bed while we sorted out how to break the
news to you that your existence into the
near future is in serious doubt.
22.0
22.4
hooah
bugger
yessir
pumpkin
<abbr title="(1): Happy To Help (2): Here To Help (3): Hope That Helped">HTH</abbr>
<abbr style="border-bottom:green dashed;" title="(1): Happy To Help (2): Here To Help (3): Hope That Helped">HTH</abbr>
0 0 1
abc def ghi 3
jkl mno pqr 3
! embrace Not Available !
! include Not Available !
! sys Not Available !
! gload Not Available !
! load Not Available !
012345
x-x-x-x-x-
y-y-y-y-y-
z-z-z-z-z-
! nesting limit exceeded in for !! nesting limit exceeded in for !
! looping depth exceeded in repeat !! looping depth exceeded in repeat !
! looping depth exceeded in dup !! looping depth exceeded in dup !
! looping depth exceeded in eval !! looping depth exceeded in eval !