Lurker News

Comments (171) 86 threads

Earlier comments
gorgoiler1 reply#
It’s hard to make a shell that works like a real shell. Make it a shell from a parallel universe instead, or something more like a text adventure game, or a REPL in a context specific to your home page.

A weird aavshr command prompt for probing your inner mind. ADB: aavshr debug bridge. The visitor has just interrupted execution in a novel lisp that runs in your head and can inspect current state and run a handful of functions.
Something less familiar than a shell will give you more freedom to be really weird. REPLs are all the rage and a lot more flexible. Good luck!

aavshr#
thanks for the input, it is indeed hard to make a shell that works a like a real one. I'll keep your words in mind.
vletal1 reply#
Such a great idea! I'd personally consider using busybox in WASM instead of reimplementing a shell. Quick Google search found [1]. Have you considered that?

[1] https://tbfleming.github.io/em-shell/

aavshr#
hello, thank you for the pointer. Will definitely look at it.
divbzero#

  guest@sif~% sudo rm -rf /
  Command not found : 'sudo'. Type 'help' for available commands.
Oh well, it was worth a try :)
antibland#
Great work! I would add that you should turn off auto-capitalization for tablet/mobile devices, to preserve the shell aesthetic.

  <input type="text" autocapitalize="off /></code></pre>

Load more comments