This is an old revision of the document!
====== Fredrik Hultin, gPXE Command Line Interface ====== ===== The Project ===== I'm going to write a command line for gPXE which will let the user do some basic tasks interactively. Things like setting and getting an IP, pinging, specifying tftp-servers etc. I'm going to do this as a separate, custom made, but implementation independent command line library which will handle all the internals of the command line. For this lib a small driver in the underlying application (ie. gPXE) will send key pressings to the lib. Code in gPXE will be able to add any command in run time or link time to the lib using linker tables or doubly-linked lists. The command line lib will then call the registered service when a command successfully has been entered. ===== Design goals ===== Small, efficient and extensible code. It will be easy to add new commands and the command line will do as much data-processing and error checking it can before passing the presumably correct arguments to the underlying functions. ===== Delay ===== Sadly my project started with some heavy setbacks when a lot of different electronic gadgets in my apartment exploded(!). It seems someone or something felt like 230v wasn't enough for my machines, I apparently needed 460v in my wall sockets instead. Things in our apartment that didn't fully agree with that new and improved voltage includes, but is not limited to, our: * DSL-Modem * Router * Switch * Server * Studio Speakers * Audio mixer * Projector Luckily it was mostly the power adaptors/PSUs that got toasted so I'm pretty much back on track again but I lost about a week.