mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-09 19:36:50 +02:00
Added "reverse" entry for testing, more "reverse" entries needed still
Added "peek" design for C funtion headers Simplified some replacement entries
This commit is contained in:
parent
f3bdc853b3
commit
c19d1b0977
57
boxes-config
57
boxes-config
@ -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.3 1999/04/09 13:28:13 tsjensen Exp tsjensen $
|
# Version: $Id: boxes-config,v 1.4 1999/04/09 18:11:08 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
|
||||||
@ -11,6 +11,11 @@
|
|||||||
# Revision History:
|
# Revision History:
|
||||||
#
|
#
|
||||||
# $Log: boxes-config,v $
|
# $Log: boxes-config,v $
|
||||||
|
# Revision 1.4 1999/04/09 18:11:08 tsjensen
|
||||||
|
# Added some more designs
|
||||||
|
# Uncommented an unused entry, since boxes no longer generates warnings
|
||||||
|
# upon encountering syntactically correct entries which it doesn't know.
|
||||||
|
#
|
||||||
# Revision 1.3 1999/04/09 13:28:13 tsjensen
|
# Revision 1.3 1999/04/09 13:28:13 tsjensen
|
||||||
# Removed all occurrences of OFFSET specs (obsolete).
|
# Removed all occurrences of OFFSET specs (obsolete).
|
||||||
# Added some new designs
|
# Added some new designs
|
||||||
@ -31,7 +36,7 @@ BOX parchment
|
|||||||
created "March 12, 1999 (Friday, 17:05h)"
|
created "March 12, 1999 (Friday, 17:05h)"
|
||||||
revision "1.0"
|
revision "1.0"
|
||||||
revdate "March 12, 1999 (Friday, 17:05h)"
|
revdate "March 12, 1999 (Friday, 17:05h)"
|
||||||
escaped "aaa\"bbb\\\"ccc#" # der String aaa"bbb\"ccc#
|
escaped "aaa\"bbb\\\"ccc#" # the string aaa"bbb\"ccc#
|
||||||
#escaped2 "aaa\\"bbb" # unterminated
|
#escaped2 "aaa\\"bbb" # unterminated
|
||||||
|
|
||||||
sample {
|
sample {
|
||||||
@ -231,7 +236,8 @@ shapes {
|
|||||||
sw ("/*") s ("*") se ("*/")
|
sw ("/*") s ("*") se ("*/")
|
||||||
}
|
}
|
||||||
|
|
||||||
replace "\\*/" with "\\\\*\\\\/" # quote closing comment tags
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
|
reverse "\\*\\\\/" to "*/"
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
@ -262,6 +268,8 @@ shapes {
|
|||||||
sw ("<!-- ") s ("-") se (" -->")
|
sw ("<!-- ") s ("-") se (" -->")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
replace "-->" with "-\\-\\>"
|
||||||
|
|
||||||
elastic (n,e,s,w)
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
END html
|
END html
|
||||||
@ -661,6 +669,8 @@ SAMple {
|
|||||||
|
|
||||||
indent "none" # alternatives: "box", "text"
|
indent "none" # alternatives: "box", "text"
|
||||||
|
|
||||||
|
replace "\\*/" with "*\\/"
|
||||||
|
|
||||||
shapes {
|
shapes {
|
||||||
w (" * ")
|
w (" * ")
|
||||||
sw (" * ", "* * ", " */ ")
|
sw (" * ", "* * ", " */ ")
|
||||||
@ -1141,6 +1151,47 @@ END stark1
|
|||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
BOX peek
|
||||||
|
|
||||||
|
revision "1.0"
|
||||||
|
revdate "April 12, 1999 (Monday, 12:52h)"
|
||||||
|
created "April 12, 1999 (Monday, 12:52h)"
|
||||||
|
|
||||||
|
sample {
|
||||||
|
/* _\\|/_
|
||||||
|
(o o)
|
||||||
|
+----oOO-{_\}-OOo---------------------+
|
||||||
|
| |
|
||||||
|
| C function headers? |
|
||||||
|
| |
|
||||||
|
| |
|
||||||
|
+------------------------------------*/
|
||||||
|
}
|
||||||
|
|
||||||
|
shapes {
|
||||||
|
nw ("/*", " ", " +")
|
||||||
|
nnw (" _\\|/_ ",
|
||||||
|
" (o o) ",
|
||||||
|
"----oOO-{_}-OOo")
|
||||||
|
n (" ", " ", "-")
|
||||||
|
ne (" ", " ", "+")
|
||||||
|
e ("|")
|
||||||
|
w (" |")
|
||||||
|
sw (" +")
|
||||||
|
s ("-")
|
||||||
|
se ("+")
|
||||||
|
}
|
||||||
|
|
||||||
|
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||||
|
|
||||||
|
elastic (n,e,s,w)
|
||||||
|
|
||||||
|
END peek
|
||||||
|
|
||||||
|
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
|
|
||||||
BOX test1
|
BOX test1
|
||||||
|
|
||||||
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user