x11r4 man page for tk_initconsolechannels

Query: tk_initconsolechannels

OS: x11r4

Section: 3

Links: x11r4 man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 standard 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_InitConsoleChannels is for.
SEE ALSO
console(n)
KEYWORDS
standard channels, console Tk 8.5 Tk_InitConsoleChannels(3)
Related Man Pages
tk_initconsolechannels(3) - opendarwin
tk_initconsolechannels(3) - php
tk_initconsolechannels(3) - plan9
tk_initconsolechannels(3) - linux
tk_initconsolechannels(3) - redhat
Similar Topics in the Unix Linux Community
Master Console
Development curses based console applications without C or C++
Digital TV Rocks!
how do I add a user with privs to console access?
Displays the text upward