Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Bash PgUp and PGDown behaviour in Gentoo

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Jim6
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Fri Apr 08, 2005 12:59 am

Bash PgUp and PGDown behaviour in Gentoo

  • Quote

Post by Jim6 » Tue Apr 26, 2011 8:03 am

Where is the behaviour of PgUp and PgDown in Bash set?* I absolutely love it, and want to port it to my .bashrc so that I can have it in other distros and environments.



* History-based completion of commands (try it!)
Top
ppurka
Advocate
Advocate
Posts: 3257
Joined: Sun Dec 26, 2004 5:05 pm

  • Quote

Post by ppurka » Tue Apr 26, 2011 8:22 am

Probably /etc/inputrc
[topic=797019]emerge --quiet redefined[/topic] | E17 vids: I, II | Now using kde5 | e is unstable :-/
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Tue Apr 26, 2011 9:30 am

See article (and its comments).

Code: Select all

# History for PgUp & PgDown, from http://lwn.net/Articles/189880/
"\e[5~": history-search-backward
"\e[6~": history-search-forward

# Ins clears the line and SHIFT-Del clears from the cursor to the end
"\e[2~": kill-whole-line
"\e[3;2~": kill-line
Top
Jim6
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Fri Apr 08, 2005 12:59 am

  • Quote

Post by Jim6 » Tue Apr 26, 2011 11:47 am

Awesome, thanks. Knew that someone here would be able to point it out to me nice and quickly! :)
Top
Post Reply

4 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic