Hi, for those who are interested, I've attached a shell script that should automagically build a topless gtk-gnutella that is an executable which is not linked against GUI libraries and has no GUI. The only way to control it is using the remote shell interface at runtime and/or manually editing the configuration file "config_gnet" before starting it.
Topless mode is mostly useful for servers respectively machines without a monitor or X11. It's direct use is limited by the remote shell interface. One thing gtk-gnutella doesn't do in this mode at all is searching because most of that happens in the GUI (especially filtering). Everything else though is performed e.g., existing downloads - if any - are continued, uploads, Gnutella connections are handled as usual, search result are delivered and so on. In theory, the topless variant can be used as backend for another frontend. Extending the remote shell interface would be straight forward but has certainly some bandwidth/performance issues if one would want to implement a GUI similar to the current GTK+ interfaces. For a simpler web-interface it might be sufficient though and using a dedicated URL space to deliver lenghty command replies like listing search results in the same way as browse host requests are handled would overcome issues with the remote shell interface. To develop a GUI using an alternate toolkit, it's probably a better idea to implement the functions which are commented out or are mere stubs in topless mode. The script is certainly not perfect and you probably shouldn't use it if you don't understand it at all. That said, there's supposed to be a Configure option which handles this but for now there isn't. -- Christian
make_topless.sh
Description: Bourne shell script
pgpToCfzggj5k.pgp
Description: PGP signature
