kinode-dao / kinode

Kinode OS runtime
https://kinode.org
Apache License 2.0
35 stars 13 forks source link

feature: improve terminal #441

Open nick1udwig opened 4 months ago

nick1udwig commented 4 months ago

Is your feature request related to a problem? Please describe. There are a number of open terminal issues: #129 #260 #399 #431

Aside from these improvements, we need to take another pass at the scripts we provide, and the features that they can use.

Describe the solution you'd like An example of a feature is: piping like in bash. An ideal implementation of this would allow:

  1. piping process output to terminal
  2. piping process output to another process
  3. perhaps a stdout/stderr? and would look syntactically like bash for these features.

Another feature: Ctrl+R that looks like and behaves like standard bash-style terminals. We currently have something like this but its behavior is entirely different. Ideally it should feel like you're in a bash terminal.

As far as scripts, there are a number we should consider adding:

  1. for loops
  2. File- and directory-related scripts. This will make the filesystem more "real". E.g., if you can cd around, cp stuff, etc etc, files will feel much more tactile.
  3. scp, tar, curl or wget
  4. sed, awk, grep

If we want to get crazy with it, git and vi

nick1udwig commented 3 months ago

Autocomplete

dr-frmr commented 3 months ago

@nick1udwig

Another feature: Ctrl+R that looks like and behaves like standard bash-style terminals. We currently have something like this but its behavior is entirely different. Ideally it should feel like you're in a bash terminal.

I recently (~2 weeks ago) took another pass at Ctrl+R and i'm much happier with it now, have you tried it recently?

nick1udwig commented 3 months ago

I'll try it out

nick1udwig commented 2 months ago

Finally tried Ctrl+R. Yeah, its pretty nice now, nice work :rocket: