"SfR Fresh" - the SfR Freeware/Shareware Archive 
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 This is the readme file of the logserial distribution.
2
3 This program was developed for loging input on the serial ports of linux. The
4 original purpuse of this program is to log the reports of our telephone
5 central. The program was inspired by linbar-0.2 (which is for barcode readers
6 connected to a linux box, writen by I.Ioanou <roryt@hol.gr> ). The serial port
7 controlling routines come from Miquel van Smoorenburg's <miquels@cistron.nl>
8 minicom-1.75 .
9
10 Installation:
11 Untar the gziped arcive, then cd into the logserial-x.y directory and type make.
12 You can only use this program as root, because of the /dev/ttySx i/o
13 permissions, or you can chmod /dev/ttySx to enable everybody using serial ports.
14 (But this isn't the safest thing to do.)
15
16 Usage:
17
18 logserial [parameters]
19 Optional parameters are:
20 -h prints help screen
21 -v prints version of logserial
22 -t tty default /dev/ttyS1
23 -s speed default 9600
24 -d data bits default 8
25 -p parity default N valid arguments N,S,M,E,O
26 -c for software handshake default hardware handshake
27 -f output file default /dev/stdout
28 -b for daemonized runing
29 -r if exists logserial run in reverse mode
30 -n filename specify input named pipe in reverse mode
31 -a use this option if you will read output file wit DOS
32 -u umask specify umask for logserial
33 -m mask specify file creation mode for logserial
34
35
36 After starting you should read a message like this:
37 Successfully opened /dev/ttyS1. Start loging. or
38 Successfully opened /dev/ttyS1. Start sending.
39 depending on reverse or normal usage.
40 If you did't get this message the device you want to use is used by another
41 program and logserial can't open it. In this case CTRL-C will help you to exit.
42 You can also exit the running program by CTRL-C, in this case the program will
43 close the port and the output file.
44 In normal mode logserial reads the given serial line, and print it to its
45 standard output or into the given file. In reverse mode logserial reads its
46 standard input or the given named pipe and sends the read data to the serial
47 line.
48 You can enable DOS output mode with option -a, this mode has effect only on
49 new line handling (CR or CR+LF).
50 You can specify umask and user, group and other file access permission with
51 -u and -m options. Syntax is identical to umask and chmod.
52
53 Thanx for Doug Harple (dharple@mail.communityconnect.com) for the daemonize
54 option.
55
56 This program is free software (GPL).
57
58 The program is in a very early state, so comments are wellcommed.
59
60 Sinkovics Zoltan <sinko@szarvas.hu>