Skip to content
Rolf Obrecht edited this page Jun 17, 2022 · 14 revisions

Software

Overview

piTelex software is completely written in Python and should therefore run on several platforms. Whereas the main target system is a raspberry pi running Raspbian OS, the software can also be run on a PC running Windows or Linux.

Modules

The software is built up from modules which serve different tasks. Besides the central management module MCP which contains the state machine and coordinates the other selected modules, there are three groups of modules:

  • The first group is needed to connect to the physical typewriter via it's individual transmission protocol. These are:
    • CH340TTY to connect a TTY using TW39 protocol via USB-Adapter with CH340 chip
    • RPiTTY to connect a TTY using TW39 or V.10 protocol via Raspberry Pi and GPIO lines
    • ED1000 to connect a TTY using ED1000 protocol
    • terminal to connect POS devices

Each piTelex installation must enable one of these modules in order to communicate with the TTY.

  • The second group establishes connections to "the outside world":
    • Screen | Bidirectional typing and control of the TTY from a computer's terminal screen
    • ITelexClient | Client for i-Telex protocol (needed for outgoing i-Telex connections)
    • ITelexSrv | Server for i-Telex and Telnet protocol (for incoming i-Telex connections
    • News to connect to RSS servers and print selected RSS-feeds
    • IRC to connect to IRC servers
    • Twitter to handle twitter channels
    • Eliza a fun therapist which poses questions and handles answers in a funny(?) manner

At least one of them must be enabled; depending on your needs you may enable additional modules.
For an i-Telex station, at least Screen, ITelexSrv, ITelexClient are needed

  • Besides the above modules, there are some miscellaneous utility modules:
    • Log provides logging to a file
    • Archive to archive all incoming and outgoing messages in a separate subdirectory

-- TODO

Clone this wiki locally