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:

84224

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-04-07
awscli - 1.44.74
Ebuild name:

app-admin/awscli-1.44.74

Description

Universal Command Line Environment for AWS

Added to portage

2026-04-07

borgmatic - 2.1.4
Ebuild name:

app-backup/borgmatic-2.1.4

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2026-04-07

boto3 - 1.42.84
Ebuild name:

dev-python/boto3-1.42.84

Description

The AWS SDK for Python

Added to portage

2026-04-07

botocore - 1.42.84
Ebuild name:

dev-python/botocore-1.42.84

Description

Low-level, data-driven core of boto 3

Added to portage

2026-04-07

bsnes-jg - 2.1.0
Ebuild name:

games-emulation/bsnes-jg-2.1.0

Description

Jolly Good Fork of bsnes

Added to portage

2026-04-07

chromium - 148.0.7766.3
Ebuild name:

www-client/chromium-148.0.7766.3

Description

Open-source version of Google Chrome web browser

Added to portage

2026-04-07

django-tables2 - 2.9.0
Ebuild name:

dev-python/django-tables2-2.9.0

Description

Table/data-grid framework for Django

Added to portage

2026-04-07

doge - 3.9.2
Ebuild name:

games-misc/doge-3.9.2

Description

wow very terminal doge

Added to portage

2026-04-07

environs - 15.0.1
Ebuild name:

dev-python/environs-15.0.1

Description

Python library for simplified environment variable parsing

Added to portage

2026-04-07

ergo - 2.18.0
Ebuild name:

net-irc/ergo-2.18.0

Description

Modern IRC server written in Go

Added to portage

2026-04-07

faker - 40.13.0
Ebuild name:

dev-python/faker-40.13.0

Description

A Python package that generates fake data for you

Added to portage

2026-04-07

fq - 0.17.0
Ebuild name:

dev-util/fq-0.17.0

Description

Tool for working with binary data (app-misc/jq for binary formats)

Added to portage

2026-04-07

gdbus-codegen - 2.86.5
Ebuild name:

dev-util/gdbus-codegen-2.86.5

Description

GDBus code and documentation generator

Added to portage

2026-04-07

gdbus-codegen - 2.88.0
Ebuild name:

dev-util/gdbus-codegen-2.88.0

Description

GDBus code and documentation generator

Added to portage

2026-04-07

git-delta - 0.19.2
Ebuild name:

dev-util/git-delta-0.19.2

Description

Syntax-highlighting pager for git

Added to portage

2026-04-07

glib - 2.84.4-r4
Ebuild name:

dev-libs/glib-2.84.4-r4

Description

The GLib library of C routines

Added to portage

2026-04-07

glib - 2.86.5
Ebuild name:

dev-libs/glib-2.86.5

Description

The GLib library of C routines

Added to portage

2026-04-07

glib - 2.88.0
Ebuild name:

dev-libs/glib-2.88.0

Description

The GLib library of C routines

Added to portage

2026-04-07

glib-utils - 2.86.5
Ebuild name:

dev-util/glib-utils-2.86.5

Description

Build utilities for GLib using projects

Added to portage

2026-04-07

glib-utils - 2.88.0
Ebuild name:

dev-util/glib-utils-2.88.0

Description

Build utilities for GLib using projects

Added to portage

2026-04-07

gn - 0.2354
Ebuild name:

dev-build/gn-0.2354

Description

GN is a meta-build system that generates build files for Ninja

Added to portage

2026-04-07

granite - 7.8.1-r1
Ebuild name:

dev-libs/granite-7.8.1-r1

Description

Elementary OS library that extends GTK+

Added to portage

2026-04-07

gsd - 5.0.0
Ebuild name:

dev-python/gsd-5.0.0

Description

GSD - file format specification and a library to read and write it

Added to portage

2026-04-07

indilib - 2.2.0
Ebuild name:

sci-libs/indilib-2.2.0

Description

INDI Astronomical Control Protocol library

Added to portage

2026-04-07

jgrf - 1.3.0
Ebuild name:

games-emulation/jgrf-1.3.0

Description

The Jolly Good Reference Frontend

Added to portage

2026-04-07

jwcrypto - 1.5.7
Ebuild name:

dev-python/jwcrypto-1.5.7

Description

Implements JWK,JWS,JWE specifications using python-cryptography

Added to portage

2026-04-07

kio-gopher - 2.0.0
Ebuild name:

kde-misc/kio-gopher-2.0.0

Description

Gopher KIO worker for Konqueror

Added to portage

2026-04-07

kstars - 3.8.2
Ebuild name:

sci-astronomy/kstars-3.8.2

Description

Desktop Planetarium

Added to portage

2026-04-07

libsvm - 3.37
Ebuild name:

sci-libs/libsvm-3.37

Description

Library for Support Vector Machines

Added to portage

2026-04-07

moor - 2.12.0
Ebuild name:

sys-apps/moor-2.12.0

Description

Pager designed to do the right thing without any configuration

Added to portage

2026-04-07

narwhals - 2.19.0
Ebuild name:

dev-python/narwhals-2.19.0

Description

Extremely lightweight compatibility layer between dataframe libraries

Added to portage

2026-04-07

nasty - 0.6-r2
Ebuild name:

app-crypt/nasty-0.6-r2

Description

Proof-of-concept GPG passphrase recovery tool

Added to portage

2026-04-07

neomutt - 20260406
Ebuild name:

mail-client/neomutt-20260406

Description

A small but very powerful text-based mail client

Added to portage

2026-04-07

nitrocli - 0.4.1-r2
Ebuild name:

app-crypt/nitrocli-0.4.1-r2

Description

A command line tool for interacting with Nitrokey devices

Added to portage

2026-04-07

nwipe - 0.39
Ebuild name:

app-crypt/nwipe-0.39

Description

Securely erase disks using a variety of recognized methods

Added to portage

2026-04-07

nwipe - 0.40
Ebuild name:

app-crypt/nwipe-0.40

Description

Securely erase disks using a variety of recognized methods

Added to portage

2026-04-07

ocserv - 1.4.1
Ebuild name:

net-vpn/ocserv-1.4.1

Description

Openconnect SSL VPN server

Added to portage

2026-04-07

onak - 0.6.3
Ebuild name:

app-crypt/onak-0.6.3

Description

onak is an OpenPGP keyserver

Added to portage

2026-04-07

palo - 2.29
Ebuild name:

sys-boot/palo-2.29

Description

PALO PArisc Linux Loader

Added to portage

2026-04-07

pkixssh - 18.0.2
Ebuild name:

net-misc/pkixssh-18.0.2

Description

OpenSSH fork with X.509 v3 certificate support

Added to portage

2026-04-07

pylru - 1.3.1
Ebuild name:

dev-python/pylru-1.3.1

Description

A least recently used (LRU) cache for Python

Added to portage

2026-04-07

python-subunit - 1.4.4-r1
Ebuild name:

dev-python/python-subunit-1.4.4-r1

Description

A streaming protocol for test results

Added to portage

2026-04-07

python-subunit - 1.4.5-r1
Ebuild name:

dev-python/python-subunit-1.4.5-r1

Description

A streaming protocol for test results

Added to portage

2026-04-07

qtile - 0.35.0-r1
Ebuild name:

x11-wm/qtile-0.35.0-r1

Description

A full-featured, hackable tiling window manager written in Python

Added to portage

2026-04-07

recurring-ical-events - 3.8.1-r1
Ebuild name:

dev-python/recurring-ical-events-3.8.1-r1

Description

Repeat ICalendar events by RRULE, RDATE and EXDATE

Added to portage

2026-04-07

rsync - 3.4.1-r3
Ebuild name:

net-misc/rsync-3.4.1-r3

Description

File transfer program to keep remote files into sync

Added to portage

2026-04-07

rtslib-fb - 2.2.4-r1
Ebuild name:

dev-python/rtslib-fb-2.2.4-r1

Description

A Python object API for managing the Linux LIO kernel target

Added to portage

2026-04-07

sameboy-jg - 1.0.3
Ebuild name:

games-emulation/sameboy-jg-1.0.3

Description

Jolly Good Port of SameBoy

Added to portage

2026-04-07

testtools - 2.9.0
Ebuild name:

dev-python/testtools-2.9.0

Description

Extensions to the Python standard library unit testing framework

Added to portage

2026-04-07

uvicorn - 0.44.0
Ebuild name:

dev-python/uvicorn-0.44.0

Description

Lightning-fast ASGI server implementation

Added to portage

2026-04-07

2026-04-06
PAR-Packer - 1.64.0-r1
Ebuild name:

dev-perl/PAR-Packer-1.64.0-r1

Description

PAR Packager

Added to portage

2026-04-06

Search-Xapian - 1.2.25.6
Ebuild name:

dev-perl/Search-Xapian-1.2.25.6

Description

Perl XS frontend to the Xapian C++ search library

Added to portage

2026-04-06

alpine - 2.29.9
Ebuild name:

mail-client/alpine-2.29.9

Description

An easy to use text-based based mail and news client

Added to portage

2026-04-06

boost - 1.90.0-r1
Ebuild name:

dev-libs/boost-1.90.0-r1

Description

