1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00

13216: docs for tc/ti modules

This commit is contained in:
Clint Adams 2000-12-03 23:32:09 +00:00
parent 13b93a5faa
commit 683cf32360
6 changed files with 53 additions and 8 deletions

View file

@ -1,5 +1,9 @@
2000-12-03 Clint Adams <schizo@debian.org>
* 13216: Doc/Zsh/.distfiles, Doc/Zsh/builtins.yo,
Doc/Zsh/mod_termcap.yo, Doc/Zsh/mod_terminfo.yo,
Src/Modules/.distfiles: documentation for 13215.
* 13215: Src/builtin.c, Src/Modules/termcap.c,
Src/Modules/termcap.mdd, Src/Modules/terminfo.c,
Src/Modules/terminfo.mdd: move echotc builtin to termcap

View file

@ -6,8 +6,8 @@ DISTFILES_SRC='
mod_clone.yo mod_compctl.yo mod_complete.yo mod_complist.yo
mod_computil.yo mod_deltochar.yo mod_example.yo mod_files.yo
mod_mapfile.yo mod_mathfunc.yo mod_parameter.yo mod_sched.yo
mod_stat.yo mod_zftp.yo mod_zle.yo mod_zleparameter.yo mod_zutil.yo
mod_zprof.yo mod_zpty.yo
mod_stat.yo mod_termcap.yo mod_terminfo.yo mod_zftp.yo mod_zle.yo
mod_zleparameter.yo mod_zutil.yo mod_zprof.yo mod_zpty.yo
modules.yo modlist.yo modmenu.yo manmodmenu.yo
options.yo params.yo prompt.yo redirect.yo restricted.yo seealso.yo
zftpsys.yo zle.yo contrib.yo

View file

@ -258,12 +258,6 @@ The tt(-E) flag, or the tt(BSD_ECHO) option, can be used to disable
these escape sequences. In the latter case, tt(-e) flag can be used to
enable them.
)
findex(echotc)
cindex(termcap string, printing)
item(tt(echotc) var(cap) [ var(arg) ... ])(
Output the termcap string corresponding to the capability
var(cap), with optional arguments.
)
findex(emulate)
cindex(compatibility, sh)
cindex(compatibility, ksh)
@ -943,6 +937,8 @@ Suspend the execution of the shell (send it a tt(SIGTSTP))
until it receives a tt(SIGCONT).
Unless the tt(-f) option is given, this will refuse to suspend a login shell.
)
module(termcap)(zsh/termcap)
module(terminfo)(zsh/terminfo)
findex(test)
xitem(tt(test) [ var(arg) ... ])
item(tt([) [ var(arg) ... ] tt(]))(

13
Doc/Zsh/mod_termcap.yo Normal file
View file

@ -0,0 +1,13 @@
COMMENT(!MOD!zsh/termcap
Interface to the termcap database.
!MOD!)
The tt(zsh/termcap) module makes available one builtin command:
startitem()
findex(echotc)
cindex(termcap string, printing)
item(tt(echotc) var(cap) [ var(arg) ... ])(
Output the termcap string corresponding to the capability
var(cap), with optional arguments.
)
enditem()

23
Doc/Zsh/mod_terminfo.yo Normal file
View file

@ -0,0 +1,23 @@
COMMENT(!MOD!zsh/terminfo
Interface to the terminfo database.
!MOD!)
The tt(zsh/terminfo) module makes available one builtin command:
startitem()
findex(echoti)
cindex(terminfo string, printing)
item(tt(echoti) var(cap))(
Output the terminfo string corresponding to the capability
var(cap).
)
enditem()
The tt(zsh/terminfo) module makes available one parameter:
startitem()
vindex(terminfo)
item(tt(terminfo))(
An associative array that maps terminfo capability names to
their values.
)
enditem()

View file

@ -4,5 +4,14 @@ DISTFILES_SRC='
clone.mdd clone.c
example.mdd example.c
files.mdd files.c
mapfile.mdd mapfile.c
mathfunc.mdd mathfunc.c
parameter.mdd parameter.c
stat.mdd stat.c
termcap.mdd termcap.c
terminfo.mdd terminfo.c
zftp.mdd zftp.c
zprof.mdd zprof.c
zutil.mdd zutil.c
zpty.mdd zpty.c
'