📄 tget.1
字号:
.TH TGET 1.SH NAMEtget \- get termcap values.SH SYNOPSIS.B tget.RB [ \-flag.IR id ].RB [ \-num.IR id ].RB [ \-str.IR id ].RB [ \-goto.IR "col line" ].RB [[ \-echo ].IR string ].SH DESCRIPTION.B Tgetallows shell scripts access to the.BR termcap (3)functions. Flags, numbers and strings can be queried from the termcapdatabase under the entry denoted by the environment variable.BR $TERM ..SH OPTIONS.TP.BI \-flag " id"Set the exit status to zero if the flag.I idis set. All other options except.B \-echoset the exit status to.I idbeing available or not. The last option sets the final exit code..TP.BI \-num " id"Print the value of the numeric variable.IR id ..TP.BI \-str " id"Print the value of the string variable.IR id ..TP.BI \-goto " col line"Generates instructions to go to the given column and line if the.B cmcapability exists..TP.BI \-echo " string"Prints.IR string .Any other argument that does not start with a dash is also printed..SH EXAMPLETry this:.B tget -str so 'Reverse Video' -str se.SH ENVIRONMENT.TP 15n.B TERMTerminal type..TP.B TERMCAPPath to the termcap database, by default /etc/termcap:/usr/etc/termcap..SH "SEE ALSO".BR termcap (3)..SH DIAGNOSTICS.B Tgetwill fail immediately with a descriptive message if the termcap entrycan't be found..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -