tui

What ncurses frameworks are available for BASH? [duplicate]

自古美人都是妖i 提交于 2019-12-04 12:39:17
问题 This question already has answers here : Bash script with graphical menus (2 answers) Closed 2 years ago . Are there some more Text User Interface (TUI) frameworks for bash (other than this)? : http://code.google.com/p/bashsimplecurses/ I want to take user input (data entry) process the entry 回答1: If all you need to do is prompt the user for information, take a look at dialog . http://invisible-island.net/dialog/dialog.html 回答2: bashsimplecurses is pretty capable (from the little I've seen),

Text User Interface Design Reference?

寵の児 提交于 2019-12-03 15:53:01
Is there a good book or other references on Text User Interface Design? I am not interested in graphical user interfaces. I am interested in usability for good command line and scripting interfaces. Your interface should follow the Rule of Least Surprise as described by ESR in The Art of Unix Programming . If your programm supports command line options, make sure they have the traditional meaning . Be sure to read the chapter about Tradeoffs between CLI and Visual Interfaces . IBM developed a standard called Common User Access. The Common User Access Basic Interface Design Guide has been

What ncurses frameworks are available for BASH? [duplicate]

余生颓废 提交于 2019-12-03 08:10:13
This question already has answers here : Bash script with graphical menus (2 answers) Are there some more Text User Interface (TUI) frameworks for bash (other than this)? : http://code.google.com/p/bashsimplecurses/ I want to take user input (data entry) process the entry If all you need to do is prompt the user for information, take a look at dialog . http://invisible-island.net/dialog/dialog.html Agi Hammerthief bashsimplecurses is pretty capable (from the little I've seen), but you might want to try GTK Server . (Have a look at the docs page for tutorial and manual links). It can work with

Highlighting and Selecting text with Python curses

本小妞迷上赌 提交于 2019-12-03 06:59:36
This is my first post to stack overflow. I've been lurking this site for information for years, and it's always helpful, so I thought that I would post my first question. I've been searching for some similar examples, but can't seem to find anything. Ultimately, I'm trying to write a simple text ui for finding false positives and false negatives in a text extraction program. The false positive module is a simple yes/no selection, and displaying colored text and using getch() is easy enough. The False negative portion however, is a becoming difficult. So this is what I want to do: Display a

GUI/TUI linux library

巧了我就是萌 提交于 2019-11-30 07:30:16
Is there any UI library that can be to build both a text user interface (ncurses) and graphical user interface (GTK? QT?) from the same source? I know that debconf can be used with various frontends, I would like to build something similar but programmable. The library that powers YaST independence to do ncurses, gtk and qt with one codebase provides what you are looking for, and it is not tied to YaST itself. Actually libyui only requires the standard C++ library and phtreads (IIRC). The UI plugins require of course the respective libraries (Qt, ncurses). YaST uses libyui via a set of YCP

What's the best way to get text user-interfaces (ncurses-like) functionality in Java?

梦想的初衷 提交于 2019-11-30 06:23:18
问题 I need to implement a console application (possibly in Java) with ncurses-like functionality (such as navigating a menu and redrawing the whole screen). The only solutions that I can find to do this so far are CHARVA ("A Java Windowing Toolkit for Text Terminals"), tuipeer ("A Text User Interface for the Java AWT") and a really old Dr. Dobb's article ("A Text UI for the Java AWT "). So far, CHARVA is the best thing that I can find but I don't like the idea of it using JNI to wrap curses. Is

GUI/TUI linux library

≡放荡痞女 提交于 2019-11-29 09:42:53
问题 Is there any UI library that can be to build both a text user interface (ncurses) and graphical user interface (GTK? QT?) from the same source? I know that debconf can be used with various frontends, I would like to build something similar but programmable. 回答1: The library that powers YaST independence to do ncurses, gtk and qt with one codebase provides what you are looking for, and it is not tied to YaST itself. Actually libyui only requires the standard C++ library and phtreads (IIRC).

Cannot leave tui mode with Ctrl-X A nor see program output in tui mode

我只是一个虾纸丫 提交于 2019-11-29 09:15:44
Problem A : I start gdb in command line with "gdb test" I press ctrl-x,ctrl-a before I do anything else Then I set break point using "b main" Then I start running the program using "r" Till this point, if I press the Up arrow key the src window will not scroll. Instead, something will appear in my command window - "^[0A". If I try to refresh the screen with ctrl-l, "^L" is what appears in the command window. I don't think this is supposed to happen. Under this situation I can't even quit tui mode with c-x,c-a ("^X^A" will appear instead). Am I doing something wrong? I realize this problem

What's the best way to get text user-interfaces (ncurses-like) functionality in Java?

假如想象 提交于 2019-11-28 17:54:51
I need to implement a console application (possibly in Java) with ncurses-like functionality (such as navigating a menu and redrawing the whole screen). The only solutions that I can find to do this so far are CHARVA ( "A Java Windowing Toolkit for Text Terminals" ), tuipeer ( "A Text User Interface for the Java AWT" ) and a really old Dr. Dobb's article ( "A Text UI for the Java AWT " ). So far, CHARVA is the best thing that I can find but I don't like the idea of it using JNI to wrap curses. Is there any standard way, say with AWT/Swing, to do do this? What other alternatives are there?