Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > cec1823644bbd6940b6b2d28af1d7a23 > files > 4

logserial-0.4.2-9.fc12.i686.rpm

This is the readme file of the logserial distribution.

This program was developed for loging input on the serial ports of linux. The 
original purpuse of this program is to log the reports of our telephone 
central. The program was inspired by linbar-0.2 (which is for barcode readers 
connected to a linux box, writen by I.Ioanou <roryt@hol.gr> ). The serial port
controlling routines come from Miquel van Smoorenburg's <miquels@cistron.nl> 
minicom-1.75 . 

Installation:
Untar the gziped arcive, then cd into the logserial-x.y directory and type make.
You can only use this program as root, because of the /dev/ttySx i/o 
permissions, or you can chmod /dev/ttySx to enable everybody using serial ports.
(But this isn't the safest thing to do.)

Usage:

     logserial [parameters]
	Optional parameters are:
		 -h prints help screen
		 -v prints version of logserial
		 -t tty        	 default /dev/ttyS1
		 -s speed      	 default 9600
		 -d data bits  	 default 8
		 -p parity     	 default N	valid arguments N,S,M,E,O
		 -c for software handshake	default hardware handshake
		 -f output file	 default /dev/stdout
		 -b for daemonized runing
                 -r    if exists logserial run in reverse mode
                 -n filename     specify input named pipe in reverse mode
                 -a use this option if you will read output file wit DOS
                 -u umask        specify umask for logserial
                 -m mask         specify file creation mode for logserial

		 
After starting you should read a message like this:
Successfully opened /dev/ttyS1. Start loging.    or
Successfully opened /dev/ttyS1. Start sending.   
depending on reverse or normal usage.
If you did't get this message the device you want to use is used by another
program and logserial can't open it. In this case CTRL-C will help you to exit.
You can also exit the running program by CTRL-C, in this case the program will
close the port and the output file.
In normal mode logserial reads the given serial line, and print it to its 
standard output or into the given file. In reverse mode logserial reads its
standard input or the given named pipe and sends the read data to the serial
line.
You can enable DOS output mode with option -a, this mode has effect only on
new line handling (CR or CR+LF).
You can specify umask and user, group and other file access permission with
-u and -m options. Syntax is identical to umask and chmod.

Thanx for Doug Harple (dharple@mail.communityconnect.com) for the daemonize 
option.
    
This program is free software (GPL).

The program is in a very early state, so comments are wellcommed.

Sinkovics Zoltan <sinko@szarvas.hu>