LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

A Linux-like Command-line Interface

Root / Talk About Programs / [.]

amihartCreated:
The current command line interface takes SmileBASIC code. It's okay for a developer's end, but I think it's pretty poor for the end user. You know, the person who mainly runs projects and doesn't actually make their own. So I'm designing a shell, similar to the Bash shell in Linux. This shell will offer a significantly better command line interface for the end user. Notice some of the things the shell will support. A "command" is basically a SmileBASIC program file located in the /BIN folder. They all have standard inputs and outputs, and you can pipe the output of commands to others using the pipe "|". You can have one command execute only if the previous one executed successfully using "&&". You can have one command execute only if the other failed using "||". You can just have two commands execute with no conditions using "&". Also, I should probably've said "Unix-like" instead of "Linux-like", but whatever. Edit: Here is a later screenshot. I currently have the filesystem working. You can navigate through folders, create and delete folders, and read files.

I wanted/tried to do something like this a while back. Looks like you've done it better than I could lol.

I added several things. First, I added users. I added the HOME directory. Your HOME directory is /HOME/USERNAME. When you are within your HOME directory, it gets substituted for "~" and you can use "~" any time you want to substitute it. I've also added a HELP command. HELP followed by a command will tell you how to use it. I've also added ">" which can be used to redirect the output of a command into a file. I've done enough work that I'm going to let people try it who want to try it out. Here's the public key to what I have so far: 52NVY344 There's a ton of files in the program folder but the one you want to run is called "SHELL".