Friday, November 8, 2013

Move terminal cursor to front of prompt while attached to GNU Screen

Moving your cursor to the front of a terminal prompt will save you time and frustration. To move your cursor to the front of the terminal prompt in a bash shell session simply use the key binding

C - a

Since it is common that C - a is the key binding for GNU Screen, you have to use:

C - a - a

The other option is to bind it to a key for your shell. In bash, add this line to ~/.bashrc

bind '"\C-p": beginning-of-line'

Then

source ~/.bashrc

Now you can nail that cursor home anywhere with:

C - p

This is the two-step of terminal prompt dance moves. Learn it.

2 comments:

  1. What is the first casino game for the first casino player in the
    What is the first casino 퍼스트 카지노 game for the first casino player in the 1) The most-famous game is Mega Fortune: Jackpot 바카라 사이트 2) The only game on the table that allows one happyluke to take

    ReplyDelete
  2. Fiat customers 1xbet are additionally in for a treat, albeit a smaller one, going as much as} $1,500 at a 250% match fee. Cafe Casino collaborates with 7 software builders, amongst which we discovered business leaders such as Revolver Gaming, RealTime Gaming, and extra. Free slots to check out in demo mode can be found across the board. The Malta Gaming Authority, extra generally known as as|often known as} the MGA, is a well-renowned iGaming regulator.

    ReplyDelete