term::send(3tcl)
β¨ term::send β bestie edition β¨
okay so this is the term::send page from section 3tcl, filed under Terminal control, and it's literally the most baby-steps package in the whole terminal family π«Ά
πΈ NAME πΈ
term::send β general output to terminals, no cap π
π SYNOPSIS π
package require Tcl 8.5 9
package require term::send ?0.2?
::term::send::wrch chan str
::term::send::wr str
π DESCRIPTION π
so this package is likeβ¦ the bare minimum. the most primitive little commands for yeeting characters at a terminal π¦ it's giving "convenient wrappers around the builtin command puts", and honestly? iconic. no notes.
::term::send::wrch chan strβ sends the text str to the channel that the handle chan is pointing at π and here's the tea: unlike the builtinputs, this one does not slap a line terminator on the end of the string. it also forces a flush of both the Tcl internal buffers and the OS buffers, so those characters get processed immediately β¨ no sitting around in a buffer, no waiting, we're moving fast.::term::send::wr strβ the low-effort bestie version π works exactly like::term::send::wrch, except the destination channel is hardcoded tostdout. that's it. that's the whole thing.
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes will undoubtedly contain bugs and other problems π like, it's software, be so fr.
please report them in the category term of the Tcllib Trackers: http://core.tcl.tk/tcllib/reportlist
also please send any ideas for enhancements you have for the package and/or the documentation, we want them, we're obsessed with them π₯°
when proposing code changes, please provide unified diffs, i.e. the output of diff -u. periodt.
also note: attachments are strongly preferred over inlined patches π you can attach stuff by going to the Edit form of the ticket right after it's created, and then using the left-most button in the secondary navigation bar. yw bestie π
π₯ KEYWORDS π₯
character output, control, terminal
π CATEGORY π
Terminal control
π COPYRIGHT π
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
and that's the whole page, bestie π§ this was tcllib, version 0.3, the term::send manual page β mwah, go forth and send some characters π
β¨
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- Copyright (c) 2006 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms