send.tcl

Go to the documentation of this file.
00001 /*  -*- tcl -*-*/
00002 /*  ### ### ### ######### ######### #########*/
00003 /*  Terminal packages - Generic sender operations*/
00004 
00005 /*  ### ### ### ######### ######### #########*/
00006 /*  Requirements*/
00007 
00008 namespace ::term::send {}
00009 
00010 /*  ### ### ### ######### ######### #########*/
00011 /*  API. Write to channel, or default (stdout)*/
00012 
00013 ret  ::term::send::wr (type str) {
00014     wrch stdout $str
00015     return
00016 }
00017 
00018 ret  ::term::send::wrch (type ch , type str) {
00019     puts -nonewline $ch $str
00020     flush           $ch
00021     return
00022 }
00023 
00024 namespace ::term::send {
00025     namespace export wr wrch
00026 }
00027 
00028 /*  ### ### ### ######### ######### #########*/
00029 /*  Ready*/
00030 
00031 package provide term::send 0.1
00032 
00033 /** 
00034  * ### ### ### ######### ######### #########
00035 

Generated on 21 Sep 2010 for Gui by  doxygen 1.6.1