Added shapes W and E to diamonds sample block (sample was too small)

Added DELIMITER statements to dramatically reduce number of backslashes
This commit is contained in:
Thomas Jensen 1999-08-18 15:34:38 +00:00
parent 721c4c4e55
commit 4a6025908d

View File

@ -3,7 +3,7 @@
# Date created: March 17, 1999 (Wednesday, 17:02h) # Date created: March 17, 1999 (Wednesday, 17:02h)
# Author: Thomas Jensen # Author: Thomas Jensen
# tsjensen@stud.informatik.uni-erlangen.de # tsjensen@stud.informatik.uni-erlangen.de
# Version: $Id: boxes-config,v 1.12 1999/08/14 19:00:00 tsjensen Exp tsjensen $ # Version: $Id: boxes-config,v 1.13 1999/08/16 16:24:32 tsjensen Exp tsjensen $
# Format: ASCII Text # Format: ASCII Text
# World Wide Web: http://home.pages.de/~jensen/boxes/ # World Wide Web: http://home.pages.de/~jensen/boxes/
# Purpose: Example configuration file for the boxes program # Purpose: Example configuration file for the boxes program
@ -32,8 +32,9 @@ shapes {
sw ("/*") s ("*") se ("*/") sw ("/*") s ("*") se ("*/")
} }
replace "\\*/" with "*\\/" # quote closing comment tags delim ?"
reverse "\\*\\\\/" to "*/" replace "\*/" with "*\/" # quote closing comment tags
reverse "\*\\/" to "*/"
padding { padding {
horiz 1 # alternatives: all, vert, lef, rig, bottom, top horiz 1 # alternatives: all, vert, lef, rig, bottom, top
@ -172,8 +173,8 @@ END whirly
BOX scroll BOX scroll
revision "1.1" revision "1.2"
revdate "August 16, 1999 (Monday, 18:01h)" revdate "August 18, 1999 (Wednesday, 17:00h)"
created "March 17, 1999 (Wednesday, 17:04h)" created "March 17, 1999 (Wednesday, 17:04h)"
SAMPLE SAMPLE
@ -192,17 +193,30 @@ SAMPLE
~~~ ~~~ ~~~ ~~~
ENDS ENDS
delimiter ?"
shapes { shapes {
nw (" / ~~~~~") ne ("~~~~~ \ ")
n ("~") ene (" /~~\ |",
ne ("~~~~~ \\ ") "| / /|",
ene (" /~~\\ |", "| / /|", "|\\ / |", "| ~~ |") "|\ / |",
wnw ("| /~~\\ ", "|\\ \\ |", "| \\ /|", "| ~~ |") "| ~~ |")
e ("| |") e ("| |")
se ("| / ", " \\ / ", " ~~~ ") se ("| / ",
s ("~"," "," ") " \ / ",
sw (" \\ |", " \\ / ", " ~~~ ") " ~~~ ")
nw (" / ~~~~~")
wnw ("| /~~\ ",
"|\ \ |",
"| \ /|",
"| ~~ |")
w ("| |") w ("| |")
sw (" \ |",
" \ / ",
" ~~~ ")
n ("~")
s ("~"," "," ")
} }
eLAStic (n, s, e, w) eLAStic (n, s, e, w)
@ -276,8 +290,8 @@ END c-cmt
BOX c-cmt2 BOX c-cmt2
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>" author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
revision "1.0" revision "1.1"
revdate "June 17, 1999 (Thursday, 19:59h)" revdate "August 18, 1999 (Wednesday, 17:01h)"
created "June 17, 1999 (Thursday, 19:59h)" created "June 17, 1999 (Thursday, 19:59h)"
sample sample
@ -295,8 +309,9 @@ shapes {
padding { left 2 } padding { left 2 }
replace "\\*/" with "*\\/" # quote closing comment tags delimiter ?"
reverse "\\*\\\\/" to "*/" replace "\*/" with "*\/" # quote closing comment tags
reverse "\*\\/" to "*/"
elastic (s, w) elastic (s, w)
@ -416,8 +431,8 @@ END nuke
BOX diamonds BOX diamonds
author "Joan G. Stark <spunk1111@juno.com>" author "Joan G. Stark <spunk1111@juno.com>"
revision "1.0" revision "1.1"
revdate "March 30, 1999 (Tuesday, 15:59h)" revdate "August 18, 1999 (Wednesday, 17:02h)"
created "March 30, 1999 (Tuesday, 15:59h)" created "March 30, 1999 (Tuesday, 15:59h)"
Sample Sample
@ -426,8 +441,12 @@ Sample
/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\ /\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\
//\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\ //\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\
\\//\/ \/\\// \\//\/ \/\\//
\/ joan stark spunk1111@juno.com \/ \/ \/
/\ http://www.geocities.com/SoHo/7373/ /\ /\ /\
//\\ joan stark spunk1111@juno.com //\\
\\// http://www.geocities.com/SoHo/7373/ \\//
\/ \/
/\ /\
//\\/\ /\//\\ //\\/\ /\//\\
\\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\// \\///\\/\//\\\///\\/\//\\\///\\/\//\\\///\\/\//\\\//
\/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/ \/\\///\\\//\/\\///\\\//\/\\///\\\//\/\\///\\\//\/
@ -435,28 +454,38 @@ Sample
\/ \/ \/ \/ \/ \/ \/ \/
Ends Ends
delimiter ?:
shapes { shapes {
nw (" ", " /\\", " /\\//\\", "//\\\\\\/") nw (: :, : /\:, : /\//\:, ://\\\/:)
nnw (" /\\ ", "//\\\\/\\ ", "\\\\///\\\\/", "/\\/\\\\///") nnw (: /\ :, ://\\/\ :, :\\///\\/:, :/\/\\///:)
n (" /\\ ", " /\\//\\\\/\\ ", "\\//\\\\\\///\\\\/", n (: /\ :, : /\//\\/\ :, :\//\\\///\\/:,
"\\\\\\//\\/\\\\///") :\\\//\/\\///:)
nne (" /\\ ", " /\\//\\\\", "\\//\\\\\\//", "\\\\\\//\\/\\") nne (: /\ :, : /\//\\:, :\//\\\//:, :\\\//\/\:)
ne (" ", "/\\ ", "/\\\\/\\ ", "\\///\\\\") ne (: :, :/\ :, :/\\/\ :, :\///\\:)
ene ("\\/\\\\//", " \\/ ") ene (:\/\\//:, : \/ :)
e (" /\\ ", " //\\\\", " \\\\//", " \\/ ") e (: /\ :, : //\\:, : \\//:, : \/ :)
ese (" /\\ ", "/\\//\\\\") ese (: /\ :, :/\//\\:)
wnw ("\\\\//\\/", " \\/ ") wnw (:\\//\/:, : \/ :)
w (" /\\ ", "//\\\\ ", "\\\\// ", " \\/ ") w (: /\ :, ://\\ :, :\\// :, : \/ :)
wsw (" /\\ ", "//\\\\/\\") wsw (: /\ :, ://\\/\:)
sw ("\\\\///\\", " \\/\\\\/", " \\/", " ") sw (:\\///\:, : \/\\/:, : \/:, : :)
ssw ("\\/\\//\\\\\\", "//\\\\\\//\\", "\\\\//\\/ ", " \\/ ") ssw (:\/\//\\\:, ://\\\//\:, :\\//\/ :, : \/ :)
s ("///\\\\/\\//\\\\\\", "/\\\\///\\\\\\//\\", " \\/\\\\//\\/ ", s (:///\\/\//\\\:,
" \\/ ") :/\\///\\\//\:,
sse ("///\\\\/\\/", "/\\\\///\\\\", " \\/\\\\//", " \\/ ") : \/\\//\/ :,
se ("/\\\\\\//", "\\//\\/ ", "\\/ ", " ") : \/ :)
sse (:///\\/\/:,
:/\\///\\:,
: \/\\//:,
: \/ :)
se (:/\\\//:,
:\//\/ :,
:\/ :,
: :)
} }
elastic (n,s,e, w) elastic (n,s,e, w)
@ -788,8 +817,8 @@ END netdata
BOX xes BOX xes
author "Joan G. Stark <spunk1111@juno.com>" author "Joan G. Stark <spunk1111@juno.com>"
revision "1.0" revision "1.1"
revdate "April 09, 1999 (Friday, 20:05h)" revdate "August 18, 1999 (Wednesday, 17:04h)"
created "April 09, 1999 (Friday, 20:05h)" created "April 09, 1999 (Friday, 20:05h)"
sample sample
@ -807,23 +836,25 @@ sample
jgs </\></\></\> jgs </\></\></\>
ends ends
delim ?"
shapes { shapes {
nw (" ", " <", " <") nw (" ", " <", " <")
nnw (" ", "\\/>", "/\\>") nnw (" ", "\/>", "/\>")
n ("<\\/>", "</\\>", " ") n ("<\/>", "</\>", " ")
nne (" ", "<\\/", "</\\") nne (" ", "<\/", "</\")
ne (" ", "> ", "> ") ne (" ", "> ", "> ")
wnw (" <\\/>", " </\\>") wnw (" <\/>", " </\>")
w ("<\\/> ", "</\\> ") w ("<\/> ", "</\> ")
wsw (" <\\/>", " </\\>") wsw (" <\/>", " </\>")
sw (" <", " <", " ") sw (" <", " <", " ")
ssw ("\\/>", "/\\>", " ") ssw ("\/>", "/\>", " ")
s (" ", "<\\/>", "</\\>") s (" ", "<\/>", "</\>")
sse ("<\\/", "</\\", " ") sse ("<\/", "</\", " ")
se ("> ", "> ", " ") se ("> ", "> ", " ")
ese ("<\\/> ", "</\\> ") ese ("<\/> ", "</\> ")
e (" <\\/>", " </\\>") e (" <\/>", " </\>")
ene ("<\\/> ", "</\\> ") ene ("<\/> ", "</\> ")
} }
elastic (n, e, s, w) elastic (n, e, s, w)
@ -1070,8 +1101,8 @@ END santa
BOX spring BOX spring
author "Joan G. Stark <spunk1111@juno.com>" author "Joan G. Stark <spunk1111@juno.com>"
revision "1.0" revision "1.1"
revdate "April 09, 1999 (Friday, 15:53h)" revdate "August 18, 1999 (Wednesday, 17:05h)"
created "April 09, 1999 (Friday, 15:53h)" created "April 09, 1999 (Friday, 15:53h)"
sample sample
@ -1092,20 +1123,22 @@ sample
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ends ends
delim ?"
shapes { shapes {
nw (" , ") nw (" , ")
wnw (" /\\^/`\\ ", wnw (" /\^/`\ ",
" | \\/ | ", " | \/ | ",
" | | | ", " | | | ",
" \\ \\ / ", " \ \ / ",
" '\\\\//' ") " '\\//' ")
w (" || ") w (" || ")
wsw (" || , ", wsw (" || , ",
"|\\ || |\\ ", "|\ || |\ ",
"| | || | |", "| | || | |",
"| | || / / ", "| | || / / ",
" \\ \\||/ / ") " \ \||/ / ")
sw (" `\\\\//` ", sw (" `\\//` ",
" ^^^^^^^^^^") " ^^^^^^^^^^")
ene (" ", ene (" ",
" ", " ",
@ -1113,15 +1146,15 @@ shapes {
" _ _ ", " _ _ ",
" _{ ' }_ ", " _{ ' }_ ",
"{ `.!.` }", "{ `.!.` }",
"',_/Y\\_,'", "',_/Y\_,'",
" {_,_} ") " {_,_} ")
e (" | ") e (" | ")
ese (" (\\| /)", ese (" (\| /)",
" \\| // ", " \| // ",
" |// ") " |// ")
se (" \\\\ |/ / ", se (" \\ |/ / ",
"^^^^^^^^^") "^^^^^^^^^")
s ("\\ \\./ \\", s ("\ \./ \",
"^^^^^^^^^^^^") "^^^^^^^^^^^^")
} }
@ -1543,8 +1576,8 @@ END test6
BOX retest BOX retest
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>" author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
revision "1.0" revision "1.1"
revdate "April 04, 1999 (Sunday, 18:00h)" revdate "August 18, 1999 (Wednesday, 17:07h)"
created "April 04, 1999 (Sunday, 18:00h)" created "April 04, 1999 (Sunday, 18:00h)"
sample sample
@ -1552,6 +1585,8 @@ sample
use "foo", "bar", and "--" repeatedly in input use "foo", "bar", and "--" repeatedly in input
ends ends
delimiter ?"
shapes { nw ("*") ne ("*") sw ("*") se ("*") shapes { nw ("*") ne ("*") sw ("*") se ("*")
n ("*") e ("*") s ("*") w ("*") n ("*") e ("*") s ("*") w ("*")
} }
@ -1559,7 +1594,7 @@ shapes { nw ("*") ne ("*") sw ("*") se ("*")
elastic (n,e,s,W) elastic (n,e,s,W)
replace once "bar" with "raba-raba" replace once "bar" with "raba-raba"
replace global "f(o)o" with "fu\\1\\1\\1\\1\\1\\1" replace global "f(o)o" with "fu\1\1\1\1\1\1"
replace "--" with "++++" replace "--" with "++++"
END retest END retest