From d4f24e83dc71cff66774d56dee83b737448be99a Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Fri, 14 Aug 2015 13:45:32 -0700 Subject: [PATCH] Remove the virtual keyboard help page and combine physical keys and hints. --- app/src/main/assets/help/Hints.html | 23 +++++++-- app/src/main/assets/help/ScreenGestures.html | 38 -------------- app/src/main/assets/help/VirtualKeyboard.html | 49 ------------------- 3 files changed, 18 insertions(+), 92 deletions(-) delete mode 100644 app/src/main/assets/help/ScreenGestures.html delete mode 100644 app/src/main/assets/help/VirtualKeyboard.html diff --git a/app/src/main/assets/help/Hints.html b/app/src/main/assets/help/Hints.html index 37583dbb..4e077929 100644 --- a/app/src/main/assets/help/Hints.html +++ b/app/src/main/assets/help/Hints.html @@ -1,13 +1,26 @@ -

Helpful hints

- -

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.

- +

Host Shortcuts

Long-press on your Android desktop to create direct shortcuts to frequently-used SSH hosts.

-

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.

+

Page Up / Page Down

+

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.

+

Page Up gesture

+

Page Down gesture

+ +

Scroll back / Scroll forward

+

Swiping your finger up on the right side of the screen allows you to scroll backward and forward + in the local terminal buffer history.

+

Scroll back gesture

+

Scroll forward gesture

+ +

Switching hosts

+

Swiping your finger from one side of the screen to the other will switch between currently connected hosts.

+

Previous host gesture

+

Next host gesture

\ 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 9332821a..00000000 --- a/app/src/main/assets/help/ScreenGestures.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -

Gestures in ConnectBot allow a user to do several things for -which there's no keyboard equivalent. If the gestures seem -backward, then imagine that you're grabbing the text and moving it -with your finger.

-

Page Up / Page Down

-

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.

-

-Page Up gesture

-

-Page Down gesture

-

Scroll back / Scroll -forward

-

Swiping your finger up on the right side of the screen allows you -to scroll backward and forward in the local terminal buffer history.

-

-Scroll back gesture

-

-Scroll forward gesture

-

Switching hosts

-

Swiping your finger from one side of the screen to the other will -switch between currently connected hosts.

-

-Previous host gesture

-

-Next host gesture

- - \ 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 9788161d..00000000 --- a/app/src/main/assets/help/VirtualKeyboard.html +++ /dev/null @@ -1,49 +0,0 @@ - - - -

- -

Caveats

-

Since ConnectBot doesn't use any of the normal TextView -widgets, Android's IME structure isn't designed to directly -support it.

-

The best way to use Android with a virtual keyboard is in Portrait -mode. By default, ConnectBot is set to use Portrait -mode when no hardware keyboard is present. To change this setting, go to -Preferences from the Host List.

-

In Landscape 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 Landscape. -However, you may use a work-around: Force Resize -to fit above the virtual keyboard if desired.

-

On devices without a hardware keyboard, you may press and hold -the MENU button to bring up the virtual keyboard. NOTE: -This applies to any program on the Android platform; it is not -ConnectBot specific.

-

How to Enter Control, Alt, Escape, and Function Keys

-

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.

-

Note there are also screen gestures: see the ScreenGestures help topic. -for Page Up and Page Down.

- -

Examples

- - - -