Convert README to AsciiDoc
This commit is contained in:
parent
e2bc6b0263
commit
c31966b0c4
|
@ -1,34 +1,30 @@
|
||||||
autistdraw
|
autistdraw
|
||||||
==========
|
==========
|
||||||
|
|
||||||
`autistdraw` is a terminal drawing application with multiplayer support.
|
'autistdraw' is a terminal drawing application with multiplayer support.
|
||||||
|
|
||||||
.. image:: http://www.image-share.com/upload/2848/201.png
|
image::http://www.image-share.com/upload/2848/201.png[screenshot]
|
||||||
|
|
||||||
Building and Running
|
Building and Running
|
||||||
--------------------
|
--------------------
|
||||||
| Build dependencies: CMake, pkg-config, liberty (included), termo (included)
|
Build dependencies: CMake, pkg-config, liberty (included), termo (included) +
|
||||||
| Runtime dependencies: ncursesw, libev
|
Runtime dependencies: ncursesw, libev
|
||||||
|
|
||||||
::
|
$ git clone --recursive https://github.com/pjanouch/autistdraw.git
|
||||||
|
$ mkdir autistdraw/build
|
||||||
$ git clone https://github.com/pjanouch/autistdraw.git
|
$ cd autistdraw/build
|
||||||
$ git submodule init
|
|
||||||
$ git submodule update
|
|
||||||
$ mkdir build
|
|
||||||
$ cd build
|
|
||||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
|
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
Now, for standalone mode you can run::
|
Now, for standalone mode you can run:
|
||||||
|
|
||||||
$ ./autistdraw
|
$ ./autistdraw
|
||||||
|
|
||||||
To run as a server for other clients to connect to and draw simultaneously::
|
To run as a server for other clients to connect to and draw simultaneously:
|
||||||
|
|
||||||
$ ./autistdraw -s :1234
|
$ ./autistdraw -s :1234
|
||||||
|
|
||||||
Finally, to connect to a running server, run::
|
Finally, to connect to a running server, run:
|
||||||
|
|
||||||
$ ./autistdraw -c localhost:1234
|
$ ./autistdraw -c localhost:1234
|
||||||
|
|
||||||
|
@ -44,14 +40,14 @@ experience drawing artefacts. Those are neither a problem of this application,
|
||||||
nor a problem of ncurses as far as I can tell.
|
nor a problem of ncurses as far as I can tell.
|
||||||
|
|
||||||
To achieve the best results, please use a decent terminal such as rxvt-unicode
|
To achieve the best results, please use a decent terminal such as rxvt-unicode
|
||||||
or xterm. These two are feature-full and **fast**. st also works great.
|
or xterm. These two are feature-full and *fast*. st also works great.
|
||||||
|
|
||||||
Even so, try not to strain the application too much. It can and will break if
|
Even so, try not to strain the application too much. It can and will break if
|
||||||
you flood the communication channel with the terminal.
|
you flood the communication channel with the terminal.
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
`autistdraw` is written by Přemysl Janouch <p.janouch@gmail.com>.
|
'autistdraw' is written by Přemysl Janouch <p.janouch@gmail.com>.
|
||||||
|
|
||||||
You may use the software under the terms of the ISC license, the text of which
|
You may use the software under the terms of the ISC license, the text of which
|
||||||
is included within the package, or, at your option, you may relicense the work
|
is included within the package, or, at your option, you may relicense the work
|
Loading…
Reference in New Issue