From 2caa3cd7b89f42cb3393774af3ce802518cd02ac Mon Sep 17 00:00:00 2001 From: mh-g Date: Sat, 25 Feb 2017 11:54:27 +0100 Subject: [PATCH] Updated HowToUbuntu (markdown) --- HowToUbuntu.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/HowToUbuntu.md b/HowToUbuntu.md index 3643b2b..7d3e339 100644 --- a/HowToUbuntu.md +++ b/HowToUbuntu.md @@ -19,22 +19,29 @@ Note: In Signal/signal-cli the account is called "username", which is slightly m 1. Register your phone number Enter + > ./signal-cli -u +4915151111111 register + on the command line. If all goes well, there is no reply. Execution takes a few seconds. +491515111111 is thus the phone number that will be used by the signal-cli installation. After a few seconds, you will receive an SMS on the cell phone with phone number +4915151111111 that contains the verification code (123-456 in this example): + > Your TextSecure verification code: **123-456** > 25 Feb. 2017 10:52 2. Verify your phone number Enter + > ./signal-cli -u +4915151111111 verify **123-456** + on the command line. Again, no reply if all is fine. ## Send a first message from the command line We assume that the receiver of the message has the phone number +4915152222222. Enter + > ./signal-cli -u +4915151111111 send -m "My first message from the CLI" +4915152222222 + on the command line. Again, no reply if all is fine. Within a few seconds, the Signal App on the cell phone +4915152222222 will receive the message. @@ -42,14 +49,20 @@ Within a few seconds, the Signal App on the cell phone +4915152222222 will recei ## Send a first reply to the command line With the same setup, enter a message (e.g. "First reply to the CLI") on the cell phone +4915152222222. -Enter `./signal-cli -u +4915151111111 receive`. This gets more output after a few seconds: +Enter + +> ./signal-cli -u +4915151111111 receive` + +on the command line. This gets more output after a few seconds: + >Envelope from: +4915152222222 (device: 1) >Timestamp: 1488016532387 (2017-02-25T09:55:32.387Z) >Message timestamp: 1488016532387 (2017-02-25T09:55:32.387Z) >Body: **First reply to the CLI** > >Envelope from: +4915152222222 (device: 1) -`Timestamp: 1488017026720 (2017-02-25T10:03:46.720Z)` -`Got receipt.` +>Timestamp: 1488017026720 (2017-02-25T10:03:46.720Z) +>Got receipt. -The message is contained in the line starting with > Body:. \ No newline at end of file +The message is contained in the line starting with +> Body: \ No newline at end of file