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:

35859

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
Please read "Why adblockers are bad".



other Ads
Stellenangebote
Stellenangebote
für Fach- und
Führungskräfte
www.nachoben.com
Trace My Cash
Wenn Sie sich schon immer mal gefragt haben, wo eigentlich Ihr geliebtes Bargeld geblieben ist, finden Sie hier vielleicht die Antwort.
www.tracemycash.com
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
2016-12-04
CryptX - 0.44.0
Ebuild name:

dev-perl/CryptX-0.44.0

Description

Self-contained crypto toolkit

Added to portage

2016-12-04

DBD-mysql - 4.41.0
Ebuild name:

dev-perl/DBD-mysql-4.41.0

Description

MySQL driver for the Perl5 Database Interface (DBI)

Added to portage

2016-12-04

Shapely - 1.5.17-r1
Ebuild name:

sci-libs/Shapely-1.5.17-r1

Description

Geometric objects, predicates, and operations

Added to portage

2016-12-04

bash - 4.3_p48-r1
Ebuild name:

app-shells/bash-4.3_p48-r1

Description

The standard GNU Bourne again shell

Added to portage

2016-12-04

brython - 3.2.9
Ebuild name:

dev-python/brython-3.2.9

Description

A Python 3 implementation for client-side web programming

Added to portage

2016-12-04

ca-certificates - 20161102.3.27.2-r2
Ebuild name:

app-misc/ca-certificates-20161102.3.27.2-r2

Description

Common CA Certificates PEM files

Added to portage

2016-12-04

calcurse - 4.2.1
Ebuild name:

app-office/calcurse-4.2.1

Description

a text-based calendar and scheduling application

Added to portage

2016-12-04

chromium - 56.0.2924.14
Ebuild name:

www-client/chromium-56.0.2924.14

Description

Open-source version of Google Chrome web browser

Added to portage

2016-12-04

cri - 2.7.1
Ebuild name:

dev-ruby/cri-2.7.1

Description

Cri is a library for building easy-to-use commandline tools

Added to portage

2016-12-04

djbdns - 1.05-r32
Ebuild name:

net-dns/djbdns-1.05-r32

Description

Collection of DNS client/server software

Added to portage

2016-12-04

fedmsg - 0.18.1
Ebuild name:

dev-python/fedmsg-0.18.1

Description

Fedora Messaging Client API

Added to portage

2016-12-04

ffmpeg - 2.8.9
Ebuild name:

media-video/ffmpeg-2.8.9

Description

Complete solution to record, convert and stream audio and video. Includes

Added to portage

2016-12-04

gnome-common - 3.18.0-r1
Ebuild name:

gnome-base/gnome-common-3.18.0-r1

Description

Common files for development of Gnome packages

Added to portage

2016-12-04

guile - 2.0.13-r1
Ebuild name:

dev-scheme/guile-2.0.13-r1

Description

GNU Ubiquitous Intelligent Language for Extensions

Added to portage

2016-12-04

hdf5 - 1.8.18
Ebuild name:

sci-libs/hdf5-1.8.18

Description

General purpose library and file format for storing scientific data

Added to portage

2016-12-04

html-xml-utils - 7.1
Ebuild name:

app-text/html-xml-utils-7.1

Description

A number of simple utilities for manipulating HTML and XML files

Added to portage

2016-12-04

imageio - 1.6
Ebuild name:

dev-python/imageio-1.6

Description

Python library for reading and writing image data

Added to portage

2016-12-04

japitools - 0.9.7-r4
Ebuild name:

dev-java/japitools-0.9.7-r4

Description

Java API compatibility testing tools

Added to portage

2016-12-04

kwallet - 5.28.0-r1
Ebuild name:

kde-frameworks/kwallet-5.28.0-r1

Description

Framework providing desktop-wide storage for passwords

Added to portage

2016-12-04

kxstitch - 2.0.0
Ebuild name:

media-gfx/kxstitch-2.0.0

Description

Program to create cross stitch patterns

Added to portage

2016-12-04

nagios - 4.2.3
Ebuild name:

net-analyzer/nagios-4.2.3

Description

The Nagios metapackage

Added to portage

2016-12-04

nagios-core - 4.2.3-r1
Ebuild name:

net-analyzer/nagios-core-4.2.3-r1

Description

Nagios core - monitoring daemon, web GUI, and documentation

Added to portage

2016-12-04

openscenegraph - 3.5.1-r1
Ebuild name:

dev-games/openscenegraph-3.5.1-r1

Description

Open source high performance 3D graphics toolkit

Added to portage

2016-12-04

openvpn - 2.4_rc1-r1
Ebuild name:

net-misc/openvpn-2.4_rc1-r1

Description

Robust and highly flexible tunneling application compatible with many O

Added to portage

2016-12-04

openvswitch - 2.6.0-r2
Ebuild name:

net-misc/openvswitch-2.6.0-r2

Description

Production quality, multilayer virtual switch

Added to portage

2016-12-04

paludis - 2.4.0-r1
Ebuild name:

sys-apps/paludis-2.4.0-r1

Description

paludis, the other package mangler

Added to portage

2016-12-04

percona-server - 5.6.34.79.1
Ebuild name:

dev-db/percona-server-5.6.34.79.1

Description

An enhanced, drop-in replacement for MySQL from the Percona team

Added to portage

2016-12-04

prison - 1.1.1
Ebuild name:

kde-frameworks/prison-1.1.1

Description

QRCode and data matrix barcode library

Added to portage

2016-12-04

syncthing - 0.14.13
Ebuild name:

net-p2p/syncthing-0.14.13

Description

Open Source Continuous File Synchronization

Added to portage

2016-12-04

teamspeak-server-bin - 3.0.13.6
Ebuild name:

media-sound/teamspeak-server-bin-3.0.13.6

Description

Crystal Clear Cross-Platform Voice Communication Server

Added to portage

2016-12-04

the_silver_searcher - 1.0.1
Ebuild name:

sys-apps/the_silver_searcher-1.0.1

Description

A code-searching tool similar to ack, but faster

Added to portage

2016-12-04

uglifier - 3.0.4
Ebuild name:

dev-ruby/uglifier-3.0.4

Description

Ruby wrapper for UglifyJS JavaScript compressor

Added to portage

2016-12-04

worklog-assistant-bin - 2.1.3580
Ebuild name:

app-office/worklog-assistant-bin-2.1.3580

Description

Hassle-free time tracking for JIRA self-hosted and OnDema

Added to portage

2016-12-04

wpa_supplicant - 2.6-r1
Ebuild name:

net-wireless/wpa_supplicant-2.6-r1

Description

IEEE 802.1X/WPA supplicant for secure wireless transfers

Added to portage

2016-12-04

xosview - 1.19
Ebuild name:

x11-misc/xosview-1.19

Description

X11 operating system viewer

Added to portage

2016-12-04

2016-12-03
artifactory-bin - 4.14.1
Ebuild name:

dev-util/artifactory-bin-4.14.1

Description

The world's most advanced repository manager for maven

Added to portage

2016-12-03

artifactory-bin - 4.14.2
Ebuild name:

dev-util/artifactory-bin-4.14.2

Description

The world's most advanced repository manager for maven

Added to portage

2016-12-03

aufs-sources - 3.18.45
Ebuild name:

sys-kernel/aufs-sources-3.18.45

Description

Full sources including the Gentoo patchset for the linux kernel tre

Added to portage

2016-12-03

aufs-sources - 4.4.36
Ebuild name:

sys-kernel/aufs-sources-4.4.36

Description

Full sources including the Gentoo patchset for the linux kernel tree

Added to portage

2016-12-03

aufs-sources - 4.8.12
Ebuild name:

sys-kernel/aufs-sources-4.8.12

Description

Full sources including the Gentoo patchset for the linux kernel tree

Added to portage

2016-12-03

bandit - 1.3.0
Ebuild name:

dev-python/bandit-1.3.0

Description

A security linter from OpenStack Security

Added to portage

2016-12-03

chrome-binary-plugins - 55.0.2883.75
Ebuild name:

www-plugins/chrome-binary-plugins-55.0.2883.75

Description

Binary plugins from Google Chrome for use in Chromiu

Added to portage

2016-12-03

chrome-binary-plugins - 56.0.2924.14_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-56.0.2924.14_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2016-12-03

chromium - 55.0.2883.75
Ebuild name:

www-client/chromium-55.0.2883.75

Description

Open-source version of Google Chrome web browser

Added to portage

2016-12-03

commander - 4.4.1
Ebuild name:

dev-ruby/commander-4.4.1

Description

The complete solution for Ruby command-line executables

Added to portage

2016-12-03

ec2-ami-tools - 1.5.6-r1
Ebuild name:

app-admin/ec2-ami-tools-1.5.6-r1

Description

Command-line tools that serve as client interface to the Amazon EC

Added to portage

2016-12-03

filebeat - 5.0.2
Ebuild name:

app-admin/filebeat-5.0.2

Description

Lightweight log shipper for Logstash and Elasticsearch

Added to portage

2016-12-03

