M_msg
This is a collection of modules useful for creating messages, logfiles and performing unit tests,
-
M_msg is a small module that can convert a list of variables of any of the most common default types to a string.
It performs low-level operations that are often used by other larger modules so it is in its own module to prevent circular dependencies.
-
M_verify contains procedures useful for generating unit tests
-
M_journal allows for creating log and journal files
-
M_messages includes messages containing line art, ASCII plotting procedures, and various table presentations.
The lineart routines files display eye-catching messages as block letters or with ASCII art.
- junbad - print an eye-catching image of a skull.
- junbat - print an eye-catching image of a bat.
- junbuster - es] call journal(3f) to print eye-catching ASCII graphic (ghostbuster)
- jundragon - fill in a character array with a message
- junroach - print an eye-catching image of a roach.
- junsun - print an eye-catching image of a smiling sun.
- juntrolls - print an eye-catching bulletin
Generic procedures that are used to generate messages.
-
blocks - write large block letters
-
signs - write out string in large block letters
-
percent_done - non-advancing status counter displays percentage done on terminal displays
-
tabgraph - write out a row of numbers and a text-based scaled graph
A conventional GNU/Linux or Unix install:
git clone https://github.com/urbanjost/M_msg.git
cd M_msg/src
# change Makefile if not using one of the listed compilers
# for gfortran
make clean
make F90=gfortran gfortran
# for ifort
make clean
make F90=ifort ifort
# for nvfortran
make clean
make F90=nvfortran nvfortran
This will compile the Fortran module and basic test programs
Optionally
Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )
git clone https://github.com/urbanjost/M_msg.git
cd M_msg
fpm test
or just list it as a dependency in your fpm.toml project file.
[dependencies]
M_msg = { git = "https://github.com/urbanjost/M_msg.git" }
(registered at the fpm(1) registry )
-
man-pages in
-
An index to HTML versions of the manpages
-
A single page that uses javascript to combine all the HTML descriptions of the man-pages is at BOOK_M_msg.
There are
- src/ is where the source for the M_msg(3f) modules resides
- docs/ contains HTML documentation and the manpage archives
- test/ contains a simple test program
- example/ has demos