LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-18-2006, 02:56 AM   #1
chesss
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Rep: Reputation: 0
Ctrl+ arrow keys is termianl and copy with keyboard


Hi,

1.In GUI apps , one can use ctrl+arrowkeys to jump between words.
How can Enable this in my terminal or shell .
Note that I just want the jumping ability, I am ok if it is binded to some other shortcut.

2. Now this should be simple, but is still giving me plenty of pains. How to select & copy text in the terminal without touching the mouse?
According to this page : http://www.pcplus.co.uk/tutorials/li...ue_text_editor , ctrl+sapcebar should allow text selection in terminal.

But it ain't working. Ctrl+w and other emacs bindkeys are working.

Please help me fix this

Last edited by chesss; 06-18-2006 at 02:59 AM.
 
Old 06-18-2006, 03:45 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by chesss
Hi,

1.In GUI apps , one can use ctrl+arrowkeys to jump between words.
How can Enable this in my terminal or shell .
Note that I just want the jumping ability, I am ok if it is binded to some other shortcut.
That's another emacs key-binding. Alt+b goes back a
word, Alt+F goes forward (in bash by default; you could
make bash use vi bindings).

Quote:
Originally Posted by chesss
2. Now this should be simple, but is still giving me plenty of pains. How to select & copy text in the terminal without touching the mouse?
According to this page : http://www.pcplus.co.uk/tutorials/li...ue_text_editor , ctrl+sapcebar should allow text selection in terminal.

But it ain't working. Ctrl+w and other emacs bindkeys are working.

Please help me fix this
The article you're referring to doesn't (I only glanced over it)
mention that those should work in any terminal? It says that
emacs key-bindings work in emacs, whether you run the X
version or the nox-version of it.

As for the functionality you're after: bashs read-line doesn't
offer it by default, you'll need to define your own key-bindings
for that. Have a read in 'man bash', search for readline (/^READLINE),
and read thoroughly :}


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant get the arrow keys to work properly :( fraggelfraggel *BSD 6 02-02-2006 12:49 AM
VIM and the arrow keys Buto Linux - Software 1 09-16-2004 07:38 PM
arrow keys in vi insert mode sanjeev.naik Linux - Software 6 09-04-2004 12:21 PM
Arrow keys in nethack Levitate Linux - Games 3 08-22-2004 11:44 AM
Flash apps and arrow keys jinksys Linux - General 3 03-04-2004 07:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration