aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main
diff options
context:
space:
mode:
authorJeremy Klein <jlklein@google.com>2015-08-14 13:45:32 -0700
committerJeremy Klein <jlklein@google.com>2015-08-14 15:39:25 -0700
commitd4f24e83dc71cff66774d56dee83b737448be99a (patch)
tree78c10cf9c33a96c8329506ce9d4a1e9a5af7919f /app/src/main
parent25458db409cf59fff40fd282a23ee17cdf2142b9 (diff)
downloadconnectbot-d4f24e83dc71cff66774d56dee83b737448be99a.tar.gz
connectbot-d4f24e83dc71cff66774d56dee83b737448be99a.tar.bz2
connectbot-d4f24e83dc71cff66774d56dee83b737448be99a.zip
Remove the virtual keyboard help page and combine physical keys and hints.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/assets/help/Hints.html23
-rw-r--r--app/src/main/assets/help/ScreenGestures.html38
-rw-r--r--app/src/main/assets/help/VirtualKeyboard.html49
3 files changed, 18 insertions, 92 deletions
diff --git a/app/src/main/assets/help/Hints.html b/app/src/main/assets/help/Hints.html
index 37583db..4e07792 100644
--- a/app/src/main/assets/help/Hints.html
+++ b/app/src/main/assets/help/Hints.html
@@ -1,13 +1,26 @@
<html>
<body style="background-color: #000; color: #fff">
-<h2>Helpful hints</h2>
-
-<p>When you have multiple sessions open, you can 'pan' between them by swiping your finger left-to-right or right-to-left over the screen.</p>
-
+<h2><a name="Shortcuts" />Host Shortcuts</h2>
<p>Long-press on your Android desktop to create direct shortcuts to frequently-used SSH hosts.</p>
-<p>Slide your finger up/down on the right-half of the terminal screen to look at the scrollback history. Slide up/down on the left-half to send the page up/down keys.</p>
+<h2><a name="Page_Up_/_Page_Down" />Page Up / Page Down</h2>
+<p>Swiping your finger up and down on the left third of the screen
+ will send a page up and page down key to the remote host. Many programs
+ map this to scrolling back into history such as irssi or tinyfugue.</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-pgup.png" />Page Up gesture</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-pgdn.png" />Page Down gesture</p>
+
+<h2><a name="Scroll_back_/_Scroll_forward" />Scroll back / Scroll forward</h2>
+<p>Swiping your finger up on the right side of the screen allows you to scroll backward and forward
+ in the local terminal buffer history.</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-scrollback.png" />Scroll back gesture</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-scrollforward.png" />Scroll forward gesture</p>
+
+<h2><a name="Switching_hosts" />Switching hosts</h2>
+<p>Swiping your finger from one side of the screen to the other will switch between currently connected hosts.</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-hostprev.png" />Previous host gesture</p>
+<p><img src="http://connectbot.googlecode.com/svn/trunk/www/gesture-hostnext.png" />Next host gesture</p>
</body>
</html> \ No newline at end of file
diff --git a/app/src/main/assets/help/ScreenGestures.html b/app/src/main/assets/help/ScreenGestures.html
deleted file mode 100644
index 9332821..0000000
--- a/app/src/main/assets/help/ScreenGestures.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<body style="background-color: #000; color: #fff">
-
-<p>Gestures in ConnectBot allow a user to do several things for
-which there&#x27;s no keyboard equivalent. If the gestures seem
-backward, then imagine that you&#x27;re grabbing the text and moving it
-with your finger.</p>
-<h1><a name="Page_Up_/_Page_Down" />Page Up / Page Down</h1>
-<p>Swiping your finger up and down on the left third of the screen
-will send a page up and page down key to the remote host. Many programs
-map this to scrolling back into history such as irssi or tinyfugue.</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-pgup.png" />
-Page Up gesture</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-pgdn.png" />
-Page Down gesture</p>
-<h1><a name="Scroll_back_/_Scroll_forward" />Scroll back / Scroll
-forward</h1>
-<p>Swiping your finger up on the right side of the screen allows you
-to scroll backward and forward in the local terminal buffer history.</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-scrollback.png" />
-Scroll back gesture</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-scrollforward.png" />
-Scroll forward gesture</p>
-<h1><a name="Switching_hosts" />Switching hosts</h1>
-<p>Swiping your finger from one side of the screen to the other will
-switch between currently connected hosts.</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-hostprev.png" />
-Previous host gesture</p>
-<p><img
- src="http://connectbot.googlecode.com/svn/trunk/www/gesture-hostnext.png" />
-Next host gesture</p>
-</body>
-</html> \ No newline at end of file
diff --git a/app/src/main/assets/help/VirtualKeyboard.html b/app/src/main/assets/help/VirtualKeyboard.html
deleted file mode 100644
index 9788161..0000000
--- a/app/src/main/assets/help/VirtualKeyboard.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>
-<body style="background-color: #000; color: #fff">
-
-<p><img src="http://connectbot.googlecode.com/svn/trunk/www/magic-cb-screen.png" width="100%" /></p>
-
-<h2>Caveats</h2>
-<p>Since ConnectBot doesn&#x27;t use any of the normal TextView
-widgets, Android&#x27;s IME structure isn&#x27;t designed to directly
-support it.</p>
-<p>The best way to use Android with a virtual keyboard is in <strong>Portrait</strong>
-mode. By default, ConnectBot is set to use <strong>Portrait</strong>
-mode when no hardware keyboard is present. To change this setting, go to
-<strong>Preferences</strong> from the <strong>Host List</strong>.</p>
-<p>In <strong>Landscape</strong> mode, the Android virtual keyboard
-(or other IMEs) will take up the entire screen. Android provides no way
-for ConnectBot to resize the terminal view in <strong>Landscape</strong>.
-However, you may use a <i>work-around</i>: <strong>Force Resize</strong>
-to fit above the virtual keyboard if desired.</p>
-<p>On devices without a hardware keyboard, you may press and hold
-the <strong>MENU</strong> button to bring up the virtual keyboard. NOTE:
-This applies to any program on the Android platform; it is not
-ConnectBot specific.</p>
-<h2>How to Enter Control, Alt, Escape, and Function Keys</h2>
-<p>You can enter any key combination with ConnectBot and the virtual
-keyboard, but you must know how keys are mapped on a normal console. For
-instance, usually combinations of ALT+letter on a PC keyboard are
-actually mapped to sending, sequentially, ESC key then the letter.</p>
-<p>Note there are also screen gestures: see the ScreenGestures help topic.</a>
-for <strong>Page Up</strong> and <strong>Page Down</strong>.</p>
-<ul>
- <li>Trackball: 1 press is <strong>CTRL</strong>, 2 presses sends <strong>ESC</strong>
- </li>
- <li><strong>Tab key</strong> = <strong>CTRL + i</strong></li>
- <li><strong>Function key</strong> = <strong>CTRL + number</strong>
- </li>
-</ul>
-<h2>Examples</h2>
-<ul>
- <li><strong>ESC</strong> = Press the trackball twice.</li>
- <li><strong>ALT + Right Arrow</strong> = Press trackball twice
- then move trackball to right.</li>
- <li><strong>CTRL + A</strong> = Press trackball once then tap the
- &quot;A&quot; key on the soft keyboard.</li>
- <li><strong>F3</strong> = Press trackball once then tap the
- &quot;3&quot; key on the soft keyboard.</li>
-</ul>
-
-</body>
-</html>