⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tget.1

📁 Unix操作系统minix 2.0源码
💻 1
字号:


TGET(1)                   Minix Programmer's Manual                    TGET(1)


NAME
     tget - get termcap values

SYNOPSIS
     tget [-flag id] [-num id] [-str id] [-goto col line] [[-echo] string]

DESCRIPTION
     Tget allows shell scripts access to  the  termcap(3)  functions.   Flags,
     numbers  and  strings  can be queried from the termcap database under the
     entry denoted by the environment variable $TERM.

OPTIONS

     -flag id
          Set the exit status to zero if  the  flag  id  is  set.   All  other
          options  except  -echo  set the exit status to id being available or
          not.  The last option sets the final exit code.

     -num id
          Print the value of the numeric variable id.

     -str id
          Print the value of the string variable id.

     -goto col line
          Generates instructions to go to the given column and line if the  cm
          capability exists.

     -echo string
          Prints string.  Any other argument that does not start with  a  dash
          is also printed.

EXAMPLE
     Try this:  tget -str so 'Reverse Video' -str se

ENVIRONMENT

     TERM           Terminal type.

     TERMCAP        Path    to    the    termcap    database,    by    default
                    /etc/termcap:/usr/etc/termcap.

SEE ALSO
     termcap(3).

DIAGNOSTICS
     Tget will fail immediately with a  descriptive  message  if  the  termcap
     entry can't be found.




                                                                             1



TGET(1)                   Minix Programmer's Manual                    TGET(1)


AUTHOR
     Kees J. Bot (kjb@cs.vu.nl)


















































                                                                             2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -