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 character output, control, terminal
39
41 Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
42
43
44
45
46term 0.1 term::send(n)