From f7b121a32aea32455fba4039aa47957eaa6a8c9c Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 25 May 2015 14:07:13 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20raccourcis=20(1-2=20lettres)=20+?= =?UTF-8?q?=20m=C3=A0j=20README.md=20pour=20raccourcis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 ++++++++++++++++ enigmail/.config | 4 ++-- enigmail/bucket-file | 2 +- enigmail/enigmail.sh | 20 ++++++++++---------- enigmail/source/enigmail.pyc | Bin 6923 -> 6923 bytes 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4130a5b..487b02e 100644 --- a/README.md +++ b/README.md @@ -41,46 +41,62 @@ Si vous obtenez une erreur, retournez à la première étape vous n'êtes pas da ######Ecrire ```bash enigmail write +enigmail w ``` ######Modifier les paramètres ```bash enigmail config +enigmail c ``` ######Réinitialiser les paramètres ```bash enigmail init +enigmail i ``` ######Lire ```bash enigmail read +enigmail r ``` ######Effacer le contenu ```bash enigmail empty +enigmail em ``` ######Crypter ```bash enigmail encode enigmail encode 168 enigmail encode 0x1f2e85 + +enigmail e +enigmail e 168 +enigmail e 0x1f2e85 ``` ######Décrypter ```bash enigmail decode enigmail decode 168 enigmail decode 0x1285 + +enigmail d +enigmail d 168 +enigmail d 0x1285 ``` ######Envoyer par mail ```bash enigmail send +enigmail ms # MailSend ``` ######Récupérer le contenu du dernier mail ```bash enigmail receive +enigmail mr # MailReceive ``` ######Obtenir de l'aide ```bash enigmail help +enigmail h ``` diff --git a/enigmail/.config b/enigmail/.config index 89be7b0..72cc7aa 100644 --- a/enigmail/.config +++ b/enigmail/.config @@ -4,9 +4,9 @@ smtp_port = 587 imap_server = imap.gmail.com imap_port = 993 -mail_address = test@mail.com +mail_address = doowap31@gmail.com -login = equal_mailadress_or_different_login +login = doowap31@gmail.com algorithm_complexity = 1 diff --git a/enigmail/bucket-file b/enigmail/bucket-file index 28d0af9..8b13789 100644 --- a/enigmail/bucket-file +++ b/enigmail/bucket-file @@ -1 +1 @@ -coucou + diff --git a/enigmail/enigmail.sh b/enigmail/enigmail.sh index 2b34580..83074fb 100644 --- a/enigmail/enigmail.sh +++ b/enigmail/enigmail.sh @@ -26,8 +26,8 @@ then # si 1 paramètre au moins fi; case $1 in - 'help') cat "$path/source/help"|less;; - 'init') # initialise le contenu du fichier de config + 'h'|'help') cat "$path/source/help"|less;; + 'i'|'init') # initialise le contenu du fichier de config echo "smtp_server = smtp.gmail.com" > "$path/.config"; echo "smtp_port = 587" >> "$path/.config"; echo "" >> "$path/.config"; @@ -42,21 +42,21 @@ then # si 1 paramètre au moins echo "" >> "$path/.config"; echo "text_editor = nano" >> "$path/.config"; ;; - 'config') + 'c'|'config') if [ -z $param ] then # si aucun parametre alors on lance l'editeur choisi $editor "$path/.config"; # ouvre en modification le fichier de config else $editor "$path/.config"; fi;; - 'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file - 'empty') echo "">"$path/bucket-file";; # vide le bucket file + 'w'|'write') $editor "$path/bucket-file";; # ouvre en modification le bucket file + 'em'|'empty') echo "">"$path/bucket-file";; # vide le bucket file # ouvre en lecture le bucket file - 'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";; - 'encode') python "$path/source/encode.py" $param;; - 'decode') python "$path/source/decode.py" $param;; - 'receive') python "$path/source/receive.py" $param;; - 'send') python "$path/source/send.py" $param;; + 'r'|'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";; + 'e'|'encode') python "$path/source/encode.py" $param;; + 'd'|'decode') python "$path/source/decode.py" $param;; + 'mr'|'receive') python "$path/source/receive.py" $param;; + 'ms'|'send') python "$path/source/send.py" $param;; *) echo "Erreur"; esac; else diff --git a/enigmail/source/enigmail.pyc b/enigmail/source/enigmail.pyc index b2ddc5d915e3fc448bc5726555558d194e8ed509..7488fd64055582dca2a55569f2087d1c27de072c 100644 GIT binary patch delta 14 VcmeA+>o#L${>;l2wUL!g8UP@41I7RV delta 14 VcmeA+>o#L${>;lIv5}Qc8UP