• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.34 Terminal Control
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Terminal Control
          • tty_get_capability/3
          • tty_goto/2
          • tty_put/2
          • tty_size/2
    • Packages
Availability:built-in
tty_get_capability(+Name, +Type, -Result)
Get the capability named Name from the termcap library. See termcap(5) for the capability names. Type specifies the type of the expected result, and is one of string, number or bool. String results are returned as an atom, number results as an integer, and bool results as the atom on or off. If an option cannot be found, this predicate fails silently. The results are only computed once. Successive queries on the same capability are fast. This predicate can raise several exceptions if the terminal environment is incomplete, notably if the environment variable TERM does not exist or there is no matching entry in the termcap database.
ClioPatria (version V3.1.1-51-ga0b30a5)