Skip to content

Commit 668c598

Browse files
committed
Update/correct/refine.
1 parent b562c62 commit 668c598

File tree

2 files changed

+81
-86
lines changed

2 files changed

+81
-86
lines changed

doc/src/sgml/ref/pgtclsh.sgml

Lines changed: 39 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,74 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.2 2000/12/25 23:15:26 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.3 2001/03/06 17:43:56 petere Exp $
33
Postgres documentation
44
-->
55

66
<refentry id="APP-PGTCLSH">
77
<docinfo>
8-
<date>2000-12-25</date>
8+
<date>2001-03-05</date>
99
</docinfo>
1010

1111
<refmeta>
12-
<refentrytitle id="app-pgtclsh-title">
13-
<application>pgtclsh</application>
12+
<refentrytitle>
13+
pgtclsh
1414
</refentrytitle>
1515
<manvolnum>1</manvolnum>
1616
<refmiscinfo>Application</refmiscinfo>
1717
</refmeta>
18+
1819
<refnamediv>
19-
<refname>
20-
<application>pgtclsh</application>
21-
</refname>
20+
<refname>pgtclsh</refname>
2221
<refpurpose>
23-
<productname>Postgres</productname> TCL shell client
22+
<productname>PostgreSQL</productname> <application>Tcl</application> shell client
2423
</refpurpose>
2524
</refnamediv>
25+
2626
<refsynopsisdiv>
2727
<cmdsynopsis>
2828
<command>pgtclsh</command>
29+
<arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
2930
</cmdsynopsis>
30-
31-
<refsect2 id="R2-APP-PGTCLSH-1">
32-
<title>
33-
Inputs
34-
</title>
35-
<para>
36-
37-
<variablelist>
38-
<varlistentry>
39-
<term><replaceable class="PARAMETER">dbname</replaceable></term>
40-
<listitem>
41-
<para>
42-
The name of an existing database to access.
43-
</para>
44-
</listitem>
45-
</varlistentry>
46-
</variablelist>
47-
</para>
48-
</refsect2>
49-
50-
<refsect2 id="R2-APP-PGTCLSH-2">
51-
<title>
52-
Outputs
53-
</title>
54-
<para>
55-
</para>
56-
</refsect2>
5731
</refsynopsisdiv>
5832

59-
<refsect1 id="R1-APP-PGTCLSH-1">
33+
<refsect1 id="app-pgtclsh-description">
6034
<title>
6135
Description
6236
</title>
37+
6338
<para>
64-
<application>pgtclsh</application> provides a TCL shell interface
65-
for <productname>Postgres</productname>.
39+
<command>pgtclsh</command> is a <application>Tcl</application>
40+
shell interface extended with
41+
<productname>Postgres</productname> database access functions.
42+
(Essentially, it is <command>tclsh</command> with
43+
<filename>libpgtcl</filename> loaded.) Like with the regular
44+
<application>Tcl</application> shell, the first command line
45+
argument is a script file, any remaining arguments are passed to
46+
the script. If no script file is named, the shell is
47+
interactive.
6648
</para>
6749

6850
<para>
69-
Another way of accessing <productname>Postgres</productname>
70-
through tcl is to use
71-
<xref linkend="app-pgtksh">
72-
or
73-
<xref linkend="app-pgaccess">.
51+
A <application>Tcl</application> shell with
52+
<application>Tk</application> and
53+
<productname>Postgres</productname> functions is available as <xref
54+
linkend="app-pgtksh">.
7455
</para>
7556
</refsect1>
57+
58+
<refsect1>
59+
<title>See Also</title>
60+
61+
<simplelist type="inline">
62+
<member><xref linkend="app-pgtksh"></member>
63+
<member>
64+
<citetitle>PostgreSQL Programmer's Guide</citetitle> (description of <filename>libpgtcl</filename>)
65+
</member>
66+
<member>
67+
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
68+
</member>
69+
</simplelist>
70+
</refsect1>
71+
7672
</refentry>
7773