Boost Libraries for C++

Added to portage

2026-04-06

cython-test-exception-raiser - 26.4.1
Ebuild name:

dev-python/cython-test-exception-raiser-26.4.1

Description

A trivial extension that just raises an exception (f

Added to portage

2026-04-06

dist-kernel - 6.6.133
Ebuild name:

virtual/dist-kernel-6.6.133

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-06

elfutils - 0.194-r3
Ebuild name:

dev-libs/elfutils-0.194-r3

Description

Libraries/utilities to handle ELF objects (drop in replacement for libel

Added to portage

2026-04-06

frr - 10.1.4-r1
Ebuild name:

net-misc/frr-10.1.4-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

frr - 10.2.5-r1
Ebuild name:

net-misc/frr-10.2.5-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

frr - 10.3.3-r1
Ebuild name:

net-misc/frr-10.3.3-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

frr - 10.4.3-r1
Ebuild name:

net-misc/frr-10.4.3-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

frr - 10.5.3-r1
Ebuild name:

net-misc/frr-10.5.3-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

frr - 10.6.0-r1
Ebuild name:

net-misc/frr-10.6.0-r1

Description

The FRRouting Protocol Suite

Added to portage

2026-04-06

gcc - 16.0.1_p20260405-r1
Ebuild name:

sys-devel/gcc-16.0.1_p20260405-r1

Description

The GNU Compiler Collection

Added to portage

2026-04-06

gdl - 1.0.4-r3
Ebuild name:

dev-lang/gdl-1.0.4-r3

Description

GNU Data Language

Added to portage

2026-04-06

gentoo-kernel - 6.6.133
Ebuild name:

sys-kernel/gentoo-kernel-6.6.133

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-06

gentoo-kernel-bin - 6.6.133
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.133

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-06

gentoo-sources - 6.6.133
Ebuild name:

sys-kernel/gentoo-sources-6.6.133

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-04-06

git-sources - 7.0_rc7
Ebuild name:

sys-kernel/git-sources-7.0_rc7

Description

The very latest -git version of the Linux kernel

Added to portage

2026-04-06

hwdata - 0.401
Ebuild name:

sys-apps/hwdata-0.401

Description

Hardware identification and configuration data

Added to portage

2026-04-06

hypothesis - 6.151.11
Ebuild name:

dev-python/hypothesis-6.151.11

Description

A library for property based testing

Added to portage

2026-04-06

jellyfin-bin - 10.11.8
Ebuild name:

www-apps/jellyfin-bin-10.11.8

Description

Jellyfin puts you in control of managing and streaming your media

Added to portage

2026-04-06

libnpupnp - 6.3.0
Ebuild name:

net-libs/libnpupnp-6.3.0

Description

A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp

Added to portage

2026-04-06

libupnpp - 1.0.4
Ebuild name:

net-libs/libupnpp-1.0.4

Description

The libupnpp C++ library wraps libupnp for easier use by upmpdcli and uppla

Added to portage

2026-04-06

limine - 10.8.5
Ebuild name:

sys-boot/limine-10.8.5

Description

Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloade

Added to portage

2026-04-06

limine - 11.2.0
Ebuild name:

sys-boot/limine-11.2.0

Description

Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloade

Added to portage

2026-04-06

man-pages-l10n - 4.30.0-r1
Ebuild name:

app-i18n/man-pages-l10n-4.30.0-r1

Description

A somewhat comprehensive collection of man page translations

Added to portage

2026-04-06

meson - 1.11.0_rc3
Ebuild name:

dev-build/meson-1.11.0_rc3

Description

Open source build system

Added to portage

2026-04-06

mit-krb5 - 1.22.2-r1
Ebuild name:

app-crypt/mit-krb5-1.22.2-r1

Description

MIT Kerberos V

Added to portage

2026-04-06

mkvtoolnix - 98.0
Ebuild name:

media-video/mkvtoolnix-98.0

Description

Tools to create, alter, and inspect Matroska files

Added to portage

2026-04-06

monkeysphere - 0.44-r2
Ebuild name:

app-crypt/monkeysphere-0.44-r2

Description

Leverage the OpenPGP web of trust for OpenSSH and Web authentication

Added to portage

2026-04-06

moolticute - 1.03.0-r2
Ebuild name:

app-crypt/moolticute-1.03.0-r2

Description

Mooltipass crossplatform daemon/tools

Added to portage

2026-04-06

moolticute - 9999
Ebuild name:

app-crypt/moolticute-9999

Description

Mooltipass crossplatform daemon/tools

Added to portage

2026-04-06

nasty - 0.6-r2
Ebuild name:

app-crypt/nasty-0.6-r2

Description

Proof-of-concept GPG passphrase recovery tool

Added to portage

2026-04-06

nitrocli - 0.4.1-r2
Ebuild name:

app-crypt/nitrocli-0.4.1-r2

Description

A command line tool for interacting with Nitrokey devices

Added to portage

2026-04-06

openrc - 0.63.1
Ebuild name:

sys-apps/openrc-0.63.1

Description

OpenRC manages the services, startup and shutdown of a host

Added to portage

2026-04-06

pciutils - 3.15.0
Ebuild name:

sys-apps/pciutils-3.15.0

Description

Various utilities dealing with the PCI bus

Added to portage

2026-04-06

pep - 2.8-r3
Ebuild name:

app-text/pep-2.8-r3

Description

General purpose filter and file cleaning program

Added to portage

2026-04-06

portage - 3.0.77-r4
Ebuild name:

sys-apps/portage-3.0.77-r4

Description

The package management and distribution system for Gentoo

Added to portage

2026-04-06

pp - 0.6.3-r1
Ebuild name:

dev-ruby/pp-0.6.3-r1

Description

Provides a PrettyPrinter for Ruby objects

Added to portage

2026-04-06

pyglet - 2.1.14
Ebuild name:

dev-python/pyglet-2.1.14

Description

Cross-platform windowing and multimedia library for Python

Added to portage

2026-04-06

python-multipart - 0.0.24
Ebuild name:

dev-python/python-multipart-0.0.24

Description

A streaming multipart parser for Python

Added to portage

2026-04-06

sabctools - 9.3.0
Ebuild name:

dev-python/sabctools-9.3.0

Description

Module providing raw yEnc encoding/decoding for SABnzbd

Added to portage

2026-04-06

sigscheme - 0.9.5
Ebuild name:

dev-scheme/sigscheme-0.9.5

Description

SigScheme is an R5RS Scheme interpreter for embedded use

Added to portage

2026-04-06

stone-soup - 0.34.1
Ebuild name:

games-roguelike/stone-soup-0.34.1

Description

Role-playing roguelike game of exploration and treasure-hunting i

Added to portage

2026-04-06

tavern - 3.3.2
Ebuild name:

dev-python/tavern-3.3.2

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-04-06

unicode-cldr - 48.1
Ebuild name:

app-i18n/unicode-cldr-48.1

Description

Unicode Common Locale Data Repository

Added to portage

2026-04-06

upmpdcli - 1.9.15
Ebuild name:

media-sound/upmpdcli-1.9.15

Description

UPnP Media Renderer front-end for MPD, the Music Player Daemon

Added to portage

2026-04-06

vanilla-kernel - 6.6.133
Ebuild name:

sys-kernel/vanilla-kernel-6.6.133

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-06

vanilla-sources - 6.6.133
Ebuild name:

sys-kernel/vanilla-sources-6.6.133

Description

Full sources for the Linux kernel

Added to portage

2026-04-06

webkit-gtk - 2.52.1-r410
Ebuild name:

net-libs/webkit-gtk-2.52.1-r410

Description

Open source web browser engine

Added to portage

2026-04-06

webkit-gtk - 2.52.1-r600
Ebuild name:

net-libs/webkit-gtk-2.52.1-r600

Description

Open source web browser engine

Added to portage

2026-04-06

whenever - 0.10.0
Ebuild name:

dev-python/whenever-0.10.0

Description

Modern datetime library for Python

Added to portage

2026-04-06

wiiload - 0.5.3
Ebuild name:

games-util/wiiload-0.5.3

Description

Load homebrew apps over the network to your Wii

Added to portage

2026-04-06

winbox - 4.1_rc2
Ebuild name:

app-admin/winbox-4.1_rc2

Description

Management Software for MikroTik RouterOS

Added to portage

2026-04-06

wine-staging - 11.6
Ebuild name:

app-emulation/wine-staging-11.6

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patch

Added to portage

2026-04-06

xapian - 2.0.0
Ebuild name:

dev-libs/xapian-2.0.0

Description

Xapian Probabilistic Information Retrieval library

Added to portage

2026-04-06

xapian-bindings - 2.0.0
Ebuild name:

dev-libs/xapian-bindings-2.0.0

Description

SWIG and JNI bindings for Xapian

Added to portage

2026-04-06

xapian-omega - 2.0.0
Ebuild name:

app-text/xapian-omega-2.0.0

Description

An application built on Xapian, consisting of indexers and a CGI search

Added to portage

2026-04-06

zeal - 0.8.1
Ebuild name:

app-text/zeal-0.8.1

Description

Offline documentation browser inspired by Dash

Added to portage

2026-04-06

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