программу с ней...
Код: Выделить всё
#include <dialog.h>
#include <stdio.h>
#include <string.h>
int main ()
{
init_dialog();
unsigned char stroka[20] = "polachok" , buffstr[100];
unsigned char *pstroka, *pbuffstr;
pstroka = &stroka[0];
pbuffstr = &buffstr[0];
if (dialog_yesno("The locate GUI", "This is an ncurses GUI for the locate utility. Do you need it?", 20, 40) == FALSE )
{
dialog_inputbox("Locating", "What do you want to find?", 40, 40, pstroka);
strcat(pbuffstr, "locate ");
strcat(pbuffstr, pstroka);
dialog_prgbox("In progress..",buffstr, 40, 40, 1, 1);
end_dialog();
}
else
end_dialog();
return 0;
}gcc -ldialog ./loc.c -o loc
а для linux есть реализация ее?