1term::send(n) Terminal control term::send(n)
2
3
4
5______________________________________________________________________________
6
8 term::send - General output to terminals
9
11 package require Tcl 8.4
12
13 package require term::send ?0.1?
14
15 ::term::send::wrch chan str
16
17 ::term::send::wr str
18
19_________________________________________________________________
20
22 This package provides the most primitive commands for sending charac‐
23 ters to a terminal. They are in essence convenient wrappers around the
24 builtin command puts.
25
26 ::term::send::wrch chan str
27 Send the text str to the channel specified by the handle chan.
28 In contrast to the builtin command puts this command does not
29 terminate the string with a line terminator. It also forces an
30 flush of Tcl internal and OS buffers to ensure that the charac‐
31 ters are processed immediately.
32
33 ::term::send::wr str
34 This convenience command is like ::term::send::wrch, except that
35 the destination channel is fixed to stdout.
36
38 This document, and the package it describes, will undoubtedly contain
39 bugs and other problems. Please report such in the category term of
40 the Tcllib SF Trackers [http://source‐
41 forge.net/tracker/?group_id=12883]. Please also report any ideas for
42 enhancements you may have for either package and/or documentation.
43
45 character output, control, terminal
46
48 Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
49
50
51
52
53term 0.1 term::send(n)