From 65e8cf9019b4fa20b68b85c3929b9b2264881180 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sat, 18 Feb 2023 13:56:39 -0700 Subject: [PATCH] Patch from Giacomo Comes: rename ksh manpage to ksh-cde The man page dtksh.1 only refers to the dt extensions. For options, operands, input files, etc, such man page points to the (k)sh.1 man page. Since the version of ksh installed with the OS is different from the one used to build dtksh, the correct documantation of dtksh can be found only in cde's ksh man page. To avoid any conflict or confusion, my patch renames cde's ksh.1 as ksh-cde.1 --- .../en_US.UTF-8/guides/man/man1_dt/ksh.sgm | 28 +++++++++---------- cde/doc/en_US.UTF-8/man/Makefile.am | 4 +-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cde/doc/en_US.UTF-8/guides/man/man1_dt/ksh.sgm b/cde/doc/en_US.UTF-8/guides/man/man1_dt/ksh.sgm index a1bc383bb..85c8443b5 100644 --- a/cde/doc/en_US.UTF-8/guides/man/man1_dt/ksh.sgm +++ b/cde/doc/en_US.UTF-8/guides/man/man1_dt/ksh.sgm @@ -32,7 +32,7 @@ Inc.--> DESCRIPTION -The dtksh utility is a version of the sh utility (defined in the &str-ZC;) ]]>extended +The dtksh utility is a version of the ksh-cde utility (defined in the &str-ZC;) ]]>extended to support: @@ -68,10 +68,10 @@ using the &str-XZ; customization tool OPTIONS -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> OPERANDS -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> RESOURCES The dtksh interpreter has no relevant resources outside @@ -80,14 +80,14 @@ a dtksh script. Refer to the manual page of the relevant widget for information on the resources that apply to that widget. STDIN -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> INPUT FILES -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> ENVIRONMENT VARIABLES The following information describes the environment variables that dtksh uses that are in addition to those documented in the manual -page for the sh command language interpreter. +page for the ksh-cde command language interpreter. Immediate Return Value (-) Many of the category 3 commands (as described in Return Values From Built-in Commands section) ]]>XtRemoveInput. Default. STDOUT -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> STDERR -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> OUTPUT FILES None. EXTENDED DESCRIPTION -The capabilities described here are extensions to those of the sh command language interpreter. See sh(1). ]]>sh in the &str-ZC;. ]]>The +The capabilities described here are extensions to those of the ksh-cde command language interpreter. See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]>The following subsections give a synopsis of each of the built-in commands added -by dtksh to sh. In general, argument +by dtksh to ksh-cde. In general, argument ordering and types are the same as for corresponding C procedures, with exceptions noted. For more detail on the functionality and arguments of a command, see the standard documentation for the corresponding X11, Xt, Motif or Desktop @@ -2970,10 +2970,10 @@ the resource name. EXIT STATUS -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> CONSEQUENCES OF ERRORS -See sh(1). ]]>sh in the &str-ZC;. ]]> +See ksh-cde(1). ]]>ksh-cde in the &str-ZC;. ]]> APPLICATION USAGE @@ -3229,7 +3229,7 @@ labelString:$(catgets $MSG_CAT_ID 1 3 "Cancel") catclose $MSG_CAT_ID The file descriptor returned by catopen must be closed -using catclose, and not using the sh exec command. +using catclose, and not using the ksh-cde exec command. Using the dtksh Utility to Access X Drawing Functions @@ -3322,6 +3322,6 @@ XtOverrideTranslations $BUTTON2 EXAMPLES None. -SEE ALSO<?Pub Caret>sh(1).]]>sh in the &str-ZC;.]]> +SEE ALSO<?Pub Caret>ksh-cde(1).]]>ksh-cde in the &str-ZC;.]]> diff --git a/cde/doc/en_US.UTF-8/man/Makefile.am b/cde/doc/en_US.UTF-8/man/Makefile.am index 0cee74c77..a3415d8b8 100644 --- a/cde/doc/en_US.UTF-8/man/Makefile.am +++ b/cde/doc/en_US.UTF-8/man/Makefile.am @@ -8,7 +8,7 @@ DBTOMAN = $(top_srcdir)/programs/dtdocbook/doc_utils/dtdocbook2man $(LANG) # first, the man pages broken down by sections MANSEC1 = man1/tttrace.1 man1/tttar.1 man1/ttsession.1 man1/ttrmdir.1 \ man1/ttrm.1 man1/ttmv.1 man1/ttcp.1 man1/tt_type_comp.1 \ - man1/huffcode.1 man1/dtwm.1 man1/dtudcfonted.1 \ + man1/ksh-cde.1 man1/huffcode.1 man1/dtwm.1 man1/dtudcfonted.1 \ man1/dtudcexch.1 man1/dttypes.1 man1/dtterm.1 man1/dtstyle.1 \ man1/dtsrload.1 man1/dtsrkdump.1 man1/dtsrindex.1 man1/dtsrhan.1 \ man1/dtsrdbrec.1 man1/dtsrcreate.1 man1/dtsession_res.1 \ @@ -523,7 +523,7 @@ man1/dtwm.1: ../guides/man/man1_dt/wm.sgm $(MANDEPS) man1/huffcode.1: ../guides/man/man1_dt/huffcode.sgm $(MANDEPS) $(DBTOMAN) cdedecl.sgm $< $@ -man1/ksh.1: ../guides/man/man1/ksh93.sgm $(MANDEPS) +man1/ksh-cde.1: ../guides/man/man1/ksh93.sgm $(MANDEPS) $(DBTOMAN) cdedecl.sgm $< $@ man1/tt_type_comp.1: ../guides/man/man1/tt_typ_c.sgm $(MANDEPS)