Commit Graph

1336 Commits

Author SHA1 Message Date
sawka
db841f2951 checkpoint, adding 'screen' concept to contain windows 2022-07-12 21:51:17 -07:00
sawka
11087c10be txwrap can now be properly nested. add json conversion functions to quick 2022-07-12 16:10:46 -07:00
sawka
4666ee8832 checkpoint 2022-07-12 14:27:40 -07:00
sawka
6351082900 checkpoint 2022-07-12 14:27:16 -07:00
sawka
2957a03864 checkpoint 2022-07-12 13:50:44 -07:00
sawka
7867edb8da pass process id as client id to ws 2022-07-12 13:20:10 -07:00
sawka
28f5e9bf05 submit command 2022-07-12 00:45:10 -07:00
sawka
9af5edd451 get terminal follow scrolling working. create windowview 2022-07-11 22:43:58 -07:00
sawka
49c8b34a7c checkpoint, moving to model 2022-07-11 17:55:03 -07:00
sawka
77bd3ed5bf checkpoint, switching to model 2022-07-11 14:43:18 -07:00
sawka
5dc0e6b651 checkpoint working on electron 2022-07-09 01:37:19 -07:00
sawka
96961822a3 map cmd-i to grab input 2022-07-08 13:45:14 -07:00
sawka
f8753830ff close ptyout file 2022-07-08 13:28:22 -07:00
sawka
ec6c1f5a9a working on multiple sessions/windows 2022-07-08 13:23:45 -07:00
sawka
882694b5ce get session list, switch to default session 2022-07-08 13:23:00 -07:00
sawka
c4fb7d9ada updates for window type, getting window, etc 2022-07-08 13:01:37 -07:00
sawka
2e7059777b get input working 2022-07-07 22:46:49 -07:00
sawka
368c16eb60 get input working 2022-07-07 22:46:28 -07:00
sawka
554f8f1b31 input packet should use base64, add remoteid. allow untailing a full entry (when command is done) 2022-07-07 22:45:14 -07:00
sawka
5fcbe209bb implement globalstore callback for cmd status changes 2022-07-07 22:13:45 -07:00
sawka
3d29d0d34e integrate cmd status into fe tailing 2022-07-07 21:49:15 -07:00
sawka
45dfeb69f6 updates to allow cmd tailing to work with mshell 2022-07-07 21:39:25 -07:00
sawka
4f4dd67d06 comment out tailer for now 2022-07-07 21:38:05 -07:00
sawka
463187221b update tailer to use filenamegenerator. allow ptyonly option for getcmd 2022-07-07 21:37:17 -07:00
sawka
4cc55c46ca only allow one instance of sh2 to run at a time (flock). HUP all running processes when sh2 starts or remote connection ends 2022-07-07 16:29:14 -07:00
sawka
827c33095b hook up cmd cmdstr and prompt 2022-07-07 13:27:44 -07:00
sawka
e4bf4b4ef8 checkpoint, pass remote vars to client for prompt str, get commands showing 2022-07-07 13:26:46 -07:00
sawka
eb880e024e add hostname to init packet 2022-07-07 13:25:42 -07:00
sawka
0053a63536 fix fecmdpacket remotestate 2022-07-07 00:10:58 -07:00
sawka
f7666fe480 checkpoint on storing cmd in db 2022-07-07 00:10:37 -07:00
sawka
2652a3509b add rpc to combined packet parser 2022-07-06 22:46:59 -07:00
sawka
d4acb79585 data getting written to ptyout files in scripthaus dir 2022-07-06 22:46:22 -07:00
sawka
98e46399be checkpoint, getting closer to running a command via mshell server 2022-07-06 19:01:00 -07:00
sawka
353605f815 bug fixes and updates for running server with scripthaus 2022-07-06 18:59:46 -07:00
sawka
1b69bb0ac8 fix mshell server to just blindly proxy mshell single command input/output, better simpler code 2022-07-06 17:16:45 -07:00
sawka
51df0479ff sendpacket with context, initialize rpcmap 2022-07-06 14:35:27 -07:00
sawka
56e1ddf8e6 run packet opt to set term type 2022-07-06 14:06:58 -07:00
sawka
a1b8234954 fix tty TERM for ssh connections when usepty is set. also ignore pty read errors 2022-07-06 12:16:37 -07:00
sawka
95f11fb418 checkpoint, getting tty output working in non-detached mode 2022-07-06 11:21:15 -07:00
sawka
9aa684882b don't send done packet when detached 2022-07-06 00:25:59 -07:00
sawka
0d585e5959 clean up --single detached mode 2022-07-06 00:21:44 -07:00
sawka
96123c8e1a checkpoint for tightened runtime semantics for calls -- always send response packets, make sure correct response ids are set, etc. 2022-07-05 23:14:14 -07:00
sawka
0c204e8b2b standardize error reporting, rpc gets resp, command get cmderr, other errors are just sent as messages 2022-07-05 17:45:46 -07:00
sawka
45fa371956 checkpoint for migrating to remoteinstance 2022-07-05 16:55:21 -07:00
sawka
2755be315d checkpoint for migrating to remoteinstance 2022-07-05 16:54:49 -07:00
sawka
ef362e5ee9 tighten up packet interfaces, RpcPacketType, RpcResponsePacketType, and CommandPacketType 2022-07-05 16:53:31 -07:00
sawka
123fdfe3bb comment flow working 2022-07-05 10:51:47 -07:00
sawka
b2a1560385 fix typescript errors 2022-07-04 22:37:45 -07:00
sawka
31f90d5401 checkpoint 2022-07-04 22:18:36 -07:00
sawka
5b2e88ec32 checkpoint 2022-07-04 22:18:01 -07:00