1term::send(n)                  Terminal control                  term::send(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       term::send - General output to terminals
9

SYNOPSIS

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

DESCRIPTION

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

BUGS, IDEAS, FEEDBACK

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  Trackers  [http://core.tcl.tk/tcllib/reportlist].   Please
41       also  report any ideas for enhancements you may have for either package
42       and/or documentation.
43
44       When proposing code changes, please provide unified diffs, i.e the out‐
45       put of diff -u.
46
47       Note  further  that  attachments  are  strongly  preferred over inlined
48       patches. Attachments can be made by going  to  the  Edit  form  of  the
49       ticket  immediately  after  its  creation, and then using the left-most
50       button in the secondary navigation bar.
51

KEYWORDS

53       character output, control, terminal
54

CATEGORY

56       Terminal control
57
59       Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
60
61
62
63
64tcllib                                0.1                        term::send(n)
Impressum