Questions tagged [arrow-keys]

Arrow keys are cursor movement keys or buttons on a computer keyboard that are either programmed or designated to move the cursor in a specified direction.

10 questions
15
votes
2 answers

bash: Shift+arrow keys make A,B,C,D

When using the bash shell, I tried to use Shift+LEFT to highlight and copy the command I typed in (rather then using the mouse). However, I got a lot of C's instead. I later realized that Shift+UP makes A, Shift+DOWN makes B, and Shift+RIGHT also…
Zackary
  • 323
  • 1
  • 2
  • 14
3
votes
1 answer

Arrow keys in OpenBSD's ksh, command line editing, Vi-mode

I'm using the default ksh on OpenBSD 6.2 (based on pdksh) with Vi command line editing mode enabled. I'm trying to get the arrow keys to work properly as a complement to h, l, j and k (as I'm on a Dvorak keyboard). As far as I can tell, they don't…
Kusalananda
  • 320,670
  • 36
  • 633
  • 936
3
votes
3 answers

Windows bash takes arrows as symbols via ssh and fish shell on server

I have a bit complicated question. I am using Windows 10 Anniversary Update with Bash for Ubuntu. I am connecting to server via ssh. This server uses fish shell. And when I press arrows it just prints some symbols instead of showing me command…
Vittore Gravano
  • 131
  • 1
  • 2
  • 4
3
votes
2 answers

How to Have key-repeats of Arrow keys when disabled key-repeats?

I need disabled key-repeats because 10% greater long-term WPM then, as described in the thread How to Calibrate typing when unstable Cursor/Typing in Debian. However, I think the feature of repositioning caret position is useful with long-presses…
Léo Léopold Hertz 준영
  • 6,788
  • 29
  • 91
  • 193
1
vote
0 answers

Avoid ANSI codes in bash prompt when using arrow keys

First of all, aw two things to make clear: Yes I've seen there are already several questions with a similar sounding headline, but they are neither talking about the same situation nor do they have a satisfactory answer. When I mean "bash prompt"…
Max
  • 11
  • 1
1
vote
0 answers

Unable to use up arrow key in screen copy mode or windowlist

I am ssh'ing from a terminal window on my Mac to a NetBSD box (our bastion host) and then running screen on the NetBSD box. In copy mode or in the windowlist (which uses the copymode key bindings), I can use the 'hjkl' keys for cursor movement, and…
John Hascall
  • 287
  • 1
  • 14
0
votes
2 answers

Ctrl + arrow recognize as only arrow on shell

On a newly installed archlinux, my shells (bash, zsh, tcsh) don’t distinguish arrow key and Ctrl+arrow keys, or Shift+arrow keys. cat command shows the same code for left arrow, Ctrl+Left arrow or Shift+Left arrow: ^[[D This is annoying because it…
0
votes
0 answers

re-bind keys highlight text in terminal

I want re-bind keys on CentOS 8 to be able use combination Ctrl + Shift + arrow key to highlighted a text in terminal. I found keybinding file in: /etc/inputrc Ctrl + Shift + arrow key is: ^[[1;6C ^[[1;6D But I don't know what write in that file.…
Plazma
  • 1
0
votes
1 answer

Why does delete work but not arrow keys in terminal?

In a linux terminal I use "cat > file.txt" to make a file one line at a time. What I find is that per-line the delete key works but the arrow keys insert escape codes rather than moving left and right in the line. Why is this? Is there a reason that…
river
  • 103
  • 4
0
votes
1 answer

3 arrow keys don't work and spontaneous full kbd failure

I'm running Linux Mint 18.1 MATE Edition on my Acer Aspire R14 R5-471T-51UN. Problem 1 is semi fixed: When the laptop went into suspend mode while on battery when I awakened it to log back in the keyboard quit working (except for the function…
BrittanyD
  • 11
  • 1