Questions tagged [terminfo]
7 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?
![](../../users/profiles/7343.webp)
pra
- 622
- 1
- 5
- 13
11
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…
![](../../users/profiles/388.webp)
Murali Suriar
- 10,166
- 8
- 40
- 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…
![](../../users/profiles/30946.webp)
Mircea Vutcovici
- 16,706
- 4
- 52
- 80
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…
![](../../users/profiles/61930.webp)
Ency
- 1,201
- 1
- 19
- 26
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…
![](../../users/profiles/117906.webp)
yael
- 2,363
- 4
- 28
- 41
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…
![](../../users/profiles/48827.webp)
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