SSH: Some clipboard content can't be pasted
Posted: 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
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' ) ;
?>