> Nothing against your intent, or beginners, or something, but Android
> is really not the OS one should be learning a Unix shell in.

You are correct. Still, if someone owns only a Windows box and an
Android phone, they might end up starting their learning on Android
anyway.

> And mksh is first and foremost a Berkeley Unix shell.

Fine.  But today, I noticed that you also maintain the stock Android
mkshrc[*].  :)

^  [*].
<https://android.googlesource.com/platform/external/mksh/+/master/mkshrc>

mksh takes up more than 100 KB, and typical new Android phones seem to
include gigabytes of flash memory.  I still believe Android could afford
the bytes it would cost to include a "help" function in
/system/bin/mkshrc which would display something like the following.

--- start of help ---

This is mksh, the MirBSD Korn Shell.  You can use a shell to perform
advanced administrative and troubleshooting tasks on your device.  You
can also use it to capture screenshots and screencasts.

To work with files and directories:
    See <http://www.cs.bu.edu/teaching/unix/reference/commands.html>.

To work with Android logs, packages, databases, screencasts, and the like:
    See <http://developer.android.com/tools/help/adb.html#shellcommands>.

If you have a question, comment, bug report, or suggestion:
    Please visit <http://android.stackexchange.com/>.

--- end of help ---

This would help new mksh users realize how many things they truly can do
in an Android shell.  For example, they might have had no idea that they
could capture screenshots and screencasts using the command line; but a
help message can inform them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1366451

Title:
  "mksh -v" should display mksh's version number, plus the attached
  chunk of text, onscreen

To manage notifications about this bug go to:
https://bugs.launchpad.net/mksh/+bug/1366451/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to