Questions tagged [curses] (12)

0
answer

How to make PDcurses and Russian language?

Reason refuses to work with Russian language in pdcurses. Is my test code.#include <curses.h> #include <clocale> int main() { setlocale(LC_ALL, ""); initscr(); printw("Russian language"); getch(); endwin(); return 0; }
Ryder_Rogahn asked March 19th 20 at 09:55
2
answers

As large digits display the time?

I need to display centered on the entire screen the current time. Figlet, toilet fails, freezes. What to do?
Vinnie_Murr asked March 19th 20 at 08:58
2
answers

ESC sequence or ncurses?

All kind time of day. Thank you for your time spent on me. Planned app, which will be quite a lot of text output in console/terminal in Linux, a specific platform is unknown. The text should be formatted(color/background/blink/position). If I should use ncurses or continue to use the ascii escape sequence? PS: Passed on the...
darron.Douglas asked October 10th 19 at 08:09
4
answers

Curses fly in Perl error

Try to make an example #!/usr/bin/perl -w use Curses::UI; my $cui = new Curses::UI; my $win = $cui->add('window_id', 'Window'); my $listbox = $win->add( 'mylistbox', 'Listbox', -values => [1, 2, 3], -labels => { 1 => 'One', 2 => 'Two', 3 => 'Three' }, -radio => 1, ); $listbox->focus();...
ryan44 asked October 7th 19 at 18:52
3
answers

How to install PHP extension ncurses?

Good day, do not kick up (maybe) stupid question. I need to install the extension ncurses for php, googling about the extension, I realized that they have extensions .so or .dll (as I understand it, the first is linux, second ESA but win). Download here pecl.php.net/package/ncurses the extension of these files that I discov...
Melissa asked October 2nd 19 at 18:12
1
answer

Use mouse to newt (the console GUI). Alternatives to ncurses?

All welcome. Was looking for a cheap and simple alternative to ncurses. I thought myself to write. Because I want cheap, simple and tasteful. To OPA and tins with buttons fell out. And, all of a sudden opened the library newt. Where quite simply you can do very cool things. Here is an example with checkboxes and radiobutton...
kelsi75 asked October 2nd 19 at 17:18
0
answer

Why not work in Curses Perl noecho()?

What am I doing wrong?use strict; use Curses; my $win = Curses->new(); noecho(); $win->addstr(10, 5, 'ggg'); $win->refresh; In the terminal window appears ggghome@home-PC:~$ The characters don't appear when you try to print something, but push the enter key the output.
laurence.McClu asked October 1st 19 at 03:16
1
answer

Like ncurses to do the dialogue?

For example, when you open the browser elinks there appears a pseudo-dialogue in which you can enter the address and two buttons below. Also, when you close it it asks confirmation. How to make a similar? Should be ready solutions, at least something basic
Brian37 asked September 26th 19 at 17:39
1
answer

How to redirect /dev/tty console (TUI) script written in python + urwid?

There is a script in python + urwid, nothing serious, a small two-level menu with the withdrawal of any information. To bring the script to the console is not difficult,./script.py > /dev/tty1 but I would like him to not just output, and full control, go to menu items and so on. Prompt please in what side to dig and whet...
Titus_Schamberger asked September 21st 19 at 02:47
0
answer

What are the limitations curses applications on the part of the keyboard shortcuts?

I want to write a application and for considering curses UI, a console application that is. Tell me, what are the limitations of expecting the programmer there on the part of the capture keyboard shortcuts? For example, the function keys do not handle or Cmd+X does not intercept or Ctrl+D. (In `mc` is necessary twice to pre...
misae asked September 20th 19 at 19:34