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:

83801

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-03-17
ansible-pylibssh - 1.4.0
Ebuild name:

dev-python/ansible-pylibssh-1.4.0

Description

Python bindings for libssh client specific to Ansible use case

Added to portage

2026-03-17

awscli - 1.44.59
Ebuild name:

app-admin/awscli-1.44.59

Description

Universal Command Line Environment for AWS

Added to portage

2026-03-17

boto3 - 1.42.69
Ebuild name:

dev-python/boto3-1.42.69

Description

The AWS SDK for Python

Added to portage

2026-03-17

botocore - 1.42.69
Ebuild name:

dev-python/botocore-1.42.69

Description

Low-level, data-driven core of boto 3

Added to portage

2026-03-17

difftastic - 0.68.0
Ebuild name:

dev-util/difftastic-0.68.0

Description

A structural diff that understands syntax.

Added to portage

2026-03-17

elfutils - 0.193-r2
Ebuild name:

dev-libs/elfutils-0.193-r2

Description

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

Added to portage

2026-03-17

elfutils - 0.194-r1
Ebuild name:

dev-libs/elfutils-0.194-r1

Description

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

Added to portage

2026-03-17

evisum - 1.0.0
Ebuild name:

sys-process/evisum-1.0.0

Description

System and process monitor written with EFL

Added to portage

2026-03-17

ffmpeg - 8.1
Ebuild name:

media-video/ffmpeg-8.1

Description

Complete solution to record/convert/stream audio and video

Added to portage

2026-03-17

hiredis - 3.3.1
Ebuild name:

dev-python/hiredis-3.3.1

Description

Python extension that wraps hiredis

Added to portage

2026-03-17

nerd-icons - 0.1.0
Ebuild name:

app-emacs/nerd-icons-0.1.0

Description

Emacs Nerd Font Icons Library

Added to portage

2026-03-17

openfortivpn - 1.24.1
Ebuild name:

net-vpn/openfortivpn-1.24.1

Description

Fortinet compatible VPN client

Added to portage

2026-03-17

pipx - 1.9.0
Ebuild name:

dev-python/pipx-1.9.0

Description

Install and Run Python Applications in Isolated Environments

Added to portage

2026-03-17

pyasn1 - 0.6.3
Ebuild name:

dev-python/pyasn1-0.6.3

Description

ASN.1 library for Python

Added to portage

2026-03-17

pyproject-fmt - 2.19.0
Ebuild name:

dev-python/pyproject-fmt-2.19.0

Description

Format your pyproject.toml file

Added to portage

2026-03-17

simpleeval - 1.0.7
Ebuild name:

dev-python/simpleeval-1.0.7

Description

A simple, safe single expression evaluator library

Added to portage

2026-03-17

solarus-quest-editor - 2.0.3-r1
Ebuild name:

games-misc/solarus-quest-editor-2.0.3-r1

Description

Quest editor for Solarus game engine

Added to portage

2026-03-17

telegram-desktop - 6.6.2
Ebuild name:

net-im/telegram-desktop-6.6.2

Description

Official desktop client for Telegram

Added to portage

2026-03-17

tg_owt - 0_pre20260309
Ebuild name:

media-libs/tg_owt-0_pre20260309

Description

WebRTC build for Telegram

Added to portage

2026-03-17

types-docutils - 0.22.3.20260316
Ebuild name:

dev-python/types-docutils-0.22.3.20260316

Description

Typing stubs for docutils

Added to portage

2026-03-17

util-linux - 2.41.3-r1
Ebuild name:

sys-apps/util-linux-2.41.3-r1

Description

Various useful Linux utilities

Added to portage

2026-03-17

uv - 0.10.11
Ebuild name:

dev-python/uv-0.10.11

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-03-17

uv-build - 0.10.11
Ebuild name:

dev-python/uv-build-0.10.11

Description

PEP517 uv build backend

Added to portage

2026-03-17

uvicorn - 0.42.0
Ebuild name:

dev-python/uvicorn-0.42.0

Description

Lightning-fast ASGI server implementation

Added to portage

2026-03-17

xmms2 - 0.9.7
Ebuild name:

media-sound/xmms2-0.9.7

Description

X(cross)platform Music Multiplexing System, next generation of the XMMS pla

Added to portage

2026-03-17

2026-03-16
DBD-SQLite - 1.780.0
Ebuild name:

dev-perl/DBD-SQLite-1.780.0

Description

Self Contained RDBMS in a DBI Driver

Added to portage

2026-03-16

DBIx-Migration - 0.320.0
Ebuild name:

dev-perl/DBIx-Migration-0.320.0

Description

Seamless DB schema up- and downgrades

Added to portage

2026-03-16

Date-Manip - 6.990.0
Ebuild name:

dev-perl/Date-Manip-6.990.0

Description

Perl date manipulation routines

Added to portage

2026-03-16

DateTime-Format-ISO8601 - 0.190.0
Ebuild name:

dev-perl/DateTime-Format-ISO8601-0.190.0

Description

Parses ISO8601 formats

Added to portage

2026-03-16

DateTime-Format-Natural - 1.250.0
Ebuild name:

dev-perl/DateTime-Format-Natural-1.250.0

Description

Parse informal natural language date/time strings

Added to portage

2026-03-16

DateTime-Format-Strptime - 1.800.0
Ebuild name:

dev-perl/DateTime-Format-Strptime-1.800.0

Description

Parse and Format DateTimes using Strptime

Added to portage

2026-03-16

DateTime-TimeZone - 2.670.0
Ebuild name:

dev-perl/DateTime-TimeZone-2.670.0

Description

Time zone object base class and factory

Added to portage

2026-03-16

Devel-Cover - 1.520.0
Ebuild name:

dev-perl/Devel-Cover-1.520.0

Description

Code coverage metrics for Perl

Added to portage

2026-03-16

Devel-Hide - 0.1.600
Ebuild name:

dev-perl/Devel-Hide-0.1.600

Description

Forces the unavailability of specified Perl modules (for testing)

Added to portage

2026-03-16

Devel-PatchPerl - 2.140.0
Ebuild name:

dev-perl/Devel-PatchPerl-2.140.0

Description

Patch perl source a la Devel buildperl.pl

Added to portage

2026-03-16

Devel-Size - 0.860.0
Ebuild name:

dev-perl/Devel-Size-0.860.0

Description

Perl extension for finding the memory usage of Perl variables

Added to portage

2026-03-16

Dist-Milla - 1.0.22
Ebuild name:

dev-perl/Dist-Milla-1.0.22

Description

Distribution builder, Opinionated but Unobtrusive

Added to portage

2026-03-16

Dist-Zilla - 6.37.0
Ebuild name:

dev-perl/Dist-Zilla-6.37.0

Description

Distribution builder; installer not included

Added to portage

2026-03-16

Dist-Zilla-Plugin-Git-Contributors - 0.39.0
Ebuild name:

dev-perl/Dist-Zilla-Plugin-Git-Contributors-0.39.0

Description

Add contributor names from git to your distribut

Added to portage

2026-03-16

apsw - 3.51.3.0
Ebuild name:

dev-python/apsw-3.51.3.0

Description

APSW - Another Python SQLite Wrapper

Added to portage

2026-03-16

atuin - 18.13.2
Ebuild name:

app-shells/atuin-18.13.2

Description

Shell history manager supporting encrypted synchronisation

Added to portage

2026-03-16

babl - 0.1.124
Ebuild name:

media-libs/babl-0.1.124

Description

A dynamic, any to any, pixel format conversion library

Added to portage

2026-03-16

bnd - 7.2.1
Ebuild name:

dev-java/bnd-7.2.1

Description

bndlib A Swiss Army Knife for OSGi

Added to portage

2026-03-16

bnd-annotation - 7.2.1
Ebuild name:

dev-java/bnd-annotation-7.2.1

Description

bnd Annotations Library

Added to portage

2026-03-16

bnd-ant - 7.2.1
Ebuild name:

dev-java/bnd-ant-7.2.1

Description

Bnd Ant Tasks

Added to portage

2026-03-16

bnd-util - 7.2.1
Ebuild name:

dev-java/bnd-util-7.2.1

Description

AQute Bnd Utilities

Added to portage

2026-03-16

bndlib - 7.2.1
Ebuild name:

dev-java/bndlib-7.2.1

Description

bndlib A Swiss Army Knife for OSGi

Added to portage

2026-03-16

charset-normalizer - 3.4.6
Ebuild name:

dev-python/charset-normalizer-3.4.6

Description

The Real First Universal Charset Detector

Added to portage

2026-03-16

croniter - 6.2.2
Ebuild name:

dev-python/croniter-6.2.2

Description

Python module to provide iteration for datetime object

Added to portage

2026-03-16

eclipse-ecj - 4.39
Ebuild name:

dev-java/eclipse-ecj-4.39

Description

Eclipse Compiler for Java

Added to portage

2026-03-16

framework-tool-tui - 0.8.2
Ebuild name:

app-laptop/framework-tool-tui-0.8.2

Description

TUI for controlling and monitoring Framework Computers hardware

Added to portage

2026-03-16

freerdp - 3.24.0
Ebuild name:

net-misc/freerdp-3.24.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-03-16

fuse-common - 3.10.4-r3
Ebuild name:

sys-fs/fuse-common-3.10.4-r3

Description

Common files for multiple slots of sys-fs/fuse

Added to portage

2026-03-16

gcc - 16.0.1_p20260315
Ebuild name:

sys-devel/gcc-16.0.1_p20260315

Description

The GNU Compiler Collection

Added to portage

2026-03-16

gegl - 0.4.68
Ebuild name:

media-libs/gegl-0.4.68

Description

A graph based image processing framework

Added to portage

2026-03-16

gentoo-dtd - 20230914-r1
Ebuild name:

app-text/gentoo-dtd-20230914-r1

Description

Document Type Definition for Gentoo-related XML files

Added to portage

2026-03-16

gimp - 3.2.0
Ebuild name:

media-gfx/gimp-3.2.0

Description

GNU Image Manipulation Program

Added to portage

2026-03-16

git-credential-manager - 2.7.3
Ebuild name:

dev-vcs/git-credential-manager-2.7.3

Description

Secure Git credential storage supporing GitHub, Azure Repos, a

Added to portage

2026-03-16

git-sources - 7.0_rc4
Ebuild name:

sys-kernel/git-sources-7.0_rc4

Description

The very latest -git version of the Linux kernel

Added to portage

2026-03-16

gnumach - 1.8_p20260224
Ebuild name:

sys-kernel/gnumach-1.8_p20260224

Description

GNU Mach microkernel, for the Hurd

Added to portage

2026-03-16

gnumach - 9999
Ebuild name:

sys-kernel/gnumach-9999

Description

GNU Mach microkernel, for the Hurd

Added to portage

2026-03-16

hurd - 0.9_p20251029
Ebuild name:

sys-kernel/hurd-0.9_p20251029

Description

GNU Hurd is the GNU project's replacement for UNIX

Added to portage

2026-03-16

hurd - 9999
Ebuild name:

sys-kernel/hurd-9999

Description

GNU Hurd is the GNU project's replacement for UNIX

Added to portage

2026-03-16

identify - 2.6.18
Ebuild name:

dev-python/identify-2.6.18

Description

File identification library for Python

Added to portage

2026-03-16

kgeotag - 2.0.0
Ebuild name:

media-gfx/kgeotag-2.0.0

Description

Photo geotagging program

Added to portage

2026-03-16

kitty - 0.46.1
Ebuild name:

x11-terms/kitty-0.46.1

Description

Fast, feature-rich, GPU-based terminal

Added to portage

2026-03-16

kitty-shell-integration - 0.46.1
Ebuild name:

x11-terms/kitty-shell-integration-0.46.1

Description

Shell integration scripts for kitty, a GPU-based terminal

Added to portage

2026-03-16

kitty-terminfo - 0.46.1
Ebuild name:

x11-terms/kitty-terminfo-0.46.1

Description

Terminfo for kitty, a GPU-based terminal emulator

Added to portage

2026-03-16

kphotoalbum - 6.2.0
Ebuild name:

media-gfx/kphotoalbum-6.2.0

Description

Tool for indexing, searching, and viewing images

Added to portage

2026-03-16

libg - 7.2.1
Ebuild name:

dev-java/libg-7.2.1

Description

A library to be statically linked. Contains many small utilities

Added to portage

2026-03-16

lldpd - 1.0.21
Ebuild name:

net-misc/lldpd-1.0.21

Description

Implementation of IEEE 802.1ab (LLDP)

Added to portage

2026-03-16

logger - 0-r3
Ebuild name:

virtual/logger-0-r3

Description

Virtual for system loggers

Added to portage

2026-03-16

marknote - 1.5.0
Ebuild name:

app-text/marknote-1.5.0

Description

Markdown editor with a wide range of formating options for everyday notes

Added to portage

2026-03-16

maven-bin - 3.9.14
Ebuild name:

dev-java/maven-bin-3.9.14

Description

Project Management and Comprehension Tool for Java

Added to portage

2026-03-16

mig - 1.8_p20231217
Ebuild name:

dev-util/mig-1.8_p20231217

Description

GNU Mach 3.0 interface generator (IDL compiler)

Added to portage

2026-03-16

mig - 9999
Ebuild name:

dev-util/mig-9999

Description

GNU Mach 3.0 interface generator (IDL compiler)

Added to portage

2026-03-16

nginx-mode - 1.1.10
Ebuild name:

app-emacs/nginx-mode-1.1.10

Description

Emacs editing mode for Nginx config files

Added to portage

2026-03-16

nim-mode - 0.4.2_p20231101
Ebuild name:

app-emacs/nim-mode-0.4.2_p20231101

Description

Emacs major mode for the Nim programming language support

Added to portage

2026-03-16

pass - 1.7.4-r5
Ebuild name:

app-admin/pass-1.7.4-r5

Description

Stores, retrieves, generates, and synchronizes passwords securely

Added to portage

2026-03-16

peewee - 4.0.2
Ebuild name:

dev-python/peewee-4.0.2

Description

Small Python ORM

Added to portage

2026-03-16

pipewire - 1.6.2
Ebuild name:

media-video/pipewire-1.6.2

Description

Multimedia processing graphs

Added to portage

2026-03-16

prowlarr-bin - 2.3.4.5307
Ebuild name:

www-apps/prowlarr-bin-2.3.4.5307

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-03-16

pyfakefs - 6.1.5
Ebuild name:

dev-python/pyfakefs-6.1.5

Description

A fake file system that mocks the Python file system modules

Added to portage

2026-03-16

pyopenssl - 26.0.0
Ebuild name:

dev-python/pyopenssl-26.0.0

Description

Python interface to the OpenSSL library

Added to portage

2026-03-16

pypdf - 6.9.0
Ebuild name:

dev-python/pypdf-6.9.0

Description

Python library to work with PDF files

Added to portage

2026-03-16

ruff - 0.15.6
Ebuild name:

dev-util/ruff-0.15.6

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-03-16

simdjson - 4.4.0
Ebuild name:

dev-libs/simdjson-4.4.0

Description

SIMD accelerated C++ JSON library

Added to portage

2026-03-16

systemd - 259.3-r2
Ebuild name:

sys-apps/systemd-259.3-r2

Description

System and service manager for Linux

Added to portage

2026-03-16

systemd - 259.4-r1
Ebuild name:

sys-apps/systemd-259.4-r1

Description

System and service manager for Linux

Added to portage

2026-03-16

taglib - 2.2.1
Ebuild name:

media-libs/taglib-2.2.1

Description

Library for reading and editing audio meta data

Added to portage

2026-03-16

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