You are not logged in.
Pages: 1
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
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
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
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]\$ '
archey3Last edited by Bronze (2017-02-03 20:09:05)
Offline
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
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
Pages: 1