Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

mget question

Basically, I like to know how "mget" command work in terms of data/control channels and in terms of request-respond dialogue. Also, when I try the command as an example below, is it true than for each file to be transferred, there is a new connection establish? (ie. transferred one file,... (5 Replies)
Discussion started by: ho_k
5 Replies

2. UNIX for Dummies Questions & Answers

Master Console

I was a sys admin on a HP3000. I was able to virtually move the console where ever I needed it for commands that had to be done at the master console. So I could be at home and perform some functions that you would usually have to do from the console. Now I am sys admin newbee on an AIX pseries.... (2 Replies)
Discussion started by: Beetlejuice
2 Replies

3. 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

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. 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

6. 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

7. Solaris

zfs web console

i need how to use graphical user interface for zfs using web console , thanks (3 Replies)
Discussion started by: Amr
3 Replies

8. 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

9. Red Hat

implement management console

HI All, I have 5 linux Servers in my DC. Now I need to install Management console for all these servers, Can any one guide me , what are all the necessary things needed to do this and any steps to be followed. Thanks in advance, JeganR (2 Replies)
Discussion started by: jegaraman
2 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