danito / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Automatic word capitalization is a problem when using ShellInABox via iPhone/iPad and other iDevices #155

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Access ShellInABox via any iDevice.
2. After typing RETURN, or a dot, or other specific characters, the iDevice 
SHIFT key will be automatically turned on.

What is the expected output? What do you see instead?
The SHIFT key should never be turned on automatically.

What version of the product are you using? On what operating system?
Using 2.10.1 on Ubuntu 11.10.

Please provide any additional information below.
I did not dive into the implementation of ShellInABox, so I cannot presume 
anything. If you would have used <input/> tags, the solution would be simple, 
you can read it in the following link under "Configuring Automatic Correction 
and Capitalization": 
http://developer.apple.com/library/IOs/#documentation/AppleApplications/Referenc
e/SafariWebContent/DesigningForms/DesigningForms.html

I imagine, however, that input is done via JavaScript keypress capturing, in 
which case the above link is not applicable...

Original issue reported on code.google.com by amn...@gmail.com on 27 Dec 2011 at 2:00

GoogleCodeExporter commented 8 years ago
line 501 in vt100.js reads:
'<input type="textfield" id="input" />' +

this issue is resolved if it is changed to:
'<input type="textfield" id="input" autocapitalize="off" />' +

Original comment by Sean....@gmail.com on 28 Dec 2011 at 1:24

GoogleCodeExporter commented 8 years ago
A patch file would be helpful.  Changes to the vt100.js file have made the line 
numbers no longer match.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:59

GoogleCodeExporter commented 8 years ago
Sorry about that, however I see the change has been made in the latest 2.14 
version. it appears that issue 172 included this issue.

Original comment by Sean....@gmail.com on 23 Apr 2012 at 3:18

GoogleCodeExporter commented 8 years ago
Merged

Original comment by beewoo...@gmail.com on 23 Apr 2012 at 3:56