<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.6 2003/01/19 00:13:31 momjian Exp $
PostgreSQL documentation
-->

<refentry id="APP-PGTKSH">
 <refmeta>
  <refentrytitle>pgtksh</refentrytitle>
  <manvolnum>1</manvolnum>
  <refmiscinfo>Application</refmiscinfo>
 </refmeta>

 <refnamediv>
  <refname>pgtksh</refname>
  <refpurpose>
   <productname>PostgreSQL</productname> <application>Tcl/Tk</application> shell client
  </refpurpose>
 </refnamediv>

 <refsynopsisdiv>
  <cmdsynopsis>
   <command>pgtksh</command>
   <arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
  </cmdsynopsis>
 </refsynopsisdiv>

 <refsect1 id="app-pgtksh-description">
  <title>
   Description
  </title>

  <para>
   <command>pgtksh</command> is a <application>Tcl/Tk</application>
   shell interface extended with <productname>PostgreSQL</productname>
   database access functions.  (Essentially, it is
   <command>wish</command> with <filename>libpgtcl</filename> loaded.)
   Like with <command>wish</command>, the regular
   <application>Tcl/Tk</application> shell, the first command line
   argument is a script file, any remaining arguments are passed to
   the script.  Special options may be processed by the
   <application>X Window System</application> libraries instead.
   If no script file is named, the shell is interactive.
  </para>

  <para>
   A plain <application>Tcl</application> shell with
   <productname>PostgreSQL</productname> functions is available as <xref
   linkend="app-pgtclsh">.
  </para>
 </refsect1>

 <refsect1>
  <title>See Also</title>

  <simplelist type="inline">
   <member><xref linkend="app-pgtclsh"></member>
   <member>
    &cite-programmer; (description of <filename>libpgtcl</filename>)
   </member>
   <member>
    <citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
   </member>
   <member>
    <citerefentry><refentrytitle>wish</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
   </member>
  </simplelist>
 </refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:"/usr/lib/sgml/catalog"
sgml-local-ecat-files:nil
End:
-->
