Re: [Flashforth-devel] FF5.0 shell
Brought to you by:
oh2aun
From: Peter J. <pe...@me...> - 2015-04-05 23:32:43
|
Attached is an alternative shell written in Tcl and based on the Tk text widget. Although the code is a bit longer than Mikael's Python shell, it does come with a GUI and might be a bit simpler for beginners. It seems to be fine on my Linux machine but could do with some exercise on a Microsoft-Windows machine and/or Mac. If all is good, it can be added to the FlashForth distribution. Regards, Peter J. On 10/09/14 06:10, Mikael Nordman wrote: > The FF5.0 archive and git from today has now a simple shell > that makes FlashForth a bit easier to use. > > It is written in python. > > It has command line history and edit. > A directive for sending a file to FlashForth. > And directive for warm start for a unresponsive FF. > Exit from the shell with control-c. > > Some additional functionality could be added. > I was at least thinking of file listings and maybe file name completions. > Maybe also Forth word completions. > > Here is the help text: > ------------------------------------------------------------------ > mikael@veriton:~/ff/shell$ ./ff-shell.py --help > usage: ff-shell.py [-h] [--port PORT] [--rtscts] [--xonxoff] [--speed SPEED] > > Small shell for FlashForth > > optional arguments: > -h, --help show this help message and exit > --port PORT, -p PORT Serial port name > --rtscts Serial port RTS/CTS enable > --xonxoff Serial port XON/XOFF enable > --speed SPEED, -s SPEED > Serial port speed > > Interact with FlashForth using commmand line editing and history. Send files > to FlashForth with #send path/filename. Warm start with #warm. > > And Here is starts: > ----------------------------------------------------------------- > mikael@veriton:~/ff/shell$ ./ff-shell.py --rtscts > Port:/dev/ttyACM0 Speed:9600 rtscts:True xonxoff:False > /home/mikael/.ff.history > ok<#,ram> > Exiting ff-shell.py, goodbye... > ----------------------------------------------------------------- > > BR Mikael > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |