You are not logged in.

#1 2017-02-03 17:55:12

Bronze
Member
Registered: 2016-12-23
Posts: 61

keyboard issue since update?

When trying to edit the last command (e.g. because I need put sudo in front of the command), I press arrow up and arrow left, and hold arrow left until the cursor is at the beginning of the line. This worked seamlessly until recently.

Now I notice in two different terminals the following behavior.

I press arrow up, arrow left and then the cursor remains stuck at the end of the line (=last command). I need to release arrow left and hold it again to get it to the beginning of the sentence.

What can I do to get the original behavior back?

Offline

#2 2017-02-03 18:26:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: keyboard issue since update?

What is the output of echo $TERM   ?

BTW, the command line (by default in Arch) follows emacs cursor movement commands.  Try ctrl-a to move to the beginning of the line sometime.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2017-02-03 18:50:37

BlahBlahBlase
Member
From: Tucson, AZ
Registered: 2015-09-15
Posts: 35

Re: keyboard issue since update?

Also, what does your ~/.bashrc look like?


"Full disclosure, I'm drunk right now. And if you can't handle that, you can't handle science."

Offline

#4 2017-02-03 20:07:53

Bronze
Member
Registered: 2016-12-23
Posts: 61

Re: keyboard issue since update?

echo $TERM
xterm-256color

~/.bash-rc

# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

export VISUAL=vi
export EDITOR="$VISUAL"

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
archey3

Last edited by Bronze (2017-02-03 20:09:05)

Offline

#5 2017-02-03 22:21:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: keyboard issue since update?

The term variable seems okay.  Instead of the arrows, does ctrl-b back up like the left arrow used to?  Does ctrl-f move forward like the right arrow does?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2017-02-04 03:07:52

Bronze
Member
Registered: 2016-12-23
Posts: 61

Re: keyboard issue since update?

Arrow up and Ctrl-B does move the cursor in the right direction.
So I tried arrow up, a little delay and then arrow left. This also works. Seems I nowadays press the left arrow to quick after arrow up? Have my muscles improved or has the keyboard become less tolerant?

Offline

Board footer

Powered by FluxBB