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:

86322

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 (50 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-06-27
7zip - 26.02
Ebuild name:

app-arch/7zip-26.02

Description

Free file archiver for extremely high compression

Added to portage

2026-06-27

buildah - 1.44.0-r1
Ebuild name:

app-containers/buildah-1.44.0-r1

Description

A tool that facilitates building OCI images

Added to portage

2026-06-27

container-libs - 0.68.0
Ebuild name:

app-containers/container-libs-0.68.0

Description

Several utilities from the containers project

Added to portage

2026-06-27

docker-buildx - 0.35.0
Ebuild name:

app-containers/docker-buildx-0.35.0

Description

Docker CLI plugin for extended build capabilities with BuildKit

Added to portage

2026-06-27

edk2 - 202605
Ebuild name:

sys-firmware/edk2-202605

Description

TianoCore EDK II UEFI firmware for virtual machines

Added to portage

2026-06-27

edk2-bin - 202605
Ebuild name:

sys-firmware/edk2-bin-202605

Description

TianoCore EDK II UEFI firmware for virtual machines

Added to portage

2026-06-27

firefox - 152.0.3
Ebuild name:

www-client/firefox-152.0.3

Description

Firefox Web Browser

Added to portage

2026-06-27

firefox-bin - 152.0.3
Ebuild name:

www-client/firefox-bin-152.0.3

Description

Firefox Web Browser

Added to portage

2026-06-27

firefox-l10n - 152.0.3
Ebuild name:

www-client/firefox-l10n-152.0.3

Description

Firefox Web Browser's translation files

Added to portage

2026-06-27

fuzzylite - 6.0
Ebuild name:

dev-libs/fuzzylite-6.0

Description

A fuzzy logic control library in C++

Added to portage

2026-06-27

libsquish - 1.15.1.4
Ebuild name:

media-libs/libsquish-1.15.1.4

Description

Library for compressing images with the DXT/S3TC standard

Added to portage

2026-06-27

lyskom-elisp-client - 0.48_p20200226
Ebuild name:

app-emacs/lyskom-elisp-client-0.48_p20200226

Description

Elisp client for the LysKOM conference system

Added to portage

2026-06-27

m-buffer - 0.16.1
Ebuild name:

app-emacs/m-buffer-0.16.1

Description

List Oriented Buffer Operations for Emacs

Added to portage

2026-06-27

macrostep - 0.9.5
Ebuild name:

app-emacs/macrostep-0.9.5

Description

Interactive macro-expander for Emacs

Added to portage

2026-06-27

macrostep-geiser - 0.2.0_p20210717
Ebuild name:

app-emacs/macrostep-geiser-0.2.0_p20210717

Description

Emacs macrostep back-end powered by geiser

Added to portage

2026-06-27

magit - 4.5.0
Ebuild name:

app-emacs/magit-4.5.0

Description

A Git porcelain inside Emacs

Added to portage

2026-06-27

magit - 4.5.0-r1
Ebuild name:

app-emacs/magit-4.5.0-r1

Description

A Git porcelain inside Emacs

Added to portage

2026-06-27

magit - 9999
Ebuild name:

app-emacs/magit-9999

Description

A Git porcelain inside Emacs

Added to portage

2026-06-27

mlt - 7.40.0
Ebuild name:

media-libs/mlt-7.40.0

Description

Open source multimedia framework for television broadcasting

Added to portage

2026-06-27

nerdctl - 2.3.3
Ebuild name:

app-containers/nerdctl-2.3.3

Description

Docker-compatible CLI for containerd, with support for Compose

Added to portage

2026-06-27

netavark - 2.0.0
Ebuild name:

app-containers/netavark-2.0.0

Description

A container network stack

Added to portage

2026-06-27

podman - 6.0.0
Ebuild name:

app-containers/podman-6.0.0

Description

A tool for managing OCI containers and pods with Docker-compatible CLI

Added to portage

2026-06-27

podman-tui - 1.11.2
Ebuild name:

app-containers/podman-tui-1.11.2

Description

Terminal UI frontend for Podman

Added to portage

2026-06-27

skopeo - 1.23.0-r1
Ebuild name:

app-containers/skopeo-1.23.0-r1

Description

Work with remote container images registries

Added to portage

2026-06-27

sonarr-bin - 4.0.19.2979
Ebuild name:

www-apps/sonarr-bin-4.0.19.2979

Description

Sonarr is a Smart PVR for newsgroup and bittorrent users

Added to portage

2026-06-27

vcmi - 1.7.4
Ebuild name:

games-strategy/vcmi-1.7.4

Description

Open-source engine for Heroes of Might and Magic III

Added to portage

2026-06-27

2026-06-26
R - 4.6.1
Ebuild name:

dev-lang/R-4.6.1

Description

Language and environment for statistical computing and graphics

Added to portage

2026-06-26

alembic - 1.18.5
Ebuild name:

dev-python/alembic-1.18.5

Description

Database migrations tool, written by the author of SQLAlchemy

Added to portage

2026-06-26

blis - 2.1
Ebuild name:

sci-libs/blis-2.1

Description

BLAS-like Library Instantiation Software Framework

Added to portage

2026-06-26

cifs-utils - 7.6
Ebuild name:

net-fs/cifs-utils-7.6

Description

Tools for Managing Linux CIFS Client Filesystems

Added to portage

2026-06-26

delve - 1.27.0
Ebuild name:

dev-go/delve-1.27.0

Description

A source-level debugger for the Go programming language

Added to portage

2026-06-26

dxvk - 3.0
Ebuild name:

app-emulation/dxvk-3.0

Description

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine

Added to portage

2026-06-26

glycin-loaders - 2.1.5
Ebuild name:

media-libs/glycin-loaders-2.1.5

Description

Loaders for glycin clients (glycin crate or libglycin)

Added to portage

2026-06-26

google-api-python-client - 2.198.0
Ebuild name:

dev-python/google-api-python-client-2.198.0

Description

Google API Client for Python

Added to portage

2026-06-26

google-auth - 2.55.1
Ebuild name:

dev-python/google-auth-2.55.1

Description

Google Authentication Library

Added to portage

2026-06-26

incus - 7.2
Ebuild name:

app-containers/incus-7.2

Description

Modern, secure and powerful system container and virtual machine manager

Added to portage

2026-06-26

ispc - 1.31.0
Ebuild name:

dev-lang/ispc-1.31.0

Description

Intel SPMD Program Compiler

Added to portage

2026-06-26

libtorrent - 0.16.15
Ebuild name:

net-libs/libtorrent-0.16.15

Description

BitTorrent library written in C++ for *nix

Added to portage

2026-06-26

magit-popup - 2.13.3-r1
Ebuild name:

app-emacs/magit-popup-2.13.3-r1

Description

Define prefix-infix-suffix command combos

Added to portage

2026-06-26

mailcrypt - 3.5.9-r3
Ebuild name:

app-emacs/mailcrypt-3.5.9-r3

Description

Provides a simple interface to public key cryptography with OpenPGP

Added to portage

2026-06-26

mutagen - 1.48.1
Ebuild name:

media-libs/mutagen-1.48.1

Description

Audio metadata tag reader and writer implemented in pure Python

Added to portage

2026-06-26

newsboat - 2.44
Ebuild name:

net-news/newsboat-2.44

Description

An RSS/Atom feed reader for text terminals

Added to portage

2026-06-26

pdns - 5.0.6
Ebuild name:

net-dns/pdns-5.0.6

Description

The PowerDNS Daemon

Added to portage

2026-06-26

pdns - 5.1.2
Ebuild name:

net-dns/pdns-5.1.2

Description

The PowerDNS Daemon

Added to portage

2026-06-26

pdns-recursor - 5.3.8
Ebuild name:

net-dns/pdns-recursor-5.3.8

Description

The PowerDNS Recursor

Added to portage

2026-06-26

pdns-recursor - 5.4.3
Ebuild name:

net-dns/pdns-recursor-5.4.3

Description

The PowerDNS Recursor

Added to portage

2026-06-26

photoqt - 5.4
Ebuild name:

media-gfx/photoqt-5.4

Description

Simple but powerful Qt-based image viewer

Added to portage

2026-06-26

photoqt-extensions - 5.4
Ebuild name:

media-plugins/photoqt-extensions-5.4

Description

Official extensions for PhotoQt

Added to portage

2026-06-26

postfix - 3.12_pre20260624
Ebuild name:

mail-mta/postfix-3.12_pre20260624

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-06-26

pugixml - 1.16
Ebuild name:

dev-libs/pugixml-1.16

Description

Light-weight, simple, and fast XML parser for C++ with XPath support

Added to portage

2026-06-26

pygraphviz - 2.0
Ebuild name:

dev-python/pygraphviz-2.0

Description

Python wrapper for the Graphviz Agraph data structure

Added to portage

2026-06-26

pyproject-fmt - 2.25.1
Ebuild name:

dev-python/pyproject-fmt-2.25.1

Description

Format your pyproject.toml file

Added to portage

2026-06-26

rtorrent - 0.16.15
Ebuild name:

net-p2p/rtorrent-0.16.15

Description

BitTorrent Client using libtorrent

Added to portage

2026-06-26

rutorrent - 5.3.3
Ebuild name:

www-apps/rutorrent-5.3.3

Description

ruTorrent is a front-end for the popular Bittorrent client rTorrent

Added to portage

2026-06-26

samba - 4.23.9
Ebuild name:

net-fs/samba-4.23.9

Description

Samba Suite Version 4

Added to portage

2026-06-26

setuptools-scm - 10.2.0
Ebuild name:

dev-python/setuptools-scm-10.2.0

Description

Manage versions by scm tags via setuptools

Added to portage

2026-06-26

sphinx-autodoc-typehints - 3.12.0
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.12.0

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-06-26

sslscan - 2.2.2
Ebuild name:

net-analyzer/sslscan-2.2.2

Description

Fast SSL configuration scanner

Added to portage

2026-06-26

tox - 4.56.1
Ebuild name:

dev-python/tox-4.56.1

Description

virtualenv-based automation of test activities

Added to portage

2026-06-26

uhd - 4.10.0.0-r1
Ebuild name:

net-wireless/uhd-4.10.0.0-r1

Description

Universal Software Radio Peripheral (USRP) Hardware Driver

Added to portage

2026-06-26

urwid - 4.0.3
Ebuild name:

dev-python/urwid-4.0.3

Description

Curses-based user interface library for Python

Added to portage

2026-06-26

vcs-versioning - 2.2.0
Ebuild name:

dev-python/vcs-versioning-2.2.0

Description

Core VCS versioning functionality from setuptools-scm

Added to portage

2026-06-26

vlc - 4.0.0_pre20260625
Ebuild name:

media-video/vlc-4.0.0_pre20260625

Description

Media player and framework with support for most multimedia files

Added to portage

2026-06-26

wand - 0.7.2
Ebuild name:

dev-python/wand-0.7.2

Description

Ctypes-based simple ImageMagick binding for Python

Added to portage

2026-06-26

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