1tcl::transform::spacer(nR)eflected/virtual channel suppotrctl::transform::spacer(n)
2
3
4
5______________________________________________________________________________
6
8 tcl::transform::spacer - Space insertation and removal
9
11 package require Tcl 8.6
12
13 package require tcl::transform::core ?1?
14
15 package require tcl::transform::spacer ?1?
16
17 ::tcl::transform::spacer chan n ?space?
18
19______________________________________________________________________________
20
22 The tcl::transform::spacer package provides a command creating a chan‐
23 nel transformation which adds spacing to the data written to it, and
24 removes such spacing from the data read from it.
25
26 The internal TclOO class implementing the transform handler is a sub-
27 class of the tcl::transform::core framework.
28
30 ::tcl::transform::spacer chan n ?space?
31 This command creates a spacer transformation on top of the chan‐
32 nel chan and returns its handle.
33
34 The space character sequence will be added every n bytes of data
35 written, and on the read side the same is done in reverse,
36 removing the spacing. If space is not specified it defaults to a
37 single space character (ASCII 32).
38
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
55 channel transformation, reflected channel, spacing, tip 230, transfor‐
56 mation, virtual channel
57
59 Channels
60
62 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
63
64
65
66
67tcllib 1 tcl::transform::spacer(n)