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:

40863

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
2018-06-19
acl - 2.2.53
Ebuild name:

sys-apps/acl-2.2.53

Description

access control list utilities, libraries and headers

Added to portage

2018-06-19

attr - 2.4.48-r1
Ebuild name:

sys-apps/attr-2.4.48-r1

Description

Extended attributes tools

Added to portage

2018-06-19

autoprefixer-rails - 8.6.3
Ebuild name:

dev-ruby/autoprefixer-rails-8.6.3

Description

Add vendor prefixes to CSS rules using values from the Can I Use

Added to portage

2018-06-19

ignition-math - 4.0.0-r1
Ebuild name:

sci-libs/ignition-math-4.0.0-r1

Description

A small, fast, and high performance math library for robot applicat

Added to portage

2018-06-19

libXaw3d - 1.6.3
Ebuild name:

x11-libs/libXaw3d-1.6.3

Description

X.Org Xaw3d library

Added to portage

2018-06-19

linux-headers - 4.17
Ebuild name:

sys-kernel/linux-headers-4.17

Description

Added to portage

2018-06-19

logfury - 0.1.2
Ebuild name:

dev-python/logfury-0.1.2

Description

Boilerplate library for logging method calls

Added to portage

2018-06-19

mbedtls - 2.11.0
Ebuild name:

net-libs/mbedtls-2.11.0

Description

Cryptographic library for embedded systems

Added to portage

2018-06-19

mbedtls - 2.7.4
Ebuild name:

net-libs/mbedtls-2.7.4

Description

Cryptographic library for embedded systems

Added to portage

2018-06-19

neutron - 11.0.5
Ebuild name:

sys-cluster/neutron-11.0.5

Description

A virtual network service for Openstack

Added to portage

2018-06-19

openssh - 7.7_p1-r101
Ebuild name:

net-misc/openssh-7.7_p1-r101

Description

Port of OpenBSD's free SSH release

Added to portage

2018-06-19

openssh - 7.7_p1-r5
Ebuild name:

net-misc/openssh-7.7_p1-r5

Description

Port of OpenBSD's free SSH release

Added to portage

2018-06-19

plyvel - 1.0.4
Ebuild name:

dev-python/plyvel-1.0.4

Description

Python interface to LevelDB

Added to portage

2018-06-19

racket - 6.11-r1
Ebuild name:

dev-scheme/racket-6.11-r1

Description

General purpose, multi-paradigm Lisp-Scheme programming language

Added to portage

2018-06-19

racket - 6.12-r1
Ebuild name:

dev-scheme/racket-6.12-r1

Description

General purpose, multi-paradigm Lisp-Scheme programming language

Added to portage

2018-06-19

shim - 15.5
Ebuild name:

sys-boot/shim-15.5

Description

Fedora's signed UEFI shim

Added to portage

2018-06-19

tensorflow - 1.9.0_rc1
Ebuild name:

sci-libs/tensorflow-1.9.0_rc1

Description

Computation framework using data flow graphs for scalable machine lea

Added to portage

2018-06-19

vivaldi - 1.15.1147.47_p1
Ebuild name:

www-client/vivaldi-1.15.1147.47_p1

Description

A browser for our friends

Added to portage

2018-06-19

xf86-input-mouse - 1.9.3
Ebuild name:

x11-drivers/xf86-input-mouse-1.9.3

Description

X.Org driver for mouse input devices

Added to portage

2018-06-19

yarn - 1.7.0
Ebuild name:

sys-apps/yarn-1.7.0

Description

Fast, reliable, and secure node dependency management

Added to portage

2018-06-19

yarn - 1.8.0
Ebuild name:

sys-apps/yarn-1.8.0

Description

Fast, reliable, and secure node dependency management

Added to portage

2018-06-19

2018-06-18
alertmanager - 0.15.0_rc3
Ebuild name:

app-metrics/alertmanager-0.15.0_rc3

Description

Alertmanager for alerts sent by client applications such as Pro

Added to portage

2018-06-18

buildah - 1.1
Ebuild name:

app-emulation/buildah-1.1

Description

A tool that facilitates building OCI images

Added to portage

2018-06-18

cinder - 11.1.1
Ebuild name:

sys-cluster/cinder-11.1.1

Description

Cinder is the OpenStack Block storage service, a spin out of nova-volumes

Added to portage

2018-06-18

cinder - 12.0.3
Ebuild name:

sys-cluster/cinder-12.0.3

Description

Cinder is the OpenStack Block storage service, a spin out of nova-volumes

Added to portage

2018-06-18

duc - 1.4.3-r1
Ebuild name:

sys-apps/duc-1.4.3-r1

Description

A library and suite of tools for inspecting disk usage

Added to portage

2018-06-18

firefox-bin - 52.8.1
Ebuild name:

www-client/firefox-bin-52.8.1

Description

Firefox Web Browser

Added to portage

2018-06-18

firefox-bin - 60.0.2
Ebuild name:

www-client/firefox-bin-60.0.2

Description

Firefox Web Browser

Added to portage

2018-06-18

gnupg - 2.2.8-r1
Ebuild name:

app-crypt/gnupg-2.2.8-r1

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2018-06-18

gst-rtsp-server - 1.14.1
Ebuild name:

media-libs/gst-rtsp-server-1.14.1

Description

A GStreamer based RTSP server

Added to portage

2018-06-18

gstreamer-editing-services - 1.14.1
Ebuild name:

media-libs/gstreamer-editing-services-1.14.1

Description

SDK for making video editors and more

Added to portage

2018-06-18

hadolint - 1.7.4
Ebuild name:

dev-util/hadolint-1.7.4

Description

Dockerfile Linter JavaScript API

Added to portage

2018-06-18

hyperleveldb - 1.2.2-r1
Ebuild name:

dev-libs/hyperleveldb-1.2.2-r1

Description

Hyperdex fork/extension of leveldb

Added to portage

2018-06-18

imagemagick - 6.9.10.1
Ebuild name:

media-gfx/imagemagick-6.9.10.1

Description

A collection of tools and libraries for many image formats

Added to portage

2018-06-18

imagemagick - 7.0.8.1
Ebuild name:

media-gfx/imagemagick-7.0.8.1

Description

A collection of tools and libraries for many image formats

Added to portage

2018-06-18

keyring - 13.0.0
Ebuild name:

dev-python/keyring-13.0.0

Description

Provides access to the system keyring service

Added to portage

2018-06-18

kuickshow - 0.10.0-r1
Ebuild name:

media-gfx/kuickshow-0.10.0-r1

Description

Image viewer based on KDE Frameworks

Added to portage

2018-06-18

leveldb - 1.20
Ebuild name:

dev-libs/leveldb-1.20

Description

a fast key-value storage library written at Google

Added to portage

2018-06-18

libinput-gestures - 2.36
Ebuild name:

x11-misc/libinput-gestures-2.36

Description

Actions gestures on your touchpad using libinput

Added to portage

2018-06-18

libsigrokdecode - 0.5.1
Ebuild name:

sci-libs/libsigrokdecode-0.5.1

Description

provide (streaming) protocol decoding functionality

Added to portage

2018-06-18

libsrtp - 2.2.0
Ebuild name:

net-libs/libsrtp-2.2.0

Description

Open-source implementation of the Secure Real-time Transport Protocol (SRTP)

Added to portage

2018-06-18

libtorrent - 0.13.7
Ebuild name:

net-libs/libtorrent-0.13.7

Description

BitTorrent library written in C++ for *nix

Added to portage

2018-06-18

minetest - 0.4.17-r1
Ebuild name:

games-action/minetest-0.4.17-r1

Description

An InfiniMiner/Minecraft inspired game

Added to portage

2018-06-18

mpd - 0.20.12-r2
Ebuild name:

media-sound/mpd-0.20.12-r2

Description

The Music Player Daemon (mpd)

Added to portage

2018-06-18

msmtp - 1.6.7
Ebuild name:

mail-mta/msmtp-1.6.7

Description

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

Added to portage

2018-06-18

needrestart - 3.2
Ebuild name:

app-admin/needrestart-3.2

Description

Restart daemons after library updates

Added to portage

2018-06-18

neutron - 12.0.3
Ebuild name:

sys-cluster/neutron-12.0.3

Description

A virtual network service for Openstack

Added to portage

2018-06-18

ogre - 1.10.11
Ebuild name:

dev-games/ogre-1.10.11

Description

Object-oriented Graphics Rendering Engine

Added to portage

2018-06-18

openlp - 2.4.6
Ebuild name:

app-text/openlp-2.4.6

Description

Free church presentation software

Added to portage

2018-06-18

plyvel - 0.9-r1
Ebuild name:

dev-python/plyvel-0.9-r1

Description

Python interface to LevelDB

Added to portage

2018-06-18

pocketlint - 0.16
Ebuild name:

dev-python/pocketlint-0.16

Description

Shared code for running pylint against rhinstaller projects

Added to portage

2018-06-18

pulseaudio - 11.99.1-r1
Ebuild name:

media-sound/pulseaudio-11.99.1-r1

Description

A networked sound server with an advanced plugin system

Added to portage

2018-06-18

pygal - 2.4.0
Ebuild name:

dev-python/pygal-2.4.0

Description

A python SVG charts generator

Added to portage

2018-06-18

redis - 3.2.12
Ebuild name:

dev-db/redis-3.2.12

Description

A persistent caching system, key-value and data structures database

Added to portage

2018-06-18

redis - 4.0.10
Ebuild name:

dev-db/redis-4.0.10

Description

A persistent caching system, key-value and data structures database

Added to portage

2018-06-18

reg - 0.14.1
Ebuild name:

app-emulation/reg-0.14.1

Description

Docker registry v2 command line client

Added to portage

2018-06-18

rpcsvc-proto - 1.4
Ebuild name:

net-libs/rpcsvc-proto-1.4

Description

rpcsvc protocol definitions from glibc

Added to portage

2018-06-18

rtorrent - 0.9.7
Ebuild name:

net-p2p/rtorrent-0.9.7

Description

BitTorrent Client using libtorrent

Added to portage

2018-06-18

shards - 0.8.1
Ebuild name:

dev-util/shards-0.8.1

Description

Dependency manager for the Crystal language

Added to portage

2018-06-18

slack-bin - 3.2.1
Ebuild name:

net-im/slack-bin-3.2.1

Description

Team collaboration tool

Added to portage

2018-06-18

strace - 4.23-r1
Ebuild name:

dev-util/strace-4.23-r1

Description

A useful diagnostic, instructional, and debugging tool

Added to portage

2018-06-18

triptych - 1.16
Ebuild name:

games-puzzle/triptych-1.16

Description

Fast-paced Tetris-like puzzler

Added to portage

2018-06-18

vanilla-sources - 3.16.57
Ebuild name:

sys-kernel/vanilla-sources-3.16.57

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

vanilla-sources - 4.14.50
Ebuild name:

sys-kernel/vanilla-sources-4.14.50

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

vanilla-sources - 4.16.16
Ebuild name:

sys-kernel/vanilla-sources-4.16.16

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

vanilla-sources - 4.17.2
Ebuild name:

sys-kernel/vanilla-sources-4.17.2

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

vanilla-sources - 4.4.138
Ebuild name:

sys-kernel/vanilla-sources-4.4.138

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

vanilla-sources - 4.9.109
Ebuild name:

sys-kernel/vanilla-sources-4.9.109

Description

Full sources for the Linux kernel

Added to portage

2018-06-18

wine-any - 3.10
Ebuild name:

app-emulation/wine-any-3.10

Description

Free implementation of Windows(tm) on Unix, with optional external patc

Added to portage

2018-06-18

wine-d3d9 - 3.10
Ebuild name:

app-emulation/wine-d3d9-3.10

Description

Free implementation of Windows(tm) on Unix, with Gallium Nine patchset

Added to portage

2018-06-18

wine-staging - 3.10
Ebuild name:

app-emulation/wine-staging-3.10

Description

Free implementation of Windows(tm) on Unix, with Wine-Staging patch

Added to portage

2018-06-18

wine-vanilla - 3.10
Ebuild name:

app-emulation/wine-vanilla-3.10

Description

Free implementation of Windows(tm) on Unix, without external patchs

Added to portage

2018-06-18

xdg-utils - 1.1.3-r1
Ebuild name:

x11-misc/xdg-utils-1.1.3-r1

Description

Portland utils for cross-platform/cross-toolkit/cross-desktop interoper

Added to portage

2018-06-18

xfconf - 4.13.5
Ebuild name:

xfce-base/xfconf-4.13.5

Description

A configuration management system for Xfce

Added to portage

2018-06-18

xmr-stak - 2.4.5-r1
Ebuild name:

net-p2p/xmr-stak-2.4.5-r1

Description

Unified all-in-one Monero miner

Added to portage

2018-06-18

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: 34.3 ms