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)
Check Out this Related Man Page
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)
I have a ultra 2 enterprise server without a video card. I tried to connect my PC to the sun box through console ports using hyperterminal with the standard setting(9600, 8, N, 1) but failed. The cable I used is a DB9 female--DB25 male null modem cable. Using the same setting and cable, I could... (1 Reply)
Does somebody know if is there some development tool for make console-curses based application with more abstraction than programming directly with curses API ?
Thanks in advance! (3 Replies)
Hi,
How can i redirect the traces to both the console and to a file..
The way i was doing was:
/home/harika/harika/samp.exe
if ; then
echo "executed the first exe.." >> /dev/console;/home/harika/harika/trace.txt
/home/harika/harika/memset.exe
echo "executed the... (1 Reply)
Hi everyone,
What is the difference between console-based and Xwindow-based application?
Can I say the application working well in Xwindows can work in console?
Can I say the application working well in console cann't work in Xwindow perhaps.
Eg, ncurses is console-based and Imlib2 is... (4 Replies)
hi,
how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Hi Everyone,
we had a one IBM P650 standalone server, planning to install AIX OS on top of it, I don't have HMC, is their a way to access to console of the server using serial cable or any other option for installing OS on top of it.
Thanks, (1 Reply)
Hi All,
I have SPARC T4-4 connected with XSCF console. By mistake console user name is set to "root" instead of "sunadmin" (This is what we keep as standard). How can I change it ? Please help me
-> show /SP/users/root
/SP/users/root
Targets:
ssh
Properties:
role... (1 Reply)
Hello,
What is the simplest way to install CentOS 6.1 with console base-system only using official LiveDVD image on VirtualBox machine? I'd like to get simplest console with network support like FreeBSD base installation. Then, install services which I need.
The installer jest extracts the... (2 Replies)
So what is everyones all time favourite games console and why do you like it?
(Please - no comments on why they are better than others as that would be opinion based and cause arguments, positive comments only) (28 Replies)
Hi,
I try to read a multiline text from a console and write it to a file using a bash script. I want to end reading from a console if a user types the key twice. I tried this loop:
while read LINE; do
if 2>/dev/null; then
break
fi
echo -e ${LINE} >> $file
done
However, it doesn't... (8 Replies)
Currently ,we use Exceed,X-Win32,winaxe 7.7,Reflection X software for doing evaluation.
1.Chinese word problem
When we use "more filename" to check the file in xterm command console mode from our client Window XP to IBM AIX server.it can show the chinese word,but when we change to grahpic mode... (1 Reply)
I want to configure HA 6. I have 2 nic cards of 2 ports each. Can i create 2 ether channels and configure it in a way so that my boot ip and persistent ip will be on 2 different ether channels.
powerAIX (4 Replies)
G'day all.
Thanks to everyone for helping me getting my h50 rs/6000 server going
Now i need just a bit more help.
Can anyone tell me how i install other software using remote console? (2 Replies)