This manual page is part of Xcode Tools version 3.2.2

To obtain these tools:

If you are running a version of Xcode Tools other than 3.2.2, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



Tk_InitConsoleChannels(3)                   Tk Library Procedures                  Tk_InitConsoleChannels(3)



____________________________________________________________________________________________________________

NAME
       Tk_InitConsoleChannels - Install the console channels as standard channels

SYNOPSIS
       #include <tk.h>

       Tk_InitConsoleChannels(interp)

ARGUMENTS
       Tcl_Interp *interp (in)          Interpreter in which the console channels are created.
____________________________________________________________________________________________________________

DESCRIPTION
       Tk_InitConsoleChannels  is  invoked to create a set of console channels and install them as the stan-dard standard
       dard channels. All I/O on these channels will be discarded until Tk_CreateConsoleWindow is called  to
       attach the console to a text widget.

       This  function  is  for  use by shell applications based on Tk, like wish, on platforms which have no
       standard channels in graphical mode, like Win32.

       The interp argument is the interpreter in which to create and install the console channels.

       NOTE: If this function is used it has to be called before  the  first  call  to  Tcl_RegisterChannel,
       directly, or indirectly through other channel functions. Because otherwise the standard channels will
       be already initialized to the system defaults, which will be nonsensical  for  the  case  Tk_InitCon-soleChannels Tk_InitConsoleChannels
       soleChannels is for.

SEE ALSO
       console(n)

KEYWORDS
       standard channels, console



Tk                                                   8.5                           Tk_InitConsoleChannels(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Tk project.
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Tk project through their bug reporting page.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...