Skip to main content

Questions tagged [terminfo]

Terminfo is a data base describing terminals, used by screen-oriented programs such as nvi(1), rogue(1) and libraries such as ncurses(3NCURSES). Terminfo describes terminals by giving a set of capabilities which they have, by specifying how to perform screen operations, and by specifying padding requirements and initialization sequences. - taken from the manpage.

2 votes
2 answers
293 views

When I connect to a remote macOS Sonoma from a Linux RHEL 8 with ssh -J user@portal user@mac and, once connected, I run vim somefile, I get some extraneous characters at the top-left of the "page&...
Fravadona's user avatar
  • 1,668
2 votes
1 answer
1k views

The thread's title pretty much says it all. When I googled this question, I found mentions of a program called untic that supposedly does what I want to do, but this program does not seem to be ...
kjo's user avatar
  • 16.4k
2 votes
0 answers
191 views

I recently started to work in a shared Linux cluster that a version of gnu-screen that I consider unacceptably old (4.01, from 2006). I was not able to convince the system's administrators to install ...
kjo's user avatar
  • 16.4k
0 votes
1 answer
531 views

I am trying to make my shell script supporting as much terminals as possible, that is, adding ANSI colors, bold and dim only when supported. However, I want to detect the number of colors supported. ...
sudoer's user avatar
  • 65
0 votes
3 answers
486 views

I'm using a Wyse50 Terminal emulation on Rocky Linux 9. Man pages, help screens, etc., are unusable because the system outputs attribute and color codes that the terminal emulator doesn't understand;...
Darrel Barton's user avatar
0 votes
1 answer
484 views

Many modern terminal emulators include definitions for box drawing glyphs directly in their own source code, and disregard the versions provided by the font when rendering the display. Is there a ...
rent-yr-chemicals's user avatar
1 vote
0 answers
201 views

I'm trying to write some code using the ncurses dialog library (available everywhere, source mirror is here) and I'm trying to decide dynamically in code whether to use dialog or just print to stderr ...
Chris Hecker's user avatar
0 votes
1 answer
604 views

i just started using tmux and have been trying to bind my MENU key to prefix but it is giving me "bad key bind error", it would be nice to know what keys are valid or what to write in the ...
sanoj's user avatar
  • 1
1 vote
1 answer
408 views

Some terminal applications (e.g. mosh) use the terminal in the alternate screen, thereby disabling the terminal emulator's local scrolling. mosh does not allow overriding its terminal settings (as far ...
JanKanis's user avatar
  • 1,649
-1 votes
2 answers
408 views

The effect of bold typeface (ANSI: CSI 1 m) seems to depend on the terminal emulator. For example, running the following script on different terminal emulators #!/bin/sh echo "TERM = $TERM" ...
user001's user avatar
  • 3,818
1 vote
1 answer
469 views

Suppose I have the following color support in one of my portable shell scripts: #!/bin/sh set -o nounset tput_init_linux () { set_fg_color='tput setaf'; reset_color=$(tput sgr0 2>/dev/null); } ...
Vlastimil Burián's user avatar
6 votes
1 answer
7k views

I want to enable italics in tmux (inside iTerm2 on macOS Big Sur 11.3). I have achieved this by setting this in .tmux.conf set -g default-terminal "tmux-256color" And I have installed ...
Klas Mellbourn's user avatar
6 votes
1 answer
4k views

I have installed some custom terminfo with tic command. How do I list all terminfo in the database (e.g. with infocmp) and how to delete specific terminfo? Here's my idea as of right now: On Linux, ...
G. Bai's user avatar
  • 163
1 vote
2 answers
403 views

How can one retrieve status of terminal settings like smam and rmam ? Reason is that I set rmam by: tput rmam in script, then proceed to set smam on exit: tput smam But if terminal has rmam set when ...
ibuprofen's user avatar
  • 3,060
6 votes
1 answer
3k views

As the title asked, what's the difference? When should I use one or the other? Also, anyone got a "canonical" definition of putty-256color's termcap/terminfo? Google had been less than ...
pepoluan's user avatar
  • 1,433

15 30 50 per page