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:

43177

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-10-22
cabextract - 1.8
Ebuild name:

app-arch/cabextract-1.8

Description

Extracts files from Microsoft cabinet archive files

Added to portage

2018-10-22

chromium - 71.0.3578.10
Ebuild name:

www-client/chromium-71.0.3578.10

Description

Open-source version of Google Chrome web browser

Added to portage

2018-10-22

ck-sources - 4.14.78
Ebuild name:

sys-kernel/ck-sources-4.14.78

Description

Gentoo's genpatches for Linux ., with Con Kolivas' MuQSS process sche

Added to portage

2018-10-22

ck-sources - 4.18.16
Ebuild name:

sys-kernel/ck-sources-4.18.16

Description

Gentoo's genpatches for Linux ., with Con Kolivas' MuQSS process sche

Added to portage

2018-10-22

ck-sources - 4.9.135
Ebuild name:

sys-kernel/ck-sources-4.9.135

Description

Gentoo's genpatches for Linux ., with Con Kolivas' MuQSS process sche

Added to portage

2018-10-22

eduke32 - 20181010.7067
Ebuild name:

games-fps/eduke32-20181010.7067

Description

An open source engine port of the classic PC first person shooter D

Added to portage

2018-10-22

glibc - 2.28-r1
Ebuild name:

sys-libs/glibc-2.28-r1

Description

GNU libc C library

Added to portage

2018-10-22

go - 1.11.1
Ebuild name:

dev-lang/go-1.11.1

Description

A concurrent garbage collected and typesafe programming language

Added to portage

2018-10-22

icedtea-bin - 3.9.0-r1
Ebuild name:

dev-java/icedtea-bin-3.9.0-r1

Description

A Gentoo-made binary build of the IcedTea JDK

Added to portage

2018-10-22

libcss - 0.8.0
Ebuild name:

dev-libs/libcss-0.8.0

Description

CSS parser and selection engine, written in C

Added to portage

2018-10-22

libdom - 0.3.3
Ebuild name:

net-libs/libdom-0.3.3

Description

implementation of the W3C DOM, written in C

Added to portage

2018-10-22

libhubbub - 0.3.3
Ebuild name:

net-libs/libhubbub-0.3.3

Description

HTML5 compliant parsing library, written in C

Added to portage

2018-10-22

libhubbub - 0.3.5
Ebuild name:

net-libs/libhubbub-0.3.5

Description

HTML5 compliant parsing library, written in C

Added to portage

2018-10-22

libnsbmp - 0.1.5
Ebuild name:

media-libs/libnsbmp-0.1.5

Description

decoding library for BMP and ICO image file formats, written in C

Added to portage

2018-10-22

libnsfb - 0.2.0
Ebuild name:

dev-libs/libnsfb-0.2.0

Description

framebuffer abstraction library, written in C

Added to portage

2018-10-22

libnsgif - 0.2.1
Ebuild name:

media-libs/libnsgif-0.2.1

Description

decoding library for the GIF image file format, written in C

Added to portage

2018-10-22

libnspsl - 0.1.3
Ebuild name:

media-libs/libnspsl-0.1.3

Description

decoding library for BMP and ICO image file formats, written in C

Added to portage

2018-10-22

libnsutils - 0.0.5
Ebuild name:

dev-libs/libnsutils-0.0.5

Description

base64 and time library, written in C

Added to portage

2018-10-22

libparserutils - 0.2.4
Ebuild name:

dev-libs/libparserutils-0.2.4

Description

library for building efficient parsers, written in C

Added to portage

2018-10-22

librosprite - 0.1.3
Ebuild name:

media-libs/librosprite-0.1.3

Description

framebuffer abstraction library, written in C

Added to portage

2018-10-22

libsvgtiny - 0.1.7
Ebuild name:

media-libs/libsvgtiny-0.1.7

Description

framebuffer abstraction library, written in C

Added to portage

2018-10-22

libutf8proc - 2.2.0_p1
Ebuild name:

dev-libs/libutf8proc-2.2.0_p1

Description

mapping tool for UTF-8 strings

Added to portage

2018-10-22

libwapcaplet - 0.4.1
Ebuild name:

dev-libs/libwapcaplet-0.4.1

Description

string internment library, written in C

Added to portage

2018-10-22

nativebiginteger - 0.9.36-r1
Ebuild name:

net-libs/nativebiginteger-0.9.36-r1

Description

Added to portage

2018-10-22

netsurf - 3.8
Ebuild name:

www-client/netsurf-3.8

Description

a free, open source web browser

Added to portage

2018-10-22

nsgenbind - 0.6
Ebuild name:

dev-libs/nsgenbind-0.6

Description

generate javascript to dom bindings from w3c webidl files

Added to portage

2018-10-22

phpmyadmin - 4.8.3-r1
Ebuild name:

dev-db/phpmyadmin-4.8.3-r1

Description

Web-based administration for MySQL database in PHP

Added to portage

2018-10-22

trojan - 1.9.0
Ebuild name:

net-proxy/trojan-1.9.0

Description

An unidentifiable mechanism that helps you bypass GFW

Added to portage

2018-10-22

units - 2.18
Ebuild name:

sci-calculators/units-2.18

Description

Unit conversion program

Added to portage

2018-10-22

upmpdcli - 1.3.6
Ebuild name:

media-sound/upmpdcli-1.3.6

Description

UPnP Media Renderer front-end for MPD, the Music Player Daemon

Added to portage

2018-10-22

vanilla-sources - 4.14.78
Ebuild name:

sys-kernel/vanilla-sources-4.14.78

Description

Full sources for the Linux kernel

Added to portage

2018-10-22

vanilla-sources - 4.18.16
Ebuild name:

sys-kernel/vanilla-sources-4.18.16

Description

Full sources for the Linux kernel

Added to portage

2018-10-22

vanilla-sources - 4.4.162
Ebuild name:

sys-kernel/vanilla-sources-4.4.162

Description

Full sources for the Linux kernel

Added to portage

2018-10-22

vanilla-sources - 4.9.135
Ebuild name:

sys-kernel/vanilla-sources-4.9.135

Description

Full sources for the Linux kernel

Added to portage

2018-10-22

weechat - 2.3
Ebuild name:

net-irc/weechat-2.3

Description

Portable and multi-interface IRC client

Added to portage

2018-10-22

xfconf - 4.13.6
Ebuild name:

xfce-base/xfconf-4.13.6

Description

A configuration management system for Xfce

Added to portage

2018-10-22

xkeyboard-config - 2.25
Ebuild name:

x11-misc/xkeyboard-config-2.25

Description

X keyboard configuration database

Added to portage

2018-10-22

2018-10-21
airline-themes - 0_pre20181021
Ebuild name:

app-vim/airline-themes-0_pre20181021

Description

vim plugin a collection of themes for vim-airline

Added to portage

2018-10-21

aufs-sources - 4.14.65
Ebuild name:

sys-kernel/aufs-sources-4.14.65

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.71
Ebuild name:

sys-kernel/aufs-sources-4.14.71

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.72
Ebuild name:

sys-kernel/aufs-sources-4.14.72

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.73
Ebuild name:

sys-kernel/aufs-sources-4.14.73

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.74
Ebuild name:

sys-kernel/aufs-sources-4.14.74

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.75
Ebuild name:

sys-kernel/aufs-sources-4.14.75

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.76
Ebuild name:

sys-kernel/aufs-sources-4.14.76

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.77
Ebuild name:

sys-kernel/aufs-sources-4.14.77

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.14.78
Ebuild name:

sys-kernel/aufs-sources-4.14.78

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.10
Ebuild name:

sys-kernel/aufs-sources-4.18.10

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.11
Ebuild name:

sys-kernel/aufs-sources-4.18.11

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.12
Ebuild name:

sys-kernel/aufs-sources-4.18.12

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.13
Ebuild name:

sys-kernel/aufs-sources-4.18.13

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.14
Ebuild name:

sys-kernel/aufs-sources-4.18.14

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.15
Ebuild name:

sys-kernel/aufs-sources-4.18.15

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.16
Ebuild name:

sys-kernel/aufs-sources-4.18.16

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and

Added to portage

2018-10-21

aufs-sources - 4.18.9
Ebuild name:

sys-kernel/aufs-sources-4.18.9

Description

Full sources (incl. Gentoo patchset) for the linux kernel tree and a

Added to portage

2018-10-21

cargo - 1.29.2
Ebuild name:

virtual/cargo-1.29.2

Description

Package manager for Rust

Added to portage

2018-10-21

