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:

57646

userrating:

average rating: 1.5 (4 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: no votes yet
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
2021-04-23
boto3 - 1.17.56
Ebuild name:

dev-python/boto3-1.17.56

Description

The AWS SDK for Python

Added to portage

2021-04-23

botocore - 1.20.56
Ebuild name:

dev-python/botocore-1.20.56

Description

Low-level, data-driven core of boto 3

Added to portage

2021-04-23

breathe - 4.29.1
Ebuild name:

dev-python/breathe-4.29.1

Description

Sphinx Doxygen renderer

Added to portage

2021-04-23

browserlauncher2 - 1.3-r2
Ebuild name:

dev-java/browserlauncher2-1.3-r2

Description

A library that facilitates opening a browser from a Java applicati

Added to portage

2021-04-23

chrome-binary-plugins - 91.0.4472.19_beta
Ebuild name:

www-plugins/chrome-binary-plugins-91.0.4472.19_beta

Description

Binary plugins from Google Chrome for use in Ch

Added to portage

2021-04-23

chromium - 91.0.4472.19
Ebuild name:

www-client/chromium-91.0.4472.19

Description

Open-source version of Google Chrome web browser

Added to portage

2021-04-23

chrony - 4.0-r2
Ebuild name:

net-misc/chrony-4.0-r2

Description

NTP client and server programs

Added to portage

2021-04-23

chrony - 4.1_pre1
Ebuild name:

net-misc/chrony-4.1_pre1

Description

NTP client and server programs

Added to portage

2021-04-23

gentoo-kernel-bin - 5.10.32-r2
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.10.32-r2

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-23

gentoo-kernel-bin - 5.11.16-r2
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.11.16-r2

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-23

gentoo-kernel-bin - 5.4.114-r2
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.4.114-r2

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-04-23

gmaptool - 08220
Ebuild name:

sci-geosciences/gmaptool-08220

Description

Program for splitting and merging maps in Garmin format

Added to portage

2021-04-23

gnome-online-accounts - 3.40.0
Ebuild name:

net-libs/gnome-online-accounts-3.40.0

Description

GNOME framework for accessing online accounts

Added to portage

2021-04-23

google-chrome-beta - 91.0.4472.19
Ebuild name:

www-client/google-chrome-beta-91.0.4472.19

Description

The web browser from Google

Added to portage

2021-04-23

libmpd - 0.9.2.0
Ebuild name:

dev-haskell/libmpd-0.9.2.0

Description

An MPD client library

Added to portage

2021-04-23

line_profiler - 3.2.1
Ebuild name:

dev-python/line_profiler-3.2.1

Description

Line-by-line profiler

Added to portage

2021-04-23

lunr - 0.6.0
Ebuild name:

dev-python/lunr-0.6.0

Description

A Python implementation of Lunr.js

Added to portage

2021-04-23

noise-repellent - 0.1.5
Ebuild name:

media-plugins/noise-repellent-0.1.5

Description

An lv2 plug-in for broadband noise reduction

Added to portage

2021-04-23

parallel - 20210422
Ebuild name:

sys-process/parallel-20210422

Description

A shell tool for executing jobs in parallel locally or on remote mach

Added to portage

2021-04-23

pikepdf - 2.11.2
Ebuild name:

dev-python/pikepdf-2.11.2

Description

Python library to work with pdf files based on qpdf

Added to portage

2021-04-23

postfix - 3.6_pre20210422
Ebuild name:

mail-mta/postfix-3.6_pre20210422

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2021-04-23

qutebrowser - 2.2.0
Ebuild name:

www-client/qutebrowser-2.2.0

Description

A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine

Added to portage

2021-04-23

s3transfer - 0.4.2
Ebuild name:

dev-python/s3transfer-0.4.2

Description

An Amazon S3 Transfer Manager

Added to portage

2021-04-23

timezone-olson - 0.2.0
Ebuild name:

dev-haskell/timezone-olson-0.2.0

Description

A pure Haskell parser and renderer for binary Olson timezone files

Added to portage

2021-04-23

watchdog - 2.0.3
Ebuild name:

dev-python/watchdog-2.0.3

Description

Python API and shell utilities to monitor file system events

Added to portage

2021-04-23

webkit-gtk - 2.30.6
Ebuild name:

net-libs/webkit-gtk-2.30.6

Description

Open source web browser engine

Added to portage

2021-04-23

xlsxwriter - 1.4.0
Ebuild name:

dev-python/xlsxwriter-1.4.0

Description

Python module for creating Excel XLSX files

Added to portage

2021-04-23

xmobar - 0.37
Ebuild name:

x11-misc/xmobar-0.37

Description

A Minimalistic Text Based Status Bar

Added to portage

2021-04-23

2021-04-22
abseil-cpp - 20210324.1
Ebuild name:

dev-cpp/abseil-cpp-20210324.1

Description

Abseil Common Libraries (C++), LTS Branch

Added to portage

2021-04-22

avalon-logkit - 2.1-r9
Ebuild name:

dev-java/avalon-logkit-2.1-r9

Description

Easy-to-use Java logging toolkit

Added to portage

2021-04-22

bear - 3.0.11
Ebuild name:

dev-util/bear-3.0.11

Description

Build EAR generates a compilation database for clang tooling

Added to portage

2021-04-22

boto3 - 1.17.55
Ebuild name:

dev-python/boto3-1.17.55

Description

The AWS SDK for Python

Added to portage

2021-04-22

botocore - 1.20.55
Ebuild name:

dev-python/botocore-1.20.55

Description

Low-level, data-driven core of boto 3

Added to portage

2021-04-22

chrome-binary-plugins - 91.0.4472.19_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-91.0.4472.19_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2021-04-22

ckb - 0.4.4-r1
Ebuild name:

app-misc/ckb-0.4.4-r1

Description

Corsair K65/K70/K95 Driver

Added to portage

2021-04-22

construct - 2.10.67
Ebuild name:

dev-python/construct-2.10.67

Description

A powerful declarative parser for binary data

Added to portage

2021-04-22

dash - 2.18.1
Ebuild name:

app-emacs/dash-2.18.1

Description

A modern list library for Emacs

Added to portage

2021-04-22

docker - 20.10.6-r1
Ebuild name:

app-emulation/docker-20.10.6-r1

Description

The core functions you need to create Docker images and run Docker

Added to portage

2021-04-22

dts-mode - 0.1.1
Ebuild name:

app-emacs/dts-mode-0.1.1

Description

Emacs major mode for devicetree sources

Added to portage

2021-04-22

flint - 2.7.1-r1
Ebuild name:

sci-mathematics/flint-2.7.1-r1

Description

Fast Library for Number Theory

Added to portage

2021-04-22

gentoo-artwork-livecd - 2007.0
Ebuild name:

x11-themes/gentoo-artwork-livecd-2007.0

Description

A collection of Gentoo Linux wallpapers for the LiveCD

Added to portage

2021-04-22

gentoo-xcursors - 0.3.2
Ebuild name:

x11-themes/gentoo-xcursors-0.3.2

Description

A high quality set of animated mouse cursors

Added to portage

2021-04-22

gentoo10-backgrounds - 20110309
Ebuild name:

x11-themes/gentoo10-backgrounds-20110309

Description

Gentoo - 10 Years Compiling Background Artwork

Added to portage

2021-04-22

geramik - 0.27-r1
Ebuild name:

x11-themes/geramik-0.27-r1

Description

GTK+1 and GTK+2 Geramik Themes

Added to portage

2021-04-22

gkrellm-themes - 0.1-r1
Ebuild name:

x11-themes/gkrellm-themes-0.1-r1

Description

A pack of ~200 themes for GKrellM

Added to portage

2021-04-22

gnome-backgrounds - 3.38.0
Ebuild name:

x11-themes/gnome-backgrounds-3.38.0

Description

A set of backgrounds packaged with the GNOME desktop

Added to portage

2021-04-22

gnome-backgrounds - 40.0
Ebuild name:

x11-themes/gnome-backgrounds-40.0

Description

A set of backgrounds packaged with the GNOME desktop

Added to portage

2021-04-22

gnome-colors-common - 5.5.1-r1
Ebuild name:

x11-themes/gnome-colors-common-5.5.1-r1

Description

Colorized icons shared between all gnome-colors iconsets

Added to portage

2021-04-22

gnumeric - 1.12.49
Ebuild name:

app-office/gnumeric-1.12.49

Description

The GNOME Spreadsheet

Added to portage

2021-04-22

google-chrome-unstable - 91.0.4472.19
Ebuild name:

www-client/google-chrome-unstable-91.0.4472.19

Description

The web browser from Google

Added to portage

2021-04-22

gpio - 0
Ebuild name:

acct-group/gpio-0

Description

Added to portage

2021-04-22

hacking - 4.1.0
Ebuild name:

dev-python/hacking-4.1.0

Description

A client for the OpenStack Nova API

Added to portage

2021-04-22

httpcore - 0.13.0
Ebuild name:

dev-python/httpcore-0.13.0

Description

A minimal low-level HTTP client

Added to portage

2021-04-22

i2c - 0
Ebuild name:

acct-group/i2c-0

Description

Added to portage

2021-04-22

identify - 2.2.4
Ebuild name:

dev-python/identify-2.2.4

Description

File identification library for Python

Added to portage

2021-04-22

kodi-inputstream-adaptive - 2.6.14
Ebuild name:

media-plugins/kodi-inputstream-adaptive-2.6.14

Description

Kodi's Adaptive inputstream addon

Added to portage

2021-04-22

liquid_feedback_frontend - 3.2.1
Ebuild name:

www-apps/liquid_feedback_frontend-3.2.1

Description

Internet platforms for proposition development and decision

Added to portage

2021-04-22

markuppy - 1.14
Ebuild name:

dev-python/markuppy-1.14

Description

MarkupPy - An HTML/XML generator

Added to portage

2021-04-22

mesa - 21.0.3
Ebuild name:

media-libs/mesa-21.0.3

Description

OpenGL-like graphic library for Linux

Added to portage

2021-04-22

mesa - 21.1.0_rc2
Ebuild name:

media-libs/mesa-21.1.0_rc2

Description

OpenGL-like graphic library for Linux

Added to portage

2021-04-22

microsoft-edge-dev - 91.0.864.1
Ebuild name:

www-client/microsoft-edge-dev-91.0.864.1

Description

The web browser from Microsoft

Added to portage

2021-04-22

nodejs - 12.22.1-r1
Ebuild name:

net-libs/nodejs-12.22.1-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2021-04-22

nodejs - 14.16.1-r1
Ebuild name:

net-libs/nodejs-14.16.1-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2021-04-22

nodejs - 16.0.0-r1
Ebuild name:

net-libs/nodejs-16.0.0-r1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2021-04-22

openssh - 8.6_p1
Ebuild name:

net-misc/openssh-8.6_p1

Description

Port of OpenBSD's free SSH release

Added to portage

2021-04-22

opera-beta - 76.0.4017.59
Ebuild name:

www-client/opera-beta-76.0.4017.59

Description

A fast and secure web browser

Added to portage

2021-04-22

pre-commit - 2.12.1
Ebuild name:

dev-vcs/pre-commit-2.12.1

Description

A framework for managing and maintaining multi-language Git pre-commit ho

Added to portage

2021-04-22

protontricks - 1.5.0
Ebuild name:

app-emulation/protontricks-1.5.0

Description

app-emulation/winetricks wrapper for Proton (Steam Play) games

Added to portage

2021-04-22

pyopencl - 2021.1.6
Ebuild name:

dev-python/pyopencl-2021.1.6

Description

Python wrapper for OpenCL

Added to portage

2021-04-22

pytest-asyncio - 0.15.1
Ebuild name:

dev-python/pytest-asyncio-0.15.1

Description

Library for testing asyncio code with pytest

Added to portage

2021-04-22

qdmr - 0.7.0
Ebuild name:

net-wireless/qdmr-0.7.0

Description

GUI application for configuring and programming cheap DMR radios

Added to portage

2021-04-22

requests-cache - 0.6.3
Ebuild name:

dev-python/requests-cache-0.6.3

Description

Persistent cache for requests library

Added to portage

2021-04-22

s3transfer - 0.4.1
Ebuild name:

dev-python/s3transfer-0.4.1

Description

An Amazon S3 Transfer Manager

Added to portage

2021-04-22

sauerbraten - 2020.12.27
Ebuild name:

games-fps/sauerbraten-2020.12.27

Description

Sauerbraten is a FOSS game engine (Cube 2) with freeware game data

Added to portage

2021-04-22

sdparm - 1.12
Ebuild name:

sys-apps/sdparm-1.12

Description

Utility to output and modify parameters on a SCSI device, like hdparm

Added to portage

2021-04-22

spectre-meltdown-checker - 0.43
Ebuild name:

app-admin/spectre-meltdown-checker-0.43

Description

Spectre & Meltdown vulnerability/mitigation checker for Lin

Added to portage

2021-04-22

spectre-meltdown-checker - 0.44
Ebuild name:

app-admin/spectre-meltdown-checker-0.44

Description

Spectre & Meltdown vulnerability/mitigation checker for Lin

Added to portage

2021-04-22

spi - 0
Ebuild name:

acct-group/spi-0

Description

Added to portage

2021-04-22

sqlalchemy - 1.4.11
Ebuild name:

dev-python/sqlalchemy-1.4.11

Description

Python SQL toolkit and Object Relational Mapper

Added to portage

2021-04-22

stestr - 3.2.0
Ebuild name:

dev-python/stestr-3.2.0

Description

A parallel Python test runner built around subunit

Added to portage

2021-04-22

tabbed - 0.6-r1
Ebuild name:

x11-misc/tabbed-0.6-r1

Description

Simple generic tabbed fronted to xembed aware applications

Added to portage

2021-04-22

tablib - 3.0.0
Ebuild name:

dev-python/tablib-3.0.0

Description

Format-agnostic tabular dataset library

Added to portage

2021-04-22

virtualbox - 6.1.20-r1
Ebuild name:

app-emulation/virtualbox-6.1.20-r1

Description

Family of powerful x86 virtualization products for enterprise an

Added to portage

2021-04-22

wireshark - 3.4.5
Ebuild name:

net-analyzer/wireshark-3.4.5

Description

A network protocol analyzer formerly known as ethereal

Added to portage

2021-04-22

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 69.9 ms