Search found 775 matches

by Roberthh
Fri Oct 23, 2015 9:13 am
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 21
Views: 5483

Re: Simple terminal (VT100) editor widget

@mbirth Hello all. Thanks for trying. On WiPy and PyBoard, it's not a standalone program. If you want to edit something, you have to input: pye("filenname") at the REPL prompt. The sequence I use is: from wipye import * pye("myfile") Instead of a filename, you may also supply a list of strings. I'm ...
by Roberthh
Fri Oct 23, 2015 7:12 am
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 21
Views: 5483

Re: Simple terminal (VT100) editor widget

@andrew I handcrafted a smaller version of wipye, just as a trial. It's attached. It has like 70 lines less of code and consumes 3k less in memory. Almost all functions are still there. It seems, that the size of the source code is more the limiting factor than the parsed memory footprint. I do not ...
by Roberthh
Thu Oct 22, 2015 7:10 pm
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 21
Views: 5483

Re: Simple terminal (VT100) editor widget

Hello Andrew, memory-wise it's during loading at the limit. What I see is after Ctrl-D: PYB: soft reboot MicroPython v1.5-1-ge954604 on 2015-10-21; WiPy with CC3200 Type "help()" for more information. >>> import gc >>> gc.mem_alloc() 1264 >>> gc.mem_free() 55072 >>> from wipye import * >>> gc.mem_fr...
by Roberthh
Thu Oct 22, 2015 4:30 pm
Forum: Programs, Libraries and Tools
Topic: Simple terminal (VT100) editor widget (and other widgets)
Replies: 21
Views: 5483

Re: Simple terminal (VT100) editor widget

@mbirth Hello, and thanks for the visit. Sorry for the confusion, but I think you see complications where there aren't any. The only file you need is pye.py. It contains the full code of the text editor based on pfalcons Edit widgets. You can run pye.py on any platforn with python3 and a vt100/xterm...
by Roberthh
Wed Oct 21, 2015 4:46 pm
Forum: The WiPy and CC3200 boards
Topic: Telnet "connection closed by foreign host"
Replies: 6
Views: 1282

Re: Telnet "connection closed by foreign host"

Thank you very much for the fast reply. That works,
by Roberthh
Wed Oct 21, 2015 3:54 pm
Forum: The WiPy and CC3200 boards
Topic: Telnet "connection closed by foreign host"
Replies: 6
Views: 1282

Re: Telnet "connection closed by foreign host"

Looks like network.server_timeout() disappeared with todays update.
Instead there is something like network.server.timeout(), but giving a number as argument just results in an error. Any update on the API doc?

Regards
by Roberthh
Fri Aug 28, 2015 7:24 pm
Forum: The MicroPython pyboard
Topic: SD Card Questions
Replies: 14
Views: 2075

Re: SD Card Questions

Hello all. At least I can confirm that behavior for both Windows 7 and Windows 10. When USB is set to CDC only, the device behaves differently. using the modified INF file, Windows detects a serial interface, but both Putty and TeraTerm refuse access to that port. I had an interesting behavior with ...
by Roberthh
Wed Aug 12, 2015 6:18 am
Forum: Development of MicroPython
Topic: Micropython 1.4.5 does not compile on unix
Replies: 6
Views: 1263

Re: Micropython 1.4.5 does not compile on unix

Today's update did not fix it. I have git installed (Linux), but no git repository for Micropython.
B.t.w.: The windows version compiles using MINGW.
The version of the script makeversionhdr.py that came with micropython 1.4.4.-196 works.
by Roberthh
Tue Aug 11, 2015 8:11 pm
Forum: Development of MicroPython
Topic: Micropython 1.4.5 does not compile on unix
Replies: 6
Views: 1263

Micropython 1.4.5 does not compile on unix

The version published tody does not compile on unix. Calling make results in: ~/Downloads/MicroPython/micropython-master/unix$ make Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. mkdir -p build/genhdr GEN build/genhdr/qstrdefs.generated.h Traceback (most recent ca...
by Roberthh
Thu Aug 06, 2015 8:14 am
Forum: General Discussion and Questions
Topic: Unexpected behaviour of REPL prompt
Replies: 3
Views: 786

Re: Unexpected behaviour of REPL prompt

Thanks for fixing that
Robert