Commit Graph

  • 429c41cfd0 show environment sawka 2022-08-22 18:53:38 -07:00
  • 292c76808a setenv and unset working sawka 2022-08-22 18:38:52 -07:00
  • f63a851b1a export ParseEnv0 and MakeEnv0 sawka 2022-08-22 17:27:55 -07:00
  • d61246e8a4 update to env0 sawka 2022-08-22 16:28:14 -07:00
  • dca199b492 update to use env0 sawka 2022-08-22 16:26:44 -07:00
  • 7d06bc766c rename env to env0. add envcomplete bool sawka 2022-08-22 16:24:53 -07:00
  • 525fe77a5f send initpk.env in remotestate sawka 2022-08-22 16:00:25 -07:00
  • e26705623b add --env mode to mshell to print cwd and environment (for server initpk). needed because OSX does not support 'env -0' sawka 2022-08-22 15:59:03 -07:00
  • 9d150dc7e3 connectmode, add stubs for export/setenv command sawka 2022-08-21 12:31:29 -07:00
  • db3f780275 autoconnect -> connectmode sawka 2022-08-21 12:26:10 -07:00
  • b2a2b6252d send cmd updates for donepk sawka 2022-08-19 17:14:53 -07:00
  • f7796169f6 fix setCmd mobx.action call sawka 2022-08-19 17:14:25 -07:00
  • 739114045c use term.reset() not term.clear() sawka 2022-08-19 16:38:24 -07:00
  • 5dda89aa1a status display sawka 2022-08-19 16:35:38 -07:00
  • e454c170f8 don't report parse errors to console (lots of invalid terminal output). e.g. cat'ing a binary file will produce thousands of errors, but that's just how it is. sawka 2022-08-19 15:54:38 -07:00
  • 86a7cd59e6 use cirfile for detached commands sawka 2022-08-19 15:28:32 -07:00
  • 03cfabd9b6 convert ptyout files to CF files (fixed size circular buffer files). connect to remotes with their own controlling terminal and capture that terminal output. POC to send password to controlling terminal to login. sawka 2022-08-19 13:23:00 -07:00
  • 26bd499fac update to allow a WriteAt call for cirfiles sawka 2022-08-19 12:51:37 -07:00
  • e1eecae6d3 implement WriteAt, refactored and tested append, writeat still needs testing sawka 2022-08-18 21:54:42 -07:00
  • 38870f9c6e circular file buffer. metadata in header. uses flock to synchronize access. write metadata before and after writing file data. sawka 2022-08-18 20:34:20 -07:00
  • b3a05ac72e update npm modules, add remotes modal sawka 2022-08-18 00:39:06 -07:00
  • 1914719ad1 proof of concept, file URL to open window using will-navigate sawka 2022-08-17 13:32:02 -07:00
  • c6e29c3314 proof of concept, open window sawka 2022-08-17 13:26:03 -07:00
  • 5a835e927e update prompt for remotes, display remotes in sidebar sawka 2022-08-17 13:06:47 -07:00
  • 77bd1fa7bc return uname sawka 2022-08-17 12:55:12 -07:00
  • b142e350be capture uname sawka 2022-08-17 12:54:40 -07:00
  • 249bf88a4d testing a 2nd remote with mshell --server sawka 2022-08-17 12:24:09 -07:00
  • 9542d14473 make mshell home directory during getremoteid sawka 2022-08-16 16:26:06 -07:00
  • c310a4b9bc scrollintoview sawka 2022-08-16 16:08:15 -07:00
  • cc058490b2 cmd-up cmd-down working, new line type, remotealias sawka 2022-08-16 15:59:28 -07:00
  • f86de49e31 updates to remote sawka 2022-08-16 15:08:28 -07:00
  • b26b9924f3 updates to tables, lineid, sharemode, owneruserid sawka 2022-08-16 12:08:26 -07:00
  • 8186e54cd2 add client table, ensure client id / public / private key sawka 2022-08-15 18:42:25 -07:00
  • 550fd89472 fix datapos sawka 2022-08-13 10:27:22 -07:00
  • 7af1d5cee6 lazy loading, cached TUR values sawka 2022-08-12 18:34:56 -07:00
  • 62bbe18171 remove PosAppend weirdness and track filepos in remote sawka 2022-08-12 13:59:31 -07:00
  • b4e41bc36d better input handling -- expand textarea, fit textarea, up/down arrow control in textarea (w/ history) sawka 2022-08-12 11:44:29 -07:00
  • b70d42bca4 implement command history sawka 2022-08-11 23:46:52 -07:00
  • a67ae15b32 implement history sawka 2022-08-11 23:45:15 -07:00
  • d5cf15e946 update history table sawka 2022-08-11 12:07:41 -07:00
  • 034995ef2a fix typescript errors sawka 2022-08-11 11:49:46 -07:00
  • 291d1dc704 allow resize observer to fire conditional scroll to bottom (info panel updates) sawka 2022-08-11 10:41:08 -07:00
  • d5a5a9ce70 better directory vs file completion sawka 2022-08-11 10:22:43 -07:00
  • adca87e9db better directory vs file completion sawka 2022-08-11 10:21:45 -07:00
  • 5a8ffa3544 more complicated compgen for directory vs file completion sawka 2022-08-11 10:21:11 -07:00
  • 5082330dcf implement info panel, more control in cmd-input, completions, errors sawka 2022-08-10 18:35:18 -07:00
  • f4515139a1 uniq completions sawka 2022-08-10 18:33:50 -07:00
  • 81c564aca9 implement simple command completions sawka 2022-08-10 18:33:32 -07:00
  • d4528d1c42 compgen hasmore sawka 2022-08-10 16:07:41 -07:00
  • a175d236c1 implement /cd and /compgen sawka 2022-08-09 14:24:57 -07:00
  • fbb523aed8 implement compgen and cd in mshell server sawka 2022-08-09 14:23:59 -07:00
  • 1f4ac87a9a implement new session and switch session sawka 2022-08-08 16:22:36 -07:00
  • 66f547a695 implement new session and switch session sawka 2022-08-08 16:21:46 -07:00
  • 74b88185dc add cache for ensuresessiondir sawka 2022-08-08 09:52:50 -07:00
  • 15c78c8934 sync schema to schema.db sawka 2022-08-08 08:34:59 -07:00
  • 4785253a10 return interactive update sawka 2022-07-15 17:53:23 -07:00
  • 88e99fca62 add interactive flag sawka 2022-07-15 17:52:57 -07:00
  • 4a853ffa02 unify interactive/ws updates sawka 2022-07-15 17:48:25 -07:00
  • d297477807 use new global input model sawka 2022-07-15 17:38:58 -07:00
  • 6807547ff7 updates, switch to new fecmd packet to run all UI commands through sawka 2022-07-15 17:37:32 -07:00
  • 6340a3e9ff implement delete session, bug fixes sawka 2022-07-15 01:58:30 -07:00
  • 5b1eb383e3 screen deletion working, bug fixes sawka 2022-07-15 01:57:45 -07:00
  • 057637660c hook up accelerators for switching screens sawka 2022-07-14 18:50:58 -07:00
  • 8cdf514bb9 checkpoint on updates. can switch screens using commands sawka 2022-07-14 18:41:49 -07:00
  • 275e177218 checkpoint sawka 2022-07-14 18:39:40 -07:00
  • 879cb03da0 auto resize terminal width to window size sawka 2022-07-14 00:54:31 -07:00
  • 8a710669ec screen switching sawka 2022-07-13 23:11:45 -07:00
  • 94fd29cbad handle pty udpates again sawka 2022-07-13 14:16:47 -07:00
  • c1ace6f5d6 updates for getting pty updates sent again sawka 2022-07-13 14:16:08 -07:00
  • 05af5a8510 get input working, fix currentrowheight constant sawka 2022-07-13 01:03:17 -07:00
  • f4b3f94b13 add cmdinstances to allow windows/cmds to show in multiple screenwindows sawka 2022-07-13 00:44:19 -07:00
  • 059c98d1e0 checkpoint, getting screens integrated sawka 2022-07-12 23:29:39 -07:00
  • db841f2951 checkpoint, adding 'screen' concept to contain windows sawka 2022-07-12 21:51:17 -07:00
  • 11087c10be txwrap can now be properly nested. add json conversion functions to quick sawka 2022-07-12 16:10:46 -07:00
  • 4666ee8832 checkpoint sawka 2022-07-12 14:27:40 -07:00
  • 6351082900 checkpoint sawka 2022-07-12 14:27:16 -07:00
  • 2957a03864 checkpoint sawka 2022-07-12 13:50:44 -07:00
  • 7867edb8da pass process id as client id to ws sawka 2022-07-12 13:20:10 -07:00
  • 28f5e9bf05 submit command sawka 2022-07-12 00:45:10 -07:00
  • 9af5edd451 get terminal follow scrolling working. create windowview sawka 2022-07-11 22:43:58 -07:00
  • 49c8b34a7c checkpoint, moving to model sawka 2022-07-11 17:55:03 -07:00
  • 77bd3ed5bf checkpoint, switching to model sawka 2022-07-11 14:43:18 -07:00
  • 5dc0e6b651 checkpoint working on electron sawka 2022-07-09 01:37:19 -07:00
  • 96961822a3 map cmd-i to grab input sawka 2022-07-08 13:45:14 -07:00
  • f8753830ff close ptyout file sawka 2022-07-08 13:28:22 -07:00
  • ec6c1f5a9a working on multiple sessions/windows sawka 2022-07-08 13:23:45 -07:00
  • 882694b5ce get session list, switch to default session sawka 2022-07-08 13:23:00 -07:00
  • c4fb7d9ada updates for window type, getting window, etc sawka 2022-07-08 13:01:37 -07:00
  • 2e7059777b get input working sawka 2022-07-07 22:46:49 -07:00
  • 368c16eb60 get input working sawka 2022-07-07 22:46:28 -07:00
  • 554f8f1b31 input packet should use base64, add remoteid. allow untailing a full entry (when command is done) sawka 2022-07-07 22:45:14 -07:00
  • 5fcbe209bb implement globalstore callback for cmd status changes sawka 2022-07-07 22:13:45 -07:00
  • 3d29d0d34e integrate cmd status into fe tailing sawka 2022-07-07 21:49:15 -07:00
  • 45dfeb69f6 updates to allow cmd tailing to work with mshell sawka 2022-07-07 21:39:25 -07:00
  • 4f4dd67d06 comment out tailer for now sawka 2022-07-07 21:38:05 -07:00
  • 463187221b update tailer to use filenamegenerator. allow ptyonly option for getcmd sawka 2022-07-07 21:37:17 -07:00
  • 4cc55c46ca only allow one instance of sh2 to run at a time (flock). HUP all running processes when sh2 starts or remote connection ends sawka 2022-07-07 16:29:14 -07:00
  • 827c33095b hook up cmd cmdstr and prompt sawka 2022-07-07 13:27:44 -07:00
  • e4bf4b4ef8 checkpoint, pass remote vars to client for prompt str, get commands showing sawka 2022-07-07 13:26:46 -07:00
  • eb880e024e add hostname to init packet sawka 2022-07-07 13:25:42 -07:00