Re: [Flashforth-devel] FF5.0 shell
Brought to you by:
oh2aun
From: Peter J. <pe...@me...> - 2015-04-30 00:20:17
|
This version catches the error and continues with the GUI interaction in order to allow changes to the port name. Pressing enter tries to open the port. Peter J. On 28/04/15 14:14, Mikael Nordman wrote: > I tried it and it works, but... > > It does not start if the default port in the code does not exist. > > Could you change it so that the shell starts, even if the port is wrong. > Otherwise the user needs to edit the code which sort of defeats the idea > with the input box. > > BR Mike > > On 26.04.2015 13:23, Peter Jacobs wrote: >> The attached version now works reliably on my Linux box (Mint 17.1) and >> a Windows 7 machine with ActiveTcl 8.6 installed. It has a little bit >> of the requested bling, including the setting of the device for the >> serial port and the speed. I couldn't think of an easy to enumerate the >> valid serial port devices for a combobox input, so I settled for a >> simple text input. Suggestions are welcome. Anyway, the main code >> feature of this version is the simpler and more careful handling of the >> incoming characters. >> >> On the new web site, I'd like to see a collection of some of the code >> snippets that have appeared on the mailing list from time to time. >> Things like reading the ADC peripheral on example chips. >> >> Cheers, >> Peter J. >> >> >> On 08/04/15 00:47, Mikael Nordman wrote: >>> I tried it out and it worked for me on xubuntu 14.04. >>> >>> More bling-bling could be added. >>> Configuration options of the serial interface would be nice. >>> >>> Thanks /Mike >>> >>> PS >>> I started to modernize the website. Anything people would like to see >>> there ? >>> DS >>> >>> >>> On 06.04.2015 02:05, Peter Jacobs wrote: >>>> 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. >>> |