A system library which allows a text-based GUI environment at a shell. It supports windows, text, colors, and more. Many programs use ncurses.

learn more… | top users | synonyms

1
vote
1answer
326 views

Why can't I use conio.h or ncurses.h?

I am new user to Ubuntu. I wrote a simple program in C. When I try to compile it to use conio.h, the compiler gives me fatal error. So I tried by ncurses.h, but still I am getting same error.
2
votes
1answer
74 views

How do I create simplistic window-like elements in a command-line program?

When I execute sudo dpkg-reconfigure lightdm in the terminal I see a simplistic window-like listmenu. Is there an way to make something like that in C++? This looks something like:
0
votes
1answer
53 views

After update to 14.04, ncurses seems to have bugs (cursor still visible in petris)

I just upgraded to 14.04, and wanted to kill time by playing some petris. Then I noticed this: The problem also exists in other terminals. Is there some option I can set to get the terminal to not ...
0
votes
1answer
1k views

trying to install libncurses dev package for ubuntu 14.04 [duplicate]

I am trying to install libncurses for Ubuntu 14.04. But, it is showing the following error: root@sharwariDell:/usr/src# sudo apt-get install libncurses5-dev Reading package lists... Done Building ...
1
vote
0answers
40 views

NCurses reports ~ instead of Numpad_HOME with Gnome-Terminal [closed]

I've written a small program that makes use of ncurses. When I run this program in gnome-terminal (U13.10) on my laptop (ASUS M70SA), ncurses reports the ~ key (126) when I press numpad HOME (numpad ...
-1
votes
1answer
4k views

missing libncurses.so.5

I was installing free pascal IDE on Ubuntu 12.04 at x64 AMD. When i run fp file it says: ./fp: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or ...
1
vote
2answers
382 views

Where do I get ncurses man pages from?

I can't find the ncurses man pages even after: sudo apt-get install libncurses5-dev
1
vote
1answer
502 views

specify non-printing keys as input to shell command

Ubuntu 12.04 LTS Server 64 I have a shell script that runs in unattended mode. The script executes a command that displays a curses/ncurses UI which normally expects the user to navigate a menu via ...
2
votes
0answers
130 views

Is there an ncurses tool for upstart similar to ntsysv or sysv-rc-conf?

I'd like to be able to use a terminal or console to configure runlevels. I don't need the conditions for starting and stopping services to be any more complicated than sysv. I just want to base ...
7
votes
2answers
30k views

How do I install ncurses header files?

I was trying to configure the kernel and I got the following error. Can somebody please tell me what should I do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
0
votes
1answer
1k views

error while compiling speech_tools can not find -lcurses

I get the following error when compiling speech_tools. /usr/bin/ld: cannot find -lcurses /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[1]: *** [ch_lab] Error 1 make: ...
25
votes
5answers
10k views

Is there a file explorer/manager for the command line?

I would like to know if there is something like DOS interface for Ubuntu. I mean a "GUI" that can run from the console (for example if you are using Ubuntu Server). Some file explorer like Nautilus ...
3
votes
1answer
694 views

How do I get to the options in nvlc?

I recently found out about the ncurses vlc command line interface, nvlc and tried to access the options with no success; the nvlc -option command as the help manual suggested didn't do anything I'm ...
2
votes
1answer
6k views

How to get screen size through python curses

I'm writing a terminal program and need to get the size of the TTY I'm using. The Internet seems to suggest this can be done with curses, but I can't seem to find out how in python. I'm trying to ...
0
votes
1answer
2k views

“file too short” error while loading libtermcap.so / libncurses.so

On my Ubuntu 11.10, I am running a version of gdb for different target other than host machine and I am getting the following error: xxxxx-none-linux-gnu-gdb: error while loading shared libraries: ...
1
vote
1answer
210 views

Is there any ncurses archiver interface available?

I am looking for a way to create archives on the commandline with some minimal ASCII interface. Could be for tar, zip or rar files, but should provide miniml ncurses (or other) "fake" graphical ...
6
votes
1answer
7k views

How to add the ncurses.h to a C++ program compiled on gcc?

I am totally new to C++ programming on gcc. I wanted to add color to my text on the output on the console. Since there is no conio.h on linux, I researched and found that ncurses.h could do the trick. ...