Re: a quick Q: how to back to the head in terminal

2011-09-11 Thread Bob Proulx
Camaleón wrote: > And I'm feel obliged to thank you for that :-) Glad it was useful and helpful. > In fact, I first asked for a similar question in the Spanish mailing list > a month ago or so, but no one suggested these "keyboard combos" and of > course, I was neither aware of it. They are no

Re: a quick Q: how to back to the head in terminal

2011-09-11 Thread Tom Furie
On Sat, Sep 10, 2011 at 03:27:26PM +, Camaleón wrote: > On Sat, 10 Sep 2011 15:06:16 +0100, Tom Furie wrote: > "gnome-terminal" and "echo $SHELL" returns "/bin/bash". It also works in > tty1. And just tested on xterm and works fine. > > Use case: dmesg|less Ah, then that's less you're in ra

Re: a quick Q: how to back to the head in terminal

2011-09-10 Thread Camaleón
On Sat, 10 Sep 2011 15:06:16 +0100, Tom Furie wrote: > On Sat, Sep 10, 2011 at 11:10:12AM +, Camaleón wrote: > >> Bash manual provides "home/end" replacements but I also looked for >> "page up/page down" key combos because my netbook lacks for them. While >> searching for a good way to mimic

Re: a quick Q: how to back to the head in terminal

2011-09-10 Thread Tom Furie
On Sat, Sep 10, 2011 at 11:10:12AM +, Camaleón wrote: > Bash manual provides "home/end" replacements but I also looked for "page > up/page down" key combos because my netbook lacks for them. While > searching for a good way to mimic the keys, I also found -by pure chance- > these combos: >

Re: a quick Q: how to back to the head in terminal

2011-09-10 Thread Camaleón
On Fri, 09 Sep 2011 12:10:21 -0600, Bob Proulx wrote: > Camaleón wrote: >> lina wrote: >> > ctrl-a does the trick. >> >> I was looking for such option (a "home/end" keyword replacement) as my >> netbook also lacks of it but still not found it... until your post :-D >> >> "crtl-e" seems to jump th

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Bob Proulx
Camaleón wrote: > lina wrote: > > ctrl-a does the trick. > > I was looking for such option (a "home/end" keyword replacement) as my > netbook also lacks of it but still not found it... until your post :-D > > "crtl-e" seems to jump the cursor at the end of the line. Great! I am compelled to note

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Camaleón
On Sat, 10 Sep 2011 00:42:54 +0800, lina wrote: > On Sat, Sep 10, 2011 at 12:34 AM, Camaleón wrote: (...) >> "Quid Pro Quo" as Dr. Hannibal Lecter would have say :-) >> >> > I googled the Dr. * , not so fun. http://www.imdb.com/character/ch0001399/ It's a fictional film/book character. Those

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Ivan Shmakov
> Camaleón writes: > On Fri, 09 Sep 2011 23:59:08 +0800, lina wrote: […] >> ctrl-a does the trick. >> Thanks for both of you. > "Quid Pro Quo" as Dr. Hannibal Lecter would have say :-) > Lina!! Thanks much!! > I was looking for such option (a "home/end" keyword replacement) as

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread lina
On Sat, Sep 10, 2011 at 12:34 AM, Camaleón wrote: > On Fri, 09 Sep 2011 23:59:08 +0800, lina wrote: > > > On Fri, Sep 9, 2011 at 11:51 PM, Eduardo M KALINOWSKI < > > edua...@kalinowski.com.br> wrote: > > > >> On 09/09/2011 12:31 PM, lina wrote: > > (...) > > >>> are there some quick way to do it,

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Camaleón
On Fri, 09 Sep 2011 23:59:08 +0800, lina wrote: > On Fri, Sep 9, 2011 at 11:51 PM, Eduardo M KALINOWSKI < > edua...@kalinowski.com.br> wrote: > >> On 09/09/2011 12:31 PM, lina wrote: (...) >>> are there some quick way to do it, not by pressing the left arrow. >>> >>> >> The home key is for that

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread lina
On Sat, Sep 10, 2011 at 12:04 AM, Camaleón wrote: > On Fri, 09 Sep 2011 12:51:26 -0300, Eduardo M KALINOWSKI wrote: > > > On 09/09/2011 12:31 PM, lina wrote: > > >> when I use up arrow to check history, and then came to the commend I > >> wanted, > >> > >> suppose it's a long command I typed befo

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Camaleón
On Fri, 09 Sep 2011 12:51:26 -0300, Eduardo M KALINOWSKI wrote: > On 09/09/2011 12:31 PM, lina wrote: >> when I use up arrow to check history, and then came to the commend I >> wanted, >> >> suppose it's a long command I typed before, >> >> now I want my cursor be back to head to make a very mino

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread lina
On Fri, Sep 9, 2011 at 11:51 PM, Eduardo M KALINOWSKI < edua...@kalinowski.com.br> wrote: > On 09/09/2011 12:31 PM, lina wrote: > >> Hi, >> >> when I use up arrow to check history, and then came to the commend I >> wanted, >> >> suppose it's a long command I typed before, >> >> now I want my curso

Re: a quick Q: how to back to the head in terminal

2011-09-09 Thread Eduardo M KALINOWSKI
On 09/09/2011 12:31 PM, lina wrote: Hi, when I use up arrow to check history, and then came to the commend I wanted, suppose it's a long command I typed before, now I want my cursor be back to head to make a very minor modification, are there some quick way to do it, not by pressing the lef