7874
<!-- Keep this comment at the end of the file

doc/src/sgml/ref/pgtksh.sgml

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,77 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.2 2000/12/25 23:15:26 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.3 2001/03/06 17:43:56 petere Exp $
33
Postgres documentation
44
-->
55

66
<refentry id="APP-PGTKSH">
77
<docinfo>
8-
<date>2000-12-25</date>
8+
<date>2001-03-05</date>
99
</docinfo>
1010

1111
<refmeta>
12-
<refentrytitle id="app-pgtksh-title">
13-
<application>pgtksh</application>
12+
<refentrytitle>
13+
pgtksh
1414
</refentrytitle>
1515
<manvolnum>1</manvolnum>
1616
<refmiscinfo>Application</refmiscinfo>
1717
</refmeta>
18+
1819
<refnamediv>
19-
<refname>
20-
<application>pgtksh</application>
21-
</refname>
20+
<refname>pgtksh</refname>
2221
<refpurpose>
23-
<productname>Postgres</productname> graphical TCL/TK shell
22+
<productname>PostgreSQL</productname> <application>Tcl/Tk</application> shell client
2423
</refpurpose>
2524
</refnamediv>
25+
2626
<refsynopsisdiv>
2727
<cmdsynopsis>
2828
<command>pgtksh</command>
29+
<arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
2930
</cmdsynopsis>
30-
31-
<refsect2 id="R2-APP-PGTKSH-1">
32-
<title>
33-
Inputs
34-
</title>
35-
<para>
36-
37-
<variablelist>
38-
<varlistentry>
39-
<term><replaceable class="PARAMETER">dbname</replaceable></term>
40-
<listitem>
41-
<para>
42-
The name of an existing database to access.
43-
</para>
44-
</listitem>
45-
</varlistentry>
46-
</variablelist>
47-
</para>
48-
</refsect2>
49-
50-
<refsect2 id="R2-APP-PGTKSH-2">
51-
<title>
52-
Outputs
53-
</title>
54-
<para>
55-
</para>
56-
</refsect2>
5731
</refsynopsisdiv>
5832

59-
<refsect1 id="R1-APP-PGTKSH-1">
33+
<refsect1 id="app-pgtksh-description">
6034
<title>
6135
Description
6236
</title>
37+
6338
<para>
64-
<application>pgtksh</application> provides a graphical TCL/TK shell interface
65-
for <productname>Postgres</productname>.
39+
<command>pgtksh</command> is a <application>Tcl/Tk</application>
40+
shell interface extended with <productname>Postgres</productname>
41+
database access functions. (Essentially, it is
42+
<command>wish</command> with <filename>libpgtcl</filename> loaded.)
43+
Like with <command>wish</command>, the regular
44+
<application>Tcl/Tk</application> shell, the first command line
45+
argument is a script file, any remaining arguments are passed to
46+
the script. Special options may be processed by the
47+
<application>X Window System</application> libraries instead.
48+
If no script file is named, the shell is interactive.
6649
</para>
6750

6851
<para>
69-
Another way of accessing <productname>Postgres</productname>
70-
through <acronym>TCL</acronym> is to use
71-
<xref linkend="app-pgtclsh">
72-
or
73-
<xref linkend="app-pgaccess">.
52+
A plain <application>Tcl</application> shell with
53+
<productname>Postgres</productname> functions is available as <xref
54+
linkend="app-pgtclsh">.
7455
</para>
7556
</refsect1>
57+
58+
<refsect1>
59+
<title>See Also</title>
60+
61+
<simplelist type="inline">
62+
<member><xref linkend="app-pgtclsh"></member>
63+
<member>
64+
<citetitle>PostgreSQL Programmer's Guide</citetitle> (description of <filename>libpgtcl</filename>)
65+
</member>
66+
<member>
67+
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
68+
</member>
69+
<member>
70+
<citerefentry><refentrytitle>wish</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
71+
</member>
72+
</simplelist>
73+
</refsect1>
74+
7675
</refentry>
7776

7877
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)