Commit Graph

87 Commits

Author SHA1 Message Date
sawka
2ab8795643 comp checkpoint 2022-11-10 15:28:39 -08:00
sawka
055dc7c8ac checkpoint on compgen 2022-11-10 13:52:51 -08:00
sawka
d7b67582eb use deepequal for vars 2022-11-02 18:45:13 -07:00
sawka
d4e4b497fb scripthaus env vars. also mshellbinaryfrompackage for install 2022-11-01 21:42:56 -07:00
sawka
d9163d6af4 use log.Printf, ensure sc home dir 2022-10-31 12:40:45 -07:00
sawka
260fc2d313 working on server control and packaging 2022-10-30 12:52:40 -07:00
sawka
29dbf5dde9 runcommand now sets the state at the time of execution 2022-10-27 22:52:38 -07:00
sawka
2df33621fd stateful commands block other commands while they are running, introduce waiting state 2022-10-27 22:00:10 -07:00
sawka
56259e3f05 fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal 2022-10-27 17:10:36 -07:00
sawka
0060c8ffc2 big update to handle cmd returnstate (still need to process new state with donepacket) 2022-10-27 00:33:50 -07:00
sawka
cabf8a50ff updates for new shellvars 2022-10-25 12:31:29 -07:00
sawka
c9195b3cfd move some sh parsing to shexec 2022-10-24 21:29:11 -07:00
sawka
3b7dd7c01e working on source command 2022-10-22 14:46:39 -07:00
sawka
caf8b1d151 use statediff for output for setenv, unset, and cd 2022-10-20 16:14:14 -07:00
sawka
e55f7fb4fe working with new static commands 2022-10-18 18:03:02 -07:00
sawka
fdc5a289a9 use packet.ShellState, send aliases and functions as part of state 2022-10-16 23:51:04 -07:00
sawka
c940c7b85b cmd-fg, update when cmd done back to input 2022-10-11 23:11:43 -07:00
sawka
61dac018fb allow negative numbers for anchor offset 2022-10-11 13:23:38 -07:00
sawka
62fc2594ef checkpoint cmd-fg 2022-10-11 01:11:04 -07:00
sawka
d19f29c467 single-thread DB access. send selectedline updates for run/comment commands 2022-10-10 17:30:48 -07:00
sawka
43cf55b25e commands for line selection, updated resolver to allow 'S' and 'E' 2022-10-07 01:08:03 -07:00
sawka
2d089b98fb tweaks to genericresolver (and bug fix) 2022-10-06 23:58:38 -07:00
sawka
fbe652b932 add scrolltop and selectedline to screen_window 2022-10-06 18:33:54 -07:00
sawka
f5b9ea07a1 local flag on remote, ensure 1 local remote. on archive, change to local remote 2022-10-04 11:45:24 -07:00
sawka
998a65b873 remote editing checkpoint 2022-10-03 19:04:48 -07:00
sawka
1c46b79de3 checkpoint, visual editing of remotes 2022-10-03 12:25:43 -07:00
sawka
4d075e32bf updateremote (non-visual) 2022-10-02 18:52:55 -07:00
sawka
f342cae630 refactor the remote edit argument parsing 2022-10-01 13:23:36 -07:00
sawka
3beb00998b support sending password to remote 2022-09-30 17:22:28 -07:00
sawka
23759b7283 working on remote:new 2022-09-30 16:23:40 -07:00
sawka
534ef04cca checkpoint on remote:add dialog 2022-09-30 14:46:51 -07:00
sawka
a60680f855 remote install 2022-09-26 23:23:04 -07:00
sawka
d143ca2820 working on /remote:install 2022-09-26 21:09:43 -07:00
sawka
bf4fa2031b autoinstall, fix version check 2022-09-24 22:42:52 -07:00
sawka
982d600d9b checkpoint, working on autoinstall, semantic versioning, remoteshowall 2022-09-24 19:54:06 -07:00
sawka
eb00fde596 send uname/mshellversion with remotestate 2022-09-21 23:26:24 -07:00
sawka
21617298e9 origtermopts, clientdata to/from map 2022-09-21 22:02:38 -07:00
sawka
8f608d9d9e number formatting and better termopts formatting 2022-09-21 12:39:55 -07:00
sawka
5a6bebc51f show some line info 2022-09-20 21:50:36 -07:00
sawka
a6637b51c9 getlinecmd and getlineidbyarg 2022-09-20 17:37:49 -07:00
sawka
fad718d571 fixup connect/disconnect to deal with connecting state. use context to cancel remote that is in connecting state 2022-09-16 12:28:09 -07:00
sawka
f2e0f9457d handle remote input (can enter password manually now) 2022-09-15 17:09:04 -07:00
sawka
c600027d72 remote pty work 2022-09-15 00:17:23 -07:00
sawka
a74ee69da5 working on setting up remotes 2022-09-13 17:11:36 -07:00
sawka
6f71866663 remote archiving, bug fixes 2022-09-13 12:06:12 -07:00
sawka
2b7045443d update termopts for running commands, send specialinput packet 2022-09-05 20:08:59 -07:00
sawka
a20ee78e6d send line update via websocket synchronously before calling the cmdwait callback. ensures line arrives on fe client before any command updates or pty updates 2022-09-05 14:54:17 -07:00
sawka
54e0ecffe1 create a remote update queue to ensure that we send the line update before we send cmd updates 2022-09-05 14:49:23 -07:00
sawka
3639e2454d send termopts.cols to cmdrunner 2022-09-03 23:36:15 -07:00
sawka
247647cea8 remote connect/disconnect working. fix issue with remoteconnected in resolver. working on remote:new 2022-09-01 12:47:10 -07:00