Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

5. Shell Programming and Scripting

how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable

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

6. AIX

How to access console for P650 server.

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

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

8. Emergency UNIX and Linux Support

Change username in XSCF

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

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

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

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

12. AIX

X11 Font problem

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