How can I check which terminal definitions are available?

user14382

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 could iterate over a list of terminals, and do something like:

for TERM in xterm xtermc xterm-color xterm-256color screen rxvt
do
    tput cols >/dev/null 2>/dev/null && echo "$TERM available"
done

But it's slow. Any options to discover path used by tput to terminal definitions, and run "find" myself?

Karlson

On Solaris 10 you can do:

find /usr/share/lib/terminfo -type f -print

You should be able to do something like:

find /usr -type d -name terminfo -print

to find where the directory is located.

You can also read to find the exact path:

man terminfo

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How I can check if it something available in socket?

From Dev

How can I check if a string is available in a table?

From Dev

How can I bypass available memory check?

From Dev

How do I check if a terminal is available through my gnuplot script?

From Dev

How do I check which minimum API is the feature available for?

From Dev

How can I check which program is in focus?

From Dev

How can I decide which python I will open in mac terminal?

From Dev

How can I run a command which will survive terminal close?

From Dev

How can I check latest available version of Symfony with any API?

From Dev

How can I check the available shells in Mac OSX?

From Dev

How can I check the available version of a package in the repositories?

From Dev

How can I check if cgroups are available on my Linux host?

From Dev

How can I check my favorated commands from the terminal?

From Dev

How can I check my favorated commands from the terminal?

From Java

How can I check which version of Angular I'm using?

From Dev

how can I check which version of vim I have installed?

From Dev

How can I check which JRE version I have?

From Dev

Is a new repository created on GitHub, a bare repository? Isn't there a terminal on GitHub with which I can check?

From Dev

Is a new repository created on GitHub, a bare repository? Isn't there a terminal on GitHub with which I can check?

From Dev

How can I find out which shell commands are available in a POSIX compliant Linux system and which ones are not?

From Dev

How can I check since which Matlab version a function exists?

From Dev

How can I check which XSLT processor is being used in Solr?

From Dev

How can I check which startup arguments was R started with

From Dev

How can I check for which command is run in setup.py?

From Dev

how can I check which submit button was pressed?

From Dev

How can I quickly check which Git branch is the newest?

From Dev

How can I check which option is selected in menu?

From Dev

how can I check which submit button is clicked

From Dev

How can I check which application opens a file by extension?

Related Related

  1. 1

    How I can check if it something available in socket?

  2. 2

    How can I check if a string is available in a table?

  3. 3

    How can I bypass available memory check?

  4. 4

    How do I check if a terminal is available through my gnuplot script?

  5. 5

    How do I check which minimum API is the feature available for?

  6. 6

    How can I check which program is in focus?

  7. 7

    How can I decide which python I will open in mac terminal?

  8. 8

    How can I run a command which will survive terminal close?

  9. 9

    How can I check latest available version of Symfony with any API?

  10. 10

    How can I check the available shells in Mac OSX?

  11. 11

    How can I check the available version of a package in the repositories?

  12. 12

    How can I check if cgroups are available on my Linux host?

  13. 13

    How can I check my favorated commands from the terminal?

  14. 14

    How can I check my favorated commands from the terminal?

  15. 15

    How can I check which version of Angular I'm using?

  16. 16

    how can I check which version of vim I have installed?

  17. 17

    How can I check which JRE version I have?

  18. 18

    Is a new repository created on GitHub, a bare repository? Isn't there a terminal on GitHub with which I can check?

  19. 19

    Is a new repository created on GitHub, a bare repository? Isn't there a terminal on GitHub with which I can check?

  20. 20

    How can I find out which shell commands are available in a POSIX compliant Linux system and which ones are not?

  21. 21

    How can I check since which Matlab version a function exists?

  22. 22

    How can I check which XSLT processor is being used in Solr?

  23. 23

    How can I check which startup arguments was R started with

  24. 24

    How can I check for which command is run in setup.py?

  25. 25

    how can I check which submit button was pressed?

  26. 26

    How can I quickly check which Git branch is the newest?

  27. 27

    How can I check which option is selected in menu?

  28. 28

    how can I check which submit button is clicked

  29. 29

    How can I check which application opens a file by extension?

HotTag

Archive