Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ncurses]

Ncurses is software for controlling writing to the console screen under Unix, Linux and other operating systems.

1
vote
1answer
30 views

No colors in weechat, tig, htop, ranger, etc

I noticed that on my Mac I don't have any colors in e.g., tig, weechat, htop or ranger. On my linux I do. It happens in all terminal apps I have (alacritty, iterm and Terminal.app), in zsh, fish and ...
4
votes
1answer
537 views

stderr redirection in subshell changes output of tput

So I'm working on a script and found some odd behaviour. I'm sure there is a logical explanation why the output of the 4th and 6th command line is different than in the other cases, but I fail to find ...
1
vote
1answer
215 views

How to change SYSIN and SYSOUT (curses mode) for a background process to another terminal session (screen utility)?

I currently run an background process started by a deamon process. It has no terminal and works fine as it doesn't have any screen i/o. It is started via a shell script which I can change. The shell ...
1
vote
1answer
302 views

How do i change the behavior of **clear** on CentOS7 such that it will NOT clear scrollback buffers on xterm?

I have a VM running CentOs 7.2.1511. It includes ncurses 5.9. I use both MobaXterm and PuTTY. Whenever I run the clear command, the scrollback buffers are cleared automatically as well. This ...
3
votes
1answer
1k views

parallel install ncurses-6 & ncurses-5 on fedora 24

I just upgraded from fedora 23 to 24, and it broke some binaries I have on my system that were not installed from fedora's repositories, due to the ncurses upgrade from version 5 to version 6: error ...
1
vote
2answers
194 views

FreeBSD SSH terminal windows

When I run a ncurses-based tool, say nano, in a Linux/OSX SSH session and then close it, the terminal session is back with the history and everything. But if I start nano in a FreeBSD SSH session and ...
1
vote
1answer
1k views

Why is 256 color display not working with linux console, while it does with screen?

I am working on a python program with a text-mode GUI based on urwid. urwid is a library to create ncurses-style programs with python. Operating System is CentOS 7. Everything works fine under '...
0
votes
1answer
889 views

How can I run ncurses program with 256 colors in the gnome terminal?

My problem: I want to run ncurses in 256-colors mode in the gnome terminal. I already know that you can turn on this color mode with: # export TERM=xterm-256color But this solution is not ...
14
votes
3answers
16k views

Why does YaST now show lines as lqqqqqqqqqqqqqqq?

Today my YaST started rendering lines like this: It makes it difficult to read.. Any idea what this is about and how I can fix it? I tried rebooting, no dice. Edit -- here's my PuTTY config: ...
2
votes
0answers
1k views

Convert htop output to HTML

I wish to view the output of htop as a web page (and possibly add interactivity later on) and I expected this to be readily available (e.g. ncurses capture-screen-and-convert-to-html), but I had no ...
2
votes
4answers
8k views

tgetent() not found while compiling vim

Currently I'm trying to install the YouCompleteMe extension to my vim setup, but it requires my vim to have the version of 7.3.584 or higher. The vim shipped with my Ubuntu 12.10 is 7.3.547, so I had ...
0
votes
1answer
1k views

Mac — Macports/Wine errors: NCurses library and Fontconfig

I've been trying to get Wine on my Mac to run some of my old PC games. I used Macports to install it, but it didn't work right away. I followed This tutorial, and then looked around a bit on the web ...
0
votes
0answers
824 views

Is it possible for Windows' command prompt to display the correct charters when connected to a linux machine via SSH?

I'm sorry for the long question, but I wanted to make sure it got the point across. The thing is, that no matter what I do, when I use a linux-based console application that uses ncurses, via SSH ...
1
vote
1answer
766 views

Error during configuring kerberos5 using macports

While trying to install libmemcached via MacPorts, I hit the following issue: libmemcached @0.40 +universal ---> Computing dependencies for libmemcached ---> Dependencies to be installed:...
1
vote
1answer
406 views

GNU Screen garbling bmon

bmon runs fine in a regular terminal, however, when run from inside screen the output is garbled and unusable. This problem doesn't affect all curses applications - top and htop run fine. bwm-ng runs ...
4
votes
1answer
9k views

How to install Python 2.7 with Unix libraries on Cygwin

How do I install Python 2.7 with Unix libraries on Cygwin? Obviously getting Python 2.6 is easy - just install the Cygwin package with setup.exe. Installing the Windows version of Python 2.7 ...
0
votes
2answers
2k views

How to setup and use lcurses (curses for Lua)?

I'm not very good at manual installation. I want to use lcurses, a binding of curses for Lua in a program, with require('curses'). When I run make in the lcurses directory, there is an error ...
18
votes
3answers
16k views

Is it possible to view images in a terminal?

I have ssh access to my web server. I have some image files there and I would like to see a preview of. Is there a tool that will help me? Is there a curses-based viewer that will approximate the ...
1
vote
1answer
506 views

Looking for a powerful, user friendly terminal emulator based on ncurses

I often work remotely on SSH shell. I would like a more user friendly interface to my shell, based on NCurses : Possiblity to open several virtual terminals with shells Organise terminals by tabs or ...
0
votes
2answers
96 views

Is there a cursor-based interface to change environment variables?

I often need to change a small part of long environment variable (especially, e.g., paths), and do it either by pasting the thing into an editor and changing it there, or the equivalent. Is there ...
2
votes
0answers
106 views

Financial and real-time market-data software for the command line

I can easily build HUDs at command prompts for stuff like the weather, my to-dos, Twitter, IRC, etcetera; but the one thing I’m always stuck going to my iPhone or browser for, constantly, is real-time ...
31
votes
2answers
18k views

Making 256-color AND Line drawing characters both work in PuTTY

I'm having trouble setting up PuTTY with Ubuntu. I'm trying to get line characters to work in aptitude as well as 256-color support, but can only get one or the other. Ubuntu Config Using 64-bit ...
1
vote
1answer
923 views

Interactive command to let user change directory in bash

I am looking for a CURSES-based way (bash, c, doesn't really matter) of letting a user choose a folder or even a file in roughly the same way that they would do using Midnight Commander. I envisage ...
-1
votes
1answer
529 views

Mac OS X Cursors do not work in ncursers (rtorrent) application

I have 2 Mac OS X 10.6.5 systems and installed rtorrent using: brew install rtorrent On my MacBook (MacBook3,1, Intel Core 2 Duo, 2.2GHz) rtorrent works fine. However on my Mac mini (Macmini4,1, ...
0
votes
2answers
837 views

100% CPU Runaway Processes (NCurses?)

This is a problem I've had for years, but just haven't posted anywhere about it until now. I'm running GRML, a Debian squeeze based Linux distro, and occasionally certain processes will runaway and ...
1
vote
1answer
324 views

Linux ncurses outliner options

I'm looking for a replacement for hnb, which served me well but seems to be abandoned. Please do not suggest text-editor based approaches like emacs org mode or vim outliner. I want a stand-alone ...