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)
|
||||
# Author: Thomas Jensen
|
||||
# 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
|
||||
# World Wide Web: http://home.pages.de/~jensen/boxes/
|
||||
# Purpose: Example configuration file for the boxes program
|
||||
@ -11,6 +11,11 @@
|
||||
# Revision History:
|
||||
#
|
||||
# $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
|
||||
# Removed all occurrences of OFFSET specs (obsolete).
|
||||
# Added some new designs
|
||||
@ -31,7 +36,7 @@ BOX parchment
|
||||
created "March 12, 1999 (Friday, 17:05h)"
|
||||
revision "1.0"
|
||||
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
|
||||
|
||||
sample {
|
||||
@ -231,7 +236,8 @@ shapes {
|
||||
sw ("/*") s ("*") se ("*/")
|
||||
}
|
||||
|
||||
replace "\\*/" with "\\\\*\\\\/" # quote closing comment tags
|
||||
replace "\\*/" with "*\\/" # quote closing comment tags
|
||||
reverse "\\*\\\\/" to "*/"
|
||||
|
||||
elastic (n,e,s,w)
|
||||
|
||||
@ -262,6 +268,8 @@ shapes {
|
||||
sw ("<!-- ") s ("-") se (" -->")
|
||||
}
|
||||
|
||||
replace "-->" with "-\\-\\>"
|
||||
|
||||
elastic (n,e,s,w)
|
||||
|
||||
END html
|
||||
@ -661,6 +669,8 @@ SAMple {
|
||||
|
||||
indent "none" # alternatives: "box", "text"
|
||||
|
||||
replace "\\*/" with "*\\/"
|
||||
|
||||
shapes {
|
||||
w (" * ")
|
||||
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
|
||||
|
||||
author "Thomas Jensen <tsjensen@stud.informatik.uni-erlangen.de>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user