Questions tagged [text-user-interface]

20 questions
65
votes
4 answers

How do I create a terminal-based GUI?

I'm looking to create a terminal-based environment to adapt my Bash script into. I want it to look like this:
9
votes
3 answers

What is the terminal's graphic API?

How can certain programs set background and font colors, write characters to the same location on screen (e.g. to the third row, fifth column) more than once? Some examples are the progress bar displayed by curl google.com > a, some installation…
deprecated
  • 2,841
  • 4
  • 24
  • 22
9
votes
5 answers

How to show live results on terminal from a shell script?

How can I write a shell script that shows the results in real time? Something like the top command that updates the results after some fixed intervals of time.
Lazer
  • 34,477
  • 25
  • 70
  • 75
6
votes
2 answers

Using curses with Linux console

I'm trying to use Curses on Fedora 12 to output status information to a VT (one of the terminals you can get to by pressing Ctrl+Alt+Fx). When I start up my application on one of VTs ($TERM=linux) the lines for the boxes come out as the characters…
Joe
  • 61
  • 1
  • 2
4
votes
3 answers

Chat from one system to another in a terminal

I would like send a chat message (like mail chat) between two systems, the systems are inter-connected proxy IP.
Sant
  • 41
  • 1
  • 1
  • 6
3
votes
2 answers

How to input unicode symbols with search?

Often times, I use unicode symbols (emoji, blocks, arrows, math...) in my typing, but it's very annoying to search-copy-paste them from the interweb, and it's also quite tedious to customize the Compose key (ensure clash are not used, find a…
ARDVL
  • 55
  • 5
3
votes
1 answer

Which terminals or terminal emulators support hardware windows?

terminfo(5) manual page describes a set of capabilities wnum (maximum number of definable windows), cwin (define a window), wingo (go to window), wind (resize current window), but only one terminal definition in terminfo master file uses any of them…
2
votes
3 answers

Best way to create table-like CLI display in Bash?

I'm working on a Bash script for massive USB flash memory testing (using f3 under the hood). I need to display a table-like interface with multiple columns and cells. Currently I'm using printf with and it looks like this: I have a separate…
unfa
  • 1,715
  • 3
  • 23
  • 34
2
votes
3 answers

dynamic display of a running process?

I am writing a script and according to that when I run it certain info will be displayed on the output screen. for example say the constant data displayed is: my name is mukesh. i am 27 years old unix version 7.2.3.0 but along with the above…
munish
  • 7,825
  • 24
  • 71
  • 97
1
vote
2 answers

How is replaceable text shown in a terminal?

For example after doing apt-get update, it shows Reading package lists... 82% with the percentage changing in the same line. How is that achieved? Is it possible to use it in a bash script?
user80551
  • 1,549
  • 3
  • 15
  • 21
1
vote
0 answers

A decent text-user-interface stopwatch?

I'm looking for something like this: but preferably TUI (ncurses-based), with support for multiple stopwatches (and giving names to them) able to survive being closed and re-opened (a stopwatch only needs to remember when it was…
MWB
  • 123
  • 6
1
vote
1 answer

Is it possible to edit a file in whiptail?

For a new TUI, I want to employ whiptail or dialog to make it a bit more visually appealing. Afaik, whiptail is more widely available and even preinstalled on many systems, which is a good reason to use it. (Is that still true?) But a nice-to-have…
steffen
  • 135
  • 5
1
vote
1 answer

How to show a line number in bash TUI?

I'm trying to add support for line number on a bash project i like (mainly as a fun exercise). To start, i looked into the function that was setting up the status line (since i thought of inspiring myself from it, since it would be printing a…
Nordine Lotfi
  • 2,200
  • 12
  • 45
1
vote
0 answers

Dual display setup with Debian 9 text interface

I have a NCR EPoS terminal that has a dvi interface for the main screen and a vga for the secondary screen. Is it possible to have one application running in full screen on the dvi display and one on the vga display and have the two apps tall to…
1
vote
1 answer

How can I find the default (font) resource a VT *instance* is using?

Setting up the virtual terminal appearance on a box with Arch and urxvt, I find myself unable to display which X resources are in use in a particular VT instance. Take that workflow: Open an urxvt console, load a particular…
tuk0z
  • 509
  • 6
  • 11
1
2