Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_initconsolechannels(3) [plan9 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)

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console connection to ultra 2

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)
Discussion started by: yongmeic
1 Replies

2. Programming

Development curses based console applications without C or C++

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)
Discussion started by: infierno
3 Replies

3. Shell Programming and Scripting

To write to console and file

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)
Discussion started by: harikamamidala
1 Replies

4. What is on Your Mind?

Digital TV Rocks!

I will move sometime over the next few months and I cancelled my cable tv service a few weeks ago. I got some rabbit ears, but I really could only pick up a few channels and they were snowy. But I went to US government digital TV website and honestly said that my only source of tv signals was an... (1 Reply)
Discussion started by: Perderabo
1 Replies

5. UNIX for Dummies Questions & Answers

drwaing "charts" out of console

Hello all not sure where to post this answer, will try it here. i want to make a graphical overview how long the different backup groups have run. (we have like 30-40 backup groups running and a graphical overview would be usefull). Getting the times out of the logfiles etc should not be... (1 Reply)
Discussion started by: bazzed
1 Replies

6. Programming

What is the difference between console-based and xwindow-based application?

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)
Discussion started by: liuyan03
4 Replies

7. Solaris

how to create luns in A1000

hi friends how we can create luns in A1OOO storage ..plzhelp its very urgent when ever i am connect to A1000 raid controller through laptop with console cable with the help of hyperterminal..i isued serial port parameters which i mentioned below.. Set serial port parameters to: �... (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

8. Shell Programming and Scripting

Redirecting output to both console and to a file

Hi All, Is there a way in Bash we can redirection some output to both console and the file at the same time. ~Parag (2 Replies)
Discussion started by: paragkalra
2 Replies

9. Shell Programming and Scripting

Displays the text upward

I need to print out text from a file in the console up, you know someone like that? (8 Replies)
Discussion started by: gizmo16
8 Replies

10. Red Hat

CentOS 6.1 base install (like FreeBSD base install)?

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)
Discussion started by: newbie_develope
2 Replies

11. What is on Your Mind?

Favourite Games console

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)
Discussion started by: Tommyk
28 Replies

12. Shell Programming and Scripting

Read a multiline text from a console - supporting arrow keys

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)
Discussion started by: wenclu
8 Replies

13. AIX

PowerHA6

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)
Discussion started by: powerAIX
4 Replies

14. AIX

Installing programs on AIX

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)
Discussion started by: ADS2459
2 Replies

15. AIX

Install AIX , do i need hmc console

Hi, For installing aix on power series , do i need to install hmc first? or i can connect hmc after? Rgs, (7 Replies)
Discussion started by: prpkrk
7 Replies