基于文本的用户界面开发
在哪里可以找到与基于文本的用户界面的设计和开发相关的资源(例如通过串行端口从嵌入式设备导出到VT100终端的界面)?我对任何可用的材料感兴趣 - 最佳实践、风格指南、框架等。
请注意,我询问的是与“TUI' 而不是命令行界面(文本用户界面设计参考?)。维基百科将 TUI 与 CLI(和 GUI)区分开来,如下所示:
TUI 与命令行不同 接口,就像 GUI 一样,它们 使用整个屏幕区域并且不 必须逐行提供 输出。然而,TUI 仅使用文本 和典型可用的符号 文本终端,而 GUI 通常 使用高分辨率图形模式。
Where can I find resources related to the design and development of text-based user interfaces (e.g. interfaces exported via serial port from embedded devices to VT100 terminals)? I am interested in any material available - best practices, style guides, frameworks, etc.
Note that I am asking about resources related to the design and development of 'TUIs' rather than command-line interfaces (the thrust of Text User Interface Design Reference?). Wikipedia differentiates TUIs from CLIs (and GUIs) as follows:
TUIs are different from command-line
interfaces in that, like GUIs, they
use the entire screen area and do not
necessarily provide line-by-line
output. However, TUIs only use text
and symbols available on a typical
text terminal, while GUIs typically
use high-resolution graphics modes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我对 VT100 之类的东西没有任何经验,但我知道 Turbo Vision 仍然存在并在相当多的平台上运行,包括 DOS 和 Linux。在当时,它被用来编写一些更好的 TUI 应用程序(我想到的是 Borland C++ 和 Borland Pascal DOS IDE),而且我当时也经常看到它在 LOB 应用程序中使用。
截屏:
< /a>
(来源:sourceforge.net)
I don't have any experience with VT100 and that kind of stuff, but I know that Turbo Vision is still around and kicking on quite a few platforms, DOS and Linux included. And back in its day, it was used to write some of the better TUI applications (Borland C++ and Borland Pascal DOS IDEs come to mind), and I've seen it used in LOB applications back then quite often as well.
Screenshot:
(source: sourceforge.net)
也许看看ncurses?它是一个专门为编写基于终端的 UI 而设计的 GNU 库。
Perhaps take a look at ncurses? It's a GNU library specifically designed for writing terminal-based UIs.
对于最佳实践和风格指南,IBM Common User Access (CUA) 定义了一个“文本子集”,该子集应该很有帮助,尤其是当您的用户习惯于 GUI 时。详细信息请参见以下内容的第 3 章:
http://publibz.boulder .ibm.com/cgi-bin/bookmgr/BOOKS/F29BDG00/CCONTENTS
其他 CUA 指南和标准位于:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/F29AL000/CCONTENTS?DT=19921204095534
For best practices and style guides, the IBM Common User Access (CUA) defines a "text subset" that should be helpful especially if your users are used to GUIs. Details are in Chapter 3 of:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/F29BDG00/CCONTENTS
Additional CUA guidelines and standards are in:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/F29AL000/CCONTENTS?DT=19921204095534
http://petesqbsite.com/sections/express/issue21/tuiseriespart1.htm
http://en.wikipedia.org/wiki/Text-based_user_interface
希望有帮助。 ..我仍然在 TUI 中制作程序 (www.harbour-project.org)
http://petesqbsite.com/sections/express/issue21/tuiseriespart1.htm
http://en.wikipedia.org/wiki/Text-based_user_interface
Hope it helps... I still make programs in TUI (www.harbour-project.org)