Commit Graph

164 Commits

Author SHA1 Message Date
Marc André Tanner b205eeea9a Don't wait for clients to be present inorder to read program I/O
Previously the underlying application would block on I/O because
we would wait to read it until a client is connected to display
the information. This prevented long running tasks from making
progress. However with the new approach output data of programs
which terminate while no client is connected is lost.
2014-03-06 12:58:15 +01:00
Marc André Tanner 6084fb4893 Make delivery of exit status code more reliable 2014-03-06 11:39:03 +01:00
Marc André Tanner 006c93a9d1 Send exit status back to client 2014-02-27 23:47:48 +01:00
Marc André Tanner 12287e473d Accept resize request only from the client which connected first
The problem this prevents is that when two instances are viewing
simultaneously they won't resize each other windows.
2014-02-27 17:04:36 +01:00
Marc André Tanner ed4f1ecdcd Use the same packet structure for both ways of the client server communiction
This is slightly less efficient than before but allows the server
to send different types of messages not only output data to the
client.
2014-02-26 21:13:18 +01:00
Marc André Tanner c14b9c9173 Unlink socket when server is killed 2014-02-25 23:36:02 +01:00
Marc André Tanner fcaf5368fa Use more appropriate types 2014-02-25 22:03:55 +01:00
Marc André Tanner 42bcd723bd Pass suspend key (ctrl+z) to underlying application 2014-02-25 20:35:33 +01:00
Marc André Tanner 96e37153e0 Sort active session list by creation date 2014-02-24 17:51:31 +01:00
Marc André Tanner 4bd951c4ae Use abreviated weekday to preserve alignment 2014-02-24 17:29:42 +01:00
Marc André Tanner d9929a0570 Unlink socket when forkpty fails 2014-02-24 17:29:17 +01:00
Marc André Tanner c999a6322b Add debug.c to Makefile tarball generation target 2014-02-18 23:22:49 +01:00
Marc André Tanner 17ad51acae Add forkpty implementation for AIX 2014-02-18 23:19:55 +01:00
Marc André Tanner 89cbbb3aa6 Initial import 2014-02-18 23:04:00 +01:00