📄 readme
字号:
@(#)README 4.1 (ULTRIX) 7/2/90The files in this directory with the .ti suffix are terminfo sources.They should be compiled (separately or by catting them together intoterminfo.src) with tic, placing the results in /usr/lib/terminfo/?/*.The cvt files are useful tools for converting termcap to terminfo.They are not 100% accurate, but do most of the conversion for you.cvt.ex is an ex script to convert a termcap description into aterminfo description. Note that it will not convert padding specifications,so they must be done by hand. Note also that typical termcap entriesdo not give as much information as terminfo, so the resulting terminfoentry is often incomplete (e.g. won't tell you the terminal usesxon/xoff handshaking, or what extra function keys send). You areurged to read the list of terminfo capabilities and augment yourterminfo descriptions accordingly.The cvt.h file is useful for a quick hack at converting termcap programswhich use uppercase 2 letter names for capabilities to use terminfo.Since tget* are provided anyway, this is of questionable value unlessyour program barely fits on a pdp-11.The cvt.sed script is useful for actually editing the source of the sameclass of programs. It requires a sed that understands \< and \>, themod is trivial to make if you look at the corresponding code in ex orgrep.There are other incompatibilities at the user level between termcap andterminfo. A program which creates a termcap description and thenpasses it to tgetent (e.g. vi used to do this if no TERM was set) orwhich puts such a description in the environment for a child cannotpossibly work, since terminfo puts the parser into the compiler, notthe user program. If you want to give a child a smaller window, setup the LINES and COLUMNS environment variables or implement the JWINSIZEioctl.If you want to edit your own personal terminfo descriptions (and are nota super user on your system) the method is different. SetTERMINFO=$HOME/terminfo (or wherever you put the compiled tree) in yourenvironment, then compile your source with tic. Tic and user programswill check in $TERMINFO before looking in /usr/lib/terminfo.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -