Questions tagged [terminfo]

8 questions
14
votes
5 answers

List supported terminal types?

Is there a portable way to list supported terminal types on all NX systems? If not, what's the best way to get this list on Solaris?
pra
  • 622
  • 1
  • 5
  • 13
13
votes
4 answers

How can one set a terminal's title with the 'tput' command?

I discovered through this answer that I've been setting terminal colours in my prompt in a naive way for years. I've now modified my .bashrc to use 'tput' commands to colourise various elements of my prompt. The one remaining escape code I have is…
Murali Suriar
  • 10,296
  • 8
  • 41
  • 62
4
votes
2 answers

Detect terminal type with tput

I would like to configure the terminal type by detecting it. For example when I am connecting to a Solaris box with PuTTY, the $TERM variable is set to vt100. I would like to negotiate this so, when the terminal emulator is PuTTY, to set $TERM to…
Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83
1
vote
1 answer

GNU screen cannot find terminfo entry on HP-UX

I am trying to make screen work on HP-UX B.11.23 U ia64 0308561483 unlimited-user license. Please notice I do not have root access. I have already compiled screen successfully, configured with LIBS=-lcurses. When I try to start screen it…
Ency
  • 1,231
  • 1
  • 19
  • 27
1
vote
1 answer

tput command + bold specific strings in file

please advice how to bold the "Date & Time" numbers from the following file with tput command ( I have Solaris machine) for example I want to bold only the "24-09-2009 16:17:45" etc for all other date and time the tput will write in my ksh script…
yael
  • 2,433
  • 5
  • 31
  • 43
1
vote
1 answer

screen not setting $TERM to screen

I have a problem with gnu screen. Computer 1: open terminal $ printenv TERM xterm-color $ screen $ printenv TERM screen Computer 2: open terminal $ printenv TERM xterm-color $ screen $ printenv TERM xterm-color Both computers are running Mac OS X…
gdelfino
  • 95
  • 1
  • 9
0
votes
1 answer

How to bind action to ctrl-f1 in screen?

I know I can do: bindkey "...." action where .... is what i get by typing ctrl-v and then ctrl-f1. but it looks bad, contains bad characters (^[), and is generally not cool. when binding to f1, i can do: bindkey -k k1 action but I can't seem to…
user13185
0
votes
0 answers

root$ tput sgr0 0 - unknown terminfo capability '0'

After upgrading from Fedora Core 36 to 37 I noticed that tput sgr0 0 has started reporting errors for root, but not for other users. root$ tput -V ncurses 6.2.20201017 root$ echo $TERM xterm-256color root$ tput sgr0 0 tput: unknown terminfo…
Ted Lyngmo
  • 71
  • 6