Questions tagged [ncurses]

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

enter image description here

Ncurses (new curses) is a programming library for controlling writing to the console screen under , and other operating systems. It is a toolkit for developing "GUI-like" applications that runs under a terminal emulator.

30 questions
37
votes
2 answers

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 Ubuntu Terminal type xterm-256color or…
Swiss
  • 536
21
votes
4 answers

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: Character set is UTF-8
tmsimont
  • 327
19
votes
3 answers

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 picture?
B. Marek
  • 309
6
votes
5 answers

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 to recompile vim from source following this…
alxyzc
  • 425
6
votes
1 answer

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 while loading shared libraries: libtinfo.so.5:…
4
votes
1 answer

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 was also easy, but I could not access the Unix modules. So…
JIStone
  • 141
4
votes
2 answers

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 bash. I'm at a loss how to debug this. My fish…
Vey
  • 171
4
votes
1 answer

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 it. 1 $ tput cols 128 2 $ tput cols…
816-8055
  • 1,327
2
votes
0 answers

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 luck finding such a facility. Before I start…
tazmanos
  • 121
  • 3
2
votes
0 answers

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 (or slightly delayed) market data. Does anybody…
ELLIOTTCABLE
  • 2,708
2
votes
0 answers

bashtop and bpytop do not display properly in putty

I have installed bashtop or bpytop (on a minimal CentOS install) but I just get a jumbled mess of colour blocks on the screen. I've made sure to do sudo yum upgrade and rebooted, but still garbled output. htop / mc work fine (I guess they use…
YorSubs
  • 1,087
2
votes
1 answer

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 behavior is not observed in ncurses 5.7 (on another CentOs…
halbeik
  • 23
1
vote
1 answer

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 for solutions, but nothing worked. When trying to…
1
vote
1 answer

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: cyrus-sasl2 kerberos5 ---> Configuring…
ario
  • 111
1
vote
1 answer

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 fine, but bwm-ng -o curses2 also results in…
tan-ce
  • 11
1
2