From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,15803683daa5fae6,start X-Google-Attributes: gid10d4db,public From: Merijn de Jonge Subject: modem-0.3b - Distributed communication package for modems Date: 1996/09/06 Message-ID: X-Deja-AN: 178881960 organization: ? followup-to: comp.os.linux.misc newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Begin3 Title: modem Version: 0.3b Entered-date: 05SEP96 Description: Distributed communication package for modems Keywords: modem comms serial network Author: mdejonge@fwi.uva.nl (Merijn de Jonge) Maintained-by: Primary-site: sunsite.unc.edu /pub/pub/Linux/apps/comm 79149 modem-0.3b.tar.gz Alternate-site: Original-site: Platforms: Linux Copying-policy: Freely distributable according to conditions of copyright End - ------------------------------------------------------------ Modem is a distributed communication package for modems. It works as follows: Each host on the network with one or more modems attached to it, runs the modemd server for one or more of those modems. To use a modem, for example to start a PPP connection, xmodem broadcasts a message on the network. A server who is willing to serve xmodem, replies with it's address. xmodem then connects to that server using tcp. The server forks and restarts listening for new requests. The new child opens and locks one of the available modems and will read data from the modem and the tcp connection until either a hangup is detected or the network connection is broken. All data read from the tcp connection will be copied to the modem, all data read from the modem will be copied to xmodem. xmodem uses the personal phonebook the get the number to dial. After dialing, it allocates a pseudo terminal and let the environment variable MODEM point to it. It then executes the program as given on the command line with STDIN and STDOUT connected to the pseudo terminal. xmodem also creates a new window with information about the modem. The program executed by xmodem can be any program. The program can communicate with the modem by reading and writing to STDIN and STDOUT resp. They need not worry about the type of the modem or about things like dialing and terminal settings. The ppp script included in this package for example, just pops up a login window (xlogin) and starts the pppd server. Advantages: -All hosts on the network can use several modems. A modem need not be attached to the host itself. -The package hides the details of communicating with the modem from the clients (like dialing, terminal settings etc.). -The client does not need to know the internals of all different modems. In fact, it can use them all. -Just one interface to communicate with modems. No need for several different configuration files for each program that uses the modem. -Clients can concentrate on what they are designed for. -You can choose from a Motif, Xt or Tcl/Tk interface for the serveral clients which are included. Identification: Identd is used by modemd to identify the remote user of xmodem. Problems: Although this is beta software, it works fine for me. When I started writing this software, I did not have any knowlegde about X and Motif Programming, Serial communication and Pseudo terminals. The software could thus have several bugs. I hope you will inform me about bugs, recommendations or improvements. Todo: - -Implementation of a graphical phonebook using the entries in the personal phonebook. It should allow users to select and edit entries in the phonebook. - -Several scripts that use the accounting information for making phone bills etc. - -Fax support. - -Implementation of helpsystem. - -Documentation of the software and sources (still of poor quaity). I hope you will like this software. - -- Merijn de Jonge email: mdejonge@fwi.uva.nl www: http://gene.fwi.uva.nl/~mdejonge/ -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMjAllYQRll5MupLRAQHcJwP/TPWVoPayysXO8/s/To7vhNHD3OuSuWzd usDZAGMLHkpOdUUh2nKcrGdJt1cAGNcn1V5H3YW2ipcY0+3AtraRq63HHZewE3+3 WaQcGYIg3wLesLAwKHqHWOPWLrGAjsO40pivYx6JsZmPPTzkMnSH8BU6x+o1n+Lf Yjbkhb9twkY= =Bap8 -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.