chromium - 70.0.3538.67-r1
Ebuild name:

www-client/chromium-70.0.3538.67-r1

Description

Open-source version of Google Chrome web browser

Added to portage

2018-10-21

crossdev - 20181020
Ebuild name:

sys-devel/crossdev-20181020

Description

Gentoo Cross-toolchain generator

Added to portage

2018-10-21

freetds - 1.00.341-r1
Ebuild name:

dev-db/freetds-1.00.341-r1

Description

Tabular Datastream Library

Added to portage

2018-10-21

gdb - 8.2-r1
Ebuild name:

sys-devel/gdb-8.2-r1

Description

GNU debugger

Added to portage

2018-10-21

gnupg - 2.2.10-r2
Ebuild name:

app-crypt/gnupg-2.2.10-r2

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2018-10-21

google-protobuf - 3.6.1
Ebuild name:

dev-ruby/google-protobuf-3.6.1

Description

Protocol Buffers are Google's data interchange format

Added to portage

2018-10-21

harfbuzz - 2.0.2
Ebuild name:

media-libs/harfbuzz-2.0.2

Description

An OpenType text shaping engine

Added to portage

2018-10-21

iwd - 0.10
Ebuild name:

net-wireless/iwd-0.10

Description

Wireless daemon for linux

Added to portage

2018-10-21

labplot - 2.5.0-r1
Ebuild name:

sci-visualization/labplot-2.5.0-r1

Description

Scientific data analysis and visualisation based on KDE Framewor

Added to portage

2018-10-21

libsfml - 2.5.1
Ebuild name:

media-libs/libsfml-2.5.1

Description

Simple and Fast Multimedia Library (SFML)

Added to portage

2018-10-21

lollypop - 0.9.605-r1
Ebuild name:

media-sound/lollypop-0.9.605-r1

Description

Modern music player for GNOME

Added to portage

2018-10-21

pacman - 5.0.2-r2
Ebuild name:

sys-apps/pacman-5.0.2-r2

Description

Archlinux's binary package manager

Added to portage

2018-10-21

pgadmin4 - 3.4-r1
Ebuild name:

dev-db/pgadmin4-3.4-r1

Description

GUI administration and development platform for PostgreSQL

Added to portage

2018-10-21

radare2 - 3.0.1
Ebuild name:

dev-util/radare2-3.0.1

Description

unix-like reverse engineering framework and commandline tools

Added to portage

2018-10-21

rebase - 1810
Ebuild name:

sci-biology/rebase-1810

Description

A restriction enzyme database

Added to portage

2018-10-21

skypeforlinux - 8.32.0.44
Ebuild name:

net-im/skypeforlinux-8.32.0.44

Description

Instant messaging client, with support for audio and video

Added to portage

2018-10-21

sysvinit - 2.91
Ebuild name:

sys-apps/sysvinit-2.91

Description

/sbin/init - parent of all processes

Added to portage

2018-10-21

tcl - 8.5.17-r1
Ebuild name:

dev-lang/tcl-8.5.17-r1

Description

Tool Command Language

Added to portage

2018-10-21

tcl - 8.5.17-r101
Ebuild name:

dev-lang/tcl-8.5.17-r101

Description

Tool Command Language

Added to portage

2018-10-21

telegram-desktop-bin - 1.4.3
Ebuild name:

net-im/telegram-desktop-bin-1.4.3

Description

Official desktop client for Telegram (binary package)

Added to portage

2018-10-21

tk - 8.5.17-r1
Ebuild name:

dev-lang/tk-8.5.17-r1

Description

Tk Widget Set

Added to portage

2018-10-21

tk - 8.5.17-r101
Ebuild name:

dev-lang/tk-8.5.17-r101

Description

Tk Widget Set

Added to portage

2018-10-21

tk707 - 0.8-r2
Ebuild name:

media-sound/tk707-0.8-r2

Description

An 7x7 type midi drum sequencer for Linux

Added to portage

2018-10-21

util-linux - 2.33_rc2
Ebuild name:

sys-apps/util-linux-2.33_rc2

Description

Various useful Linux utilities

Added to portage

2018-10-21

yafaray - 3.3.0-r1
Ebuild name:

media-gfx/yafaray-3.3.0-r1

Description

A free open-source montecarlo raytracing engine

Added to portage

2018-10-21

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