This scripts uses:
-
unix2dos (dos2unix)
-
fmt (coreutils)
-
iconv (glibc)
-
figlet (figlet)
-
figlet-fonts (AUR!)
-
cowsay (cowsay)
-
xxd (vim)
-
python
-
python-raspberry-gpio (AUR!)
pacman -S community/dos2unix figlet cowsay yaourt -S figlet-fonts python-raspberry-gpio
- edit
bindirinsms.shandgen_manual.shto the right location - edit
thermo.shto choose aprinter
If using gammu-smsd, edit config to point RunOnReceive to sms.sh
./gen_manual
SMS_1_NUMBER="+49123456789" SMS_1_TEXT="#FS Test Oi!" ./sms.sh
Check ASCII files for valid line length (<=24)
18:51 $ ./check_ll.sh ../art/batman.txt
OK ✔
18:51 $ ./check_ll.sh ../art/cowsay_head_in.txt
ASCII ist zu breit!