Commit Graph

18 Commits

Author SHA1 Message Date
Lars Kellogg-Stedman 6bd887dc96 Use ISO 8601 date format in list_session
Avoid confusion between US/European date formats.
2014-03-12 12:53:05 +01:00
Marc André Tanner f9f7eb63af Restore terminal before printing info messages 2014-03-08 20:03:11 +01:00
Marc André Tanner 463db77274 Execute $ABDUCO_CMD or dvtm if no command is given 2014-03-07 19:53:25 +01:00
Marc André Tanner 6a99af6d1e Fix support for relative socket paths
The server is invoking chdir("/") thus the relative paths became
meaningless.

Maybe realpath(3) with NULL as second argument should be used instead.
2014-03-07 18:57:37 +01:00
Marc André Tanner 3a14718bb7 Respect $TMPDIR when creating sockets 2014-03-07 18:41:34 +01:00
Marc André Tanner a3700092cb Mark the socket executable if clients are connected 2014-03-06 22:24:38 +01:00
Marc André Tanner 5dbe797f0c Remove useless code 2014-03-06 18:54:45 +01:00
Marc André Tanner 37a2a9d946 Send info messages to stderr 2014-03-06 18:50:41 +01:00
Marc André Tanner a76088e0c0 Prefix info messages with session name 2014-03-06 18:34:41 +01:00
Marc André Tanner f7a3290c9c Recreate server socket upon receiving SIGUSR1 2014-03-06 17:19:10 +01:00
Marc André Tanner 006c93a9d1 Send exit status back to client 2014-02-27 23:47:48 +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 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 89cbbb3aa6 Initial import 2014-02-18 23:04:00 +01:00