Commit Graph

23 Commits

Author SHA1 Message Date
sawka
43ed95f8fc clean up combining stdout and stderr into packet parsers, combine the channels and close appropriately 2022-06-25 00:05:37 -07:00
sawka
e6776bd974 checkpoint. transfer binary data as base64. handle cwd. detect open fds. working to transfer data in non-error cases. 2022-06-24 23:42:00 -07:00
sawka
5223760a76 got basic mshell client working -- still need detectfds and extra files support 2022-06-24 13:25:09 -07:00
sawka
0267836376 move multiplexed IO to its own package independent of SHExecType (to use in mshell client) 2022-06-24 10:24:02 -07:00
sawka
4256ff5231 checkpoint -- cleanup and sync optimizations for remote client (basically working). beginning work on local client 2022-06-24 00:02:18 -07:00
sawka
52831dc723 setup extrafiles using run packet's fds field 2022-06-23 18:23:30 -07:00
sawka
29372be4ef working with fdreaders and fdwriters to properly buffer output and not exceed buffer size without acks 2022-06-23 17:37:05 -07:00
sawka
c43d3ecc85 checkpoint got stdout/stderr data packets working with new remote handler 2022-06-23 12:48:45 -07:00
sawka
766d19f1bc checkpoint, switch name from sh2-runner to mshell 2022-06-23 10:16:54 -07:00
sawka
0b172cd689 add cdpacket 2022-06-23 09:56:54 -07:00
sawka
2c62890912 call SetWinsize to set terminal size always for pty 2022-06-20 17:51:28 -07:00
sawka
315a048f49 return username with init packet 2022-06-17 18:11:49 -07:00
sawka
0a6d8b8e9f input packet type 2022-06-17 15:31:07 -07:00
sawka
b6a8550ab8 revert cmdtail to watch individual files (inefficient directory watching on osx). touch ptyout file before running (because of file watching) 2022-06-17 12:27:29 -07:00
sawka
c8f9022db4 close runout file in main runner 2022-06-17 11:29:33 -07:00
sawka
3497f607ce fix bug in updateTailPos, add Close() for tailers 2022-06-16 22:23:29 -07:00
sawka
dc4baaea27 cmdtail now can support multiple tails on the same cmd with independent tail positions 2022-06-16 17:24:29 -07:00
sawka
c6165f15f4 update tailer to send packets to a channel instead of hard coding to PacketSender 2022-06-16 01:10:56 -07:00
sawka
5176128346 updates to allow parsing non-packets into raw packets (to see stderr output), and new sessionwatcher 2022-06-15 16:29:57 -07:00
sawka
ecceb67f20 got session/command tailing working. server can send getcmd packets, and client responds with cmddata packets 2022-06-14 22:16:58 -07:00
sawka
65094ad0ec updates, groundwork for tail, better parsing logic 2022-06-14 14:17:36 -07:00
sawka
1a3886c437 go runner / runner-single fork flow working 2022-06-10 21:37:21 -07:00
sawka
eeaeac8dc8 initial runner commit 2022-06-10 00:37:06 -07:00