Comments (7)
Thanks for your report! First one we had for the Zagg keyboard, I've been testing it also with the Apple's Bluetooth Keyboard and it was fine. In the end the keyboard code should be the same and it must be captured by the iOS's KeyCommands. I assume from your comment that it is actually sending codes, although wrong ones. Would you mind running a showkey -a on the remote machine to see what we are sending there?
I will also add a feature to config, to be able to check the keyboard presses as they get mapped on the Blink side.
Thanks!
from blink.
Please let me know if this is fixed on v0.916 :)
from blink.
I'm having this issue with the Apple keyboard on the iPad Pro 10.5". Smart key output (hitting right, down, left, then up arrow keys):
$ showkey -a
Press any keys - Ctrl-D will terminate this program
^[[C 27 0033 0x1b
91 0133 0x5b
67 0103 0x43
^[[B 27 0033 0x1b
91 0133 0x5b
66 0102 0x42
^[[D 27 0033 0x1b
91 0133 0x5b
68 0104 0x44
^[[A 27 0033 0x1b
91 0133 0x5b
65 0101 0x41
To reproduce:
- Connect via mosh to a remote system (mine is MacOS)
- vi a file
- Hit the arrow keys to navigate
Expected result:
- Cursor moves around the file
Actual result:
- Cursor doesn't move
- When I hit the left arrow key, vi displays an error: `E388: Couldn't find definition"
Notes:
- The arrows behave as expected on the bash command line (e.g. Hitting up arrow displays previous command) on the remote machine (connected via mosh).
- In
screen
, if I hit the key sequence to enable copy/scroll back mode, the arrow keys have no effect showkey
above was run within ascreen
session that exhibits the arrow keys not working for copy/scrollback.- Arrow keys work as expected in screen and vim on the same machines in Coda's Terminal (i.e. Prompt2).
- I'm running blink compiled from the
master
branch (commit a6257c4)
from blink.
The problem appears to have corrected itself (which probably means it's intermittent or possibly happens on a new connection). As of yesterday, arrow keys move the cursor around in screen, vim, and even vim running on a server ssh'd to in a screen session.
from blink.
Installed commit ae9d47a and the issue is back. I suspect it has more to do with me being disconnected and having to type "mosh servername" again than with installing a new version. I'll see if the issue goes away by itself tomorrow.
from blink.
Hmmmm.... does it happen to all of the terminals at the same time? Or only on the one that got disconnected? Next time it happens to you, would you mind to do a double tap and see if the issue is there too? Thinking this might be an issue with the "mode".
from blink.
I only had one terminal running. But, if I add a second terminal (command-T) in Blink, then mosh myserver
, then screen -RD
, the arrow keys work as expected in the second terminal (and, oddly, the first terminal disconnects from the server completely with the message "[remote power detached]".
To reproduce:
- Quit Blink (double-click Home, swipe up)
- Open Blink
- Connect to a mosh server:
mosh myserver
- Run screen -RD
- Hit
CTRL-A CTRL-[
to get into copy mode - Hit the up-arrow
Expected result:
- Cursor moves up
Actual result:
screen
displays "copy mode aborted" and some extra characters (as though you'd hitesc
)
Then, continue with a new terminal and arrow keys work as expected:
- Hit command-T to start a new terminal in Blink
mosh myserver
to connect to the same mosh serverscreen -RD
to detach and reattach yourscreen
session- Hit
CTRL-A CTRL-[
to get into copy mode - Hit the up-arrow
Expected result:
- Cursor moves up
Actual result:
- Cursor moves up
Note: if you then swipe back to the previous terminal, Blink displays:
[remote power detached]
Mosh session finished!
blink>
(The server doesn't have any command to exit, unless mosh-server
is doing it, which is always possible).
from blink.
Related Issues (20)
- Self installing mosh-server HOT 6
- Adding Super and Hyper sequences to modifiers
- Certificate automation HOT 1
- pico, nano, emacs: anything but vi! HOT 1
- While it’s possible to add/delete hosts, key, certificates, there’s no reasonable way to manage known_hosts HOT 1
- `du -sh` hangs the shell
- Port forwarding exposes services to the local network HOT 3
- SSH may need to be updated to properly handle Terrapin attack HOT 6
- Cannot apply to back for school HOT 2
- Linking the new Quick Start Guide to the app
- SSH freezes when recieving a Tailscale `SSH_USERAUTH_BANNER` packet HOT 1
- Running a script when a Build container starts
- User friendly tweaks for non-existing SSH keys assigned to server
- Keyboard click sounds play at very loud volumes
- Keyboard click sounds play at very loud volumes HOT 1
- Blink breaks out of mirror mode when SSH key forward confirmation dialog pops up HOT 3
- iOS version crashes on startup after recent beta update HOT 4
- Update PragmataPro font to 0.830 HOT 1
- App is apparently not available in the Thai AppStore HOT 2
- Unable to export forwarded port - setup by aws ssm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blink.