tmsh::display¶
Description¶
Provides access to the tmsh pager. Output generated with the Tcl
command puts is not paged.
Each call to tmsh::display is sent to the pager individually. Thus, if
you want multiple lines output in a single instance of the pager you
need to store all the output in a string first and output it with one
call to tmsh::display.
Examples¶
set result "Inactive Virtuals:\n"
if { [string length $down] == 0 } {
append result " none\n"
} else {
append result $down
}
tmsh::display $result