Michael Krayer
d50a0e3d72
we do need a separate scrollback size and possibly multiple packets
2023-10-13 10:51:44 +02:00
Michael Krayer
821fa0d5ce
packet message size can be changed at will; only actual data is sent; match it to scrollback size
2023-10-13 10:35:02 +02:00
Michael Krayer
cc315c0987
started implementing scrollback buffer
2023-10-13 09:09:59 +02:00
Michael Krayer
e7cab4e330
removed some debug output
2023-10-12 18:48:19 +02:00
Michael Krayer
9558c61a74
Changed printf to write_all
2023-10-12 11:47:38 +02:00
Michael Krayer
1a6eb289e8
print some welcome message on client side
2023-10-12 10:26:35 +02:00
Michael Krayer
ec4b1eb4f4
bugfix: next_session did not work correctly. Can switch between sessions on exit now
2023-10-12 10:16:36 +02:00
Michael Krayer
d9c18f680a
WIP: basic switching works, but exit breaks things
2023-10-11 17:06:43 +02:00
Michael Krayer
d8f557ed20
Renamed KEY_DETACH to KEY_COMMAND
2023-10-11 15:22:40 +02:00
Michael Krayer
0f89851632
added return value based on pressed key
2023-10-11 15:19:18 +02:00
Michael Krayer
64d897db14
commit-fix: RV_DETACH in client.c; if is now switch
2023-10-11 15:07:42 +02:00
Michael Krayer
6c6b505327
added testing mode and changed detach return value
2023-10-11 15:00:44 +02:00
Michael Krayer
9531cfcdac
partially removed force flag
2023-10-11 13:46:22 +02:00
Michael Krayer
080e3e9e44
WIP: restructured lowpriority, help, list flags
2023-10-11 13:43:11 +02:00
Michael Krayer
b70e814c8f
removed passthrough mode
2023-10-11 13:31:50 +02:00
Michael Krayer
14480decc7
changed default command: ignores ABDUCO_CMD
2023-10-11 11:06:13 +02:00
Michael Krayer
c80e8ff369
Added two-stroke mechanism for detaching
2023-10-11 10:50:16 +02:00
Michael Krayer
3c5aafc0fb
renamed abduco to splex: the programs cannot be changed independently
2023-10-11 10:28:18 +02:00
Michael Krayer
f63387c6c2
added new executable splex
2023-10-11 10:22:32 +02:00
Michael Krayer
d81b25dcde
made bash default shell
2023-10-11 10:21:56 +02:00
Marc André Tanner
8c32909a15
Tweak README
2020-04-30 15:28:49 +02:00
Marc André Tanner
936602106a
Remove Travis CI integration
2020-04-20 15:51:13 +02:00
Marc André Tanner
bf6587209f
Add Github Action for macOS
2020-04-20 15:49:19 +02:00
Marc André Tanner
a75f3e7261
Add Github Action to produce HTML manual page
2020-04-20 12:51:11 +02:00
Marc André Tanner
2fc2671808
Add Github Action to periodically run Coverity Scan
2020-04-20 12:49:52 +02:00
Marc André Tanner
c31eb7fad9
Add fall through comment to silence compiler warning
2020-04-20 12:47:51 +02:00
Marc André Tanner
6ff68d3d5a
Explicitly wait for intermediate process
2020-04-20 11:51:56 +02:00
Marc André Tanner
62b6fce308
Tweak README
2020-04-19 13:08:07 +02:00
Marc André Tanner
042fa2255b
Add Sourcehub CI integration
2020-04-19 13:08:07 +02:00
Marc André Tanner
4a2c9ded43
Cleanup gitignore
2020-04-19 13:08:07 +02:00
Marc André Tanner
b47b66188f
Use awk instead of seq in test suite
2020-04-19 13:08:07 +02:00
Marc André Tanner
4742cdcfca
Set test suite exit status depending on test results
2020-04-19 13:08:07 +02:00
Marc André Tanner
58fee22707
Make test suite a bit more robust
2020-04-19 13:08:07 +02:00
Marc André Tanner
b2ada74d43
Manual page style fixes
2020-04-19 13:08:07 +02:00
Marc André Tanner
5bf6b3178b
Exit if changing to root directory fails
2020-04-19 13:00:33 +02:00
Marc André Tanner
32a839d76a
Do not install zsh completion by default
...
Provide dedicated install-completion Makefile target instead.
2020-04-19 12:54:53 +02:00
Marc André Tanner
cef844ec9d
Move zsh completion to contrib folder
2020-04-19 12:54:21 +02:00
Marc André Tanner
7d0e9d91b6
Create leading directories when installing
...
Note: install(1) is not really specified and the -D option does not
seem to be portable. For example the FreeBSD manual page documents a
different behavior.
We therefore use a somewhat ugly two step process with an installdirs
target.
2020-04-19 12:43:59 +02:00
Marc André Tanner
070e34b502
Use strip explicitly instead of install -s
...
Some install(1) implementations don't support -s or treat it as a NOP.
2020-04-19 12:43:59 +02:00
zsugabubus
fcac3b17ed
Add Zsh completion
2020-02-05 10:39:03 +01:00
zsugabubus
c3ea8f5bde
Makefile: use `install` instead of `cp`
2020-02-05 10:00:27 +01:00
Marc André Tanner
8f80aa8044
Do not implicilty enable passthrough mode if no session name is given
...
Even when no session name was provided the passthrough flag was still
implicitly enabled in case stdin was not a terminal. This behavior
prevented the session list from being printed i.e.
abduco < /dev/null
would not work as expected. Only enable implicit passthrough if stdin
is not a terminal *and* a session name is given.
Fix #34
2018-05-16 10:57:39 +02:00
Marc André Tanner
c33ee37b43
Expose current session socket as $ABDUCO_SOCKET
...
This is an absolute path to the Unix domain socket representing the
current session.
2018-05-15 17:10:18 +02:00
Marc André Tanner
4c3e2c8c70
Expose current session name as $ABDUCO_SESSION
...
The supervised command can use it to determine in which session it
is running. It is not necessarily identical to the file name of the
underlying socket as stored in the file system.
2018-05-15 17:08:44 +02:00
Marc André Tanner
0681dc8daf
Constify maximum socket name length
2018-05-15 13:57:27 +02:00
Marc André Tanner
35b3f61015
Expand build matrix on Travis CI
2018-03-19 19:03:50 +01:00
Marc André Tanner
5eb7317971
Convert manual page to mdoc(7) format, restructure content
2018-03-18 15:06:37 +01:00
Marc André Tanner
884e3bb2ca
Print server process ID in session list
2018-03-18 15:06:37 +01:00
Marc André Tanner
e48ea73ce0
Move server_accept_client function around
2018-03-18 15:06:37 +01:00
Marc André Tanner
bb7e4e77f4
Remove MSG_REDRAW it was actually never sent by the client
2018-03-18 15:06:31 +01:00