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)
- SSH does not support "ssh -l login name" HOT 3
- Running `mosh myserver` instantly crashes Blink HOT 11
- Delete button on Magic Keyboard not working after update HOT 2
- Add `ping6` command to local shell HOT 1
- Blink does not respect swapped Modifier keys from iPad settings HOT 1
- Cannot log in using WebAuthn HOT 23
- Pressing Ctrl+D in telnet prompt freezes app
- Dig command is not working until reboot. HOT 3
- Stage manager and external display iPadOS 17.4
- Enabling show smart keys with external keyboard option does not work on iPad HOT 1
- Hard crash entering `ctrl-^` then `.` then `enter` into `blink>` prompt HOT 6
- Missing tab completion for `mosh1` HOT 3
- Resizing text often hangs HOT 1
- Curl hard crashes Blink in 17.3.0 (871) HOT 2
- Non-responsive black window after moving tab to new window HOT 3
- Mosh connection issues HOT 5
- Using cd .. to change back to home directory fails HOT 1
- Support mosh-server verbose parameters
- No way to disable gestures HOT 2
- ProxyJump doesn't work when jump server has underscore in name HOT 1
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.