-
Notifications
You must be signed in to change notification settings - Fork 11
SW_DevScreen
System | Comments |
---|---|
RPi | OK |
PC Linux | OK |
PC Windows | OK |
Mac | OK |
Windows:
Python Module |
Install | Anaconda |
---|---|---|
colorama | pip install colorama | conda install colorama |
Linux:
Python Module |
Install | Anaconda |
---|---|---|
termios | ? | ? |
-S
--noscreen
Use this argument to disable the screen
Param | Default | Values | Description |
---|---|---|---|
show_BuZi | true | false / true | If true, show special characters for Bu / Zi on Screen |
show_capital | false | false / true | if true, use capital letters on screen |
show_ctrl | true | false / true | if true, show control sequences on screen |
show_info | false | false / true | if true, show additional info on screen |
show_line | true | false / true | if true, show vertical border line „|“ on screen |
The screen module lets you communicate with the connected teletype over ASCII-Terminal and Keyboard of the computer running piTelex. It can be accessed by the computer's display and keyboard connector or via ssh (Windows: PuTTY). In most application cases, this module should be enabled.
Starting piTelex in foreground (from the shell) will lead you immediately to this interface, if enabled.
If piTelex is running in background, you can connect to it's screen output by means of screen
or byobu
. See Software installation for details.
This way the output of the TTY can be monitored and keystrokes can be sent to the printer. These keystrokes may consist of simple text, but may also contain commands to control the teletype:
Key |
<ESC> -Sequence |
function | description |
---|---|---|---|
<Insert> |
<ESC> at<enter>
|
AT | start outgoing call ("Anruf-Taste") |
<Del> |
<ESC> st<enter>
|
ST | end an (outgoing) call ("Schluss-Taste") |
<Home> |
<ESC> lt<enter>
|
LT | enter local mode ("Lokal-Taste") |
@ | WRU | Request answerback ("Kennungsgeber") from remote machine | |
# | ID | Send local answerback ("Kennungsgeber") | |
_ | ZV LF |
Line Feed | |
% | Bell | ring the bell of the connected teletype | |
$ | Expands to "The quick brown fox jumps over the lazy dog." | ||
<backspace> |
Expand to "e e e" |
The following <cmd>
s can be used, embedded between <ESC>
and <Enter>
:
cmd | Description |
---|---|
ry | print 1 row of "ryryryry...." |
fox | print "the quick brown fox jumps over the lazy dog" |
pelze | print "kaufen sie jede woche vier gute bequeme pelze xy 1234567890" |
abc | print "abc...xyz 12...90 .,-+=/()?'%" |
a1 | print "a1b2c3d4....x4y5z%" |
lorem | print 7 lines of blind text ("lorem·ipsum·dolor·sit·amet,·consectetur·adipisici·elit,...") |
logo | print piTelex logo as Baudot Art (takes 8 lines) |
test | print 6 lines of ".-=x=-.-=x=-. ...." |
date | print DateTime String |
cli | enter cmdline interface, see below |
Typing <esc>
cli<Enter>
gives access to a tiny command line interface. It provides the following commands:
cmd | Description |
---|---|
whoami | prints "pitelex-cli" |
wru | prints software answerback, if configured |
debug | prints configured debug level (deprecated) |
ping | :-) |
ip | prints IPV4-address and hostname |
port | prints configured i-telex port |
dev | prints the names of the enabled devices and the associated software modules |
exit | prints "bye" and leaves the cmdline interface |
Linux only commands | |
ipx | prints IP information |
cpu | prints cpu load |
mem | prints memory usage |
disk | prnts disk usage |
uptime | prints uptime since last reboot |
w | lists logged in users |
Note: Most of these commands are not directly provided by device
Screen
, but because they will in most cases be used from the screen interface, they are described here for convenience.
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