Questions tagged [ncurses]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
74 views

Trouble installing ncurses

I've git cloned a program I need: https://github.com/dbdexter-dev/meteor_demod When I try to compile it with make, I get a fatal error: ncurses.h: No such file or catalog So I tried sudo apt install ...
1
vote
1answer
47 views

Is there a file manager that can serially number files and subfolders in the currently viewed directory?

Is there a file manager that can serially number files and sub-folders in the currently viewed directory?
0
votes
0answers
58 views

Ncurses & mouse position

Всем доброго времени суток господа! Я сегодня столкнулся с одной проблемой. Писал недавно на windows, используя библиотеку PDcurses, но в один момент захотелось покодить на linux ubuntu. Я столкнулся ...
2
votes
1answer
1k views

Unable to find ncurses library

I've run into a problem with Wine/winetricks, where I get the following error: Wine cannot find the ncurses library (libncurses.so.6). However, running sudo apt install libncurses6 just gives me a ...
0
votes
0answers
47 views

ubuntu atom compilation probllem getch() main':<br/>trial.cpp:(.text+0x9b): undefined reference to stdscr'

I already have ncurses properly installed but atom still won't compile. I have this error message: "/tmp/ccEtNmpt.o: In function main':<br/>trial.cpp:(.text+0x9b): undefined reference tostdscr' ...
0
votes
0answers
37 views

Use curses to execute separate code

I am trying to create a simple GUI that will let the user execute a separate, standalone C program. The program is mildly complex but self-sufficient. Once it gets executed, it'll perform everything ...
0
votes
1answer
82 views

Python 2.7 script using curses being automatically backgrounded when halfdelay or cbreak is called

I am currently working on modernizing (was made on Trusty 14.04, modernizing for Bionic 18.04) a python script that uses curses to create a menu for a user. During the initial launch of the script ...
0
votes
1answer
307 views

lib not found (ncurses)

I'm trying to compile this c++ project: https://github.com/YvesZHI/FallingCode I've successfully compiled it on my Mac OS, however, when I try to compile it on my ubuntu16.04, I get errors as below: ...
1
vote
0answers
101 views

Is there a text-based OSK for Ubuntu linux or nodejs?

I'm looking for a soft keyboard that runs inside a terminal session on the server-- i.e. TUI not GUI, for use with a touch-screen like phone or tab, using something like ncurses or blessed (node.js ...
0
votes
1answer
716 views

How can I resize a terminal screen with the python curses library?

I am trying to resize the terminal screen to a specific size (say 34X107) to run a python curse based program. I'm not able to figure out how to do it.
0
votes
1answer
323 views

Automate keystroke enter in curses with command from bash

I don't see any solution to my problem in the existing aricles,so guys please help I want to automate installation so i'm using the sudo apt-get -y --force-yes install the program that i want to ...
0
votes
0answers
1k views

Wireless Network Manager command line ncurses GUI

Is there any software that can manage wireless network connection using ncurses? So I just installed Ubuntu Server 17.04, trying to connect via wireless, but iwconfig not installed, so I install ...
1
vote
1answer
5k views

Can't use ncurses libraries

It says it requires the ncurses libraries but I already have those installed. $ make menuconfig find vendors -mindepth 2 '(' -name .svn -prune ')' -o -type f -name Kconfig -print | sed 's:^:source .....
3
votes
1answer
553 views

Problem Ubuntu putting out characters in both UTF-8 and ISO-8859-1

I use PuTTY to connect to my Xubuntu system. When I set the translation to UTF-8 the fancy output from systemd looks fine but a ncurses application show up oddly. When I set the translation in PuTTY ...
1
vote
1answer
443 views

How to repair apt / auto upgrades?

I was trying to look at the differences between the two files that unattended upgrades was asking me about. And while resizing the windows, I accidentally hit to keep the old file /etc/apt/apt.conf.d/...
3
votes
1answer
1k views

How to get rid of purple background color in newt apps?

For some reason newt apps (whiptail, partimage, debconf ...) have all decided to use purple background. How to get regular blue background back ? $ whiptail --title 'WARNING' --yesno "Completely ...
2
votes
1answer
2k views

vim binary with all libraries statically linked

I want to build vim with all libraries, which vim depends on, statically linked. Vim version is sufficient to run YouCompleteMe. I use the following flags with configure script: $./configure --with-...
2
votes
1answer
273 views

Passing Strings to /bin/login

I'm in the process of creating a login wrapper for /bin/login so that when you boot Linux you get a TUI Login instead of the bland login on the tty console. This will be just a bash script for this ...
1
vote
1answer
1k views

No module named _curses

I am very new to both Ubuntu and python. I am trying to run a code and getting : ImportError: No module named _curses. I tried: sudo apt-get update sudo apt-get install build-essential sudo ...
1
vote
1answer
315 views

wicd-curses errors on fresh default 14.04 install

I have a brand new fresh 14.04 ubuntu install but cannot get wicd-curses to run. I can use wicd-gtk but I need wicd-curses to work as well. ERROR ~ sudo wicd-curses [sudo] password for ry: ...
0
votes
1answer
779 views

Unmet dependency issues [duplicate]

I recently installed ncurses and from then on I have been getting similar errors while trying to install new libraries You might want to run 'apt-get -f install' to correct these: The following ...
1
vote
0answers
519 views

Ncurses problem

I try to make my first program which use ncurses. The problem is that screen got clean when it meet first time ch = getch(); # include "sys/ioctl.h" # include "ncurses.h" # include "unistd.h" int ...
1
vote
1answer
2k views

ncurses line-drawing not working on console

When I try to use a curses-based program on a virtual console, the line and box drawing part are not working, as below in the display when running dpkg-reconfigure console-setup. I'm using the the vga ...
4
votes
1answer
18k 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.
4
votes
1answer
1k 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
178 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 ...
8
votes
1answer
49k 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
1answer
223 views

how to implement the functions which are defined inside the conio.h

I wanted to use the conio.h header file in one of my C codes but as we know the header file is not available for Ubuntu, what should we do if we want to implement the functions if the header file ...
1
vote
1answer
27k 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 ...
7
votes
3answers
3k 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
2k 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
250 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 ...
58
votes
3answers
218k 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 I should do? root@nitr-desktop:/usr/src/linux# make menuconfig *** Unable to find the ncurses ...
2
votes
1answer
5k 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: ***...
46
votes
6answers
35k 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
1k 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 ...
6
votes
1answer
22k 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
9k 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: /...
2
votes
1answer
596 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 ...
8
votes
1answer
20k 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. ...