Here you see a demonstration of some CGI programs and scripts. Just press some links and you will understand how to use it
CGI Examples | |
---|---|
REBOOT | Reboot the Kiss DVD Player (no confirmation!) |
UPTIME | Display the Uptime of the Kiss DVD Player |
KLCD | Display hello on the Kiss LCD |
POWER | Send Power Button to Kiss DVD Player |
PS | Activate the ps command from the kiss (so you see the active processes) |
KILL | Kill a process |
EXEC | Run any command (be careful and use the full path ) |
If you take a look at the cgi-bin dir you will see how the shell cgi scripts work from the hush shell.
The klcd.cgi and the kfip.cgi are written in C
The reason is that if we launch a shell cgi script it will consume lots of memory, so the kiss will crash if we use these scripts while playing a movie.
The CGI written in C are not using much memory so those can be used on all circumstances.