From f3ceef62bdba231b7d4f713075c5029731a68bf7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 11 Jun 2010 11:03:20 +0200 Subject: [PATCH] add peer_send and listen doc Signed-off-by: Nico Schottelius --- software/ceofhack/user.mdwn | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/software/ceofhack/user.mdwn b/software/ceofhack/user.mdwn index f9e2aafb..555baa3f 100644 --- a/software/ceofhack/user.mdwn +++ b/software/ceofhack/user.mdwn @@ -53,7 +53,6 @@ the public key of the peer to **peer.key** and then running gpg --homedir $HOME/.ceof/gpg --import peer.key - ### Exporting your key To allow others to chat with you, you need to publish your public @@ -61,4 +60,22 @@ key somewhere. You can retrieve it the following way: gpg --homedir $HOME/.ceof/gpg --export -a > mykey.key +### Sending a message + +After you successfully added the new peer, you can drop her a message +by issuing + + ./ui_cmd_peer_send telmich "What's up?" + +### Displaying messages + +ceofhack will always receive messages, independently of whether +a user interface is connected or not. The user interface must +take care of displaying them. The included ui support a generic +listen command, which will display all incoming ui commands: + + ./ui_cmd_listen + +And in addition, it will also show the messages received. + [[!tag unix]]