How to scroll to end of command line history
Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On 5/19/09, Dan Track dan.tr...@gmail.com wrote: Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. If you're using bash, and haven't changed the line editing mode, then M- (that is, hold down Alt while pressing the '' key). Andras -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On Tue, 2009-05-19 at 11:31 +0100, Dan Track wrote: Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. Thanks Dan Ctrl-C ought to do the job. -Chris -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On Tue, May 19, 2009 at 12:10 PM, Andras Simon sza...@gmail.com wrote: On 5/19/09, Dan Track dan.tr...@gmail.com wrote: Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. If you're using bash, and haven't changed the line editing mode, then M- (that is, hold down Alt while pressing the '' key). Andras Thanks for that. I'm pressing alt+ but nothing happens. Any ideas? Thanks Dan -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On Tue, 2009-05-19 at 12:31 +0100, Dan Track wrote: On Tue, May 19, 2009 at 12:10 PM, Andras Simon sza...@gmail.com wrote: On 5/19/09, Dan Track dan.tr...@gmail.com wrote: Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. If you're using bash, and haven't changed the line editing mode, then M- (that is, hold down Alt while pressing the '' key). Andras Thanks for that. I'm pressing alt+ but nothing happens. Any ideas? You'll need the shift key in there too. -Chris -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On 5/19/09, Chris Tyler ch...@tylers.info wrote: On Tue, 2009-05-19 at 12:31 +0100, Dan Track wrote: On Tue, May 19, 2009 at 12:10 PM, Andras Simon sza...@gmail.com wrote: On 5/19/09, Dan Track dan.tr...@gmail.com wrote: Hi, It's really annoying for me, that when I run Ctrl+R to search through the history I end up finding my command but I'm stuck in the history, how can I get to the end of the history with a keystroke. If you're using bash, and haven't changed the line editing mode, then M- (that is, hold down Alt while pressing the '' key). Andras Thanks for that. I'm pressing alt+ but nothing happens. Any ideas? You'll need the shift key in there too. Yes. Without Shift it's not M- (end-of-history) but M-. (yank-last-arg). See man bash for details. Andras -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On 5/19/09, Bryn M. Reeves b...@redhat.com wrote: Page down works for me if I'm understanding what you want correctly (it takes me down to a blank command line s.t. hitting up arrow again will take me to the last line of history). I think that page down should only if you're less than a page back in history. Andras -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On Tue, 2009-05-19 at 19:24 +0200, Andras Simon wrote: On 5/19/09, Bryn M. Reeves b...@redhat.com wrote: Page down works for me if I'm understanding what you want correctly (it takes me down to a blank command line s.t. hitting up arrow again will take me to the last line of history). I think that page down should only if you're less than a page back in history. That's not the case - by default on Fedora the Page Down key is bound to the Readline end-of-history command (same as M-). You can confirm this with the readline dump-functions command: end-of-history can be found on \e, \e[6~ This is set in the default /etc/inputrc provided by the Fedora setup RPM (\e[6~ is Page Down, \e[5~ is Page Up). What is a page back in history anyway? My current terminal height? Doesn't seem very useful.. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to scroll to end of command line history
On 5/19/09, Bryn M. Reeves b...@redhat.com wrote: On Tue, 2009-05-19 at 19:24 +0200, Andras Simon wrote: On 5/19/09, Bryn M. Reeves b...@redhat.com wrote: Page down works for me if I'm understanding what you want correctly (it takes me down to a blank command line s.t. hitting up arrow again will take me to the last line of history). I think that page down should only if you're less than a page back in history. That's not the case - by default on Fedora the Page Down key is bound to the Readline end-of-history command (same as M-). You can confirm this with the readline dump-functions command: end-of-history can be found on \e, \e[6~ This is set in the default /etc/inputrc provided by the Fedora setup RPM (\e[6~ is Page Down, \e[5~ is Page Up). What is a page back in history anyway? My current terminal height? Doesn't seem very useful.. You're right on both counts (PgDn works and actual page back would't make much sense). Sorry for the noise! Andras -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines