Beginners questions for shell usage

Hi, I am configuring my installation of Sculpt OS 25.04 using the system-shell. I also tried the unix-shell from @jschlatow. My questions are:

  • how can I scroll in the shell window?
  • how can I mark text for copying in the the shell?
  • what are the recommended ways of comparing texts (e.g. diffrent versions of configurations)?
  • what are the recommended ways of searching for strings in nested directories with text files (e.g. the reports-fs or the depot)?
2 Likes

Hi Nos,

  • There is currently no support for scrolling. In my unix_shell runtime, you may use less as a pager, though.
  • Hold down SHIFT and then select the text with your mouse pointer. The selection is automatically placed into the clipboard.
  • In my unix_shell, I’m using vimdiff for comparing text files.
  • I had added grep to my unix_shell runtime for the purpose of searching for file content. However, I just noticed that it appears to be broken for some reason. Even a simple echo "foobar" | grep bar does not produce any output.

If you miss any command-line tool, you can give Goa a try and port it yourself. The ā€œGenode Applicationsā€ book should provide a good guide on how to approach this.

3 Likes

Thanks for your answer. I will try to select text in the shell while pressing the shiftkey. Vimdiff for comparing texts sounds nice too.

Hi, is there already a recommended way to manage versions and variants of files? Maybe some git(-lfs) compatible component for Genode? There are already many cool file systems with advanced features, but unfortunately they are usually also very complex.

I’m currently working on a git port for the planned ā€œGoa SDK on Genodeā€, but there is no ready-to-use binary depot package yet.