Questions tagged [terminfo]

7 questions
16
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
  • 642
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,406
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…
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,271
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…
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…
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