Commit Graph

7 Commits

Author SHA1 Message Date
Qi Xiao
c44e2d7321 Use build tags in a more compact way. 2017-12-08 00:45:10 +00:00
Qi Xiao
e8168c29d2 Make the sys package build on Windows. 2017-12-02 18:45:45 +00:00
zhsj
3f73d8474b Use golang.org/x/sys in sys package (#477)
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2017-09-30 20:40:38 +08:00
Xuan Chen
cf12ae3060 Rewrite sys/ package in pure Go (#345)
* Re-implemented in pure golang.

Signed-off-by: xchenan <xchenan@gmail.com>

* Vendored github.com/mattn/go-isatty/ and golang.org/x/sys/unix/; Fixed issues on MacOS

Signed-off-by: xchenan <xchenan@gmail.com>

* Added comments in winsize.go; Removed unused functions and constants in termios_linux.go and termios_bsd.go;

Signed-off-by: xchenan <xchenan@gmail.com>

* Handled distinctive NFDBits and func index's return values according to
different architectures.

Signed-off-by: xchenan <xchenan@gmail.com>
2017-05-23 20:24:04 +01:00
Qi Xiao
81600693d5 Add sys.Tcgetpgrp. 2017-01-17 00:42:16 +01:00
Qi Xiao
1f1e739ef2 sys: Fix error reporting of Tcsetgrp. 2016-02-21 16:20:01 +01:00
Qi Xiao
72f92911e2 Put myself in foreground after pipeline finishes.
This fixes #105.
2016-02-11 18:59:18 +01:00