rshell paste

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
smhodge
Posts: 86
Joined: Tue Jan 22, 2019 2:16 am
Location: Kirkland, WA, USA

rshell paste

Post by smhodge » Mon Dec 16, 2019 8:43 pm

Another rshell issue. I can't get paste mode to paste. I get the prompt ok, but Ctrl-V leaves a single funny little square mark and Shift-Ins does nothing. Shift-Ins works fine if I use a PuTTY session. Thanks, Steve

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: rshell paste

Post by dhylands » Tue Dec 17, 2019 3:40 am

Yeah - Entering Control-V just sends the Control-V character to the REPL.

You need to use the PASTE command from whatever terminal program you're using. For example, on my MacBook I can use Command-V to paste and it pastes properly.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: rshell paste

Post by pythoncoder » Tue Dec 17, 2019 6:57 am

In a Bash shell it's ctrl-shift-v.
Peter Hinch
Index to my micropython libraries.

smhodge
Posts: 86
Joined: Tue Jan 22, 2019 2:16 am
Location: Kirkland, WA, USA

Re: rshell paste

Post by smhodge » Wed Dec 18, 2019 7:16 pm

I'm using Windows command prompt (cmd.exe) to open rshell. Both Ctrl-V & Shift-Ins work directly in the command prompt window. They also work when rshell is opened in that window (to paste directly into rshell). They just don't work in paste mode of <repl>.

Post Reply