Hi,
I've finally found a very simple solution that should work on most cases.
Currently most distributions provide dialog programs, those programs are
designed to be used from shell scripts, and provide a very simple
interface to create different kind of dialogs. Some examples of those
programs are: kdialog, zenity and xdialog.
So, to create a simple message box, you can do:
system( format("kdialog --title %s --msgbox %s", title, text) );
If none of those programs are available, you can still use a little
utility called xmessage that I think should be available on most systems.
Hope that helps,
--
Ignacio Castaño
cas...@ya...
|