from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

82865

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->app-shells->bash

A lot of programs (esspecially Bash) use the GNU Readline library for command
line input. Readline allows to define each key with a custom value. This
definition is stored in the file .inputrc in the users home directory.

If you want to assign an often used command, e.g. less /var/log/message to the
key F1, you'll need to add the following line to your .inputrc:

"\e[11~": "less /var/log/messages^M"

The last char in \e[11~ is a tilde char. All characters have to be entered
exactly as given, with only one exception: the ^M at the end. The ^M means
Enter and causes a direct execution of the command. Without the ^M, the
command would be simply copied into the command line and which would wait for
the input of enter or a different char.

The way you enter the ^M depends on the editor you use. In vi you have to
press ctrl-V and Enter.
It has to be one single char (ASCII-code 13).

The character sequence \e will be interpreted as an Escape char from Readline.
The given sequence works in X11. In the console the sequence differs, but both
definitions can be in the same .inputrc file.

The change in .inputrc applies with a fresh started Shell. You can refresh the
setting with the key sequence ctrl-X and ctrl-R in the running shell. F1
should work now.

How to use the trick with other keys? First you have to know the code that the
key generates.
You can get the code when you press ctrl-V and the desired key.
You will get an Escape-sequence (the first 2 chars are ^[ which is equal to
ctrl-[ and equal to Escape)
If you replace ^[ with \e, you got the sequence for .inputrc.

More details of the usage of readline can be found in the bash manpage (man
bash).

Translated from
http://www.pro-linux.de/news/2002/0040.html
rate this article:
current rating: average rating: 1.2 (26 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-01-19
amarok - 3.3.2
Ebuild name:

media-sound/amarok-3.3.2

Description

Advanced audio player based on KDE Frameworks

Added to portage

2026-01-19

apache-arrow - 23.0.0
Ebuild name:

dev-libs/apache-arrow-23.0.0

Description

A cross-language development platform for in-memory data

Added to portage

2026-01-19

bandit - 1.9.3
Ebuild name:

dev-python/bandit-1.9.3

Description

A security linter from OpenStack Security

Added to portage

2026-01-19

black - 26.1.0
Ebuild name:

dev-python/black-26.1.0

Description

The uncompromising Python code formatter

Added to portage

2026-01-19

cclive - 0.9.3-r3
Ebuild name:

media-video/cclive-0.9.3-r3

Description

Command line tool for extracting videos from various websites

Added to portage

2026-01-19

colordiff - 1.0.22
Ebuild name:

app-misc/colordiff-1.0.22

Description

Colorizes output of diff

Added to portage

2026-01-19

dill - 0.4.1
Ebuild name:

dev-python/dill-0.4.1

Description

Serialize all of Python (almost)

Added to portage

2026-01-19

discord - 0.0.120
Ebuild name:

net-im/discord-0.0.120

Description

All-in-one voice and text chat for gamers

Added to portage

2026-01-19

ebuild-mode - 1.81
Ebuild name:

app-xemacs/ebuild-mode-1.81

Description

Emacs modes for editing ebuilds and other Gentoo specific files

Added to portage

2026-01-19

gcc - 13.4.1_p20260115
Ebuild name:

sys-devel/gcc-13.4.1_p20260115

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 14.3.1_p20260116
Ebuild name:

sys-devel/gcc-14.3.1_p20260116

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 15.2.1_p20260117
Ebuild name:

sys-devel/gcc-15.2.1_p20260117

Description

The GNU Compiler Collection

Added to portage

2026-01-19

gcc - 16.0.1_p20260118
Ebuild name:

sys-devel/gcc-16.0.1_p20260118

Description

The GNU Compiler Collection

Added to portage

2026-01-19

git-sources - 6.19_rc6
Ebuild name:

sys-kernel/git-sources-6.19_rc6

Description

The very latest -git version of the Linux kernel

Added to portage

2026-01-19

gnome-nettool - 42.0-r1
Ebuild name:

net-analyzer/gnome-nettool-42.0-r1

Description

Graphical front-ends to various networking command-line

Added to portage

2026-01-19

grub - 2.14
Ebuild name:

sys-boot/grub-2.14

Description

GNU GRUB boot loader

Added to portage

2026-01-19

icdiff - 2.0.9
Ebuild name:

app-misc/icdiff-2.0.9

Description

Colourized diff that supports side-by-side diffing

Added to portage

2026-01-19

irker - 2.24-r1
Ebuild name:

net-irc/irker-2.24-r1

Description

Submission tools for IRC notifications

Added to portage

2026-01-19

irssi - 1.4.5-r2
Ebuild name:

net-irc/irssi-1.4.5-r2

Description

A modular textUI IRC client with IPv6 support

Added to portage

2026-01-19

megatest - 0.6.0
Ebuild name:

dev-ruby/megatest-0.6.0

Description

A test-unit like framework with a focus on usability, designed with CI in m

Added to portage

2026-01-19

meson - 1.10.1
Ebuild name:

dev-build/meson-1.10.1

Description

Open source build system

Added to portage

2026-01-19

mu - 1.12.15
Ebuild name:

net-mail/mu-1.12.15

Description

Set of tools to deal with Maildirs, in particular, searching and indexing

Added to portage

2026-01-19

networkmanager-strongswan - 1.6.4
Ebuild name:

net-vpn/networkmanager-strongswan-1.6.4

Description

NetworkManager StrongSwan plugin

Added to portage

2026-01-19

openpgp-keys-bennoschulenberg - 20260119
Ebuild name:

sec-keys/openpgp-keys-bennoschulenberg-20260119

Description

OpenPGP key used by Benno Schulenberg

Added to portage

2026-01-19

openpgp-keys-colordiff - 20260118
Ebuild name:

sec-keys/openpgp-keys-colordiff-20260118

Description

OpenPGP keys used to sign colordiff releases

Added to portage

2026-01-19

openpgp-keys-fche - 20260119
Ebuild name:

sec-keys/openpgp-keys-fche-20260119

Description

OpenPGP key used by Frank Ch. Eigler (fche)

Added to portage

2026-01-19

openpgp-keys-gentoo-developers - 20260112
Ebuild name:

sec-keys/openpgp-keys-gentoo-developers-20260112

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-01-19

openpgp-keys-gmp - 20250628
Ebuild name:

sec-keys/openpgp-keys-gmp-20250628

Description

OpenPGP keys used by Niels Möller (to sign GMP releases)

Added to portage

2026-01-19

openpgp-keys-irssi - 20260119
Ebuild name:

sec-keys/openpgp-keys-irssi-20260119

Description

OpenPGP keys used for irssi releases

Added to portage

2026-01-19

openpgp-keys-mpc - 20260118
Ebuild name:

sec-keys/openpgp-keys-mpc-20260118

Description

OpenPGP keys used by Andreas Enge (to sign MPC releases)

Added to portage

2026-01-19

openpgp-keys-networkmanager-strongswan - 20260119
Ebuild name:

sec-keys/openpgp-keys-networkmanager-strongswan-20260119

Description

OpenPGP keys used for networkmanager-stron

Added to portage

2026-01-19

openpgp-keys-openvpn - 20260119
Ebuild name:

sec-keys/openpgp-keys-openvpn-20260119

Description

OpenPGP keys used for OpenVPN releases

Added to portage

2026-01-19

openpgp-keys-streamlink - 20260118
Ebuild name:

sec-keys/openpgp-keys-streamlink-20260118

Description

OpenPGP keys used for streamlink releases

Added to portage

2026-01-19

openpgp-keys-strongswan - 20260119
Ebuild name:

sec-keys/openpgp-keys-strongswan-20260119

Description

OpenPGP keys used for strongswan releases

Added to portage

2026-01-19

osm - 2.0
Ebuild name:

app-emacs/osm-2.0

Description

OpenStreetMap tile-based viewer for GNU Emacs

Added to portage

2026-01-19

poetry - 2.3.0
Ebuild name:

dev-python/poetry-2.3.0

Description

A frontend for poetry - a python dependency management and packaging tool

Added to portage

2026-01-19

poetry-core - 2.3.0
Ebuild name:

dev-python/poetry-core-2.3.0

Description

Poetry PEP 517 Build Backend

Added to portage

2026-01-19

poetry-plugin-export - 1.10.0
Ebuild name:

dev-python/poetry-plugin-export-1.10.0

Description

A plugin that allows the export of locked packages to variou

Added to portage

2026-01-19

portage - 3.0.76
Ebuild name:

sys-apps/portage-3.0.76

Description

The package management and distribution system for Gentoo

Added to portage

2026-01-19

pyarrow - 23.0.0
Ebuild name:

dev-python/pyarrow-23.0.0

Description

Python library for Apache Arrow

Added to portage

2026-01-19

safeeyes - 3.3.1
Ebuild name:

x11-misc/safeeyes-3.3.1

Description

Linux alternative to EyeLeo

Added to portage

2026-01-19

selenium - 4.40.0
Ebuild name:

dev-python/selenium-4.40.0

Description

Python language binding for Selenium Remote Control

Added to portage

2026-01-19

selenium-manager - 4.40.0
Ebuild name:

dev-util/selenium-manager-4.40.0

Description

CLI tool that manages the browser/driver infrastructure required b

Added to portage

2026-01-19

soupsieve - 2.8.2
Ebuild name:

dev-python/soupsieve-2.8.2

Description

A modern CSS selector implementation for BeautifulSoup

Added to portage

2026-01-19

starlette - 0.52.0
Ebuild name:

dev-python/starlette-0.52.0

Description

The little ASGI framework that shines

Added to portage

2026-01-19

strawberry - 1.2.17
Ebuild name:

media-sound/strawberry-1.2.17

Description

Modern music player and library organizer based on Clementine and Qt

Added to portage

2026-01-19

streamlink - 8.1.2
Ebuild name:

net-misc/streamlink-8.1.2

Description

CLI for extracting streams from websites to a video player of your choice

Added to portage

2026-01-19

strongswan - 6.0.4
Ebuild name:

net-vpn/strongswan-6.0.4

Description

IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE

Added to portage

2026-01-19

units - 2.25
Ebuild name:

sci-calculators/units-2.25

Description

Unit conversion program

Added to portage

2026-01-19

vivaldi-snapshot - 7.8.3921.9
Ebuild name:

www-client/vivaldi-snapshot-7.8.3921.9

Description

A browser for our friends

Added to portage

2026-01-19

2026-01-18
async-lru - 2.1.0
Ebuild name:

dev-python/async-lru-2.1.0

Description

Simple lru_cache for asyncio

Added to portage

2026-01-18

blosc - 1.11.4
Ebuild name:

dev-python/blosc-1.11.4

Description

High performance compressor optimized for binary data

Added to portage

2026-01-18

boost-m4 - 0.4_p20221019-r1
Ebuild name:

dev-build/boost-m4-0.4_p20221019-r1

Description

Another set of autoconf macros for compiling against boost

Added to portage

2026-01-18

connection_pool - 3.0.2-r1
Ebuild name:

dev-ruby/connection_pool-3.0.2-r1

Description

Generic connection pooling for Ruby

Added to portage

2026-01-18

dulwich - 1.0.0
Ebuild name:

dev-python/dulwich-1.0.0

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-01-18

hg-evolve - 11.1.10
Ebuild name:

dev-vcs/hg-evolve-11.1.10

Description

enables the changeset evolution feature of Mercurial

Added to portage

2026-01-18

imapclient - 3.1.0
Ebuild name:

dev-python/imapclient-3.1.0

Description

easy-to-use, pythonic, and complete IMAP client library

Added to portage

2026-01-18

maxitest - 6.2.0
Ebuild name:

dev-ruby/maxitest-6.2.0

Description

Minitest + all the features you always wanted

Added to portage

2026-01-18

mercurial - 7.1.2-r1
Ebuild name:

dev-vcs/mercurial-7.1.2-r1

Description

Scalable distributed SCM

Added to portage

2026-01-18

moto - 5.1.20
Ebuild name:

dev-python/moto-5.1.20

Description

Mock library for boto

Added to portage

2026-01-18

opensmtpd - 7.8.0_p0
Ebuild name:

mail-mta/opensmtpd-7.8.0_p0

Description

Lightweight but featured SMTP daemon from OpenBSD

Added to portage

2026-01-18

sbsigntools - 0.9.5
Ebuild name:

app-crypt/sbsigntools-0.9.5

Description

Utilities for signing and verifying files for UEFI Secure Boot

Added to portage

2026-01-18

scummvm - 2026.1.0
Ebuild name:

games-engines/scummvm-2026.1.0

Description

Reimplementation of the SCUMM game engine used in Lucasarts adventur

Added to portage

2026-01-18

trimesh - 4.11.1
Ebuild name:

dev-python/trimesh-4.11.1

Description

Python library for loading and using triangular meshes

Added to portage

2026-01-18

untrunc - 0_pre20260112
Ebuild name:

media-video/untrunc-0_pre20260112

Description

Restore truncated mp4/mov files

Added to portage

2026-01-18

vdr-fritzbox - 1.5.8
Ebuild name:

media-plugins/vdr-fritzbox-1.5.8

Description

VDR Plugin Inform about incoming phone-calls and use the fritz pho

Added to portage

2026-01-18

xmlschema - 4.3.1
Ebuild name:

dev-python/xmlschema-4.3.1

Description

An XML Schema validator and decoder

Added to portage

2026-01-18

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 58.4 ms