From 683cf32360315429e710e6b637d3126ea471e7b1 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 3 Dec 2000 23:32:09 +0000 Subject: 13216: docs for tc/ti modules --- ChangeLog | 4 ++++ Doc/Zsh/.distfiles | 4 ++-- Doc/Zsh/builtins.yo | 8 ++------ Doc/Zsh/mod_termcap.yo | 13 +++++++++++++ Doc/Zsh/mod_terminfo.yo | 23 +++++++++++++++++++++++ Src/Modules/.distfiles | 9 +++++++++ 6 files changed, 53 insertions(+), 8 deletions(-) create mode 100644 Doc/Zsh/mod_termcap.yo create mode 100644 Doc/Zsh/mod_terminfo.yo diff --git a/ChangeLog b/ChangeLog index 9310814ef..4104b8888 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-12-03 Clint Adams + * 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 diff --git a/Doc/Zsh/.distfiles b/Doc/Zsh/.distfiles index 9ff58abbf..2cf686ec9 100644 --- a/Doc/Zsh/.distfiles +++ b/Doc/Zsh/.distfiles @@ -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 diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 42b189139..ec7c00830 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -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(]))( diff --git a/Doc/Zsh/mod_termcap.yo b/Doc/Zsh/mod_termcap.yo new file mode 100644 index 000000000..46ce79d68 --- /dev/null +++ b/Doc/Zsh/mod_termcap.yo @@ -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() diff --git a/Doc/Zsh/mod_terminfo.yo b/Doc/Zsh/mod_terminfo.yo new file mode 100644 index 000000000..9e0e6665a --- /dev/null +++ b/Doc/Zsh/mod_terminfo.yo @@ -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() diff --git a/Src/Modules/.distfiles b/Src/Modules/.distfiles index 4c98f97ea..ecc2d21c7 100644 --- a/Src/Modules/.distfiles +++ b/Src/Modules/.distfiles @@ -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 ' -- cgit 1.4.1