[ci skip] update README.md

This commit is contained in:
Shuanglei Tao
2016-12-26 00:58:13 +08:00
parent 24d2c5871b
commit 44d76e2efc
4 changed files with 8 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ make && make install
## Install on Windows ## Install on Windows
ttyd can be built with [MSYS2][10] on windows, [follow the instructions here](msys2). ttyd can be built with [MSYS2][10] on windows, The build instructions is [here][13].
> **NOTE:** Native windows console programs may not work correctly due to [pty incompatibility issues][11]. > **NOTE:** Native windows console programs may not work correctly due to [pty incompatibility issues][11].
As a workaround, you can use [winpty][12] as a wrapper to invoke the windows program, eg: `ttyd winpty cmd`. As a workaround, you can use [winpty][12] as a wrapper to invoke the windows program, eg: `ttyd winpty cmd`.
@@ -50,7 +50,7 @@ ttyd can be built with [MSYS2][10] on windows, [follow the instructions here](ms
opkg install ttyd opkg install ttyd
``` ```
> **NOTE:** This may only works for [LEDE][6] snapshots currently, if the install command fails, [compile it yourself](openwrt). > **NOTE:** This may only works for [LEDE][6] snapshots currently, if the install command fails, [compile it yourself][14].
# Usage # Usage
@@ -157,3 +157,5 @@ Docker containers are jailed environments which are more secure, this is useful
[10]: http://msys2.github.io [10]: http://msys2.github.io
[11]: https://github.com/mintty/mintty/blob/master/wiki/Tips.md#inputoutput-interaction-with-alien-programs [11]: https://github.com/mintty/mintty/blob/master/wiki/Tips.md#inputoutput-interaction-with-alien-programs
[12]: https://github.com/rprichard/winpty [12]: https://github.com/rprichard/winpty
[13]: https://github.com/tsl0922/ttyd/tree/master/msys2
[14]: https://github.com/tsl0922/ttyd/tree/master/openwrt

View File

@@ -4,7 +4,7 @@ pkgname=json-c
pkgver=0.12.1 pkgver=0.12.1
pkgrel=1 pkgrel=1
pkgdesc="A JSON implementation in C" pkgdesc="A JSON implementation in C"
arch=('any') arch=('i686' 'x86_64')
url="https://github.com/json-c/json-c" url="https://github.com/json-c/json-c"
license=('MIT') license=('MIT')
makedepends=('gcc' 'make' 'autoconf') makedepends=('gcc' 'make' 'autoconf')

View File

@@ -4,7 +4,7 @@ pkgname="libwebsockets"
pkgver=2.1.0 pkgver=2.1.0
pkgrel=1 pkgrel=1
pkgdesc="A lightweight pure C library for websockets (msys)" pkgdesc="A lightweight pure C library for websockets (msys)"
arch=('any') arch=('i686' 'x86_64')
url="http://libwebsockets.org" url="http://libwebsockets.org"
license=('LGPL 2.1') license=('LGPL 2.1')
makedepends=('gcc' 'cmake' 'zlib-devel' 'openssl-devel') makedepends=('gcc' 'cmake' 'zlib-devel' 'openssl-devel')

View File

@@ -4,10 +4,10 @@ pkgname="ttyd"
pkgver=1.2.2 pkgver=1.2.2
pkgrel=1 pkgrel=1
pkgdesc="A command-line tool for sharing terminal over the web" pkgdesc="A command-line tool for sharing terminal over the web"
arch=('any') arch=('i686' 'x86_64')
url="https://github.com/tsl0922/ttyd" url="https://github.com/tsl0922/ttyd"
license=('MIT') license=('MIT')
makedepends=('gcc' 'cmake' 'json-c' 'libwebsockets') makedepends=('gcc' 'cmake' 'json-c' 'libwebsockets' 'vim')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/tsl0922/${pkgname}/archive/${pkgver}.tar.gz") source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/tsl0922/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('6e85335c11df68e6401178269920a586bce7e66045bd0b225f6d2bc58356d105') sha256sums=('6e85335c11df68e6401178269920a586bce7e66045bd0b225f6d2bc58356d105')