Script to get MMS(!)
#4
Thanks for testing!

Code:
mobian@mobian:~/janky-mms$ ghc -O2 jmms.hs
[1 of 4] Compiling Settings         ( Settings.hs, Settings.o )
[2 of 4] Compiling ViewPix          ( ViewPix.hs, ViewPix.o )
[3 of 4] Compiling ReadMessages     ( ReadMessages.hs, ReadMessages.o )
[4 of 4] Compiling Main             ( jmms.hs, jmms.o )
Linking jmms ...
mobian@mobian:~/janky-mms$ nano ~/.bashrc
mobian@mobian:~/janky-mms$ source ~/.bashrc
mobian@mobian:~/janky-mms$ sudo nmcli radio wifi off   &&   jmms --get   &&   sudo nmcli radio wifi on

git init
Initialized empty Git repository in /home/mobian/msg-data/.git/
git annex init
init 
*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'mobian@mobian.(none)')
(scanning for unlocked files...)
ok
(recording state in git...)
"2"
["No sms messages were found"]
[]
On branch master

Initial commit

nothing to commit (create/copy files and use "git add" to track)
attempted to get: []
successes: []
mobian@mobian:~/janky-mms$ jmms --read
Up to date!

Overall this looks good, but it does mean there weren't any MMS messages waiting.
The only thing that's a problem here is this part, which indicates something I forgot to put in my install instructions:


Code:
*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

I'll add those two lines to the install instructions now.


Messages In This Thread
Script to get MMS(!) - by amindfv - 10-30-2020, 06:26 PM
RE: Script to get MMS(!) - by sundog - 10-30-2020, 09:08 PM
RE: Script to get MMS(!) - by dukla2000 - 10-31-2020, 05:38 AM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 10:57 AM
RE: Script to get MMS(!) - by puffchumpy - 10-31-2020, 01:29 PM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 02:22 PM
RE: Script to get MMS(!) - by amindfv - 10-31-2020, 10:09 PM
RE: Script to get MMS(!) - by saba - 11-02-2020, 02:57 AM
RE: Script to get MMS(!) - by Subsentient - 11-11-2020, 05:36 AM
RE: Script to get MMS(!) - by kop316 - 04-08-2021, 05:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Flat-file database script for pinephone terminal cabbie001 0 1,463 11-21-2021, 06:17 PM
Last Post: cabbie001
  phosh proximity sensor toggle script D4rkh0rs3 2 3,193 06-10-2021, 06:42 AM
Last Post: Trbl
  Silly Kali Linux script for Mobian SD card sergio.pantalone 0 3,642 03-08-2021, 10:08 PM
Last Post: sergio.pantalone

Forum Jump:


Users browsing this thread: 1 Guest(s)