Commit Graph

67 Commits

Author SHA1 Message Date
Keegan McAllister 4a29ab9d70 Fix comments, formatting, error message around use of selfpipe 2012-03-07 18:38:18 -08:00
Keith Winstein 4e158a22e5 Fix bug affecting clean shutdown on OS X 2012-03-07 03:21:33 -05:00
Keith Winstein 875e17e966 skalibs without HAS_SIGNALFD will not work if we block these signals 2012-03-07 03:10:19 -05:00
Quentin Smith 9a3ab83783 Use libstddjb's selfpipe instead of signalfd
Use selfpipe in our client, server, and examples.
2012-03-07 03:05:37 -05:00
Anders Kaseorg b275571b8f Remove redundant uses of environ
environ doesn’t work on OS X.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:36 -05:00
Quentin Smith b03d53d421 Make libutempter optional 2012-03-07 03:05:36 -05:00
Keegan McAllister b59f0f1482 Make mosh-server exit if there's no connection within 60 seconds
Fixes #30 github issue.
2012-03-06 12:17:48 -08:00
Keegan McAllister 69b7c5cf44 Save calculated time since latest remote state
This avoids duplicating a long expression in a future commit.
2012-03-06 11:58:30 -08:00
Keegan McAllister e35733a2c1 Rename 'attached' to 'has_remote_addr'
Even with future support for detaching and reattaching, this variable will keep
its original meaning.
2012-03-06 11:54:56 -08:00
Keith Winstein e5c8c33f4f Fix timing of echo acks 2012-02-26 02:49:53 -05:00
Keith Winstein 3a92cd1393 Explicit echo ack protobuf with reliable semantics 2012-02-25 14:34:39 -05:00
Keith Winstein cdbdcbb224 Print newline before MOSH CONNECT string (fixes #22 github issue) 2012-02-25 12:17:09 -05:00
Keith Winstein feb64eec52 Make utmp entries using utempter 2012-02-13 05:43:07 -05:00
Keith Winstein 20f03791a3 Detach from terminal before forkpty(). fixes #8 (github issue) 2012-02-13 02:17:09 -05:00
Keith Winstein 354dff39c8 Catch and prettyprint exceptions even in setup phase 2012-02-09 01:45:03 -05:00
Keith Winstein 3781a290c8 Add copyright/license notices 2012-02-06 20:52:48 -05:00
Keith Winstein 38c9e99882 Separate modules by subdirectory 2012-02-06 18:26:45 -05:00