proc.t Command/PROC

proc.t

Command proc.t Command/PROC
Applicable release versions: AP, R83
Category PROC (92)
Description directs output to the terminal screen and controls special terminal display functions.

Functions:

+ Suppresses carriage return after output.

b Rings terminal "bell".

c Clears terminal screen.

(column,row)
Outputs the value at the column and row coordinates.

in Outputs ASCII character with an integer value of "n".

xn Outputs ASCII character with integer hexadecimal value of "n".

"text" Outputs literal text. Double quotes are required around literal text.

(@function)
The entire complement of "@" functions are available. See "@ function (Pick/BASIC)" for a complete listing.
Syntax t {function,function,...}{+}
Options
Example
t (-1),(20,0),"Main Menu"

This command clears the screen, (-1), positions the cursor at column 20, row 0, 
and displays the string "Main Menu".

t (10,10),(-13),"Chosen",(-14),(-4)

This command positions the cursor to column 10, row 10, displays the string 
"Chosen" in reverse video, (-13) and (-14), and clears to the end of 
the line, (-4).

s1
ihy
t (0,5),"Is this OK ?"
d1+
t i8,i8
ip?

This set of instructions sets the input buffer pointer to the first position 
(s1), places a "y" in the first input buffer position (ihy), outputs 
the string "Is this OK ?" at column 0, row 5, displays the contents 
of the first buffer position and holds the cursor (d1+), outputs two backspaces 
(t i8,i8) and prompts for input (ip?).  This displays the default value 
"y", backs up the cursor two positions so that it is one character in 
front of the "y" and then issues a prompt character, "?", 
which places the cursor directly over the "y".

t c,i7,(10,10),b

This statements clears the screen (c), rings the bell by issuing a character 7 
(i7), positions the cursor at column 10, row 10, and rings the bell again (b).

t x1b,x8,"exec dir",x0

This statement is typically used to control an intelligent DOS  terminal (such 
as ViaDuct).  It sends a "preamble", consisting of an escape, 
backspace (x'1b' and x'8', specified in hex), then it sends 
the command string, "exec dir", followed by the "end" 
command character (x'0').  This statement can be written using 
integer references:

t i27,i8,"exec dir",i0
Purpose
Related cursor
basic.@.functions
tcl.term
proc.o
ue.01a6
proc
tcl.comment
ue.0192
ue.5193
crt