Hi all: Matthias Trute <mtr...@web.de> writes:
> Hi Keith, > > The #terminal flag would require a source code inspection and > an annotation. Technically a good idea, but from the users > perspective less ideal. IMHO. > >> My suggestion to handle this situation would be to do too things: >> >> 1. Add a #terminal directive that starts a terminal connected to >> the target over the serial line. If this terminal can be extremely >> simplistic and included in amforth-shell itself that would be >> ideal. When the user exits the terminal they get back to the >> shell. 2. Add a customizable list of words which should >> automatically trigger the terminal when they are sent to the >> target. The user could then interact with the target as >> appropriate and manually exit the terminal to get back to the shell >> when appropriate. >> > > 3. A solution that notices the timeout and switches somehow the way of > communication into a "raw" mode. Something that may be another way to > handle the " > |I=Entering amforth interactive interpreter > |E=Input character not echoed. > " > situation too. Perhaps with a prompt change too. > > Better ideas welcome ;) I suggest simply changing read_response(self) in amforth-shell.py to echo characters while waiting for "ok". Regards, Enoch. > > Matthias > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel