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:

45391

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



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2019-04-26
binutils - 2.31.1-r6
Ebuild name:

sys-devel/binutils-2.31.1-r6

Description

Tools necessary to build programs

Added to portage

2019-04-26

binutils-hppa64 - 2.31.1-r6
Ebuild name:

sys-devel/binutils-hppa64-2.31.1-r6

Description

Tools necessary to build programs

Added to portage

2019-04-26

binutils-libs - 2.31.1-r6
Ebuild name:

sys-libs/binutils-libs-2.31.1-r6

Description

Core binutils libraries (libbfd, libopcodes, libiberty) for extern

Added to portage

2019-04-26

cogl - 1.22.4
Ebuild name:

media-libs/cogl-1.22.4

Description

A library for using 3D graphics hardware to draw pretty pictures

Added to portage

2019-04-26

epiphany - 3.30.4
Ebuild name:

www-client/epiphany-3.30.4

Description

GNOME webbrowser based on Webkit

Added to portage

2019-04-26

quilt - 0.66
Ebuild name:

dev-util/quilt-0.66

Description

quilt patch manager

Added to portage

2019-04-26

2019-04-25
PEAR-Archive_Tar - 1.4.7
Ebuild name:

dev-php/PEAR-Archive_Tar-1.4.7

Description

Tar file management class

Added to portage

2019-04-25

PEAR-HTML_QuickForm2 - 2.1.0
Ebuild name:

dev-php/PEAR-HTML_QuickForm2-2.1.0

Description

Creating, validating, processing HTML forms methods (PHP5 optimi

Added to portage

2019-04-25

PEAR-XML_Parser - 1.3.8
Ebuild name:

dev-php/PEAR-XML_Parser-1.3.8

Description

XML parsing class based on PHP's SAX parser

Added to portage

2019-04-25

PHP_CodeSniffer - 3.4.2
Ebuild name:

dev-php/PHP_CodeSniffer-3.4.2

Description

Detect violations of PHP code standards

Added to portage

2019-04-25

alsa-plugins - 1.1.8-r1
Ebuild name:

media-plugins/alsa-plugins-1.1.8-r1

Description

ALSA extra plugins

Added to portage

2019-04-25

avra - 1.4.1
Ebuild name:

dev-embedded/avra-1.4.1

Description

Atmel AVR Assembler

Added to portage

2019-04-25

bunny - 2.14.2
Ebuild name:

dev-ruby/bunny-2.14.2

Description

Another synchronous Ruby AMQP client

Added to portage

2019-04-25

cproto - 4.7o
Ebuild name:

dev-util/cproto-4.7o

Description

Generate C function prototypes from C source code

Added to portage

2019-04-25

deb2targz - 1-r3
Ebuild name:

app-arch/deb2targz-1-r3

Description

Convert a .deb file to a .tar.gz archive

Added to portage

2019-04-25

drone-cli - 1.1.0
Ebuild name:

dev-util/drone-cli-1.1.0

Description

Command-line interface for Drone

Added to portage

2019-04-25

elasticsearch - 5.6.16
Ebuild name:

app-misc/elasticsearch-5.6.16

Description

Open Source, Distributed, RESTful, Search Engine

Added to portage

2019-04-25

elasticsearch - 6.7.1
Ebuild name:

app-misc/elasticsearch-6.7.1

Description

Open Source, Distributed, RESTful, Search Engine

Added to portage

2019-04-25

elasticsearch - 7.0.0
Ebuild name:

app-misc/elasticsearch-7.0.0

Description

Open Source, Distributed, RESTful, Search Engine

Added to portage

2019-04-25

electron-cash - 3.3.6
Ebuild name:

net-misc/electron-cash-3.3.6

Description

Lightweight Bitcoin Cash client (BCH fork of Electrum)

Added to portage

2019-04-25

electron-cash - 4.0.2
Ebuild name:

net-misc/electron-cash-4.0.2

Description

Lightweight Bitcoin Cash client (BCH fork of Electrum)

Added to portage

2019-04-25

electrum-ltc - 3.3.4.1
Ebuild name:

net-misc/electrum-ltc-3.3.4.1

Description

Litecoin thin client

Added to portage

2019-04-25

gitlabform - 1.3.0
Ebuild name:

dev-python/gitlabform-1.3.0

Description

Easy configuration as code tool for GitLab using config in plain YAML

Added to portage

2019-04-25

hardlink - 0.3.2
Ebuild name:

app-arch/hardlink-0.3.2

Description

A tool which replaces copies of a file with hardlinks

Added to portage

2019-04-25

hiera-eyaml-gpg - 0.7.2
Ebuild name:

dev-ruby/hiera-eyaml-gpg-0.7.2

Description

A GPG backend for hiera-eyaml

Added to portage

2019-04-25

icewm - 1.5.4
Ebuild name:

x11-wm/icewm-1.5.4

Description

Ice Window Manager with Themes

Added to portage

2019-04-25

icingaweb2 - 2.6.3
Ebuild name:

www-apps/icingaweb2-2.6.3

Description

Icinga Web 2 - Frontend for icinga2

Added to portage

2019-04-25

imagemagick - 6.9.10.42
Ebuild name:

media-gfx/imagemagick-6.9.10.42

Description

A collection of tools and libraries for many image formats

Added to portage

2019-04-25

imagemagick - 7.0.8.42
Ebuild name:

media-gfx/imagemagick-7.0.8.42

Description

A collection of tools and libraries for many image formats

Added to portage

2019-04-25

intel-microcode - 20180807a_p20190420
Ebuild name:

sys-firmware/intel-microcode-20180807a_p20190420

Description

Intel IA32/IA64 microcode update data

Added to portage

2019-04-25

ipopt - 3.12.12
Ebuild name:

sci-libs/ipopt-3.12.12

Description

Interior-Point Optimizer for large-scale nonlinear optimization

Added to portage

2019-04-25

istioctl - 1.1.4
Ebuild name:

net-misc/istioctl-1.1.4

Description

Istio configuration command line utility

Added to portage

2019-04-25

kdstatemachineeditor - 1.2.4
Ebuild name:

dev-util/kdstatemachineeditor-1.2.4

Description

Framework for creating Qt State Machine metacode using graphica

Added to portage

2019-04-25

kglobalaccel - 5.57.0-r1
Ebuild name:

kde-frameworks/kglobalaccel-5.57.0-r1

Description

Framework to handle global shortcuts

Added to portage

2019-04-25

kibana-bin - 5.6.16
Ebuild name:

www-apps/kibana-bin-5.6.16

Description

Analytics and search dashboard for Elasticsearch

Added to portage

2019-04-25

kibana-bin - 6.7.1
Ebuild name:

www-apps/kibana-bin-6.7.1

Description

Analytics and search dashboard for Elasticsearch

Added to portage

2019-04-25

kibana-bin - 7.0.0
Ebuild name:

www-apps/kibana-bin-7.0.0

Description

Analytics and search dashboard for Elasticsearch

Added to portage

2019-04-25

kstars - 3.2.1
Ebuild name:

sci-astronomy/kstars-3.2.1

Description

Desktop Planetarium

Added to portage

2019-04-25

kube-bench - 0.0.28
Ebuild name:

app-admin/kube-bench-0.0.28

Description

Kubernetes Bench for Security runs the CIS Kubernetes Benchmark

Added to portage

2019-04-25

libaio - 0.3.111
Ebuild name:

dev-libs/libaio-0.3.111

Description

Asynchronous input/output library that uses the kernels native interface

Added to portage

2019-04-25

libaio - 9999
Ebuild name:

dev-libs/libaio-9999

Description

Asynchronous input/output library that uses the kernels native interface

Added to portage

2019-04-25

libp11 - 0.4.10
Ebuild name:

dev-libs/libp11-0.4.10

Description

Abstraction layer to simplify PKCS11 API

Added to portage

2019-04-25

loksh - 6.5
Ebuild name:

app-shells/loksh-6.5

Description

Linux port of OpenBSD's ksh

Added to portage

2019-04-25

mesa - 19.0.3
Ebuild name:

media-libs/mesa-19.0.3

Description

OpenGL-like graphic library for Linux

Added to portage

2019-04-25

mosquitto - 1.5.8
Ebuild name:

app-misc/mosquitto-1.5.8

Description

An Open Source MQTT v3 Broker

Added to portage

2019-04-25

msmtp - 1.8.4
Ebuild name:

mail-mta/msmtp-1.8.4

Description

An SMTP client and SMTP plugin for mail user agents such as Mutt

Added to portage

2019-04-25

nano - 4.2
Ebuild name:

app-editors/nano-4.2

Description

GNU GPL'd Pico clone with more functionality

Added to portage

2019-04-25

nginx - 1.15.12-r1
Ebuild name:

www-servers/nginx-1.15.12-r1

Description

Robust, small and high performance http and reverse proxy server

Added to portage

2019-04-25

nginx - 1.16.0
Ebuild name:

www-servers/nginx-1.16.0

Description

Robust, small and high performance http and reverse proxy server

Added to portage

2019-04-25

ofono - 1.29
Ebuild name:

net-misc/ofono-1.29

Description

Open Source mobile telephony (GSM/UMTS) daemon

Added to portage

2019-04-25

opendkim - 2.10.3-r12
Ebuild name:

mail-filter/opendkim-2.10.3-r12

Description

A milter providing DKIM signing and verification

Added to portage

2019-04-25

openscad - 2015.03_p3-r1
Ebuild name:

media-gfx/openscad-2015.03_p3-r1

Description

The Programmers Solid 3D CAD Modeller

Added to portage

2019-04-25

platformio - 3.6.7
Ebuild name:

dev-embedded/platformio-3.6.7

Description

An open source ecosystem for IoT development

Added to portage

2019-04-25

polkit-gnome - 0.105-r2
Ebuild name:

gnome-extra/polkit-gnome-0.105-r2

Description

A dbus session bus service that is used to bring up authenticatio

Added to portage

2019-04-25

prometheus - 2.9.2
Ebuild name:

app-metrics/prometheus-2.9.2

Description

Prometheus monitoring system and time series database

Added to portage

2019-04-25

pytest - 4.4.1
Ebuild name:

dev-python/pytest-4.4.1

Description

Simple powerful testing with Python

Added to portage

2019-04-25

qtfm - 6.1.9
Ebuild name:

x11-misc/qtfm-6.1.9

Description

A small, lightweight file manager for desktops based on pure Qt

Added to portage

2019-04-25

rqlite - 4.5.0
Ebuild name:

dev-db/rqlite-4.5.0

Description

Replicated SQLite using the Raft consensus protocol

Added to portage

2019-04-25

selenium-webdriver - 3.142.0
Ebuild name:

dev-ruby/selenium-webdriver-3.142.0

Description

This gem provides Ruby bindings for WebDriver

Added to portage

2019-04-25

subversion - 1.12.0
Ebuild name:

dev-vcs/subversion-1.12.0

Description

Advanced version control system

Added to portage

2019-04-25

tmux - 2.9
Ebuild name:

app-misc/tmux-2.9

Description

Terminal multiplexer

Added to portage

2019-04-25

unifi - 5.11.18
Ebuild name:

net-wireless/unifi-5.11.18

Description

A Management Controller for Ubiquiti Networks UniFi APs

Added to portage

2019-04-25

widelands - 0.20_rc1
Ebuild name:

games-strategy/widelands-0.20_rc1

Description

A game similar to Settlers 2

Added to portage

2019-04-25

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2018 Sascha Nitsch Unternehmensberatung UG(haftungsbeschänkt)
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: 39.3 ms