fuse-zip - 0.4.2
Ebuild name:

sys-fs/fuse-zip-0.4.2

Description

FUSE file system to navigate, extract, create and modify ZIP archives

Added to portage

2016-12-03

gentoo-sources - 4.8.12
Ebuild name:

sys-kernel/gentoo-sources-4.8.12

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2016-12-03

google-chrome - 55.0.2883.75
Ebuild name:

www-client/google-chrome-55.0.2883.75

Description

The web browser from Google

Added to portage

2016-12-03

google-chrome-unstable - 56.0.2924.14
Ebuild name:

www-client/google-chrome-unstable-56.0.2924.14

Description

The web browser from Google

Added to portage

2016-12-03

guake - 0.8.8
Ebuild name:

x11-terms/guake-0.8.8

Description

Drop-down terminal for GTK+ desktops

Added to portage

2016-12-03

irc - 15.0.5
Ebuild name:

dev-python/irc-15.0.5

Description

IRC client framework written in Python

Added to portage

2016-12-03

leatherman - 0.10.0
Ebuild name:

dev-libs/leatherman-0.10.0

Description

A C++ toolkit

Added to portage

2016-12-03

libav - 12
Ebuild name:

media-video/libav-12

Description

Complete solution to record, convert and stream audio and video

Added to portage

2016-12-03

lldpd - 0.9.5
Ebuild name:

net-misc/lldpd-0.9.5

Description

Implementation of IEEE 802.1ab (LLDP)

Added to portage

2016-12-03

logrotate - 3.11.0
Ebuild name:

app-admin/logrotate-3.11.0

Description

Rotates, compresses, and mails system logs

Added to portage

2016-12-03

lxc - 2.0.6
Ebuild name:

app-emulation/lxc-2.0.6

Description

LinuX Containers userspace utilities

Added to portage

2016-12-03

monkeysphere - 0.41
Ebuild name:

app-crypt/monkeysphere-0.41

Description

Leverage the OpenPGP web of trust for OpenSSH and Web authentication

Added to portage

2016-12-03

multi-term - 1.3
Ebuild name:

app-emacs/multi-term-1.3

Description

Manage multiple terminal buffers in Emacs

Added to portage

2016-12-03

opera-beta - 42.0.2393.65
Ebuild name:

www-client/opera-beta-42.0.2393.65

Description

A fast and secure web browser

Added to portage

2016-12-03

pamix - 1.5
Ebuild name:

media-sound/pamix-1.5

Description

A PulseAudio NCurses mixer

Added to portage

2016-12-03

pandas - 0.19.1
Ebuild name:

dev-python/pandas-0.19.1

Description

Powerful data structures for data analysis and statistics

Added to portage

2016-12-03

php - 7.1.0
Ebuild name:

dev-lang/php-7.1.0

Description

The PHP language runtime engine

Added to portage

2016-12-03

pypolicyd-spf - 2.0.0
Ebuild name:

mail-filter/pypolicyd-spf-2.0.0

Description

Python-based policy daemon for Postfix SPF verification

Added to portage

2016-12-03

stardict - 3.0.6-r3
Ebuild name:

app-text/stardict-3.0.6-r3

Description

A international dictionary supporting fuzzy and glob style matching

Added to portage

2016-12-03

supervisor - 3.3.1-r1
Ebuild name:

app-admin/supervisor-3.3.1-r1

Description

A system for controlling process state under UNIX

Added to portage

2016-12-03

tqdm - 4.10.0
Ebuild name:

dev-python/tqdm-4.10.0

Description

Add a progress meter to your loops in a second.

Added to portage

2016-12-03

vcard - 0.2.15
Ebuild name:

dev-ruby/vcard-0.2.15

Description

Ruby vcard support extracted from Vpim

Added to portage

2016-12-03

w3m - 0.5.3-r9
Ebuild name:

www-client/w3m-0.5.3-r9

Description

Text based WWW browser, supports tables and frames

Added to portage

2016-12-03

xarray - 0.8.2
Ebuild name:

dev-python/xarray-0.8.2

Description

N-D labeled arrays and datasets in Python

Added to portage

2016-12-03

xen-pvgrub - 4.7.1-r1
Ebuild name:

app-emulation/xen-pvgrub-4.7.1-r1

Description

allows to boot Xen domU kernels from a menu.lst laying inside gue

Added to portage

2016-12-03

znc - 1.6.3-r1
Ebuild name:

net-irc/znc-1.6.3-r1

Description

An advanced IRC Bouncer

Added to portage

2016-12-03

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004 S&P Softwaredesign
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: 6.8 ms
system status display
Stellenangebote