Site map  

Menar-read options

-a Alternative path
Write files to this directory when writing to 'path' fails.
Note: The directory needs to be (group) writable by the process owner.
-b Baud rate
Supported are 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200 bps.
The default baudrate is 115200 bps.
Note: Not all of these speeds are supported by Menarini V-Sight.
-c
Enable RTS CTS flow control.
Note: Not supported by Menarini V-Sight.
-d TTY device
Unless the '-P' option is used, the tty is set to RAW, 8N1.
Note: Unless the '-f' option is used, you need to set this!
-D
Enable debug.
-f Raw input file
Converts raw input file into text, html or graphs and then exits.
Note: This disables raw output.
Note: With this option all non output format options except debug are ignored.
-g Group Id
When the UID is specified and the GID is not, the GID is set to the UID.
Note: This GID may not exist or may belong to an other user.
-G
Plot white blood cell, haemoglobin and platelet histograms.
Note: HTML mode also sets plot graphs.
-h
Print help and exit.
-H
Generate HTML. This option doesn't do all that much. It sets plot graphs, UTF-8 output and adds image sources to a plain text table. When compiled with 'MENRD_USE_PRE', it also puts 'pre' tags at begin and end. If you want a proper HTML page with header, footer and tables, use the '-t' option as well.
Note: Disables raw.
-i
Ignore stdin. Without this option a 'q' send to stdin will quit the program.
Note: Systemd needs this.
-I Image path
Image path. Not the directory where images are saved, but a path inserted in the HTML output files.
EG: <img src="imgpath/Some_Image" alt="Some text">.
-l Log file
Log file. The log file is opened in append mode. The file can be shared with other instances of menar-read.
Log file format: YYYY-MM-DD hh:mm:ss.milliseconds Pid Text
-m Admin email address
Email address to send errors to.
-n Filename prefix
Filename prefix. The filename is Prefix-YYYYMMDD-hhmmss-ms.txt. When no prefix is specified the TTY name is used. EG: ttyS1-20181224-135557-123.txt.
In raw mode the output filename is Prefix-YYYYMMDD-hhmmss-ms.raw. In HTML mode Prefix-YYYYMMDD-hhmmss-ms.html. Graph filenames are Prefix-YYYYMMDD-hhmmss-ms-plt.png, Prefix-YYYYMMDD-hhmmss-ms-rbc.png and Prefix-YYYYMMDD-hhmmss-ms-wbc.png.
-N
Normal values Add normal range minimum an maximum values to output.
-p Path
Path to output files.
Note: The output files directory needs to be (group) writable by the process owner.
Note: All files are saved in this directory.
-P e|n|e
Even, none or odd parity. This option also sets 7-bits.
Note: The Menarini V-Sight needs this because it doesn't support eight bits.
-r Pid dir
Directory for pid files. When no directory is specified it defaults to /run/.
Note: The pid file directory needs to be (group) writable by the process owner.
-R
Raw output. This disables graphs, strip and UTF-8.
-s
Strip date from header.
-t
Use tables in HTML. Adds header and footer as well.
Note: Ignored without '-H' option.
-u User Id
When the UID is specified and the GID is not, the GID is set to the UID.
Note: This GID may not exist or may belong to an other user.
-U
Generate UTF-8 instead of US-ASCII output.
Note: HTML mode also sets UTF-8.
-v
Print version and exit.
-x
Enable XON XOFF flow control.
Note: Not tested.