Re: [Amforth] Keith's interactive script - Windows XP

2012-07-03 Thread Matthias Trute
hi, > 5. as my editor needs this in order to open and jump to the ie. line > 3 > C:\WinAVR\pn\pn.exe --line 3 filename > > I added to the edit_file (in the script) > ... > elif exename == "pn.exe": > cmd = [self.editor, "--line", str(lineno), filename ] > .. > 6. double clicking on amforth-term.

Re: [Amforth] New forth interaction script

2012-07-03 Thread Matthias Trute
Hi Keith, > Ah, I think this is working as I intended but the behavior may be > somewhat surprising to others, I'm not sure. I made the assumption > that well behaved upload files never generate output because in my > use cases for the class I was helping develop they consisted of one > of tw

[Amforth] Keith's interactive script - Windows XP

2012-07-03 Thread pito
So - to summarise my experience with this nice tool under WinXP: 1. I installed python 2.7 long time back (win installer probably) 2. I had to install "pyreadline-1.7.1.win32.exe" in order to get the readline imported, and maybe "pyserial" too.. 3. I replaced /dev/.. to COM6 (my BT module) and spe

Re: [Amforth] New forth interaction script

2012-07-03 Thread pito
.. edit at error line - it does not start automaticaly. I have to open the editor with #edit as the user guide says :) p. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security a

Re: [Amforth] New forth interaction script

2012-07-03 Thread pito
Keith, > 2) The feature of opening the editor to the line > where an upload error > occurred only works for editors for which the > script knows the > appropriate command line syntax. the PN editor opens and jumps to the line with following command (ie to the line 3) C:\WinAVR\pn\pn.exe --line

Re: [Amforth] New forth interaction script

2012-07-03 Thread pito
Keith > version of python didn't > come with the required readline support. I am using python 2.7, installed long time back. No idea where it comes from :) > 1) Pass an additional option to the script, for > example > > "--editor=C:\WinAVR\pn\pn.exe" Yes, it works, I did a .bat file where I

Re: [Amforth] New forth interaction script

2012-07-03 Thread Keith Amidon
{-- Tue, 03 Jul 2012 11:23:56 +0200 (CEST): pito wrote: --} pito> Hi Keith, I'm trying to run your script under winXP. I had to pito> install "pyreadline-1.7.1.win32.exe" in order to get imported pito> the readline. Interesting. I wasn't aware that the Windows version of python didn't co

Re: [Amforth] New forth interaction script

2012-07-03 Thread pito
Hi Keith, I'm trying to run your script under winXP. I had to install "pyreadline-1.7.1.win32.exe" in order to get imported the readline. Also I changed the /dev/.. to COM6 (my BT module) and speed to 115k. Let me ask you following, pls - how to specify an Editor into the script - ie. my C:\WinAVR\