-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this was discuted in the first issue as * we don't need both of them * is makes everything complicated
- Loading branch information
Showing
7 changed files
with
38 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
PREFIX ?= /usr/local | ||
|
||
all: | ||
# nothing to do. | ||
# echo to install dformat in /bin, type | ||
# | ||
# make install PREFIX=/ | ||
# default prefix is ${PREFIX} | ||
# | ||
|
||
install: dformat; cp $< ${PREFIX}/bin |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,19 @@ | ||
* NAME | ||
|
||
dformat.awk - A Program for Typesetting Data Formats. | ||
|
||
* DESCRIPTION | ||
Usable version of the code described in the article | ||
|
||
#+srcname: example | ||
#+begin_src sh | ||
cat > structure <<'EOF' | ||
.begin dformat | ||
style bitwid .3 | ||
PDP-8 Instr | ||
0-2 Op code | ||
3 Indirect Bit | ||
4 Page-Zero Bit | ||
5-11 Page Address | ||
.end | ||
EOF | ||
|
||
dformat.awk < structure > structure.pic | ||
pic structure.ms | groff -ms -T ps > structure.ps | ||
|
||
#+end_src | ||
|
||
* VERSION | ||
|
||
This refers to version 0.1. | ||
DFORMAT -- | ||
CSTR #142, Jon L. Bentley, Bell Labs, April 1988. | ||
142.ps.gz | ||
|
||
* USAGE | ||
|
||
Check internet for the =142.ps.gz= file which is the official manual. | ||
The title is "dformat - A Program for Typesetting Data Formats." by | ||
Jon L. Bentley. | ||
|
||
* AUTHOR | ||
|
||
Jon L. Bentley at Bell Labs in April 1988. | ||
|
||
* COPYRIGHT | ||
|
||
Unsure of the copyright, not sure to have the right to put it in my | ||
github repository. Whatever ... | ||
|
||
# DFORMAT -- | ||
# CSTR #142, Jon L. Bentley, Bell Labs, April 1988. | ||
# 142.ps.gz | ||
# USAGE | ||
|
||
* copy `dformat` in your `$PATH` or in your paper directory | ||
* dformat is an awk script. both examples are working | ||
|
||
< eg/pdp8 dformat | groff -epTpdf > pdf8.pdf | ||
dformat eg/pdp8 | groff -epTpdf > pdf8.pdf | ||
|
||
# TODO | ||
|
||
* the git history in the AUTHORS | ||
* fix the licence issue. GPL removed as there was no agreement of the original author | ||
* better Make install and decent man page |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.begin dformat | ||
style bitwid .3 | ||
PDP-8 Instr | ||
0-2 Op code | ||
3 Indirect Bit | ||
4 Page-Zero Bit | ||
5-11 Page Address | ||
.end |