Commit Graph

128 Commits

Author SHA1 Message Date
sawka
865ac0220f bump dep versions 2023-08-03 14:58:15 -07:00
sawka
94827683b5 big rename mshell to commandlinedev/apishell 2023-07-26 13:00:07 -07:00
sawka
386b5f7a90 add openai packet 2023-05-08 18:00:46 -07:00
sawka
5e212caf83 allow staticdata to set a higher buffer limit (since it is processed before mpio multiplexer takes over). raise max rundata size to 1M from 128k 2023-04-17 15:13:03 -07:00
sawka
15c09b7820 fix, allow empty values for pvar fields 2023-04-12 22:57:17 -07:00
sawka
bab095d701 add buildtime to initpacket 2023-04-12 21:45:45 -07:00
sawka
a4a4d53eb0 grab git branch 2023-04-11 23:52:58 -07:00
sawka
1810107572 fix error message 2023-04-02 23:11:29 -07:00
sawka
01a99cba03 minor updates/bugfixes 2023-04-02 23:00:55 -07:00
sawka
963bef8425 add groupid, since it is now a screenid not a sessionid 2023-03-20 19:21:23 -07:00
sawka
0ad1d9236a commit unused code in working version 2023-03-08 09:56:38 -08:00
sawka
573ca55c50 add stat call 2023-02-06 00:29:33 -08:00
sawka
3240b128e1 fix nil ptr exception (because GetType() returns a value even when pk is nil) 2023-02-01 00:44:31 -08:00
sawka
a4b8819948 increase rundata size limits 2023-01-31 12:14:41 -08:00
sawka
91667e4dec process special input signals. also allow numeric signals. 2022-12-20 21:58:24 -08:00
sawka
7250bbb1ad rename to mshell_exittrap 2022-12-19 17:38:24 -08:00
sawka
f010758b36 mshell single writes ping packets to detect when the server has died. sends SIGHUP to children 2022-12-05 22:26:13 -08:00
sawka
39e5e6c729 remove test code 2022-12-05 15:45:26 -08:00
sawka
ad2cab595d kill server on I/O write error, and add a pinger to continually send ping packets to test connection 2022-12-05 15:38:44 -08:00
sawka
bdd8381b01 updates/bugfixes for statediff 2022-11-28 18:05:54 -08:00
sawka
605d0899cf checkpoint 2022-11-28 00:15:34 -08:00
sawka
eb3cf80329 fix json marshaling bug for statediff 2022-11-27 14:16:25 -08:00
sawka
4481cddadc checkpoint on statediff. bug fixes. working on more robust error handling for packetsender 2022-11-27 13:47:18 -08:00
sawka
5a151369cb line/mapdiff code 2022-11-25 15:52:29 -08:00
sawka
c94c0b7c36 normalize assoc arrays on parse so then values can be compared 2022-11-25 14:21:51 -08:00
sawka
717461908a command compgen also needs to detect directories 2022-11-23 10:51:51 -08:00
sawka
da2fe25fb8 move to simpleexpand 2022-11-22 22:59:29 -08:00
sawka
01821ca094 allow variable comptype 2022-11-09 20:38:47 -08:00
sawka
d86bee87d8 partial word expansion 2022-11-04 12:28:08 -07:00
sawka
4392956f99 replace expand.Literal with safer hand-written version that only expands quoted strings and literals 2022-11-03 23:53:25 -07:00
sawka
76d3c10748 decls equal fn -- must parse associative arrays (order is not consistent in bash output) 2022-11-02 18:41:53 -07:00
sawka
ee36078082 parameterize the mshell bin directory (for packaging). inject MSHELL variables for execution 2022-11-01 21:19:42 -07:00
sawka
8939c57dd8 minor, add isempty func for shellstate 2022-10-30 12:52:58 -07:00
sawka
1da450e61c implement reinit, also do not store 'columns' var 2022-10-27 21:59:17 -07:00
sawka
e5d2267f27 minor updates to get state to be consistent 2022-10-27 00:34:16 -07:00
sawka
245a1995e2 parse shellvariables with args 2022-10-25 12:31:07 -07:00
sawka
674a6ef11e grab shell vars with export vars 2022-10-24 21:26:39 -07:00
sawka
d8b5508b77 returnstate option for runpk (for sourcing files) 2022-10-22 14:45:31 -07:00
sawka
b9c3940b99 big change to execution, run command as a script and set aliases/funcs 2022-10-16 23:46:59 -07:00
sawka
1c2c8c2f4d return defined bash aliases in initpk 2022-10-15 13:45:52 -07:00
sawka
d8e7c915e5 add sshport and batchmode 2022-09-30 17:22:57 -07:00
sawka
be1e1dfe90 allow context cancelation of install 2022-09-26 23:23:32 -07:00
sawka
ea6b571184 pass context to runinstall for cancelation 2022-09-26 21:10:08 -07:00
sawka
b5c67b6260 refactoring for versioned mshell binaries on remotes 2022-09-26 13:02:34 -07:00
sawka
4550e18b6b version string will now be a real semantic version 2022-09-24 13:53:19 -07:00
sawka
aa1542cfc0 don't overwrite mshell if no input received on stdin during install 2022-09-21 23:51:16 -07:00
sawka
ca61597a19 send uname in initpk. remote space between uname parts 2022-09-21 23:26:53 -07:00
sawka
9702fb648a getsessionsdir 2022-09-20 14:15:39 -07:00
sawka
df80d2ac08 allow MakeClientProc to be canceled with a context 2022-09-16 12:27:14 -07:00
sawka
53d710f709 option to send ssh errors to tty instead of stderr 2022-09-13 17:10:18 -07:00