- 論壇徽章:
- 0
|
請(qǐng)問(wèn)大家,這個(gè)xdialog ,在hpux 10.20上有,復(fù)制到hpux 11.11 下也可以運(yùn)行.
現(xiàn)在用到這個(gè)的小腳本都要移動(dòng)到linux上運(yùn)行.改script工作量太大了.有沒(méi)有這個(gè)
工具的源碼啊! 或則其它的方法能讓linux下直接運(yùn)行.只要兼容命令格式就可以了:
xdialog
usage: xdialog <toolkit options> <options>
-O <label string> - Label for the `Ok' button
-C <label string> - Label for the `Cancel' button
-f <file name> - Specify file to display
-m <string> - Specify message string to display
-p <bitmap file> - Specify bitmap image to display
-e <command string> - Execute command string if Ok seleted
-t <title> - Specify title of window
-c - Make `Cancel' button be default
-o - Make `Ok' button be default
The -f and -m options are mutually exclusive.
謝謝大家! |
|