Sponsored Content
Full Discussion: PowerHA6
Operating Systems AIX PowerHA6 Post 302751401 by zxmaus on Friday 4th of January 2013 01:04:50 AM
Old 01-04-2013
Hi,
yes you can if you want but there is no real need any more to have both.

Regards
zxmaus
 
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)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy