Commit ac6079a0 authored by vysheng's avatar vysheng

Merge pull request #135 from kartikm/master

Whitespace cleanups
parents 75194f45 1cc2ffe1
...@@ -31,17 +31,16 @@ On gentoo: ...@@ -31,17 +31,16 @@ On gentoo:
$ sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua $ sudo emerge -av sys-libs/readline dev-libs/libconfig dev-libs/openssl dev-lang/lua
On Fedora: On Fedora:
d
$ sudo yum install lua-devel openssl-devel libconfig-devel readline-devel $ sudo yum install lua-devel openssl-devel libconfig-devel readline-devel
Default Makefile uses liblua5.2 from ubuntu. If you use different version of liblua or linux you have to run ./configure script or you will get some strange compilation error. Default Makefile uses liblua5.2 from ubuntu. If you use different version of liblua or Linux you have to run ./configure script or you will get some strange compilation error.
Then Then,
$ ./configure $ ./configure
$ make $ make
#### Mac OS X #### Mac OS X
The client depends on [readline library](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) and [libconfig](http://www.hyperrealm.com/libconfig/), which are not included in OS X by default. You have to install these libraries manually, e.g. using [Homebrew](http://brew.sh/). The client depends on [readline library](http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html) and [libconfig](http://www.hyperrealm.com/libconfig/), which are not included in OS X by default. You have to install these libraries manually, e.g. using [Homebrew](http://brew.sh/).
...@@ -72,7 +71,6 @@ Then build: ...@@ -72,7 +71,6 @@ Then build:
If you manage to launch it on other UNIX, please let me know. If you manage to launch it on other UNIX, please let me know.
### Usage ### Usage
./telegram -k <public-server-key> ./telegram -k <public-server-key>
...@@ -94,7 +92,6 @@ If two or more peers have same name, <sharp>number is appended to the name. (for ...@@ -94,7 +92,6 @@ If two or more peers have same name, <sharp>number is appended to the name. (for
#### Messaging #### Messaging
* **msg** \<peer\> Text - sends message to this peer * **msg** \<peer\> Text - sends message to this peer
* **fwd** \<user\> \<msg-seqno\> - forward message to user. You can see message numbers starting client with -N * **fwd** \<user\> \<msg-seqno\> - forward message to user. You can see message numbers starting client with -N
* **chat_with_peer** \<peer\> starts one on one chat session with this peer. /exit or /quit to end this mode. * **chat_with_peer** \<peer\> starts one on one chat session with this peer. /exit or /quit to end this mode.
...@@ -110,7 +107,6 @@ If two or more peers have same name, <sharp>number is appended to the name. (for ...@@ -110,7 +107,6 @@ If two or more peers have same name, <sharp>number is appended to the name. (for
* **load_photo**/load_video/load_video_thumb \<msg-seqno\> - loads photo/video to download dir * **load_photo**/load_video/load_video_thumb \<msg-seqno\> - loads photo/video to download dir
* **view_photo**/view_video/view_video_thumb \<msg-seqno\> - loads photo/video to download dir and starts system default viewer * **view_photo**/view_video/view_video_thumb \<msg-seqno\> - loads photo/video to download dir and starts system default viewer
#### Group chat options #### Group chat options
* **chat_info** \<chat\> - prints info about chat * **chat_info** \<chat\> - prints info about chat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment