Search found 4 matches

by Yhui
Thu May 21, 2020 10:10 am
Forum: Programs, Libraries and Tools
Topic: Terminal S - a super simple serial terminal
Replies: 10
Views: 9656

Re: Terminal S - a super simple serial terminal

I don't think it's a bug of miniterm.py. miniterm.py raw mode just sends what it gets. Different cli environments have different escape sequences. Not every terminal supports VT100. It's just like that backspace don't work properlyon linux if you use miniterm.py without --raw. I didn't know the para...
by Yhui
Thu May 21, 2020 1:56 am
Forum: Programs, Libraries and Tools
Topic: Terminal S - a super simple serial terminal
Replies: 10
Views: 9656

Re: Terminal S - a super simple serial terminal

On windows, miniterm.py raw mode doesn't support arrow keys. For example, left arrow key will be convert to

Code: Select all

[b'\x00',  b'K']
or

Code: Select all

[b'\xe0', b'K']
, but it need to be convert to

Code: Select all

[b'\x1b', b'[', b'D']
by Yhui
Wed May 20, 2020 12:00 am
Forum: Programs, Libraries and Tools
Topic: Terminal S - a super simple serial terminal
Replies: 10
Views: 9656

Re: Terminal S - a super simple serial terminal

scruss wrote:
Tue May 19, 2020 2:52 pm
Nice!

I tend to just use

Code: Select all

python3 -m serial.tools.miniterm
when I know I'm on a system that doesn't have minicom, c-kermit or screen on it.
I also use the miniterm, but it can not handle arrow keys and terminal color, which is one of the reason to write a new one.
by Yhui
Tue May 19, 2020 6:02 am
Forum: Programs, Libraries and Tools
Topic: Terminal S - a super simple serial terminal
Replies: 10
Views: 9656

Terminal S - a super simple serial terminal

When playing with MicroPython on Windows, using PuTTY to open the serial REPL needs to open "Device Manager" to get the serial port number (I always forget a device's port name as I have several devices). So I wrote a new serial terminal - Terminal S https://github.com/makerdiary/terminal-s . It has...