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:

36620

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
2017-01-24
bones - 3.8.4-r1
Ebuild name:

dev-ruby/bones-3.8.4-r1

Description

Tool that creates new Ruby projects from a code skeleton

Added to portage

2017-01-24

fbpdf - 0_p20161202
Ebuild name:

app-text/fbpdf-0_p20161202

Description

framebuffer pdf and djvu viewer

Added to portage

2017-01-24

gdb - 7.12.1
Ebuild name:

sys-devel/gdb-7.12.1

Description

GNU debugger

Added to portage

2017-01-24

git-sources - 4.10_rc5
Ebuild name:

sys-kernel/git-sources-4.10_rc5

Description

The very latest -git version of the Linux kernel

Added to portage

2017-01-24

kodi - 16.1-r3
Ebuild name:

media-tv/kodi-16.1-r3

Description

Kodi is a free and open source media-player and entertainment hub

Added to portage

2017-01-24

kodi - 17.0_rc3-r3
Ebuild name:

media-tv/kodi-17.0_rc3-r3

Description

Kodi is a free and open source media-player and entertainment hub

Added to portage

2017-01-24

kodi-pvr-mythtv - 4.12.12
Ebuild name:

media-plugins/kodi-pvr-mythtv-4.12.12

Description

MythTV PVR for Kodi

Added to portage

2017-01-24

netdata - 1.5.0
Ebuild name:

net-analyzer/netdata-1.5.0

Description

Linux real time system monitoring, done right

Added to portage

2017-01-24

nix - 1.11.6-r2
Ebuild name:

sys-apps/nix-1.11.6-r2

Description

A purely functional package manager

Added to portage

2017-01-24

shairplay - 0_pre20170118
Ebuild name:

net-libs/shairplay-0_pre20170118

Description

Apple airplay and raop protocol server

Added to portage

2017-01-24

shairplay - 9999
Ebuild name:

net-libs/shairplay-9999

Description

Apple airplay and raop protocol server

Added to portage

2017-01-24

skrooge - 2.7.0
Ebuild name:

app-office/skrooge-2.7.0

Description

Personal finances manager, aiming at being simple and intuitive

Added to portage

2017-01-24

2017-01-23
acts_as_list - 0.9.0
Ebuild name:

dev-ruby/acts_as_list-0.9.0

Description

Capabilities for sorting and reordering a number of objects in a list

Added to portage

2017-01-23

blackfriday - 1.4
Ebuild name:

dev-go/blackfriday-1.4

Description

a markdown processor implemented in Go

Added to portage

2017-01-23

botan - 1.10.15
Ebuild name:

dev-libs/botan-1.10.15

Description

A C++ crypto library

Added to portage

2017-01-23

botan - 2.0.1
Ebuild name:

dev-libs/botan-2.0.1

Description

A C++ crypto library

Added to portage

2017-01-23

bup - 0.29-r1
Ebuild name:

app-backup/bup-0.29-r1

Description

A highly efficient backup system based on the git packfile format

Added to portage

2017-01-23

childprocess - 0.6.1
Ebuild name:

dev-ruby/childprocess-0.6.1

Description

Solution for controlling external programs running in the background

Added to portage

2017-01-23

cinelerra - 20150908
Ebuild name:

media-video/cinelerra-20150908

Description

The most advanced non-linear video editor and compositor

Added to portage

2017-01-23

collada-dom - 2.4.4
Ebuild name:

dev-libs/collada-dom-2.4.4

Description

COLLADA Document Object Model (DOM) C++ Library

Added to portage

2017-01-23

cssselect - 1.0.1
Ebuild name:

dev-python/cssselect-1.0.1

Description

parses CSS3 Selectors and translates them to XPath 1.0

Added to portage

2017-01-23

ctemplate - 2.3-r1
Ebuild name:

dev-cpp/ctemplate-2.3-r1

Description

A simple but powerful template language for C++

Added to portage

2017-01-23

decorator - 4.0.11
Ebuild name:

dev-python/decorator-4.0.11

Description

Simplifies the usage of decorators for the average programmer

Added to portage

2017-01-23

device-atlas-api-c - 2.1
Ebuild name:

dev-libs/device-atlas-api-c-2.1

Description

API to detect devices based on the User-Agent HTTP header

Added to portage

2017-01-23

gentoo-sources - 4.4.44
Ebuild name:

sys-kernel/gentoo-sources-4.4.44

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2017-01-23

girara - 0.2.7
Ebuild name:

dev-libs/girara-0.2.7

Description

UI library that focuses on simplicity and minimalism

Added to portage

2017-01-23

gnupg - 2.1.17-r2
Ebuild name:

app-crypt/gnupg-2.1.17-r2

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2017-01-23

go-md2man - 1.0.6
Ebuild name:

dev-go/go-md2man-1.0.6

Description

A utility to convert markdown to man pages

Added to portage

2017-01-23

ikiwiki - 3.20170111
Ebuild name:

www-apps/ikiwiki-3.20170111

Description

A wiki compiler

Added to portage

2017-01-23

ipaddress - 1.0.18
Ebuild name:

dev-python/ipaddress-1.0.18

Description

IPv4/IPv6 manipulation library, backport of the ipaddress module

Added to portage

2017-01-23

libgit2 - 0.25.1
Ebuild name:

dev-libs/libgit2-0.25.1

Description

A linkable library for Git

Added to portage

2017-01-23

libvirt - 3.0.0
Ebuild name:

app-emulation/libvirt-3.0.0

Description

C toolkit to manipulate virtual machines

Added to portage

2017-01-23

libvirt-python - 3.0.0
Ebuild name:

dev-python/libvirt-python-3.0.0

Description

libvirt Python bindings

Added to portage

2017-01-23

llpp - 23
Ebuild name:

app-text/llpp-23

Description

graphical PDF viewer which aims to superficially resemble less(1)

Added to portage

2017-01-23

mc - 4.8.18-r1
Ebuild name:

app-misc/mc-4.8.18-r1

Description

GNU Midnight Commander is a text based file manager

Added to portage

2017-01-23

mujs - 0_p20150202
Ebuild name:

dev-lang/mujs-0_p20150202

Description

lightweight Javascript interpreter

Added to portage

2017-01-23

mujs - 0_p20160504
Ebuild name:

dev-lang/mujs-0_p20160504

Description

lightweight Javascript interpreter

Added to portage

2017-01-23

mupdf - 1.10a
Ebuild name:

app-text/mupdf-1.10a

Description

a lightweight PDF viewer and toolkit written in portable C

Added to portage

2017-01-23

nose-exclude - 0.5.0
Ebuild name:

dev-python/nose-exclude-0.5.0

Description

Exclude specific directories from nosetests runs

Added to portage

2017-01-23

pngpp - 0.2.9
Ebuild name:

dev-cpp/pngpp-0.2.9

Description

A simple but powerful C++ interface to libpng

Added to portage

2017-01-23

postfix - 3.2_pre20170122
Ebuild name:

mail-mta/postfix-3.2_pre20170122

Description

A fast and secure drop-in replacement for sendmail

Added to portage

2017-01-23

prometheus - 1.5.0
Ebuild name:

net-analyzer/prometheus-1.5.0

Description

Prometheus monitoring system and time series database

Added to portage

2017-01-23

prometheus-node_exporter - 0.14.0_rc1
Ebuild name:

net-analyzer/prometheus-node_exporter-0.14.0_rc1

Description

Prometheus exporter for machine metrics

Added to portage

2017-01-23

pyrsistent - 0.12.0
Ebuild name:

dev-python/pyrsistent-0.12.0

Description

Persistent/Functional/Immutable data structures

Added to portage

2017-01-23

qwtpolar - 1.1.1-r1
Ebuild name:

x11-libs/qwtpolar-1.1.1-r1

Description

Library for displaying values on a polar coordinate system

Added to portage

2017-01-23

requests - 2.12.5
Ebuild name:

dev-python/requests-2.12.5

Description

HTTP library for human beings

Added to portage

2017-01-23

serf - 0.8.0
Ebuild name:

app-admin/serf-0.8.0

Description

Service orchestration and management tool

Added to portage

2017-01-23

shapelib - 1.4.0-r1
Ebuild name:

sci-libs/shapelib-1.4.0-r1

Description

Library for manipulating ESRI Shapefiles

Added to portage

2017-01-23

sqlalchemy - 1.1.5
Ebuild name:

dev-python/sqlalchemy-1.1.5

Description

Python SQL toolkit and Object Relational Mapper

Added to portage

2017-01-23

texstudio - 2.12.0
Ebuild name:

app-office/texstudio-2.12.0

Description

Free cross-platform LaTeX editor (fork from texmakerX)

Added to portage

2017-01-23

typing - 3.5.3.0
Ebuild name:

dev-python/typing-3.5.3.0

Description

Type Hints for Python

Added to portage

2017-01-23

urllib3 - 1.20
Ebuild name:

dev-python/urllib3-1.20

Description

HTTP library with thread-safe connection pooling, file post, and more

Added to portage

2017-01-23

websocket-driver - 0.6.5
Ebuild name:

dev-ruby/websocket-driver-0.6.5

Description

A complete implementation of the WebSocket protocols

Added to portage

2017-01-23

wstools - 0.4.5
Ebuild name:

dev-python/wstools-0.4.5

Description

WSDL parsing services package for Web Services for Python

Added to portage

2017-01-23

xpra - 0.14.36
Ebuild name:

x11-wm/xpra-0.14.36

Description

X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy

Added to portage

2017-01-23

xpra - 1.0.1
Ebuild name:

x11-wm/xpra-1.0.1

Description

X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy

Added to portage

2017-01-23

zathura - 0.3.7
Ebuild name:

app-text/zathura-0.3.7

Description

A highly customizable and functional document viewer

Added to portage

2017-01-23

zathura-cb - 0.1.6
Ebuild name:

app-text/zathura-cb-0.1.6

Description

Comic book plug-in for zathura with 7zip, rar, tar and zip support

Added to portage

2017-01-23

zathura-djvu - 0.2.6
Ebuild name:

app-text/zathura-djvu-0.2.6

Description

DjVu plug-in for zathura

Added to portage

2017-01-23

zathura-pdf-mupdf - 0.3.1
Ebuild name:

app-text/zathura-pdf-mupdf-0.3.1

Description

PDF plug-in for zathura

Added to portage

2017-01-23

zathura-pdf-poppler - 0.2.7
Ebuild name:

app-text/zathura-pdf-poppler-0.2.7

Description

PDF plug-in for zathura

Added to portage

2017-01-23

zathura-ps - 0.2.4
Ebuild name:

app-text/zathura-ps-0.2.4

Description

PostScript plug-in for zathura

Added to portage

2017-01-23

zimg - 2.4
Ebuild name:

media-libs/zimg-2.4

Description

Scaling, colorspace conversion, and dithering library

Added to portage

2017-01-23

zope-interface - 4.3.3
Ebuild name:

dev-python/zope-interface-4.3.3

Description

Interfaces for Python

Added to portage

2017-01-23

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: 5.7 ms
system status display
Stellenangebote