-
Notifications
You must be signed in to change notification settings - Fork 12
SW_DevShellCmd
Rolf Obrecht edited this page Aug 22, 2022
·
3 revisions
System | Comments |
---|---|
RPi | OK |
PC Linux | OK |
PC Windows | ? |
Mac | OK |
none
-S | --shellcmd
Example: telex.py -S
Param | Default | type/range | Description |
---|---|---|---|
LUT | {} | dict | Look-up table of user defined commands to be executed in response to piTelex ESC commands |
This module allows you to execute a shell command on escape sequences. On occurrence of a command listed in the dictionary, the associated shell command will be executed. This can be used for existing escape commands as well as for new "creations". The normal effect of existing commands is not masked or changed, but extended by the execution of the additional shell command.
"shellcmd": {
"type": "shellcmd",
"enable": true,
"LUT": {
"KEY1": "command to be executed on <ESC>KEY1",
"KEY2": "command to be executed on <ESC>KEY2",
"TP1": "curl -s -o null http://fs200.fritz.box/cm?cmnd=Power%20On",
"TP0": "curl -s -o null http://fs200.fritz.box/cm?cmnd=Power%20Off",
"x": "explorer"
}
}
Note: The output of the commands is sent to the screen module, but not to the teleprinter
TODO
Consider using release packages for software installation: https://github.com/fablab-wue/piTelex/releases
-
Local use
-
i-Telex
-
Advanced Topics
-
Tools & Gadgets
-
TW39 (current loop)
-
ED1000 (FSK modulation)
-
V.10 (TeKaDe FS200, FS220)
-
SEU-M-board based
- with Austrian AGT (Ö-AGT, current loop)
- as replacement for SEU-B card inside LO2000, LO2001, LO3000