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:

89679

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-10-30
affine - 3.0.1
Ebuild name:

sci-geosciences/affine-3.0.1

Description

Affine transformation matrices

Added to portage

2026-10-30

deluge - 2.1.1-r10
Ebuild name:

net-p2p/deluge-2.1.1-r10

Description

BitTorrent client with a client/server model

Added to portage

2026-10-30

deluge - 2.2.0-r3
Ebuild name:

net-p2p/deluge-2.2.0-r3

Description

BitTorrent client with a client/server model

Added to portage

2026-10-30

kirigami-addons - 1.16.0
Ebuild name:

dev-libs/kirigami-addons-1.16.0

Description

Visual end user components for Kirigami-based applications

Added to portage

2026-10-30

libtorrent-rasterbar - 2.0.15
Ebuild name:

net-libs/libtorrent-rasterbar-2.0.15

Description

C++ BitTorrent implementation focusing on efficiency and scala

Added to portage

2026-10-30

obs-studio - 33.0.1
Ebuild name:

media-video/obs-studio-33.0.1

Description

Software for Recording and Streaming Live Video Content

Added to portage

2026-10-30

qbittorrent - 5.1.4-r2
Ebuild name:

net-p2p/qbittorrent-5.1.4-r2

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

qbittorrent - 5.2.4-r1
Ebuild name:

net-p2p/qbittorrent-5.2.4-r1

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

qbittorrent - 5.3.0-r1
Ebuild name:

net-p2p/qbittorrent-5.3.0-r1

Description

BitTorrent client in C++ and Qt

Added to portage

2026-10-30

rasterio - 1.5.2
Ebuild name:

sci-geosciences/rasterio-1.5.2

Description

Rasterio reads and writes geospatial raster datasets

Added to portage

2026-10-30

2026-10-29
android-studio - 2026.2.2.8
Ebuild name:

dev-util/android-studio-2026.2.2.8

Description

Android development environment based on IntelliJ IDEA

Added to portage

2026-10-29

asdf - 3.3.7
Ebuild name:

dev-lisp/asdf-3.3.7

Description

ASDF is Another System Definition Facility for Common Lisp

Added to portage

2026-10-29

aws-c-s3 - 1.5.1
Ebuild name:

dev-libs/aws-c-s3-1.5.1

Description

AWS C S3 async library

Added to portage

2026-10-29

cachetools - 7.2.7
Ebuild name:

dev-python/cachetools-7.2.7

Description

Extensible memoizing collections and decorators

Added to portage

2026-10-29

cfn-lint - 1.59.0
Ebuild name:

dev-python/cfn-lint-1.59.0

Description

CloudFormation Linter

Added to portage

2026-10-29

cli-helpers - 2.15.3
Ebuild name:

dev-python/cli-helpers-2.15.3

Description

Python helpers for common CLI tasks

Added to portage

2026-10-29

clozurecl - 1.14
Ebuild name:

dev-lisp/clozurecl-1.14

Description

Common Lisp implementation, derived from Digitool's MCL product

Added to portage

2026-10-29

editorconfig-core-c - 0.12.11
Ebuild name:

app-text/editorconfig-core-c-0.12.11

Description

EditorConfig core library written in C

Added to portage

2026-10-29

editorconfig-core-c - 0.12.11-r1
Ebuild name:

app-text/editorconfig-core-c-0.12.11-r1

Description

EditorConfig core library written in C

Added to portage

2026-10-29

faker - 40.44.0
Ebuild name:

dev-python/faker-40.44.0

Description

A Python package that generates fake data for you

Added to portage

2026-10-29

fastsimdjson - 0.9.0
Ebuild name:

dev-python/fastsimdjson-0.9.0

Description

fast JSON in Python

Added to portage

2026-10-29

flake8 - 7.5.0
Ebuild name:

dev-python/flake8-7.5.0

Description

A wrapper around PyFlakes, pep8 & mccabe

Added to portage

2026-10-29

gentoo-reminders - 0.1.0
Ebuild name:

app-portage/gentoo-reminders-0.1.0

Description

Generate reminder emails for Gentoo package maintainers

Added to portage

2026-10-29

ggml - 0.28.0
Ebuild name:

sci-ml/ggml-0.28.0

Description

Tensor library for machine learning

Added to portage

2026-10-29

google-api-core - 2.43.1
Ebuild name:

dev-python/google-api-core-2.43.1

Description

Core Library for Google Client Libraries

Added to portage

2026-10-29

gpxsee - 16.19
Ebuild name:

sci-geosciences/gpxsee-16.19

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea fil

Added to portage

2026-10-29

hermes - 3.2
Ebuild name:

dev-util/hermes-3.2

Description

Lua based testing manager

Added to portage

2026-10-29

hspec - 2.11.18
Ebuild name:

dev-haskell/hspec-2.11.18

Description

A Testing Framework for Haskell

Added to portage

2026-10-29

hspec-core - 2.11.18
Ebuild name:

dev-haskell/hspec-core-2.11.18

Description

A Testing Framework for Haskell

Added to portage

2026-10-29

hspec-discover - 2.11.18
Ebuild name:

dev-haskell/hspec-discover-2.11.18

Description

Automatically discover and run Hspec tests

Added to portage

2026-10-29

hspec-meta - 2.11.18
Ebuild name:

dev-haskell/hspec-meta-2.11.18

Description

A version of Hspec which is used to test Hspec itself

Added to portage

2026-10-29

httplib2 - 0.32.1
Ebuild name:

dev-python/httplib2-0.32.1

Description

A comprehensive HTTP client library

Added to portage

2026-10-29

imageio-ffmpeg - 0.7.0
Ebuild name:

dev-python/imageio-ffmpeg-0.7.0

Description

FFMPEG wrapper for Python

Added to portage

2026-10-29

keepsecret - 26.08.2
Ebuild name:

app-crypt/keepsecret-26.08.2

Description

Password manager GUI for SecretService providers

Added to portage

2026-10-29

keybase - 6.0.2
Ebuild name:

app-crypt/keybase-6.0.2

Description

Keybase client

Added to portage

2026-10-29

keybase - 6.2.4
Ebuild name:

app-crypt/keybase-6.2.4

Description

Keybase client

Added to portage

2026-10-29

keybase - 9999
Ebuild name:

app-crypt/keybase-9999

Description

Keybase client

Added to portage

2026-10-29

lmod - 9.4.5
Ebuild name:

sys-cluster/lmod-9.4.5

Description

Environment Module System based on Lua

Added to portage

2026-10-29

maturin - 1.16.0
Ebuild name:

dev-util/maturin-1.16.0

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-10-29

mypy - 2.4.1
Ebuild name:

dev-python/mypy-2.4.1

Description

Optional static typing for Python

Added to portage

2026-10-29

netpbm - 11.16.2
Ebuild name:

media-libs/netpbm-11.16.2

Description

A set of utilities for converting to/from the netpbm (and related) format

Added to portage

2026-10-29

netpbm - 11.2.31
Ebuild name:

media-libs/netpbm-11.2.31

Description

A set of utilities for converting to/from the netpbm (and related) format

Added to portage

2026-10-29

nodejs - 24.22.2
Ebuild name:

net-libs/nodejs-24.22.2

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-10-29

ollama - 0.40.10
Ebuild name:

sci-ml/ollama-0.40.10

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models

Added to portage

2026-10-29

openjdk - 17.0.21.0.3_p1
Ebuild name:

dev-java/openjdk-17.0.21.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 21.0.13.0.3_p1
Ebuild name:

dev-java/openjdk-21.0.13.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 25.0.5.0.3_p1
Ebuild name:

dev-java/openjdk-25.0.5.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk - 27.0.1.0.3_p1
Ebuild name:

dev-java/openjdk-27.0.1.0.3_p1

Description

Open source implementation of the Java programming language

Added to portage

2026-10-29

openjdk-jre-bin - 17.0.21_p9
Ebuild name:

dev-java/openjdk-jre-bin-17.0.21_p9

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

openjdk-jre-bin - 21.0.13_p9
Ebuild name:

dev-java/openjdk-jre-bin-21.0.13_p9

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

openjdk-jre-bin - 25.0.5_p8
Ebuild name:

dev-java/openjdk-jre-bin-25.0.5_p8

Description

Prebuilt Java JRE binaries provided by Eclipse Temurin

Added to portage

2026-10-29

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

sec-keys/openpgp-keys-gentoo-developers-20261026

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-10-29

oslo-config - 10.8.0
Ebuild name:

dev-python/oslo-config-10.8.0

Description

Oslo Configuration API

Added to portage

2026-10-29

paste - 3.11.0
Ebuild name:

dev-python/paste-3.11.0

Description

Tools for using a Web Server Gateway Interface stack

Added to portage

2026-10-29

pkginfo - 2.0
Ebuild name:

dev-python/pkginfo-2.0

Description

Provides an API for querying the distutils metadata written in a PKG-INFO fi

Added to portage

2026-10-29

plasma-workspace - 6.8.2-r1
Ebuild name:

kde-plasma/plasma-workspace-6.8.2-r1

Description

KDE Plasma workspace

Added to portage

2026-10-29

plex-media-server - 1.43.5.11079
Ebuild name:

media-tv/plex-media-server-1.43.5.11079

Description

Free media library that is intended for use with a plex cli

Added to portage

2026-10-29

pmix - 5.0.4-r2
Ebuild name:

sys-cluster/pmix-5.0.4-r2

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

pmix - 5.0.9-r1
Ebuild name:

sys-cluster/pmix-5.0.9-r1

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

pmix - 6.1.0-r1
Ebuild name:

sys-cluster/pmix-6.1.0-r1

Description

The Process Management Interface (PMI) Exascale

Added to portage

2026-10-29

prrte - 3.0.12-r1
Ebuild name:

sys-cluster/prrte-3.0.12-r1

Description

PMIx Reference RunTime Environment

Added to portage

2026-10-29

prrte - 3.0.7-r2
Ebuild name:

sys-cluster/prrte-3.0.7-r2

Description

PMIx Reference RunTime Environment

Added to portage

2026-10-29

pydantic-settings - 2.16.2
Ebuild name:

dev-python/pydantic-settings-2.16.2

Description

Settings management using Pydantic

Added to portage

2026-10-29

pyflakes - 4.1.0
Ebuild name:

dev-python/pyflakes-4.1.0

Description

Passive checker for Python programs

Added to portage

2026-10-29

pypdf - 6.21.4
Ebuild name:

dev-python/pypdf-6.21.4

Description

Python library to work with PDF files

Added to portage

2026-10-29

pytest-forked - 1.7.5-r1
Ebuild name:

dev-python/pytest-forked-1.7.5-r1

Description

Run tests in isolated forked subprocesses

Added to portage

2026-10-29

python-engineio - 4.15.1
Ebuild name:

dev-python/python-engineio-4.15.1

Description

Python implementation of the Engine.IO realtime server

Added to portage

2026-10-29

pytorch - 2.15.0
Ebuild name:

sci-ml/pytorch-2.15.0

Description

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Added to portage

2026-10-29

reaper-bin - 7.83-r2
Ebuild name:

media-sound/reaper-bin-7.83-r2

Description

Digital audio workstation

Added to portage

2026-10-29

rivet - 4.1.4
Ebuild name:

sci-physics/rivet-4.1.4

Description

Robust Independent Validation of Experiment and Theory toolkit

Added to portage

2026-10-29

rq - 3.0.0
Ebuild name:

dev-python/rq-3.0.0

Description

Simple, lightweight library for creating and processing background jobs

Added to portage

2026-10-29

simdjson - 5.0.8
Ebuild name:

dev-libs/simdjson-5.0.8

Description

SIMD accelerated C++ JSON library

Added to portage

2026-10-29

spidermonkey - 153.6.0
Ebuild name:

dev-lang/spidermonkey-153.6.0

Description

Mozilla's JavaScript engine written in C and C++

Added to portage

2026-10-29

uiop - 3.3.7
Ebuild name:

dev-lisp/uiop-3.3.7

Description

UIOP is a portability layer spun off ASDF3

Added to portage

2026-10-29

urwid - 5.0.0
Ebuild name:

dev-python/urwid-5.0.0

Description

Curses-based user interface library for Python

Added to portage

2026-10-29

wordpress - 6.4.14
Ebuild name:

www-apps/wordpress-6.4.14

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.5.14
Ebuild name:

www-apps/wordpress-6.5.14

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.6.11
Ebuild name:

www-apps/wordpress-6.6.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.7.11
Ebuild name:

www-apps/wordpress-6.7.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.8.12
Ebuild name:

www-apps/wordpress-6.8.12

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 6.9.11
Ebuild name:

www-apps/wordpress-6.9.11

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 7.0.8
Ebuild name:

www-apps/wordpress-7.0.8

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

wordpress - 7.1.4
Ebuild name:

www-apps/wordpress-7.1.4

Description

Wordpress PHP and MySQL based content management system (CMS)

Added to portage

2026-10-29

xlsxwriter - 3.3.1
Ebuild name:

dev-python/xlsxwriter-3.3.1

Description

Python module for creating Excel XLSX files

Added to portage

2026-10-29

xmrig - 6.26.0-r1
Ebuild name:

net-misc/xmrig-6.26.0-r1

Description

RandomX, CryptoNight, KawPow, AstroBWT, and Argon2 CPU/GPU miner

Added to portage

2026-10-29

yoda - 2.1.4
Ebuild name:

sci-physics/yoda-2.1.4

Description

Yet more Objects for (High Energy Physics) Data Analysis

Added to portage

2026-10-29

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