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:

67190

userrating:

average rating: 1.2 (8 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



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2024-04-17
2024-04-16
amsynth - 1.13.3
Ebuild name:

media-sound/amsynth-1.13.3

Description

Virtual analogue synthesizer

Added to portage

2024-04-16

ant-contrib - 1.0_beta6_pre20201123-r2
Ebuild name:

dev-java/ant-contrib-1.0_beta6_pre20201123-r2

Description

Ant-contrib tasks for Apache Ant

Added to portage

2024-04-16

aseprite - 1.3.5
Ebuild name:

dev-games/aseprite-1.3.5

Description

Animated sprite editor & pixel art tool

Added to portage

2024-04-16

asyncstdlib - 3.12.3
Ebuild name:

dev-python/asyncstdlib-3.12.3

Description

The missing async toolbox

Added to portage

2024-04-16

atuin - 18.2.0
Ebuild name:

app-shells/atuin-18.2.0

Description

Shell history manager supporting encrypted synchronisation

Added to portage

2024-04-16

barman - 3.10.0
Ebuild name:

dev-db/barman-3.10.0

Description

Administration tool for disaster recovery of PostgreSQL servers

Added to portage

2024-04-16

bitwarden-desktop-bin - 2024.4.1
Ebuild name:

app-admin/bitwarden-desktop-bin-2024.4.1

Description

Bitwarden password manager desktop client

Added to portage

2024-04-16

cdogs-sdl - 2.1.0
Ebuild name:

games-arcade/cdogs-sdl-2.1.0

Description

Classic overhead run-and-gun game

Added to portage

2024-04-16

cfn-lint - 0.86.3
Ebuild name:

dev-python/cfn-lint-0.86.3

Description

CloudFormation Linter

Added to portage

2024-04-16

cgit - 1.2.3-r203
Ebuild name:

www-apps/cgit-1.2.3-r203

Description

a fast web-interface for git repositories

Added to portage

2024-04-16

chrome-binary-plugins - 124.0.6367.60_beta
Ebuild name:

www-plugins/chrome-binary-plugins-124.0.6367.60_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2024-04-16

chromium - 124.0.6367.60
Ebuild name:

www-client/chromium-124.0.6367.60

Description

Open-source version of Google Chrome web browser

Added to portage

2024-04-16

cutechess - 1.3.1-r1
Ebuild name:

games-board/cutechess-1.3.1-r1

Description

Cross-platform tools for working with chess engines

Added to portage

2024-04-16

erlang - 26.2.4
Ebuild name:

dev-lang/erlang-26.2.4

Description

Erlang programming language, runtime environment and libraries (OTP)

Added to portage

2024-04-16

esptool - 4.7.0-r2
Ebuild name:

dev-embedded/esptool-4.7.0-r2

Description

Utility to communicate with the ROM bootloader in Espressif ESP8266 a

Added to portage

2024-04-16

fastfetch - 2.9.2
Ebuild name:

app-misc/fastfetch-2.9.2

Description

Fast neofetch-like system information tool

Added to portage

2024-04-16

filezilla - 3.67.0
Ebuild name:

net-ftp/filezilla-3.67.0

Description

FTP client with lots of useful features and an intuitive interface

Added to portage

2024-04-16

firefox - 115.10.0
Ebuild name:

www-client/firefox-115.10.0

Description

Firefox Web Browser

Added to portage

2024-04-16

firefox-bin - 115.10.0
Ebuild name:

www-client/firefox-bin-115.10.0

Description

Firefox Web Browser

Added to portage

2024-04-16

google-chrome-beta - 124.0.6367.60
Ebuild name:

www-client/google-chrome-beta-124.0.6367.60

Description

The web browser from Google

Added to portage

2024-04-16

greenbone-feed-sync - 24.3.0
Ebuild name:

net-analyzer/greenbone-feed-sync-24.3.0

Description

New script for syncing the Greenbone Community Feed

Added to portage

2024-04-16

griffe - 0.42.2
Ebuild name:

dev-python/griffe-0.42.2

Description

Signature generator for Python programs

Added to portage

2024-04-16

hdf5 - 1.14.4_p2
Ebuild name:

sci-libs/hdf5-1.14.4_p2

Description

General purpose library and file format for storing scientific data

Added to portage

2024-04-16

hyprcursor - 0.1.7
Ebuild name:

gui-libs/hyprcursor-0.1.7

Description

The hyprland cursor format, library and utilities

Added to portage

2024-04-16

hyprland - 0.39.0
Ebuild name:

gui-wm/hyprland-0.39.0

Description

A dynamic tiling Wayland compositor that doesn't sacrifice on its looks

Added to portage

2024-04-16

hyprlang - 0.5.1
Ebuild name:

dev-libs/hyprlang-0.5.1

Description

Official implementation library for the hypr config language

Added to portage

2024-04-16

icu4j - 75.1
Ebuild name:

dev-java/icu4j-75.1

Description

A set of Java libraries providing Unicode and Globalization support

Added to portage

2024-04-16

libfilezilla - 0.47.0
Ebuild name:

dev-libs/libfilezilla-0.47.0

Description

C++ library offering some basic functionality for platform-independent

Added to portage

2024-04-16

libreswan - 4.15
Ebuild name:

net-vpn/libreswan-4.15

Description

IPsec implementation for Linux, fork of Openswan

Added to portage

2024-04-16

markdown-exec - 1.8.1
Ebuild name:

dev-python/markdown-exec-1.8.1

Description

Utilities to execute code blocks in Markdown files

Added to portage

2024-04-16

matplotlib-inline - 0.1.7
Ebuild name:

dev-python/matplotlib-inline-0.1.7

Description

Inline Matplotlib backend for Jupyter

Added to portage

2024-04-16

method_source - 1.1.0
Ebuild name:

dev-ruby/method_source-1.1.0

Description

Retrieve the source code for a method

Added to portage

2024-04-16

microsoft-edge - 123.0.2420.97
Ebuild name:

www-client/microsoft-edge-123.0.2420.97

Description

The web browser from Microsoft

Added to portage

2024-04-16

microsoft-edge-beta - 124.0.2478.39
Ebuild name:

www-client/microsoft-edge-beta-124.0.2478.39

Description

The web browser from Microsoft

Added to portage

2024-04-16

mkdocs-htmlproofer-plugin - 1.2.1
Ebuild name:

dev-python/mkdocs-htmlproofer-plugin-1.2.1

Description

A MkDocs plugin that validates URLs in rendered HTML fil

Added to portage

2024-04-16

mkdocs-material - 9.5.18
Ebuild name:

dev-python/mkdocs-material-9.5.18

Description

A Material Design theme for MkDocs

Added to portage

2024-04-16

mockito - 1.9.5-r4
Ebuild name:

dev-java/mockito-1.9.5-r4

Description

A mocking framework for Java

Added to portage

2024-04-16

nagios-check_mysql_health - 2.2.2-r1
Ebuild name:

net-analyzer/nagios-check_mysql_health-2.2.2-r1

Description

Nagios plugin for checking MySQL server health

Added to portage

2024-04-16

ninja - 1.12.0
Ebuild name:

dev-build/ninja-1.12.0

Description

A small build system similar to make

Added to portage

2024-04-16

nodejs - 18.20.1
Ebuild name:

net-libs/nodejs-18.20.1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2024-04-16

nodejs - 20.12.1
Ebuild name:

net-libs/nodejs-20.12.1

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2024-04-16

nox - 2024.04.15
Ebuild name:

dev-python/nox-2024.04.15

Description

Flexible test automation for Python

Added to portage

2024-04-16

nushell - 0.92.1
Ebuild name:

app-shells/nushell-0.92.1

Description

A new type of shell, written in Rust

Added to portage

2024-04-16

octave - 8.3.0-r2
Ebuild name:

sci-mathematics/octave-8.3.0-r2

Description

High-level interactive language for numerical computations

Added to portage

2024-04-16

octave-kernel - 0.35.1
Ebuild name:

dev-python/octave-kernel-0.35.1

Description

Jupyter kernel for octave

Added to portage

2024-04-16

openscad - 2021.01-r5
Ebuild name:

media-gfx/openscad-2021.01-r5

Description

The Programmers Solid 3D CAD Modeller

Added to portage

2024-04-16

opera - 109.0.5097.45
Ebuild name:

www-client/opera-109.0.5097.45

Description

A fast and secure web browser

Added to portage

2024-04-16

opera-developer - 111.0.5138.0
Ebuild name:

www-client/opera-developer-111.0.5138.0

Description

A fast and secure web browser

Added to portage

2024-04-16

opus - 1.5.2
Ebuild name:

media-libs/opus-1.5.2

Description

Open codec for interactive speech and music transmission over the Internet

Added to portage

2024-04-16

orjson - 3.10.1
Ebuild name:

dev-python/orjson-3.10.1

Description

Fast, correct Python JSON library supporting dataclasses, datetimes, and n

Added to portage

2024-04-16

pipewire - 1.0.5
Ebuild name:

media-video/pipewire-1.0.5

Description

Multimedia processing graphs

Added to portage

2024-04-16

prismlauncher - 8.2-r1
Ebuild name:

games-action/prismlauncher-8.2-r1

Description

A custom, open source Minecraft launcher

Added to portage

2024-04-16

putty - 0.81
Ebuild name:

net-misc/putty-0.81

Description

A Free Telnet/SSH Client

Added to portage

2024-04-16

pyzmq - 26.0.0
Ebuild name:

dev-python/pyzmq-26.0.0

Description

Lightweight and super-fast messaging library built on top of the ZeroMQ lib

Added to portage

2024-04-16

qscintilla - 2.14.1-r1
Ebuild name:

x11-libs/qscintilla-2.14.1-r1

Description

Qt port of Neil Hodgson's Scintilla C++ editor control

Added to portage

2024-04-16

qscintilla-python - 2.14.1-r1
Ebuild name:

dev-python/qscintilla-python-2.14.1-r1

Description

Python bindings for QScintilla

Added to portage

2024-04-16

qtlanguageserver - 6.7.0
Ebuild name:

dev-qt/qtlanguageserver-6.7.0

Description

Implementation of the Language Server Protocol for Qt

Added to portage

2024-04-16

qtlanguageserver - 6.7.9999
Ebuild name:

dev-qt/qtlanguageserver-6.7.9999

Description

Implementation of the Language Server Protocol for Qt

Added to portage

2024-04-16

qtlanguageserver - 6.9999
Ebuild name:

dev-qt/qtlanguageserver-6.9999

Description

Implementation of the Language Server Protocol for Qt

Added to portage

2024-04-16

rabbitmq-server - 3.13.1
Ebuild name:

net-misc/rabbitmq-server-3.13.1

Description

RabbitMQ is a high-performance AMQP-compliant message broker writte

Added to portage

2024-04-16

rpm-spec-mode - 0.16
Ebuild name:

app-emacs/rpm-spec-mode-0.16

Description

Emacs mode to ease editing of RPM spec files

Added to portage

2024-04-16

rudel - 0.3.1
Ebuild name:

app-emacs/rudel-0.3.1

Description

Collaborative editing environment for GNU Emacs

Added to portage

2024-04-16

rudel - 0.3.2
Ebuild name:

app-emacs/rudel-0.3.2

Description

Collaborative editing environment for GNU Emacs

Added to portage

2024-04-16

scid - 5.0.2
Ebuild name:

games-board/scid-5.0.2

Description

Shane's Chess Information Database

Added to portage

2024-04-16

sonarr-bin - 4.0.4.1515
Ebuild name:

www-apps/sonarr-bin-4.0.4.1515

Description

Sonarr is a Smart PVR for newsgroup and bittorrent users

Added to portage

2024-04-16

sphinx-issues - 4.1.0
Ebuild name:

dev-python/sphinx-issues-4.1.0

Description

Sphinx extension for linking to your project's issue tracker

Added to portage

2024-04-16

spidermonkey - 115.10.0
Ebuild name:

dev-lang/spidermonkey-115.10.0

Description

SpiderMonkey is Mozilla's JavaScript engine written in C and C++

Added to portage

2024-04-16

sqlitebrowser - 3.12.2-r2
Ebuild name:

dev-db/sqlitebrowser-3.12.2-r2

Description

A light GUI editor for SQLite databases

Added to portage

2024-04-16

sqliteman - 1.2.2-r6
Ebuild name:

dev-db/sqliteman-1.2.2-r6

Description

Powerful GUI manager for the Sqlite3 database

Added to portage

2024-04-16

systemd-cron - 2.3.4-r1
Ebuild name:

sys-process/systemd-cron-2.3.4-r1

Description

systemd units to create timers for cron directories and crontab

Added to portage

2024-04-16

tree-sitter-cpp - 0.22.0
Ebuild name:

dev-libs/tree-sitter-cpp-0.22.0

Description

C++ grammar for Tree-sitter

Added to portage

2024-04-16

types-setuptools - 69.5.0.20240415
Ebuild name:

dev-python/types-setuptools-69.5.0.20240415

Description

Typing stubs for setuptools

Added to portage

2024-04-16

uv - 0.1.32
Ebuild name:

dev-python/uv-0.1.32

Description

A Python package installer and resolver, written in Rust

Added to portage

2024-04-16

webapp-config - 1.55-r4
Ebuild name:

app-admin/webapp-config-1.55-r4

Description

Gentoo's installer for web-based applications

Added to portage

2024-04-16

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
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: 52.1 ms