Is there a command that can be issued from the microcontroller to clear the
terminal window?
TclTerm enhancements
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: TclTerm enhancements
There is no command to do that now, but you could add one.
Both BASICtools and MakeItC are Tcl programs that include TclTerm.tcl
In each case serial data from the micro gets displayed through the Tcl routine
getRS232. In that routine you could add a check for a special character or
sequence of characters that would then call the routine clearButton.
For instance--
if {[string first "-CLEAR" $serial_in] >= 0} clearButton
would do it
You don't need to setup a Tcl environment, as both BASICtools and MakeItC have a
FreeWrap version of Tcl.
Both BASICtools and MakeItC are Tcl programs that include TclTerm.tcl
In each case serial data from the micro gets displayed through the Tcl routine
getRS232. In that routine you could add a check for a special character or
sequence of characters that would then call the routine clearButton.
For instance--
if {[string first "-CLEAR" $serial_in] >= 0} clearButton
would do it
You don't need to setup a Tcl environment, as both BASICtools and MakeItC have a
FreeWrap version of Tcl.
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: TclTerm enhancements
OK, I'll give that a try. thanks again.
Re: TclTerm enhancements
I checked the latest TclTerm.tcl file for this phrase :
Gary
with some of the updates you have done - what was this replaced by??In each case serial data from the micro gets displayed through the Tcl routine
getRS232
Gary
Re: TclTerm enhancements
getUSB_SER