SSH: Some clipboard content can't be pasted

Report your issues here

SSH: Some clipboard content can't be pasted

Postby vid » Wed Jan 04, 2012 5:42 pm

Basics

remoter version: 3.2.1
device remoter is installed on: iPad 2
iOS version: 5.0.1


Problem Specific

what type of session: ssh
server specifics: Linux
connection: WAN to LAN
error message, odd screen: "No Usable information on the Pasteboard", crash or no response
reveal any other info you think may help:

I've noticed that if I copy some code from an email or a website and try to paste it into a file (vim via ssh) it may return and error message, crash the app or do nothing.
Perhaps the foreign code has bad line endings or a bad character that is causing the code to break or escape the paste function before completing ?
If I paste the content into Notes first and then copy and paste that content it works.

Extra Mile

try to reproduce the problem, clarify if it's consistent or not if possible:
It is consistent with an external keyboard. Repeatable steps:
1. Open website on safari with code (bash script, php, html, etc...)
2. Copy code to clipboard
3. Open an SSH session in remoter
4. Edit a file via VIM (vim filename; 'i' for insert)
5. Paste clipboard contents via external bluetooth keyboard
6. Error message or wait... -app crashes

check out whats known, fixed and planned in the bug tracking system: didn't see anything related to clipboard paste issues.

Example:
I'll paste some code and to test and confirm in a reply;
From: http://php.about.com/od/learnphp/ht/phpredirection.htm
Code: Select all
<?php

   header( 'Location: http://www.yoursite.com/new_page.html' ) ;

?>
Last edited by vid on Wed Jan 04, 2012 5:56 pm, edited 1 time in total.
vid
 
Posts: 4
Joined: Wed Jan 04, 2012 5:02 pm

Re: SSH: Some clipboard content can't be pasted

Postby vid » Wed Jan 04, 2012 5:49 pm

I just tested the code above and this time I got an error message when using the Paste icon:
"No Usable Information in the Pasteboard"

Perhaps the problem is when I use Ctrl+V on my external keyboard... which I left at home.
It could be the Ctrl+V forces the operation that causes the crashing hiccup?

Pasting into Notes isn't consistent solution either. It didn't work this time, but did this morning with the external keyboard.
vid
 
Posts: 4
Joined: Wed Jan 04, 2012 5:02 pm

Re: SSH: Some clipboard content can't be pasted

Postby raf » Thu Jan 05, 2012 11:19 am

Thanks for the very good report!
Remoter currently only handles text in for pasting. But I will look and see what can be done to make sure it at least can convert special text into simple text and then still allow pasting.
I'm going to open a trac item for this.

thank you!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am


Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests

cron
cron