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:

82565

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
2025-12-22
adwaita-icon-theme - 49.0
Ebuild name:

x11-themes/adwaita-icon-theme-49.0

Description

GNOME default icon theme

Added to portage

2025-12-22

expected-lite - 0.10.0
Ebuild name:

dev-cpp/expected-lite-0.10.0

Description

Expected objects in C++11 and later in a single-file header-only libra

Added to portage

2025-12-22

gcc - 16.0.0_p20251221
Ebuild name:

sys-devel/gcc-16.0.0_p20251221

Description

The GNU Compiler Collection

Added to portage

2025-12-22

git-sources - 6.19_rc2
Ebuild name:

sys-kernel/git-sources-6.19_rc2

Description

The very latest -git version of the Linux kernel

Added to portage

2025-12-22

gnome-backgrounds - 49.0
Ebuild name:

x11-themes/gnome-backgrounds-49.0

Description

A set of backgrounds packaged with the GNOME desktop

Added to portage

2025-12-22

idea-community - 2025.3.1
Ebuild name:

dev-util/idea-community-2025.3.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2025-12-22

langkit - 25.0.0-r6
Ebuild name:

dev-ada/langkit-25.0.0-r6

Description

A Python framework to generate language parsers

Added to portage

2025-12-22

libnotify - 0.8.7
Ebuild name:

x11-libs/libnotify-0.8.7

Description

A library for sending desktop notifications

Added to portage

2025-12-22

lxterminal - 0.4.0_p20230917-r1
Ebuild name:

lxde-base/lxterminal-0.4.0_p20230917-r1

Description

Lightweight vte-based tabbed terminal emulator for LXDE

Added to portage

2025-12-22

mpv - 0.41.0
Ebuild name:

media-video/mpv-0.41.0

Description

Media player for the command line

Added to portage

2025-12-22

mpvqt - 1.1.1-r2
Ebuild name:

media-libs/mpvqt-1.1.1-r2

Description

libmpv wrapper for QtQuick2 and QML

Added to portage

2025-12-22

pyro5 - 5.16
Ebuild name:

dev-python/pyro5-5.16

Description

Distributed object middleware for Python (RPC)

Added to portage

2025-12-22

qgis - 3.44.6
Ebuild name:

sci-geosciences/qgis-3.44.6

Description

User friendly Geographic Information System

Added to portage

2025-12-22

qmidiarp - 0.7.1_p20251217-r1
Ebuild name:

media-sound/qmidiarp-0.7.1_p20251217-r1

Description

Arpeggiator, sequencer and MIDI LFO for ALSA

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

gui-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.80.4-r1
Ebuild name:

x11-libs/vte-0.80.4-r1

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

gui-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte - 0.82.2
Ebuild name:

x11-libs/vte-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

vte-common - 0.82.2
Ebuild name:

gui-libs/vte-common-0.82.2

Description

Library providing a virtual terminal emulator widget

Added to portage

2025-12-22

xfce4-terminal - 1.1.4-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.4-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

xfce4-terminal - 1.1.5-r1
Ebuild name:

x11-terms/xfce4-terminal-1.1.5-r1

Description

A terminal emulator for the Xfce desktop environment

Added to portage

2025-12-22

2025-12-21
borgmatic - 2.0.13
Ebuild name:

app-backup/borgmatic-2.0.13

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2025-12-21

debootstrap - 1.0.142
Ebuild name:

dev-util/debootstrap-1.0.142

Description

Debian/Ubuntu bootstrap scripts

Added to portage

2025-12-21

dmidecode - 3.7
Ebuild name:

sys-apps/dmidecode-3.7

Description

DMI (Desktop Management Interface) table related utilities

Added to portage

2025-12-21

doggo - 1.1.3
Ebuild name:

net-dns/doggo-1.1.3

Description

Command-line DNS Client for Humans

Added to portage

2025-12-21

ed - 1.22.3
Ebuild name:

sys-apps/ed-1.22.3

Description

Your basic line editor

Added to portage

2025-12-21

epiphany - 49.2
Ebuild name:

www-client/epiphany-49.2

Description

GNOME webbrowser based on Webkit

Added to portage

2025-12-21

flog - 4.9.1
Ebuild name:

dev-ruby/flog-4.9.1

Description

Flog reports the most tortured code in an easy to read pain report

Added to portage

2025-12-21

fq - 0.16.0
Ebuild name:

dev-util/fq-0.16.0

Description

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

Added to portage

2025-12-21

gammastep - 2.0.11-r1
Ebuild name:

x11-misc/gammastep-2.0.11-r1

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

gcc - 13.4.1_p20251218
Ebuild name:

sys-devel/gcc-13.4.1_p20251218

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 14.3.1_p20251219
Ebuild name:

sys-devel/gcc-14.3.1_p20251219

Description

The GNU Compiler Collection

Added to portage

2025-12-21

gcc - 15.2.1_p20251220
Ebuild name:

sys-devel/gcc-15.2.1_p20251220

Description

The GNU Compiler Collection

Added to portage

2025-12-21

git-cola - 4.16.1
Ebuild name:

dev-vcs/git-cola-4.16.1

Description

The highly caffeinated git GUI

Added to portage

2025-12-21

gitea - 1.25.3
Ebuild name:

www-apps/gitea-1.25.3

Description

A painless self-hosted Git service

Added to portage

2025-12-21

glibc - 2.41-r8
Ebuild name:

sys-libs/glibc-2.41-r8

Description

GNU libc C library

Added to portage

2025-12-21

glibc - 2.42-r3
Ebuild name:

sys-libs/glibc-2.42-r3

Description

GNU libc C library

Added to portage

2025-12-21

gnatcoll-db - 26.0.0
Ebuild name:

dev-ada/gnatcoll-db-26.0.0

Description

GNAT Component Collection

Added to portage

2025-12-21

gnome-connections - 49.0
Ebuild name:

net-misc/gnome-connections-49.0

Description

A remote desktop client for the GNOME desktop environment

Added to portage

2025-12-21

gnome-font-viewer - 49.0
Ebuild name:

media-gfx/gnome-font-viewer-49.0

Description

Font viewer utility for GNOME

Added to portage

2025-12-21

gnome-maps - 49.2
Ebuild name:

sci-geosciences/gnome-maps-49.2

Description

A map application for GNOME

Added to portage

2025-12-21

gnome-music - 49.1
Ebuild name:

media-sound/gnome-music-49.1

Description

Music management for Gnome

Added to portage

2025-12-21

gnome-online-accounts - 3.54.8
Ebuild name:

net-libs/gnome-online-accounts-3.54.8

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-online-accounts - 3.56.2
Ebuild name:

net-libs/gnome-online-accounts-3.56.2

Description

GNOME framework for accessing online accounts

Added to portage

2025-12-21

gnome-usage - 48.0
Ebuild name:

sys-process/gnome-usage-48.0

Description

A nice way to view information about use of system resources

Added to portage

2025-12-21

gphoto2 - 2.5.32
Ebuild name:

media-gfx/gphoto2-2.5.32

Description

Free, redistributable digital camera software application

Added to portage

2025-12-21

humanize - 4.15.0
Ebuild name:

dev-python/humanize-4.15.0

Description

Common humanization utilities

Added to portage

2025-12-21

igbinary - 3.2.15_p20251126
Ebuild name:

dev-php/igbinary-3.2.15_p20251126

Description

A fast drop-in replacement for the standard PHP serialize

Added to portage

2025-12-21

labwc - 0.9.2-r1
Ebuild name:

gui-wm/labwc-0.9.2-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

labwc - 0.9.3-r1
Ebuild name:

gui-wm/labwc-0.9.3-r1

Description

Openbox alternative for wayland

Added to portage

2025-12-21

libgphoto2 - 2.5.33
Ebuild name:

media-libs/libgphoto2-2.5.33

Description

Library that implements support for numerous digital cameras

Added to portage

2025-12-21

libnetfilter_acct - 1.0.3-r1
Ebuild name:

net-libs/libnetfilter_acct-1.0.3-r1

Description

Library providing interface to extended accounting infrastructu

Added to portage

2025-12-21

libpanel - 1.10.3
Ebuild name:

gui-libs/libpanel-1.10.3

Description

A dock/panel library for GTK 4

Added to portage

2025-12-21

libvisual-projectm - 2.1.2
Ebuild name:

media-plugins/libvisual-projectm-2.1.2

Description

A libvisual graphical music visualization plugin similar to

Added to portage

2025-12-21

libwpe - 1.16.3
Ebuild name:

gui-libs/libwpe-1.16.3

Description

Platform-agnostic interfaces for WPE WebKit

Added to portage

2025-12-21

magiccube4d - 4.3.343-r1
Ebuild name:

games-puzzle/magiccube4d-4.3.343-r1

Description

Four-dimensional analog of Rubik's cube

Added to portage

2025-12-21

mobile-broadband-provider-info - 20251101
Ebuild name:

net-misc/mobile-broadband-provider-info-20251101

Description

Database of mobile broadband service providers

Added to portage

2025-12-21

mpg123-base - 1.33.4
Ebuild name:

media-sound/mpg123-base-1.33.4

Description

Realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3

Added to portage

2025-12-21

mpg123-output-plugins - 1.33.4
Ebuild name:

media-plugins/mpg123-output-plugins-1.33.4

Description

Plugins for mpg123, the realtime MPEG 1.0/2.0/2.5 audio

Added to portage

2025-12-21

mycli - 1.42.0
Ebuild name:

dev-db/mycli-1.42.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2025-12-21

networkmanager - 1.54.3
Ebuild name:

net-misc/networkmanager-1.54.3

Description

A set of co-operative tools that make networking simple and straight

Added to portage

2025-12-21

nodeenv - 1.10.0
Ebuild name:

dev-python/nodeenv-1.10.0

Description

Node.js virtual environment builder

Added to portage

2025-12-21

numpy - 2.4.0
Ebuild name:

dev-python/numpy-2.4.0

Description

Fast array and numerical python library

Added to portage

2025-12-21

osinfo-db - 20251212
Ebuild name:

sys-apps/osinfo-db-20251212

Description

Osinfo database for virtualization provisioning tools

Added to portage

2025-12-21

pecl-imagick - 3.8.1
Ebuild name:

dev-php/pecl-imagick-3.8.1

Description

PHP wrapper for the ImageMagick library

Added to portage

2025-12-21

pecl-redis - 6.3.0
Ebuild name:

dev-php/pecl-redis-6.3.0

Description

PHP extension for interfacing with Redis

Added to portage

2025-12-21

pkgcraft-tools - 0.0.31
Ebuild name:

sys-apps/pkgcraft-tools-0.0.31

Description

pkgcraft-based tools for Gentoo

Added to portage

2025-12-21

pkgcruft - 0.0.18
Ebuild name:

dev-util/pkgcruft-0.0.18

Description

QA library and tools based on pkgcraft

Added to portage

2025-12-21

pkgcruft-git - 0.0.5
Ebuild name:

dev-vcs/pkgcruft-git-0.0.5

Description

QA support for verifying git commits via pkgcruft

Added to portage

2025-12-21

radicale - 3.5.10
Ebuild name:

www-apps/radicale-3.5.10

Description

A simple CalDAV calendar server

Added to portage

2025-12-21

rb_sys - 0.9.123
Ebuild name:

dev-ruby/rb_sys-0.9.123

Description

Easily build Ruby native extensions in Rust

Added to portage

2025-12-21

redshift - 1.12-r14
Ebuild name:

x11-misc/redshift-1.12-r14

Description

A screen color temperature adjusting software

Added to portage

2025-12-21

rest - 0.10.2
Ebuild name:

net-libs/rest-0.10.2

Description

Helper library for RESTful services

Added to portage

2025-12-21

rhythmbox - 3.4.9
Ebuild name:

media-sound/rhythmbox-3.4.9

Description

Music management and playback software for GNOME

Added to portage

2025-12-21

ruby_parser - 3.22.0
Ebuild name:

dev-ruby/ruby_parser-3.22.0

Description

A ruby parser written in pure ruby

Added to portage

2025-12-21

safeeyes - 3.3.0
Ebuild name:

x11-misc/safeeyes-3.3.0

Description

Linux alternative to EyeLeo

Added to portage

2025-12-21

scikit-image - 0.26.0
Ebuild name:

dev-python/scikit-image-0.26.0

Description

Image processing routines for SciPy

Added to portage

2025-12-21

shotwell - 0.32.14
Ebuild name:

media-gfx/shotwell-0.32.14

Description

Open source photo manager for GNOME

Added to portage

2025-12-21

simsimd - 6.5.12
Ebuild name:

dev-python/simsimd-6.5.12

Description

Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm

Added to portage

2025-12-21

sip - 6.15.1
Ebuild name:

dev-python/sip-6.15.1

Description

Python bindings generator for C/C++ libraries

Added to portage

2025-12-21

smbus2 - 0.6.0
Ebuild name:

dev-python/smbus2-0.6.0

Description

A drop-in replacement for smbus-cffi/smbus-python in pure Python

Added to portage

2025-12-21

soju - 0.10.1
Ebuild name:

net-irc/soju-0.10.1

Description

soju is a user-friendly IRC bouncer

Added to portage

2025-12-21

subtitleeditor - 0.55.0
Ebuild name:

media-video/subtitleeditor-0.55.0

Description

GTK+3 subtitle editing tool

Added to portage

2025-12-21

widelands - 1.3
Ebuild name:

games-strategy/widelands-1.3

Description

Game similar to Settlers 2

Added to portage

2025-12-21

wpebackend-fdo - 1.16.1
Ebuild name:

gui-libs/wpebackend-fdo-1.16.1

Description

WPE backend designed for Linux desktop systems

Added to portage

2025-12-21

xdg-desktop-portal-gnome - 49.0
Ebuild name:

sys-apps/xdg-desktop-portal-gnome-49.0

Description

Backend implementation for xdg-desktop-portal using GNOME

Added to portage

2025-12-21

zen-sources - 6.18.2
Ebuild name:

sys-kernel/zen-sources-6.18.2

Description

The Zen Kernel Live Sources

Added to portage

2025-12-21

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