For many applications in SamyGO project we need some setup procedure - run shell script, edit it's parameters, etc. Now every that task is problem for non-linux people. For example, in theory we can use external USB DVD drive for playing DVD on TV, but without such menu item on TV screen all our scripts and moudules are useless…
This is my variant of StarterLib, Directory and files Explorer with script output on TV screen.
Remote key mapping:
1 - top 2 - up 3 - PgUp
4 - left 5 - enter 6 - right
7 - bottom 8 - down 9 - PgDn
0 - EXIT
Red - Dir mode
green - App mode
yellow- Cmd mode
blue - Exit
You can explore (or start on non-dir modes ) current object with RIGHT key,
return to object choice (or level up in dir mode) with LEFT key.
Enter key used for toggle HEX/ASCII in explore mode and set option on in Cmd mode.
App & Cmd modes is same, but with different working directory - ./etc/init.d for APP and ./etc/cmd for Cmd.
App (or Cmd) - your shell script with second line starting with #!SamyGO and human readable name for menu list after two spaces (see lsmod in ./etc/cmd)
If you want only start your script, you must put only one (second) line with #!SamyGO and name into script file.
If you want set some options for you script before start, you must put all this options into separate file (see file ps in ./etc/cmd). Note, that option letter (word) you must put after description and symbol #.
Symbol after string #!SamyGO (now valid only 0,1,2) define parameter type -
2 - line with script name and file name in option field (only one in file)
1 - lines with set (default) option
0 - lines with unset option
This very simple syntax allow us obtain readable menu for different tasks.
program written on plain C and use SDL without SDL_ttf, now only one standard console font 8x16 used.
Application is very small and simple, but in lib directory almost all SamyGO kernel modules.
Program tested on LE40B653
Have fun!
Sorry for my english, I hope, that the main idea is clear and it will be useful for our community.

DivFix++ AVI Fix
Meteorite MKV Repair