You are not logged in.

#1 Yesterday 06:39:19

d3vl4k5hy4
Member
Registered: Yesterday
Posts: 2

Shift+Left/Right arrow key used to select characters in terminal.

I haven't changed much on the os since the installation, I haven't changed my terminal etc, so it is related to the apps that comes with the default arch installation.
Pressing shift+left/right arrow key used to select a character to left/right in terminal, weather it be the terminal that comes with the os or in vscodium.
But currently it just prints ABCD depending on the arrow key. How do I revert back to the old behavior?

I believe that it has been happening since i ran 'pacman -Syu' to update my system which I canceled multiple times in between mainly due to it taking a lot of time.
Currently, my system is up-to-date.

Offline

#2 Yesterday 07:43:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,152

Re: Shift+Left/Right arrow key used to select characters in terminal.

related to the apps that comes with the default arch installation

That's not a thing.

But currently it just prints ABCD depending on the arrow key. How do I revert back to the old behavior?

You don't - this has nothing to do w/ the TE (or only indirectly) but the process (in doubt the shell) you're running inside and you'll have to configure that.
An unconfigured bash would exhibit the symptoms you describe and from what I can tell also doesn't work out of the box.

I assume you installed some derivate and trashed its config by copying someone elses dotfiles?

You can typically configure this in your shell rc or for readline users inputrc, https://wiki.archlinux.org/title/Readline

Offline

#3 Yesterday 08:14:19

d3vl4k5hy4
Member
Registered: Yesterday
Posts: 2

Re: Shift+Left/Right arrow key used to select characters in terminal.

I think I am using bash shell. Do I have to reset its settings or config?

seth wrote:

from what I can tell also doesn't work out of the box

It does, When I first installed arch, shift select did use to work in terminal.

Also I did not change anything nor took someone else's dotfiles. All I did was update the system.

Is the default behavior for the shift+arrow key combination to select the text towards right or left?
Am I experiencing the mandela effect?

Last edited by d3vl4k5hy4 (Yesterday 09:15:08)

Offline

#4 Yesterday 12:19:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,152

Re: Shift+Left/Right arrow key used to select characters in terminal.

I think I am using bash shell.
It does, When I first installed arch, shift select did use to work in terminal.

Check and also what TE is this?

cat /proc/$$/cmdline
cat /proc/$PPID/cmdline

Is the default behavior for the shift+arrow key combination to select the text towards right or left?

In bash? No. In fish might be (I honestly don't know) and for zsh there're zle commands that can be scripted.
What you're asking isn't really the default anywhere and you're also running into copy/paste issues.

If anything some specific GUI terminal emulator would have intercepted the keys (and you would not get any input on the shell then, but this can cause problems w/ shell processes, eg. vim)

When I first installed arch, shift select did use to work in terminal.

Is this arch-archlinux or manjaro-archlinux or cachy-archlinux…?

Offline

Board footer

Powered by FluxBB