[Flashforth-devel] Fwd: Re: ff-shell and the Raspberry Pi
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2016-09-14 19:21:47
|
Hi, In the python shell I have command history and line editing functions. There the line_edit (=readline) function blocks the output from FF. Thats why the python shell has two threads, one for input and one for output. I am sure there is a readline function for TCL somewhere also that could be used for line edit and history. Some redesign of the TCL shell would be needed though. There are some things missing in the python shell, at least listing of files and directories and change of directory could be added. BR Mikael On 2016-09-14 17:33, Pete Zawasky wrote: > Hi Peter, > > First of all, enjoy the time in Paris. Sounds great. > > Thanks for the thoughts on the "Command History" implementation for > ff-shell.tcl . > That would be very helpful here. I have just gotten too used to it in > other terminal programs. > Perhaps the "Command History" could be optional at start-up or even be > a > Menu selection. > Let me know if I can help test it out. > > As far as the bounced emails, I have gotten a couple of reports of this > lately. Even from customers! > We have not been able to trace the root cause and it has not been > consistent. > > Pete > > > > On 9/13/2016 4:40 PM, Peter Jacobs wrote: >> Pete, >> Good to see the Tcl program in use. Going back a couple of >> months, >> I had been using Tcl on RaspberryPi's for some simple pressure >> indicators with a nice large display. Recently, I've arrived in Paris >> for some study leave and I've brought a couple of FF boards with me so >> I >> could work on some long-delayed updates to the Elements-of-FF >> document. >> Just connected one up and it works nicely. >> >> About command history in ff-shell.tcl: I think that it would be easy >> to >> implement it if I introduce an entry box for the keyboard input. We >> can >> have cursor movement and editing within the entry and some command >> history accessible with up down keys. On seeing the Enter key, the >> content of the entry box would be sent to the FF microcontroller. >> Characters coming back from the microcontroler would be sent to the >> current (large) text widget. The present highlight and paste >> (Control-Shift-v) operation could be redirected to the entry box such >> that the characters are inserted there and not sent to the micro until >> Enter is pressed. Would this interaction suit? >> >> Also, I did try to write to directly you a couple of times over that >> past months but my mail would bounce back from your internet provider. >> Is there a simple way to register with them? >> >> Cheers, >> Peter J. >> >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |