|
1 | 1 | <!--
|
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 $ |
3 | 3 | Postgres documentation
|
4 | 4 | -->
|
5 | 5 |
|
6 | 6 | <refentry id="APP-PGTKSH">
|
7 | 7 | <docinfo>
|
8 |
| - <date>2000-12-25</date> |
| 8 | + <date>2001-03-05</date> |
9 | 9 | </docinfo>
|
10 | 10 |
|
11 | 11 | <refmeta>
|
12 |
| - <refentrytitle id="app-pgtksh-title"> |
13 |
| - <application>pgtksh</application> |
| 12 | + <refentrytitle> |
| 13 | + pgtksh |
14 | 14 | </refentrytitle>
|
15 | 15 | <manvolnum>1</manvolnum>
|
16 | 16 | <refmiscinfo>Application</refmiscinfo>
|
17 | 17 | </refmeta>
|
| 18 | + |
18 | 19 | <refnamediv>
|
19 |
| - <refname> |
20 |
| - <application>pgtksh</application> |
21 |
| - </refname> |
| 20 | + <refname>pgtksh</refname> |
22 | 21 | <refpurpose>
|
23 |
| - <productname>Postgres</productname> graphical TCL/TK shell |
| 22 | + <productname>PostgreSQL</productname> <application>Tcl/Tk</application> shell client |
24 | 23 | </refpurpose>
|
25 | 24 | </refnamediv>
|
| 25 | + |
26 | 26 | <refsynopsisdiv>
|
27 | 27 | <cmdsynopsis>
|
28 | 28 | <command>pgtksh</command>
|
| 29 | + <arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg> |
29 | 30 | </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> |
57 | 31 | </refsynopsisdiv>
|
58 | 32 |
|
59 |
| - <refsect1 id="R1-APP-PGTKSH-1"> |
| 33 | + <refsect1 id="app-pgtksh-description"> |
60 | 34 | <title>
|
61 | 35 | Description
|
62 | 36 | </title>
|
| 37 | + |
63 | 38 | <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. |
66 | 49 | </para>
|
67 | 50 |
|
68 | 51 | <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">. |
74 | 55 | </para>
|
75 | 56 | </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 | + |
76 | 75 | </refentry>
|
77 | 76 |
|
78 | 77 | <!-- Keep this comment at the end of the file
|
|
0 commit comments