SPNW56(1) SPNW56(1) NAME spnw56 - serial port ttyS0 communication with NW56 SYNOPSIS spnw56 [-d device] [-l lockfile] [-v] [infilename] [outfilename] DESCRIPTION Spnw56 is for synchronous non-canonical serial port communication with the NW56 ISP dial up service. The default port is /dev/ttyS0 at 38400 baud. The default semaphore lock file is /var/lock/LCK..ttyS0, which has an fcntl(2) advisory lock applied, also. The serial port is con- trolled through termios(3), and is restored to original values on exit. The serial port child read process is created by fork(2) from the par- ent write process, and both processes respond to SIGINT = ^C and SIGTERM signals. The program is intended to provide a simple, and reliable, serial port communication between two computers, over modems. OPTIONS -d device Device name, (/dev/ttyS0). -l lockfile Lock file name, (/var/lock/LCK..ttyS0). -v Print the program's version information infilename Input filename, (stdin). outfilename Output filename, (stdout). WARNINGS The termios(3) and fopen(2) settings tested only on Linux 2.4, and on US Robotics 56K, V.92, and, 33.6 Sportster. No others were tested. SEE ALSO spcid(1), spgettermios(1) spsettermios(1), spttyS0(1), spttyS1(1), spnw56(1), phone.sh(1) DIAGNOSTICS Error messages for incompatible arguments, inaccessible files, and opening and closing files. AUTHORS ---------------------------------------------------------------------- A license is hereby granted to reproduce this software source code and to create executable versions from this source code for personal, non-commercial use. The copyright notice included with the software must be maintained in all copies produced. THIS PROGRAM IS PROVIDED "AS IS". THE AUTHOR PROVIDES NO WARRANTIES WHATSOEVER, EXPRESSED OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, OR FITNESS FOR ANY PARTICULAR PURPOSE. THE AUTHOR DOES NOT WARRANT THAT USE OF THIS PROGRAM DOES NOT INFRINGE THE INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY IN ANY COUNTRY. Copyright (c) 1994-2005, John Conover, All Rights Reserved. Comments and/or bug reports should be addressed to: john@email.johncon.com (John Conover) ---------------------------------------------------------------------- October 30, 2005 SPNW56(1)