LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2010, 09:53 PM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Rep: Reputation: 49
navigating in gnome-terminal


I am using ubuntu 8.04 with GNOME.
gnome-terminal version is 2.22.1
(1)Is it possible to use mouse to move cursor to desired position?
For instance , I am at end of line & with mouse I can select a portion of line to copy but cannot move the cursor to middle of line without pressing left arrow key for looong time.
(2)I have noticed that if I boot with my USB in non-persistent mode.In the beginning I can use ctrl+arrow to move to previous or next word.After sometime ctrl+right arrow append ;5C and ctrl+left arrow appends ;5D
What do you suggest ?
 
Old 03-01-2010, 10:08 PM   #2
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
KEYBOARD shortcuts I am aware of

KEYBOARD shortcuts I am aware of
(1) ctrl+u = delete to beginning of line
(2) ctrl+k = delete to end of line
(3) ctrl+a or home = move to beginning
(4) ctrl+e or end = move to end
(5) ctrl+w = delete previous word
(6) ctrl+y = paste ( Interesting thing is those deleted using successive ctrl+w come back same as they were )
(7) shift+insert = paste from selection buffer ( same as mouse middle click )
(8) ctrl+shift+v = paste from clipboard
(9) ctrl+h = backspace , ctrl+d = delete
(10) ctrl+shift+t = open new tab
(11) ctrl+pageup = left tab , ctrl+pagedown = right tab
(12) ctrl+d = logout
(13) ctrl+shift+n = open new window ( I like tabs )
(14) ctrl+shift+w = close tab
(15) ctrl+shift+q = close window
(16) ctrl+shift+c = copy to clip board
(17) F11 = fullscreen
(18) ctrl+shift+pageup = move current tab to left , ctrl+shift+pagedown = move current tab to right
(19) alt+number = switch to corresponding ( leftmost is 1. Upto 9 allowed )
(20) ctrl+plus(not of numpad) = make text larger ( only in that tab ) , ctrl-(minus) = zoom out , ctrl+0 = restore default size

I am a keyboard warrior.
You can see more in 'bind -p' .

Last edited by sumeet inani; 03-07-2010 at 11:05 PM.
 
Old 03-01-2010, 10:36 PM   #3
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by sumeet inani View Post
KEYBOARD shortcuts I am aware of
(1) ctrl+u = delete to beginning of line
(2) ctrl+k = delete to end of line
(3) ctrl+a or home = move to beginning
(4) ctrl+e or end = move to end
(5) ctrl+w = delete previous word
(6) ctrl+y = paste ( Interesting thing is those deleted using successive ctrl+w come back same as they were )
(7) shift+insert = paste from selection buffer ( same as mouse middle click )
(8) ctrl+shift+v = paste from clipboard
(9) ctrl+h = backspace , ctrl+d = delete
(10) ctrl+shift+t = open new tab
(11) ctrl+pageup = left tab , ctrl+pagedown = right tab
(12) ctrl+d = logout

I will read more from http://people.gnome.org/~bmsmith/gco...-terminal.html and add to this for benefit of all .

I am a keyboard warrior.
Um, I am glad you solved your problem!
 
Old 03-02-2010, 01:43 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
to leopard
My question isn't solved yet.
Please see 2 questions in my first post.


I have finished reading http://people.gnome.org/~bmsmith/gco...-terminal.html & added the keyboard shortcuts I could figure out.
If you know any additional shortcut in gnome-terminal. Please tell .
 
Old 03-07-2010, 10:24 PM   #5
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
I found out solution
I saw it on https://bugs.launchpad.net/ubuntu/+s...ash/+bug/89235
All you should do is
Add following to ~/.inputrc
Code:
"\e[1;5C": forward-word
"\e[1;5D": backward-word
OR
add following to ~/.inputrc
Code:
$include /etc/inputrc
OR
You can use alt+shift+f ( or escape+f ) & alt+shift+b ( or escape+b ) to move forward & backward by a word respectively without editing any file.

Last edited by sumeet inani; 03-07-2010 at 11:01 PM.
 
Old 05-13-2010, 08:25 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 898
Blog Entries: 26

Original Poster
Rep: Reputation: 49
QUESTION
I have noticed that ctrl+r in gnome-terminal 2.22.1 in ubuntu-8.04 gives "reverse-i-search" (useful to search string in command history)
but ctrl+s does not give forward search (will be useful if we have drifted to some older command using ctrl+r ).
I found that ctrl+s is meant to pause screen.
I cam to know of 'bind' command but found no man page.
just
Code:
bind: usage: bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-x keyseq:shell-command] [keyseq:readline-function or readline-command]
Can you help ?
How can I associate a shortcut (say ctrl+a) to search forward in history?

Last edited by sumeet inani; 05-13-2010 at 09:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 02:04 PM
Navigating to folders within the terminal program paddyg5325 Linux - Newbie 2 01-31-2010 10:32 PM
Navigating, Gnome and KDE patricodog Linux - Newbie 4 02-17-2005 10:43 PM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM
navigating to cdrom drive in gnome terminal erico LinuxQuestions.org Member Success Stories 2 08-09-2003 01:17 PM


All times are GMT -5. The time now is 08:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration