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:

87922

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-08-25
certbot - 5.5.0-r1
Ebuild name:

app-crypt/certbot-5.5.0-r1

Description

Let's Encrypt client to automate deployment of X.509 certificates

Added to portage

2026-08-25

certbot - 5.6.0-r1
Ebuild name:

app-crypt/certbot-5.6.0-r1

Description

Let's Encrypt client to automate deployment of X.509 certificates

Added to portage

2026-08-25

certbot - 5.7.0
Ebuild name:

app-crypt/certbot-5.7.0

Description

Let's Encrypt client to automate deployment of X.509 certificates

Added to portage

2026-08-25

claude-code - 2.1.241
Ebuild name:

dev-util/claude-code-2.1.241

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-08-25

csharp-language-server - 0.27.0
Ebuild name:

dev-dotnet/csharp-language-server-0.27.0

Description

Roslyn-based LSP language server for C

Added to portage

2026-08-25

folium - 0.20.0-r2
Ebuild name:

sci-geosciences/folium-0.20.0-r2

Description

Python Data, Leaflet.js Maps

Added to portage

2026-08-25

gap - 4.16.1
Ebuild name:

sci-mathematics/gap-4.16.1

Description

System for computational discrete algebra (core functionality)

Added to portage

2026-08-25

gnuradio - 9999-r2
Ebuild name:

net-wireless/gnuradio-9999-r2

Description

Toolkit that provides signal processing blocks to implement software

Added to portage

2026-08-25

joplin-desktop - 3.7.12
Ebuild name:

app-office/joplin-desktop-3.7.12

Description

Secure note taking and to-do app with synchronization capabilities

Added to portage

2026-08-25

kwin - 6.7.4-r2
Ebuild name:

kde-plasma/kwin-6.7.4-r2

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-08-25

limine - 12.6.1
Ebuild name:

sys-boot/limine-12.6.1

Description

Modern, secure, portable, multiprotocol bootloader and boot manager

Added to portage

2026-08-25

lsp-docker - 1.0.0_p20240327
Ebuild name:

app-emacs/lsp-docker-1.0.0_p20240327

Description

Emacs library to leverage lsp-mode in the Docker environment

Added to portage

2026-08-25

lsp-java - 3.1_p20240328-r1
Ebuild name:

app-emacs/lsp-java-3.1_p20240328-r1

Description

Emacs Java IDE using Eclipse JDT Language Server

Added to portage

2026-08-25

marginalia - 2.12
Ebuild name:

app-emacs/marginalia-2.12

Description

Marginalia in the minibuffer

Added to portage

2026-08-25

melonds - 1.1-r2
Ebuild name:

games-emulation/melonds-1.1-r2

Description

Nintendo DS emulator, sorta

Added to portage

2026-08-25

nushell - 0.115.1
Ebuild name:

app-shells/nushell-0.115.1

Description

A new type of shell, written in Rust

Added to portage

2026-08-25

org-mode - 9.8.9
Ebuild name:

app-emacs/org-mode-9.8.9

Description

An Emacs mode for notes and project planning

Added to portage

2026-08-25

plasma-nm - 6.7.4-r2
Ebuild name:

kde-plasma/plasma-nm-6.7.4-r2

Description

KDE Plasma applet for NetworkManager

Added to portage

2026-08-25

portage - 3.0.82.1
Ebuild name:

sys-apps/portage-3.0.82.1

Description

The package management and distribution system for Gentoo

Added to portage

2026-08-25

r10k - 5.0.2-r1
Ebuild name:

app-admin/r10k-5.0.2-r1

Description

Puppet environment and module deployment

Added to portage

2026-08-25

spleen - 2.2.0
Ebuild name:

media-fonts/spleen-2.2.0

Description

Monospaced bitmap fonts for consoles and terminals

Added to portage

2026-08-25

squid - 7.7
Ebuild name:

net-proxy/squid-7.7

Description

Full-featured web proxy cache

Added to portage

2026-08-25

sundials - 7.8.0
Ebuild name:

sci-libs/sundials-7.8.0

Description

Suite of nonlinear solvers

Added to portage

2026-08-25

vertico - 2.13
Ebuild name:

app-emacs/vertico-2.13

Description

Vertical interactive completion

Added to portage

2026-08-25

2026-08-24
atheme-services - 7.2.12-r7
Ebuild name:

net-irc/atheme-services-7.2.12-r7

Description

A portable and secure set of open-source and modular IRC services

Added to portage

2026-08-24

cachelib - 0.17.0
Ebuild name:

dev-python/cachelib-0.17.0

Description

Collection of cache libraries in the same API interface. Extracted from

Added to portage

2026-08-24

cutter - 2.5.0
Ebuild name:

dev-util/cutter-2.5.0

Description

A Qt and C++ GUI for rizin reverse engineering framework

Added to portage

2026-08-24

dist-kernel - 6.1.184
Ebuild name:

virtual/dist-kernel-6.1.184

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.12.105
Ebuild name:

virtual/dist-kernel-6.12.105

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.18.46
Ebuild name:

virtual/dist-kernel-6.18.46

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 6.6.153
Ebuild name:

virtual/dist-kernel-6.6.153

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

dist-kernel - 7.1.10
Ebuild name:

virtual/dist-kernel-7.1.10

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-08-24

drumstick - 2.11.1
Ebuild name:

media-sound/drumstick-2.11.1

Description

Qt/C++ wrapper for ALSA sequencer

Added to portage

2026-08-24

evdev - 2.0.0
Ebuild name:

dev-python/evdev-2.0.0

Description

Python library for evdev bindings

Added to portage

2026-08-24

filelock - 3.32.4
Ebuild name:

dev-python/filelock-3.32.4

Description

A platform independent file lock for Python

Added to portage

2026-08-24

gcc - 14.4.1_p20260820
Ebuild name:

sys-devel/gcc-14.4.1_p20260820

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 15.3.1_p20260821
Ebuild name:

sys-devel/gcc-15.3.1_p20260821

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 16.2.1_p20260822
Ebuild name:

sys-devel/gcc-16.2.1_p20260822

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gcc - 17.0.0_p20260823
Ebuild name:

sys-devel/gcc-17.0.0_p20260823

Description

The GNU Compiler Collection

Added to portage

2026-08-24

gentoo-kernel - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-6.1.184

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-6.12.105

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-6.18.46

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-6.6.153

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-7.1.10

Description

Linux kernel built with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.1.184

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.12.105

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.18.46

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-bin-6.6.153

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-bin - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.1.10

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.1.184
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.1.184

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.12.105
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.12.105

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.18.46
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.18.46

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 6.6.153
Ebuild name:

sys-kernel/gentoo-kernel-modprep-6.6.153

Description

Minimal subset of gentoo-kernel-bin for building modules,

Added to portage

2026-08-24

gentoo-kernel-modprep - 7.1.10
Ebuild name:

sys-kernel/gentoo-kernel-modprep-7.1.10

Description

Minimal subset of gentoo-kernel-bin for building modules, f

Added to portage

2026-08-24

gzip - 1.14-r1
Ebuild name:

app-arch/gzip-1.14-r1

Description

Standard GNU compressor

Added to portage

2026-08-24

i2p - 2.13.0
Ebuild name:

net-vpn/i2p-2.13.0

Description

A privacy-centric, anonymous network

Added to portage

2026-08-24

maturin - 1.15.0
Ebuild name:

dev-util/maturin-1.15.0

Description

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

Added to portage

2026-08-24

ngx-vts - 0.2.7
Ebuild name:

www-nginx/ngx-vts-0.2.7

Description

NGINX virtual host traffic status module

Added to portage

2026-08-24

nh3 - 0.3.7
Ebuild name:

dev-python/nh3-0.3.7

Description

Ammonia HTML sanitizer Python binding

Added to portage

2026-08-24

oct2py - 6.1.1
Ebuild name:

dev-python/oct2py-6.1.1

Description

Python to GNU Octave bridge

Added to portage

2026-08-24

pkgconf - 3.0.6
Ebuild name:

dev-util/pkgconf-3.0.6

Description

pkg-config compatible replacement with no dependencies other than C99

Added to portage

2026-08-24

postfix - 3.12_pre20260821
Ebuild name:

mail-mta/postfix-3.12_pre20260821

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2026-08-24

ptyprocess - 0.7.0-r2
Ebuild name:

dev-python/ptyprocess-0.7.0-r2

Description

Run a subprocess in a pseudo terminal

Added to portage

2026-08-24

pypdf - 6.16.2
Ebuild name:

dev-python/pypdf-6.16.2

Description

Python library to work with PDF files

Added to portage

2026-08-24

qlog - 0.52.0
Ebuild name:

media-radio/qlog-0.52.0

Description

Amateur radio logbook software

Added to portage

2026-08-24

rizin - 0.9.1
Ebuild name:

dev-util/rizin-0.9.1

Description

reverse engineering framework for binary analysis

Added to portage

2026-08-24

sphinx-autoapi - 3.8.1
Ebuild name:

dev-python/sphinx-autoapi-3.8.1

Description

A new approach to API documentation in Sphinx

Added to portage

2026-08-24

sqlmap - 1.10.8
Ebuild name:

dev-db/sqlmap-1.10.8

Description

An automatic SQL injection and database takeover tool

Added to portage

2026-08-24

sssd - 2.13.1-r1
Ebuild name:

sys-auth/sssd-2.13.1-r1

Description

System Security Services Daemon provides access to identity and authenticat

Added to portage

2026-08-24

sssd - 2.9.9-r1
Ebuild name:

sys-auth/sssd-2.9.9-r1

Description

System Security Services Daemon provides access to identity and authenticati

Added to portage

2026-08-24

steve - 1.5.2
Ebuild name:

dev-build/steve-1.5.2

Description

A load-balancing jobserver for Gentoo

Added to portage

2026-08-24

tellico - 4.2.2
Ebuild name:

kde-misc/tellico-4.2.2

Description

Collection manager based on KDE Frameworks

Added to portage

2026-08-24

tifffile - 2026.8.23
Ebuild name:

dev-python/tifffile-2026.8.23

Description

Read and write TIFF files

Added to portage

2026-08-24

tmuxp - 1.70.1-r1
Ebuild name:

app-misc/tmuxp-1.70.1-r1

Description

tmux session manager. built on libtmux

Added to portage

2026-08-24

tmuxp - 1.74.0
Ebuild name:

app-misc/tmuxp-1.74.0

Description

tmux session manager. built on libtmux

Added to portage

2026-08-24

transformers - 5.15.1
Ebuild name:

sci-ml/transformers-5.15.1

Description

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Added to portage

2026-08-24

vanilla-kernel - 6.1.184
Ebuild name:

sys-kernel/vanilla-kernel-6.1.184

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.12.105
Ebuild name:

sys-kernel/vanilla-kernel-6.12.105

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.18.46
Ebuild name:

sys-kernel/vanilla-kernel-6.18.46

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 6.6.153
Ebuild name:

sys-kernel/vanilla-kernel-6.6.153

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vanilla-kernel - 7.1.10
Ebuild name:

sys-kernel/vanilla-kernel-7.1.10

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-08-24

vopono - 0.10.22
Ebuild name:

net-vpn/vopono-0.10.22

Description

Launch applications via VPN tunnels using temporary network namespaces

Added to portage

2026-08-24

xwaylandvideobridge - 0.5.2-r1
Ebuild name:

gui-apps/xwaylandvideobridge-0.5.2-r1

Description

Screenshare Wayland windows to XWayland apps

Added to portage

2026-08-24

yara-x - 1.19.0
Ebuild name:

app-forensics/yara-x-1.19.0

Description

A malware identification and classification tool

Added to portage

2026-08-24

zellij - 0.45.0-r1
Ebuild name:

app-misc/zellij-0.45.0-r1

Description

A terminal workspace with batteries included

Added to portage

2026-08-24

zycore-c - 1.5.2
Ebuild name:

dev-libs/zycore-c-1.5.2

Description

Zyan Core Library for C

Added to portage

2026-08-24

zycore-c - 9999
Ebuild name:

dev-libs/zycore-c-9999

Description

Zyan Core Library for C

Added to portage

2026-08-24

zydis - 4.1.1
Ebuild name:

dev-libs/zydis-4.1.1

Description

Fast and lightweight x86/x86-64 disassembler and code generation library

Added to portage

2026-08-24

zydis - 9999
Ebuild name:

dev-libs/zydis-9999

Description

Fast and lightweight x86/x86-64 disassembler and code generation library

Added to portage

2026-08-24

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