head	1.1;
access;
symbols
	tcllib-1-13:1.1
	tcllib-1-12:1.1
	tklib-0-5:1.1
	tcllib-1-11-1:1.1
	tcllib-1-11:1.1
	tcllib-1-10:1.1
	tcllib-1-9:1.1;
locks; strict;
comment	@# @;


1.1
date	2006.07.11.04.16.28;	author andreas_kupries;	state Exp;
branches;
next	;


desc
@@


1.1
log
@
	* New module "term". Terminal control.
	* support/installation/modules.tcl: Registered 'term'.
@
text
@#!/bin/sh
# -*- tcl -*- \
exec tclsh "$0" ${1+"$@@"}
lappend auto_path [file join [file dirname [file dirname [file dirname [info script]]]] modules]
package require term::ansi::send
term::ansi::send::import vt

vt::init
vt::clear
vt::wr \n
vt::wr {    }
vt::sda_bgcyan
vt::wr {[ Boxes II ]}
vt::sda_reset
vt::wr \n\n



set symbols {fgyz{|}~}

set     lines {}
lappend lines {opqrs}
lappend lines {}
lappend lines {lqwqk}
lappend lines {x x x}
lappend lines {tqnqu}
lappend lines {x x x}
lappend lines {mqvqj}



set foo {}
foreach line $lines {
    lappend foo "    \016$line\017  $line"
}
lappend foo {}
lappend foo "   \016lqqqqqqqqk\017"
lappend foo "   \016x\017$symbols\016x\017"
lappend foo "   \016x${symbols}x\017"
lappend foo "   \016mqqqqqqqqj\017"



vt::wr	[join $foo \n]\n\n
exit
@
