From ncurses.h What does the z coordinate represent? Answer From the curs_mouse man page: The z member in the event structure is not presently used. It is intended for use with touch screens (which may be pressure- sensitive) or with 3D-mice/trackballs/power gloves. Also, if you search lib_mouse.c in the ncurses source code for ->z and .z, you will find that
Tag: ncurses
How can I cause a “initscr” break with ncurses?
I know this is a weird question, but I want to get the “initscr” function error mentioned by the doc (getting invalid pointer and an error message on stderr) to test if a wrapper works properly. But I don’t find any information about that. I’m currently working with ncurses 6.2. After few research, I have found that the invalid pointer
ncurses newterm following openpty
I am trying to figure out how to do the following: create a new pseudo-terminal open a ncurses screen running inside the (slave) pseudo terminal fork A) forward I/O from the terminal the program is running in (bash) to the new (slave) terminal OR B) exit leaving the ncurses program running in the new pty. Can anyone provide pointers to
bash: Create a ncurses dialog radiolist from a dynamic file and output selection to variable
I am working on building a ncurses/dialog driven interactive shell script to Clonezilla to simplify the creation and restoration of images passed with very specific settings that we use each time. Part of the script asks the user to select an image for restoration and I have hit a wall. I want to use a dialog radiolist for this part
How to stop backspace from appearing in nCurses using C?
I am currently writing an ncurses shell and in order to read input it is important to read it character by character and hence I am using the mvwgetch command. And incrementing a counter as it reads character by character. The problem is that whenever I press a an arrow key or a backspace their output is being printed. So,
Urwid: make cursor invisible
I’m using urwid, which is a Python “framework” for designing terminal user interfaces in ncurses. There’s one thing though that I’m not able to do in urwid that was easy in curses – make the cursor invisible. As it is now, the cursor is visible when selecting buttons, and it just looks plain ugly. Is there a way to disable
C code with ncurses compiled with libtinfo dependency
I’ve recently written a minesweeper implementation in C using ncurses on linux; everything works fine on my pc, but if I try to give the compiled binaries to someone else they often get the error: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory If I have them recompile the code everything’s fine.