Marc André Tanner
ef36456177
Do not display hostname suffix in session listing
...
Trying to attach to an existing session with its hostname does not
work, therefore avoid confusion and do not display it.
2014-09-08 21:03:10 +02:00
Marc André Tanner
b2f2dc810d
Suffix session names with '@hostname'
2014-09-08 19:39:46 +02:00
Evan Hanson
450062468c
Add whatis entry to man page
2014-07-20 09:54:32 +02:00
Marc André Tanner
b722e48f55
Simplify Solaris detection
2014-07-08 23:00:39 +02:00
Bergman Andrey
8c81939b9d
Fallback to TTYNAME_MAX if TTY_NAME_MAX is not defined
2014-07-08 10:22:42 +02:00
Bergman Andrey
4ae63d86d6
Add library hint for Solaris to config.mk
2014-07-07 22:50:15 +02:00
Marc André Tanner
119d7c8bca
Add Solaris support
2014-07-07 22:46:14 +02:00
Marc André Tanner
6df4421e6c
Fix AIX support
2014-07-07 22:33:05 +02:00
Marc André Tanner
d23c9982c7
Avoid usage of non-ISO-standard escape sequences
2014-07-07 20:20:46 +02:00
Marc André Tanner
433de0e9ca
Add testsuite.sh to source tarball
2014-07-05 09:38:25 +02:00
Marc André Tanner
7b95d5b65e
Only list sockets in session list
2014-06-30 15:02:00 +02:00
Marc André Tanner
b8b76171e8
Tweak manual page
2014-06-30 15:01:39 +02:00
Marc André Tanner
5d3a53e49a
Set detach key explicitly in testsuite.sh
2014-06-25 09:59:21 +02:00
Marc André Tanner
3b701e2432
Use correct printf format specifier for size_t
2014-06-24 11:56:12 +02:00
Marc André Tanner
4b4c08457f
Make client termination more robust by explicitly sending exit messages
2014-06-24 10:55:44 +02:00
Marc André Tanner
9e29a968d8
Fix race condition on command execution
...
There are now two different pipes used for synchronization purposes.
2014-06-24 10:50:10 +02:00
Marc André Tanner
c81c3c3214
Stop running tests once the environment is contaminated
2014-06-24 10:48:11 +02:00
Marc André Tanner
466103cdd4
Tweak some exit status tests
2014-06-24 10:06:29 +02:00
Marc André Tanner
77db580a63
Remove trailing white spaces
2014-06-20 13:29:37 +02:00
Marc André Tanner
0ca1a36cbc
Man page tweaks
2014-06-20 13:24:57 +02:00
Marc André Tanner
ba2e6a4248
Try to find a socket directory where bind(2) succeeds
2014-06-20 12:35:17 +02:00
Marc André Tanner
91422cbf6e
Remove useless default paths from config.mk
...
This for example simplifies static builds against musl via musl-gcc.
2014-06-20 10:10:59 +02:00
Marc André Tanner
d0afc4ff52
Add testcase involving dvtm
2014-06-19 10:31:48 +02:00
Marc André Tanner
76bbea220b
Pass correct window size to underlying application
2014-06-19 10:30:03 +02:00
Marc André Tanner
5a88eee291
Add rudimentary test suite
2014-06-18 14:30:31 +02:00
Marc André Tanner
54c1dbddb2
Mark zombie sessions with '+' symbol
...
These are sessions which have no clients connected but their underlying
command already terminated.
2014-06-18 14:28:31 +02:00
Marc André Tanner
fdf943d520
Make sure that clients are informed about session termination
2014-06-18 13:25:00 +02:00
Marc André Tanner
a7e13911c5
Fix -n mode: do not wait for clients to connect
2014-06-18 13:24:59 +02:00
Marc André Tanner
3e4485642b
Do not start server main loop if execvp(3) failed
2014-06-18 13:24:56 +02:00
Marc André Tanner
f4d3f21f00
Source code formatting changes
2014-03-22 17:38:17 +01:00
Marc André Tanner
eccf9fd16e
Introduce read only sessions (-r option)
...
Based on a patch from Lars Kellogg-Stedman.
2014-03-22 17:27:59 +01:00
Marc André Tanner
1fbc4690e5
Remove unused code
2014-03-22 00:25:57 +01:00
Marc André Tanner
15169cda58
Use STDIN_FILENO instead of 0
2014-03-21 23:08:42 +01:00
Marc André Tanner
3aa08a2d89
Clean up debug packet printing code
2014-03-21 23:00:08 +01:00
Marc André Tanner
6000bc6240
Request screen size if most recently connected client disconnects
2014-03-21 21:57:50 +01:00
Marc André Tanner
a99e46fd23
Simplify I/O handling
2014-03-21 20:40:55 +01:00
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
06e4d23bd1
Update man page
2014-03-07 19:53:50 +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
4fdb48dfcd
Change default key bindings to match dtach
...
Disable redraw key for now.
2014-03-06 23:17:43 +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
95db782096
Change resize policy
...
Only resize if the request is from the least recently connected client
or explicitly requested via a command.
2014-03-06 18:55:44 +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
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