diff options
author | 2001-02-06 09:01:35 +0000 | |
---|---|---|
committer | 2001-02-06 09:01:35 +0000 | |
commit | 21498e5381a0c60c879cf36fa583218927e81042 (patch) | |
tree | 7475fd2bbfec619f3fecdb076a7d7161a814fcfa /sys-apps | |
parent | just copied to match sys-kernel/linux/linux-2.4.0.11-r3.ebuild (diff) | |
download | gentoo-2-21498e5381a0c60c879cf36fa583218927e81042.tar.gz gentoo-2-21498e5381a0c60c879cf36fa583218927e81042.tar.bz2 gentoo-2-21498e5381a0c60c879cf36fa583218927e81042.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/baselayout/baselayout-1.5-r2.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/files/inputrc | 200 |
2 files changed, 205 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-1.5-r2.ebuild b/sys-apps/baselayout/baselayout-1.5-r2.ebuild index cd993aa479d6..97ee0b30114a 100644 --- a/sys-apps/baselayout/baselayout-1.5-r2.ebuild +++ b/sys-apps/baselayout/baselayout-1.5-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.5-r2.ebuild,v 1.1 2001/02/04 23:50:01 achim Exp $# Copyright 1999-2000 Gentoo Technologies, Inc. +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.5-r2.ebuild,v 1.2 2001/02/06 09:01:35 achim Exp $# Copyright 1999-2000 Gentoo Technologies, Inc. A="" S=${WORKDIR}/${P} @@ -66,7 +66,10 @@ src_install() chmod 1777 ${D}/tmp insopts -m0644 insinto /etc - for foo in services passwd shadow nsswitch.conf inetd.conf ld.so.conf protocols fstab hosts syslog.conf pwdb.conf filesystems group profile crontab + for foo in services passwd shadow nsswitch.conf \ + inetd.conf ld.so.conf protocols fstab \ + hosts syslog.conf pwdb.conf filesystems \ + group profile crontab inputrc do doins ${FILESDIR}/${foo} done diff --git a/sys-apps/baselayout/files/inputrc b/sys-apps/baselayout/files/inputrc new file mode 100644 index 000000000000..2f75bf9c9734 --- /dev/null +++ b/sys-apps/baselayout/files/inputrc @@ -0,0 +1,200 @@ +################################################################################ +## /etc/inputrc +## +## Attempt to put different TERMs together in one readline init file. +## Copyright (c) 1997 SuSE GmbH Nuernberg, Germany. +## +## Author: Werner Fink, <werner@suse.de> +## +################################################################################ +# +# Eight bit compatible: Umlaute +# +set meta-flag on +set output-meta on +set convert-meta off +# +# VI line editing +# +$if mode=vi +set editing-mode vi +set keymap vi +$endif +# +# Common standard keypad and cursor +# +"\e[1~": beginning-of-line +"\e[2~": yank +"\e[3~": delete-char +"\e[4~": end-of-line +#"\e[5~": previous-history +#"\e[6~": next-history +"\e[5~":history-search-backward +"\e[6~":history-search-forward +"\e[C": forward-char +"\e[D": backward-char +"\e[A": previous-history +"\e[B": next-history +$if term=xterm +"\e[E": re-read-init-file +$else +"\e[G": re-read-init-file +$endif +# +# Avoid network problems +# ... \177 (ASCII-DEL) and \010 (ASCII-BS) +# do `backward-delete-char' +# Note: `delete-char' is maped to \033[3~ +# Therefore xterm's responce on pressing +# key Delete or KP-Delete should be +# \033[3~ ... NOT \177 +# +"\C-?": backward-delete-char +"\C-H": backward-delete-char +# +# Home and End +# +$if term=xterm +# +# Normal keypad and cursor of xterm +# +"\e[1~": history-search-backward +"\e[4~": set-mark +"\e[H": beginning-of-line +"\e[F": end-of-line +# Home and End of application keypad and cursor of xterm +"\eOH": beginning-of-line +"\eOF": end-of-line +$else +# +# TERM=linux or console +# +"\e[1~": beginning-of-line +"\e[4~": end-of-line +$endif +# +# Application keypad and cursor of xterm +# +$if term=xterm +"\eOD": backward-char +"\eOC": forward-char +"\eOA": previous-history +"\eOB": next-history +"\eOE": re-read-init-file +# DEC keyboard KP_F1 - KP_F4 +"\eOP": prefix-meta +"\eOQ": undo +"\eOR": "" +"\eOS": kill-line +$endif +# +# Function keys F1 - F12 +# +$if term=linux +# +# On console the first five function keys +# +"\e[[A": "" +"\e[[B": "" +"\e[[C": "" +"\e[[D": "" +"\e[[E": "" +$else +# +# The first five standard function keys +# +"\e[11~": "" +"\e[12~": "" +"\e[13~": "" +"\e[14~": "" +"\e[15~": "" +$endif +"\e[17~": "" +"\e[18~": "" +"\e[19~": "" +"\e[20~": "" +"\e[21~": "" +# Note: F11, F12 are identical with Shift_F1 and Shift_F2 +"\e[23~": "" +"\e[24~": "" +# +# Shift Function keys F1 - F12 +# identical with F11 - F22 +# +#"\e[23~": "" +#"\e[24~": "" +"\e[25~": "" +"\e[26~": "" +# DEC keyboard: F15=\e[28~ is Help +"\e[28~": "" +# DEC keyboard: F16=\e[29~ is Menu +"\e[29~": "" +"\e[31~": "" +"\e[32~": "" +"\e[33~": "" +"\e[34~": "" +$if term=xterm +# Not common +"\e[35~": "" +"\e[36~": "" +$endif +# +$if term=xterm +# +# Application keypad and cursor of xterm +# with NumLock ON +# +# Operators +"\eOo": "/" +"\eOj": "*" +"\eOm": "-" +"\eOk": "+" +"\eOl": "+" +"\eOM": accept-line +# Colon and dot +# "\eOl": "," +"\eOn": "." +# Numbers +"\eOp": "0" +"\eOq": "1" +"\eOr": "2" +"\eOs": "3" +"\eOt": "4" +"\eOu": "5" +"\eOv": "6" +"\eOw": "7" +"\eOx": "8" +"\eOy": "9" +$endif +# +# EMACS line editing +# +$if mode=emacs +# +# ... xterm application cursor +# +$if term=xterm +"\e\eOD": backward-word +"\e\eOC": forward-word +"\e\eOA": up-history +"\e\eOB": down-history +"\C-\eOD": backward-char +"\C-\eOC": forward-char +"\C-\eOA": up-history +"\C-\eOB": down-history +$endif +# +# Standard cursor +# +"\e\e[D": backward-word +"\e\e[C": forward-word +"\e\e[A": up-history +"\e\e[B": down-history +"\C-\e[D": backward-char +"\C-\e[C": forward-char +"\C-\e[A": up-history +"\C-\e[B": down-history +$endif +# +# end +# |