summaryrefslogtreecommitdiffstats
path: root/tcllib/examples/term/frame
blob: 3fdbe6067dbfdf262527cd2749e5d439684d39a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env tclsh
## -*- tcl -*-

lappend auto_path [file join [file dirname [file dirname [file dirname [info script]]]] modules]
package require term::ansi::send
package require term::ansi::code::macros
term::ansi::send::import         vt
term::ansi::code::macros::import mt

vt::init
vt::clear

puts \n\n\n\n\n\n\n\n\n\n

set para [string trim {
This software is copyrighted by William H. Duquette.
The following terms apply to all files associated
with the software unless explicitly disclaimed in
individual files.
}]

vt::showat 5 3 [mt::frame $para]
puts ""
exit