Questions tagged [ncurses]

The ncurses package is a subroutine library for terminal-independent screen-painting and input-event handling.

The Ncurses (new curses) library is a free software emulation of curses portable to most terminal systems. It uses Terminfo format, supports pads, color, multiple highlights, forms, characters and function-key mapping, and has all the other SYSV-curses enhancements over BSD Curses.

See also: -

1850 questions
0
votes
2 answers

lib32-ncurses not installing into rootfs

I am trying to add 32-bit ncurses into my root file system I am using intel yocto bsp sumo branch Here is my local.conf: require conf/multilib.conf DEFAULTTUNE_virtclass-multilib-lib32 = "x86" IMAGE_INSTALL_append = " dpkg gnutls lib32-glibc…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
0
votes
1 answer

How to tell CMake to recursively search include directory when specificying INCLUDE_PATH in CMakeCache.txt

I have recently built ncurses-6.1 using the source code and would like to configure my build of STIR (software for tomographic image reconstruction) to use this recent version of ncurses. However, I cannot figure out how to tell cmake to search…
0
votes
0 answers

Segmentation fault when using `curses` in Python on Ubuntu 18.04

I recently upgraded from Ubuntu 16.04 to Ubuntu 18.04 (directly, skipping intermediary versions). Since the upgrade python is Segfaulting when I try to use the curses module. This happens in both Python versions that are installed by…
replay
  • 3,569
  • 3
  • 21
  • 30
0
votes
1 answer

Unicode Box Drawing characters not printed in Ruby

I work on a game in Ruby. It uses ncurses to draw window contents and refresh the screen. This all works fine on macOS, where I develop the stuff. But on Linux, I cannot get anything besides plain ASCII to print when interfacing with ncurses either…
ctietze
  • 2,805
  • 25
  • 46
0
votes
1 answer

Curses isn't registering mouse clicks in Python

I want to make naughts and crosses (or tic-tac-toe in some places) in Python. Here is my code so far. import curses board = {"1A": " ", "2A": " ", "3A": " ", "1B": " ", "2B": " ", "3B": " ", "1C": " ", "2C": " ", "3C": " "} s =…
PC MR
  • 11
  • 2
0
votes
2 answers

Unable to build poky recipes: /poky/meta/recipes-core/ncurses/ncurses_6.0+20171125.bb:do_install failed

I am trying to build the meta-altera layer recipes from Altera FPGA, but it seems I am unable to bake the poky recipes-core/ncurses recipe. I am seeing the error message ERROR:…
Jack Frye
  • 583
  • 1
  • 7
  • 28
0
votes
0 answers

Compiling with MinGW crashes while Cygwin works

I'm writing a simple roguelike, and I was compiling statically to test, but I found that the program a) crashes when input is given, and b) does not seem to randomize at all when I compiled with MinGW. I switched over to Cygwin to check it out, and…
penelope
  • 1
  • 2
0
votes
1 answer

execvp() output creates indent for ncurses

I'm having a weird problem with my current project. Using ncurses I'm making a shell based on lsh, before I introduced ncurses it was working as one would expect with just writing the output from execvp. Now however, the length of the output makes…
mikkel1156
  • 71
  • 3
  • 10
0
votes
1 answer

REPORT_MOUSE_POSITION for ncurses on Windows

Having trouble with continuously reading the mouse position from a a simple c# wrapper around Thomas Dickey's Windows build of ncurses here, I can call most of the API without any issues. However, I can't read the mouse position except when there is…
McGuireV10
  • 9,572
  • 5
  • 48
  • 64
0
votes
1 answer

ncurses compiling: 'stdscr'/lib64/libtinfo.so.6: error adding symbol

I'm trying to compile anything using ncurses and I have some sort of linking error. Why? Thanks in advance for your help. #include #include int main(void) { initscr(); printw("Hello World!!"); refresh(); …
fxkrait
  • 71
  • 7
0
votes
1 answer

how to get a correctly sized window in ncurses

I am trying out ncurses programming in C on Linux (Mint) and am having a strange problem. I keep getting windows with the wrong number of columns for the first and final lines. For example, with this code found on StackOverflow #include…
0
votes
1 answer

Ncurses output of 'sl' changes if running on a terminal verses from a log?

I'm writing a terminal, and was trying to use steam locomotive as a test bed, and ran into an unusual problem. Even in a regular terminal like xterm or mate-terminal, the output is different if you run the application, i.e. sl verses if you log it…
Charles Lohr
  • 695
  • 1
  • 8
  • 23
0
votes
1 answer

NCurses 6.0 Compilation Error Using Android-NDK

I'm trying to cross-compile ncurses using android-ndk but compilation error shows halfway the process. Command: CC=~/my-toolchain/bin/arm-linux-androideabi-gcc ./configure --host=arm-linux-androideabi --prefix=/Android Output: **…
1995
  • 23
  • 4
0
votes
1 answer

ncursesw on actual svga console colors are not correct

I'm using ncursesw which does output some cchar_t items, everything works fine from a terminal opened in a GUI, but when on the actual PC console, the colors are off (standard simple colors) for some of the items and those do use setcchar(&cch, wch,…
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

ncurses & entering multi key characters

I'm trying to enter multi-characters in an ncurses-application (e.g. accents, special characters): I enter before that in the terminal: xmodmap -e "keycode 66 = Multi_key" and then: capslock e = (these 3 keys) gives an euro sign: € <- there you…
Folkert van Heusden
  • 433
  • 4
  • 17
  • 38