1tcl::chan::std(n)      Reflected/virtual channel support     tcl::chan::std(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       tcl::chan::std - Standard I/O, unification of stdin and stdout
9

SYNOPSIS

11       package require Tcl  8.5
12
13       package require TclOO
14
15       package require tcl::chan::core  ?1?
16
17       package require tcl::chan::std  ?1?
18
19       ::tcl::chan::std
20
21______________________________________________________________________________
22

DESCRIPTION

24       The tcl::chan::std package provides a command creating a standard chan‐
25       nel which unifies stdin and stdout into a  single  read-  and  writable
26       channel.  The result is not seek-able, like the original standard chan‐
27       nels.
28
29       The internal TclOO class implementing the channel  handler  is  a  sub-
30       class of the tcl::chan::core framework.
31

API

33       ::tcl::chan::std
34              This command creates the std channel and returns its handle.
35
36              The  channel  is  created  only once, on the first call, and all
37              future calls simply return this handle.
38

BUGS, IDEAS, FEEDBACK

40       This document, and the package it describes, will  undoubtedly  contain
41       bugs  and other problems.  Please report such in the category virtchan‐
42       nel  of  the  Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].
43       Please  also  report any ideas for enhancements you may have for either
44       package and/or documentation.
45
46       When proposing code changes, please provide unified diffs, i.e the out‐
47       put of diff -u.
48
49       Note  further  that  attachments  are  strongly  preferred over inlined
50       patches. Attachments can be made by going  to  the  Edit  form  of  the
51       ticket  immediately  after  its  creation, and then using the left-most
52       button in the secondary navigation bar.
53

KEYWORDS

55       reflected channel, standard io, stdin, stdout, tip 219, virtual channel
56

CATEGORY

58       Channels
59
61       Copyright (c) 2011 Andreas Kupries <andreas_kupries@users.sourceforge.net>
62
63
64
65
66tcllib                                 1                     tcl::chan::std(n)
Impressum