[Flashforth-devel] FF5.0 shell
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2014-09-09 20:10:44
|
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 |