a programming library used for providing a text-based user interface

learn more… | top users | synonyms

0
votes
1answer
14 views

Display images in console (curses)?

What approach can be used to display an image in a console (no X windows)? For example, I can use curses/ncurses to divide a console into different panes, but in some situations I would like to ...
0
votes
0answers
28 views

Cannot login after pacman -Syu

A few days ago Chromium complained about wanting to be updated. I performed the following series of commands, deciding to upgrade Python for kicks. pacman -Syy pacman -S chromium pacman -S python I ...
2
votes
2answers
53 views

Detecting shift + keyup/down in the terminal

How do I do this? I want a terminal menu where shift+up or shift+down selects multiple lines. ncurses seems to have problems. I don't necessarily need an advanced terminal library. I just want to ...
0
votes
1answer
24 views

Installing tig and ncurses without root privileges

I don't have root privileges on our servers but I would like to install tig. Downloading the source and running ./configure --prefix=$HOME/pkg gives me configure: error: ncurses not found Okay, ...
1
vote
1answer
22 views

How to make program which will react on button pressing (such as “more” on 'q') [closed]

I' m trying to realize, how does work pg\more\less utilities. For example, cat somebigfile | more. More now in interactive mode. His fd table is: 0 (read pipe from cat) 1 (stdout) 2 (stderr) I can ...
10
votes
1answer
371 views

Why does bash link to ncurses?

I think I've noticed this before but never thought about it much; now I'm curious. > ldd /bin/bash linux-vdso.so.1 => (0x00007fff2f781000) libtinfo.so.5 => ...
1
vote
0answers
14 views

How do I terminate Aptitude safely

I have a TMux session with Aptitude open. The Aptitude process has been "killed" several times with STOP/CONT. Now it doesn't react to the Q key. Instead a 'q' is printed on the top-left corner of the ...
3
votes
1answer
181 views

Mocking a pseudo tty (pts)

We would like to run some curses based apps in background. These apps use curses and get the current tty port name to be used internally to map log files and others context-terminal associations. ...
3
votes
2answers
118 views

preventing terminal prompt from being overwritten by program output

Suppose I run a command like this in the terminal: ~$ echo 'sleep 2; echo "hello!"' | sh then start typing the next line. After two seconds the words "hello!\n" will be inserted into whatever I'm ...
0
votes
1answer
53 views

pager “less”: --quit-if-one-screen without --no-init [duplicate]

I can't get less --quit-if-one-screen (-F) working without --no-init (-X). less --quit-if-one-screen /proc/uptime I see no output. This works: less --quit-if-one-screen --no-init /proc/uptime ...
1
vote
1answer
758 views

A set of libraries like ncurses in a shell script

Supose you present the following TUI in the shell: I need a set of libraries that can be used in the shell to do it. Being sure, ncurses has not been used, because it make a dependecy. Question: ...
3
votes
1answer
663 views

attron(A_BLINK) using Ncurses does nothing

I'm using Ubuntu 14.04, gcc 4.8.2 and Ncurses 5.9.20140118; whenever I run any code like attron(A_BLINK); printw("Hi"); refresh(); the text that gets printed to the terminal doesn't blinks (or do ...
2
votes
1answer
74 views

Disk usage inside archives, like ncdu

I am a fond user of the ncdu utility to figure out how space is used within a directory. However, I have a use case where I am trying to choose which folders to backup and which folders not to ...
3
votes
2answers
618 views

How to create GUIs (such as menuconfig) with lxdialog

I try to generate a menuconfig by my own with the help of lxdialog (source: lxdialog). Unfortunately this is not so well documented as I wished for. Example: So what I did: I included these files ...
1
vote
1answer
350 views

ncurses-devel problems in SuSE Linux Enterprise Desktop 11

Searching on the WEB, I found this tutorial (the only one that has convinced me) for installing a new kernel and I followed the steps provided. But, I got these problems: In the first step I tried ...
0
votes
1answer
715 views

tmux: ncurses apps are displayed wrong (with garbage and so on) [duplicate]

I have ncurses apps (say, aptitude) working nice in plain xterm (or gnome-terminal, or any other terminal I've tried), but if I run it inside tmux session, screen isn't properly refreshed while I do ...
0
votes
3answers
5k views

Why can I not install ncurses development package?

I am trying to configure Asterisk 12.3.2 on Debian 6.0.9 but I am getting an error: "configure: error: *** termcap support no found (on modern systems, this typically means the ncurses development ...
7
votes
1answer
710 views

Suse 11 vs. Suse 10 difference impacting terminal colors?

I have my dotfiles versioned on github (shameless fork of other people's fine work). At work, I have them on a central linux server (SuSE Enterprise Linux 10). I rsync them from a central management ...
0
votes
2answers
716 views

How do I install gnuconio on linux [closed]

I downloaded the gnuconio on this site (http://sourceforge.net/projects/gnulinuxconioh/) I unzipped the zip he jerou me the following files: bash-4.2$ ls Doxyfile READ-ME.txt conio.c conio.ppr ...
3
votes
1answer
916 views

Cross compiling htop libncursesw not found

I'm trying to cross compile htop on an x86 Ubuntu 13.10 machine for Raspberry Pi ARM architecture. I've a crosstool-ng toolchain correctly configured, but when I use the command: ./configure ...
0
votes
0answers
291 views

What are these strange characters in wifi-menu and alsamixer?

I have a fresh install of Arch. When I run wifi-menu or alsamixer, both of which I think use dialog, the display in the shell is not correct. The border, for example, is drawn with the wrong ...
4
votes
1answer
328 views

Presentation Tools Back In The Day

Which tools were around »back in the day« to aid presentation Unix/Linux environments? I just wondered how somebody would accomplish something like slides in a e.g. text-based environment or low-end ...
1
vote
1answer
501 views

Cannot locate libncurses.so location when running a file

I'm trying to run a file name remote build which is to build a package on a target server. My target server is HP-UX-itanium 64 bit. When I run the remote build, somehow it cannot find libncurses.so ...
1
vote
1answer
411 views

Using ncurses for basic GUI on a process started inside an init script

I have a custom written application that runs on a embedded setup (buildroot). My application has to run every time the target device boots up and so I wrote an init script to do this and it works ...
0
votes
1answer
205 views

Execute remote programs and completely detaching it

I need to execute a remote application (named ConnectionManager), which uses the ncurses library, on the remote server launching it from a local pc. ConnectionManager is a program wich use ncurses ...
5
votes
1answer
739 views

command substitution handling in fish vs. other shells (sh, bash, zsh)

The program mc (Midnight Commander) is not intended to be used for command substitution, but I would like to know why different shells behave differently when this program (and it seems like other ...
-1
votes
2answers
687 views

About ncurses header file [closed]

I' running Fedora 15 (32-bit). But I can`t compile and run an ncurses program. Also, colours are not working in the terminal. What can I do to fix this?
3
votes
1answer
637 views

curses-based program for selection item from the list

Is there in the linux any program which can represent (via pipe or something like that) results of such commands as, for example, ls, cat, grep, ps etc, by means of curses (for example as listbox)? So ...
1
vote
0answers
157 views

Colour is not working with ncurses on target embedded system built with buildroot

I have built an embedded linux environment for AMD Geode target. The kernel, cross toolchain and root file system were built using buildroot and the root file system resides on my host machine and is ...
1
vote
2answers
299 views

Clear the screen and show a banner

I need a text banner on a screen which is projected all the time. The screen is connected to a PC with tmux on it. Example of text "banners": figlet $(fortune) or toilet "$(cowsay $(fortune))" ...
4
votes
2answers
1k views

How can i redirect the output to a file when the program is build with ncurses library [duplicate]

Possible Duplicate: Removing control chars (including console codes / colours) from script output If we redirect output to file in this pattern top >> somefile.txt, we get lot of ...
6
votes
2answers
898 views

Log file visualizer in a Terminal (UNIX) (terminal logging replay)

I need to log in to various servers via ssh, and its a useful thing to log the terminal (even things in smitty menus/AIX and with correct/exact date/time). I already have a solution for this: 0) # ...
2
votes
2answers
1k views

How to change the background color of curses applications?

I hate that blue background which is everywhere in ncurses applications like: irssi, mc, tig, … I want to change that color, how can I do it? I know that midnight commander has themes, but what about ...
2
votes
1answer
5k views

ncurses.h is not found, even though it is on the search path

I have installed ncurses package from source, and now I have $HOME/local/include/ncurses/curses.h $HOME/local/include/ncurses/ncurses.h on my filesystem. I have also set up the search pathes so ...
3
votes
1answer
1k views

How to run mutt via ssh without going through an interactive shell

Mutt depends on curses according to this here, my discussion with Michael: @hhh: ssh hhh@server.com mutt <--- what is wrong here? trying to run mutt there... @MichaelMrozek: mutt uses curses, ...
11
votes
3answers
968 views

Escape sequences in output of script called from ncurses application

I'm currently running mcabber as my Jabber client (which uses ncurses) in a tmux session on my homeserver. Locally i run iTerm2 as a terminal emulator, which supports the triggering of growl ...
3
votes
1answer
4k views

Real time system info script using ncurses and dialog

I'm trying to create a simple bash script that I can run over ssh that will display some basic system information using ncurses and the dialog command. I've tried two approaches so far: 1) Run dialog ...
7
votes
3answers
3k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
5
votes
1answer
1k views

GNU screen color and pine

I use GNU screen to run pine mail reader. I use external aspell to do spellchecking for the e-mails I sent. The problem is that when aspell finishes, pine restores the old content of the terminal, but ...
6
votes
1answer
1k views

Using curses with Linux console

I'm trying to use Curses on Fedora 12 to output status information to a VT (one of the terminals you can get to by pressing Ctrl+Alt+Fx). When I start up my application on one of VTs ($TERM=linux) ...
2
votes
4answers
4k views

ncurses based menus

How can I build an ncurses based menu? Are there any other solutions for building "menus" for use on the console? I just need an "inter-operating system" (all non-windows :P) solution. Are there any ...
7
votes
1answer
2k views

Converting html table into ncurses-like ascii table?

I have some documentation in an html table. I want to convert the table to an ascii table, like you see when you get a mysql command line result back, like this: +------------+------------+ | header ...
1
vote
3answers
1k views

How to reduce ncurses terminfo size

I notice that ncurses's terminfo database on /usr/share/terminfo is about 7MB (I compiled it myself). This is too large if I want to deploy it on an embedded Linux of 64MB disk space. Is there a way ...