Commit Graph

152 Commits

Author SHA1 Message Date
byung2 a7be1467bf Fix bug when resizing terminal 2018-04-10 14:50:09 +09:00
Manfred Touron b26a57ebc2
Merge pull request #55 from dimtion/cross-build
Cross build on Solaris for the sdk
2018-03-27 20:02:12 +02:00
Loïc Carr 9e68842593 Move escape proxy to another file 2018-03-27 14:58:16 +02:00
Loïc Carr 989a803a5b Replace SYS_IOCTL by cross platform version 2018-03-27 14:58:16 +02:00
Loïc Carr 3b96b5a830 Bump dependencies 2018-03-27 14:56:15 +02:00
Manfred Touron fdaa7034e2 Bump dependencies 2018-02-23 14:54:43 +01:00
Manfred Touron 1f3b6c8a8f
Merge pull request #54 from moul/dev/moul/detach-keys
Add `--detach-keys` option
2017-12-13 17:02:16 +01:00
Manfred Touron d6705baf85 Add --detach-keys option (fix #52) 2017-12-13 16:56:02 +01:00
Manfred Touron 2749f47e93 Switch to govendor 2017-12-13 16:56:02 +01:00
Manfred Touron 16eff5c512 Switch to more standard project Dockerization 2017-12-13 16:56:00 +01:00
Manfred Touron 1dc981dde2
Merge pull request #48 from moul/dev/moul/go18
Test on go1.8
2017-11-07 09:40:56 +01:00
Manfred Touron b47f2c128b
Merge pull request #53 from tamalsaha/master
Update github.com/sirupsen/logrus dependency to v1.0.3
2017-11-07 09:40:47 +01:00
tamal 990fa23220 Update github.com/sirupsen/logrus dependency to v1.0.3
ref: https://github.com/sirupsen/logrus/issues/543
2017-10-21 18:28:05 -07:00
Manfred Touron 8991b77be4 Merge pull request #51 from fossabot/master
Add license scan report and status
2017-07-20 10:32:12 +02:00
fossabot c1750d63f2 Add license scan report and status 2017-07-20 01:20:27 -07:00
Manfred Touron 154c4573b9
Test on more Travis versions 2017-04-22 23:52:19 +02:00
Manfred Touron c71d7dd40c
Improve build speed 2017-04-22 23:52:04 +02:00
Manfred Touron bd8ea918f9
Test on go1.8 2017-03-10 09:34:06 +01:00
Manfred Touron 99224eea32 Bump golang version for travis 2017-02-05 10:54:39 +01:00
Manfred Touron 2f20ad058c Bump dependencies 2017-02-04 23:04:11 +01:00
Manfred Touron feb2274736 Switch to glide 2017-02-04 23:03:11 +01:00
Manfred Touron dcae3e13d9 Merge pull request #46 from davidfetter/master
Fixed incorrect URL for homebrew installation
2017-01-19 23:55:15 +01:00
David Fetter 920301a0ea Fixed incorrect URL for homebrew installation 2017-01-19 14:00:50 -08:00
Manfred Touron fd2d4f12dc Bump homebrew@1.6.1 2017-01-19 05:46:18 +01:00
Manfred Touron ad9464963b Post-release version bump 2017-01-19 05:39:43 +01:00
Manfred Touron ab578adf86 v1.6.1 2017-01-19 05:35:41 +01:00
Manfred Touron ce15e256e9 Merge pull request #45 from gurjeet/master
Do not exit on EOF
2017-01-05 14:57:25 +01:00
Gurjeet Singh e153cff9c8 Implement poison-pill method to exit infinite loops
All cooperating goroutines regularly try to read from the shared "poison"
channel.  If the read succeeds, they exit by calling die(), assuming
somebody else cracked open the poison pill.

When any of these goroutines is done with its job, it signals other
goroutines to exit by calling open_poison() on the shared channel.

This approach takes advantage of the fact that reads from a closed
channel always succeed.

The driving goroutine (Client.Loop() in this case), is called from the
"main" goroutine. And because when the "main" goroutine exits, the whole
program exit (using os.Exit()) irrepective of liveness of other goroutines,
we could not use the same "poison" channel to wait in the driving goroutine.

Instead, we use sync.WaitGroup to wait for spawned goroutines, because
we want the spawned goroutines to cleanup and exit cleanly.
2016-12-17 14:00:47 -08:00
Gurjeet Singh 3e895cf209 Do not exit on EOF
Forward the EOF to GoTTY, and let the server-side decide if it wants to
terminate the connection. The server closes the connection, and in
response we terminate the readLoop which in turn signals writeLoop to
terminate via the QuitChan.

This allows for the user to pipe commands to gotty-client, and capture
all the result sent by the server. For eg. when gotty is launched as
`gotty -w bash`, the following command would now wait to capture all
output from the server.

for (( i = 0 ; i < 2; ++i )); do echo echo $i; echo sleep 2; done | ./gotty-client https://gotty.example.com

Before this patch, gotty-client used to exit on encountering EOF from
the left side of the pipe.
2016-11-07 15:36:48 -08:00
Manfred Touron 037503a6fd
Add 'make install' target
Signed-off-by: Manfred Touron <m@42.am>
2016-09-28 10:14:36 +02:00
Manfred Touron 92f0c24d5b Merge pull request #43 from QuentinPerez/race
Fix race condition
2016-05-24 14:12:48 +02:00
Quentin Perez 75dcc71909
Fix race condition 2016-05-24 10:41:51 +02:00
Manfred Touron de92c1cd12
Bump homebrew 2016-05-23 16:21:00 +02:00
Manfred Touron 704ff9ffa8
Post-release version bump 2016-05-23 16:19:45 +02:00
Manfred Touron 5d0546d272
v1.6.0 2016-05-23 16:12:38 +02:00
Manfred Touron 2cf3fdbc50
Update changelog 2016-05-23 16:11:15 +02:00
Manfred Touron 24014b266d Merge pull request #42 from QuentinPerez/patch-1
fix codegangsta signature
2016-05-23 16:08:27 +02:00
Quentin Perez 32e6aaaebb
vendor: update 2016-05-23 15:54:44 +02:00
Quentin Perez 13a7a7bc5d
fix Action signature (#41) 2016-05-23 15:53:29 +02:00
Manfred Touron f002ddbff9 Merge pull request #40 from QuentinPerez/vendor-1
vendor: update
2016-05-07 11:06:38 +02:00
Quentin Perez 8b3ffd593d
vendor: update 2016-05-07 10:28:57 +02:00
Manfred Touron 770fab0722 Merge pull request #39 from QuentinPerez/deps
bump deps
2016-04-23 18:46:00 +02:00
Quentin Perez 6e5c65ed0f
bump deps 2016-04-23 18:03:08 +02:00
Manfred Touron 74b2689597 Merge pull request #38 from QuentinPerez/deps
deps: update vendor directory
2016-04-07 23:16:26 +02:00
Quentin Perez 0bcb832815
deps: update vendor directory 2016-04-07 18:16:01 +02:00
Manfred Touron f59a1ba979 Update Ascii-art schema 2016-03-09 13:57:25 +01:00
Manfred Touron 2917a33cd8 Update README.md 2016-02-24 17:17:23 +01:00
Manfred Touron 1574cdbda5 Update Changelog (#36) 2016-02-24 15:55:48 +01:00
Manfred Touron 9ebdfdc417 Update Changelog (#36) 2016-02-24 15:55:40 +01:00
Manfred Touron c75f980780 Merge pull request #36 from byung2/proxy
Support of '--use-proxy-env' (Add Proxy support)
2016-02-24 15:54:28 +01:00