1

我需要一些帮助。我想编写一个使用“windows”的 CLI 程序。我的意思是它看起来像 Debian 的安装程序。所以我想知道,我需要什么 C 库来做到这一点:http: //iomem.com/uploads/tutorial/debiansargeraid/pic002.jpg

4

2 回答 2

1

You're looking for Ncurses ... it's what debians installer and most other CLI "windowing" tools use.

于 2013-06-08T19:40:04.873 回答
1

The thing used in debian installer is most probably the dialog(1) utility. See examples at http://unstableme.blogspot.com/2009/12/linux-dialog-utility-short-tutorial.html

If you really want C library than what you want is either ncurses library (more low-level) or dialog.h provided with dialog utility.

于 2013-06-08T19:40:11.733 回答