add peer_send and listen doc

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-06-11 11:03:20 +02:00
parent d1d70038b2
commit f3ceef62bd

View file

@ -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 <yourkeyid> > 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]]