<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.9 2003/08/31 17:32:24 petere 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>

 <indexterm zone="app-pgtksh">
  <primary>pgtksh</primary>
 </indexterm>

 <refsynopsisdiv>
  <cmdsynopsis>
   <command>pgtksh</command>
   <arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>argument</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>
    <xref linkend="pgtcl"> (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:
-->
