source: tol/tolsh/tolsh.vfs/lib/tcllib1.10/term/send.tcl @ 8597867d

1941-docker-image-to-testdevel
Last change on this file since 8597867d was 8597867d, checked in by Jorge Pérez <josp.jorge@…>, 16 years ago

closes #976, se incluye tcllib1.10, base64 debe eliminarse del raiz de lib ya que esta incluido en tcllib

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2556 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 654 bytes
Line 
1# -*- tcl -*-
2# ### ### ### ######### ######### #########
3## Terminal packages - Generic sender operations
4
5# ### ### ### ######### ######### #########
6## Requirements
7
8namespace eval ::term::send {}
9
10# ### ### ### ######### ######### #########
11## API. Write to channel, or default (stdout)
12
13proc ::term::send::wr {str} {
14    wrch stdout $str
15    return
16}
17
18proc ::term::send::wrch {ch str} {
19    puts -nonewline $ch $str
20    flush           $ch
21    return
22}
23
24namespace eval ::term::send {
25    namespace export wr wrch
26}
27
28# ### ### ### ######### ######### #########
29## Ready
30
31package provide term::send 0.1
32
33##
34# ### ### ### ######### ######### #########
Note: See TracBrowser for help on using the repository browser.