Branch gentoo created.
This commit is contained in:
parent
399a4260fc
commit
bf240d706c
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/autoconf
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/automake
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/bash-builtins
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/bzip2
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/configure
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/coreutils
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/crontab
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/cups
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/dd
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/dvd+rw-tools
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/e2fsprogs
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/eselect
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/findutils
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/gcc
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/gdb
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/gentoo
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/git
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/gzip
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/iconv
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/layman
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/lsof
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/lzma
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/make
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/man
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/mc
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/mercurial
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/mount
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/mpc
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/mplayer
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/net-tools
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/nmap
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/perl
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/pkg-config
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/python
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/qemu
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/samba
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/screen
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/sh
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/smartctl
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/ssh
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/sshfs
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/strace
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/subversion
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/tar
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/tcpdump
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/unrar
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/vim
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/wol
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/share/bash-completion/xz
|
|
@ -0,0 +1,5 @@
|
||||||
|
#CONSOLEFONT="default8x16"
|
||||||
|
CONSOLEFONT="cyr-sun16"
|
||||||
|
#CONSOLEFONT="ter-k14n"
|
||||||
|
#consoletranslation="8859-1_to_uni"
|
||||||
|
#unicodemap="iso01"
|
|
@ -0,0 +1,7 @@
|
||||||
|
clock="local"
|
||||||
|
timezone="Europe/Moscow"
|
||||||
|
srm="no"
|
||||||
|
arc="no"
|
||||||
|
clock_systohc="NO"
|
||||||
|
clock_hctosys="YES"
|
||||||
|
clock_args=""
|
|
@ -0,0 +1,6 @@
|
||||||
|
keymap="-u ru"
|
||||||
|
windowkeys="YES"
|
||||||
|
extended_keymaps=""
|
||||||
|
dumpkeys_charset=""
|
||||||
|
fix_euro="NO"
|
||||||
|
|
|
@ -0,0 +1,48 @@
|
||||||
|
#! /bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# check if we run on battery and if so then don't run
|
||||||
|
if which on_ac_power >/dev/null 2>&1; then
|
||||||
|
ON_BATTERY=0
|
||||||
|
on_ac_power >/dev/null 2>&1 || ON_BATTERY=$?
|
||||||
|
if [ "${ON_BATTERY}" -eq 1 ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check if we are already running (lockfile)
|
||||||
|
LOCKFILE="/var/lock/mlocate.daily.lock"
|
||||||
|
if [ -e "${LOCKFILE}" ]; then
|
||||||
|
echo >&2 "Warning: \"${LOCKFILE}\" already present, not running updatedb."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
touch "${LOCKFILE}"
|
||||||
|
# trap the lockfile only if we really run the updatedb
|
||||||
|
trap "rm -f ${LOCKFILE}" EXIT
|
||||||
|
|
||||||
|
# source the user specified variables
|
||||||
|
if [ -f /etc/mlocate-cron.conf ]; then
|
||||||
|
. /etc/mlocate-cron.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check the config file
|
||||||
|
NODEVS=""
|
||||||
|
if [ ! -f /etc/updatedb.conf ]; then
|
||||||
|
NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
||||||
|
fi
|
||||||
|
|
||||||
|
# alter the priority of the updatedb process
|
||||||
|
if [ -x /usr/bin/renice ]; then
|
||||||
|
/usr/bin/renice +${NICE:-19} -p $$ > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
if [ -x /usr/bin/ionice ] && /usr/bin/ionice -c3 true 2>/dev/null; then
|
||||||
|
/usr/bin/ionice -c${IONICE_CLASS:-2} -n${IONICE_PRIORITY:-7} -p $$ > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# run the updatedb if possible
|
||||||
|
if [ -x /usr/bin/updatedb ]; then
|
||||||
|
/usr/bin/updatedb -f "${NODEVS}"
|
||||||
|
else
|
||||||
|
echo >&2 "Warning: \"/usr/bin/updatedb\" is not executable, unable to run updatedb."
|
||||||
|
exit 0
|
||||||
|
fi
|
|
@ -0,0 +1,48 @@
|
||||||
|
#! /bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# check if we run on battery and if so then don't run
|
||||||
|
if which on_ac_power >/dev/null 2>&1; then
|
||||||
|
ON_BATTERY=0
|
||||||
|
on_ac_power >/dev/null 2>&1 || ON_BATTERY=$?
|
||||||
|
if [ "${ON_BATTERY}" -eq 1 ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check if we are already running (lockfile)
|
||||||
|
LOCKFILE="/var/lock/mlocate.daily.lock"
|
||||||
|
if [ -e "${LOCKFILE}" ]; then
|
||||||
|
echo >&2 "Warning: \"${LOCKFILE}\" already present, not running updatedb."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
touch "${LOCKFILE}"
|
||||||
|
# trap the lockfile only if we really run the updatedb
|
||||||
|
trap "rm -f ${LOCKFILE}" EXIT
|
||||||
|
|
||||||
|
# source the user specified variables
|
||||||
|
if [ -f /etc/mlocate-cron.conf ]; then
|
||||||
|
. /etc/mlocate-cron.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check the config file
|
||||||
|
NODEVS=""
|
||||||
|
if [ ! -f /etc/updatedb.conf ]; then
|
||||||
|
NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
|
||||||
|
fi
|
||||||
|
|
||||||
|
# alter the priority of the updatedb process
|
||||||
|
if [ -x /usr/bin/renice ]; then
|
||||||
|
/usr/bin/renice +${NICE:-19} -p $$ > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
if [ -x /usr/bin/ionice ] && /usr/bin/ionice -c3 true 2>/dev/null; then
|
||||||
|
/usr/bin/ionice -c${IONICE_CLASS:-2} -n${IONICE_PRIORITY:-7} -p $$ > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# run the updatedb if possible
|
||||||
|
if [ -x /usr/bin/updatedb ]; then
|
||||||
|
/usr/bin/updatedb -f "${NODEVS}"
|
||||||
|
else
|
||||||
|
echo >&2 "Warning: \"/usr/bin/updatedb\" is not executable, unable to run updatedb."
|
||||||
|
exit 0
|
||||||
|
fi
|
|
@ -0,0 +1,59 @@
|
||||||
|
|
||||||
|
# we de not get kde-deltas from a delta-up-server, since kde provides own xdelta-files
|
||||||
|
KDE_MIRROR="ftp://ftp.kde.org/pub/kde/stable"
|
||||||
|
|
||||||
|
# set this to one or more (space separated) URI ending with '/' if you want to check one or more local mirror(s) first
|
||||||
|
# most people just leave it empty.
|
||||||
|
LOCAL_MIRROR=""
|
||||||
|
|
||||||
|
# deltup-server to use
|
||||||
|
DELTUP_SERVER="http://linux01.gwdg.de/~nlissne/deltup.php"
|
||||||
|
|
||||||
|
# command to use for downloading
|
||||||
|
FETCH="/usr/bin/wget --trust-server-names -t 1 --passive-ftp"
|
||||||
|
|
||||||
|
# number of seconds to wait before a queued request is retried
|
||||||
|
QUEUERETRY="15"
|
||||||
|
|
||||||
|
# the maximum queuepos you would accept (if higher download full archive instead)
|
||||||
|
MAXIMUM_ACCEPTABLE_QUEUEPOS="15"
|
||||||
|
|
||||||
|
# when a dtu-request is queued - how long should we wait max. before downloading the original archive instead (in seconds)
|
||||||
|
QUEUETIMEOUT="30"
|
||||||
|
|
||||||
|
# set to "true", if you want getdelta.sh to use Pkunk's integrity check for the old file before downloading dtu-files
|
||||||
|
CHECK_OLD_FILE="true"
|
||||||
|
|
||||||
|
# set to "true", if you want getdelta.sh to delete the old file, if patch was succesful
|
||||||
|
REMOVE_OLD="true"
|
||||||
|
|
||||||
|
# a list of files not to be removed by REMOVE_OLD feature
|
||||||
|
DO_NOT_REMOVE="/etc/deltup/do_not_remove"
|
||||||
|
|
||||||
|
# set this to "true" if you want getdelta.sh to delete old versions that seems to be corrupt,
|
||||||
|
# or to "false" if you want to delete them manually
|
||||||
|
# note: getdelta.sh will not use these files anyway
|
||||||
|
REMOVE_INCOMPLETE_OLD_FILES="true"
|
||||||
|
|
||||||
|
# set to "true", if you want verbose outputs (later to be set to a level [0-3])
|
||||||
|
VERBOSITY="true"
|
||||||
|
|
||||||
|
# set to "true", if you want colorful messages, "false" if not.
|
||||||
|
COLOR="true"
|
||||||
|
|
||||||
|
# set to a writable file (or to "/dev/null" if you do not want this) this is not used, if VERBOSITY is false
|
||||||
|
LOGFILE="/var/log/getdelta.log"
|
||||||
|
|
||||||
|
# set to "true" if you want a temporarily log only (deleted when getdelta is finished)
|
||||||
|
DELETE_LOG="true"
|
||||||
|
|
||||||
|
# set to "true", if you want messages from this script in a separate window
|
||||||
|
# set to "false", if you do not start getdelta.sh from an Xsession or if you
|
||||||
|
# do not have permissions to open terminals on the Xserver
|
||||||
|
SEPARATED_WINDOW="false"
|
||||||
|
|
||||||
|
# the terminal application to use for the separated window
|
||||||
|
TERM_APP="aterm -tr -trsb -fg white -bg black -sh 70 -e tail -f "
|
||||||
|
|
||||||
|
# the bandwidth in bytes per second. configure this if you want to reduce timeouts on small files
|
||||||
|
BANDWIDTH="1"
|
|
@ -0,0 +1,2 @@
|
||||||
|
LANG="ru_RU.UTF-8"
|
||||||
|
LC_COLLATE="C"
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/10-autohint.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/10-no-sub-pixel.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/20-fix-globaladvance.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/30-metric-aliases.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/30-urw-aliases.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/40-nonlatin.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/45-latin.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/49-sansserif.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/50-user.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/51-local.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/57-dejavu-sans-mono.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/65-fonts-persian.conf
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/fonts/conf.avail/65-nonlatin.conf
|
|
@ -0,0 +1,38 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- Отключаю autohinter для крупных шрифтов -->
|
||||||
|
<match target="font">
|
||||||
|
<test compare="more" name="size" qual="any">
|
||||||
|
<double>9</double>
|
||||||
|
</test>
|
||||||
|
<edit mode="assign" name="autohint">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<test compare="more" name="pixelsize" qual="any">
|
||||||
|
<double>10</double>
|
||||||
|
</test>
|
||||||
|
<edit mode="assign" name="autohint">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<!-- Отключаю autohinter для жирных шрифтов -->
|
||||||
|
<match target="font">
|
||||||
|
<test name="weight" compare="more">
|
||||||
|
<const>medium</const>
|
||||||
|
</test>
|
||||||
|
<edit name="autohint" mode="assign">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<!-- Указываю dpi -->
|
||||||
|
<match target="pattern">
|
||||||
|
<edit name="dpi" mode="assign"><double>99</double></edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
</fontconfig>
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
en_US ISO-8859-1
|
||||||
|
en_US.UTF-8 UTF-8
|
||||||
|
ru_RU.UTF-8 UTF-8
|
||||||
|
ru_RU.KOI8-R KOI8-R
|
|
@ -0,0 +1,10 @@
|
||||||
|
MANDELETE
|
||||||
|
SHOWFREEDSPACE
|
||||||
|
VERBOSE
|
||||||
|
#NOCOLOR
|
||||||
|
en
|
||||||
|
en_GB
|
||||||
|
en_GB.UTF-8
|
||||||
|
ru
|
||||||
|
ru_RU
|
||||||
|
ru_RU.UTF-8
|
|
@ -0,0 +1,295 @@
|
||||||
|
## Use auto-indentation.
|
||||||
|
set autoindent
|
||||||
|
|
||||||
|
## Backup files to filename~.
|
||||||
|
# set backup
|
||||||
|
|
||||||
|
## The directory to put unique backup files in.
|
||||||
|
# set backupdir ""
|
||||||
|
|
||||||
|
## Do backwards searches by default.
|
||||||
|
set backwards
|
||||||
|
|
||||||
|
## Use bold text instead of reverse video text.
|
||||||
|
set boldtext
|
||||||
|
|
||||||
|
## The characters treated as closing brackets when justifying
|
||||||
|
## paragraphs. They cannot contain blank characters. Only closing
|
||||||
|
## punctuation, optionally followed by closing brackets, can end
|
||||||
|
## sentences.
|
||||||
|
##
|
||||||
|
set brackets ""')>]}"
|
||||||
|
|
||||||
|
## Do case sensitive searches by default.
|
||||||
|
# set casesensitive
|
||||||
|
|
||||||
|
## Constantly display the cursor position in the statusbar. Note that
|
||||||
|
## this overrides "quickblank".
|
||||||
|
set const
|
||||||
|
|
||||||
|
## Use cut to end of line by default.
|
||||||
|
set cut
|
||||||
|
|
||||||
|
## Set the line length for wrapping text and justifying paragraphs.
|
||||||
|
## If fill is 0 or less, the line length will be the screen width less
|
||||||
|
## this number.
|
||||||
|
##
|
||||||
|
set fill -8
|
||||||
|
|
||||||
|
## Enable ~/.nano_history for saving and reading search/replace strings.
|
||||||
|
# set historylog
|
||||||
|
|
||||||
|
## The opening and closing brackets that can be found by bracket
|
||||||
|
## searches. They cannot contain blank characters. The former set must
|
||||||
|
## come before the latter set, and both must be in the same order.
|
||||||
|
##
|
||||||
|
set matchbrackets "(<[{)>]}"
|
||||||
|
|
||||||
|
## Use the blank line below the titlebar as extra editing space.
|
||||||
|
set morespace
|
||||||
|
|
||||||
|
## Enable mouse support, if available for your system. When enabled,
|
||||||
|
## mouse clicks can be used to place the cursor, set the mark (with a
|
||||||
|
## double click), and execute shortcuts. The mouse will work in the X
|
||||||
|
## Window System, and on the console when gpm is running.
|
||||||
|
##
|
||||||
|
# set mouse
|
||||||
|
|
||||||
|
## Allow multiple file buffers (inserting a file will put it into a
|
||||||
|
## separate buffer). You must have configured with --enable-multibuffer
|
||||||
|
## for this to work.
|
||||||
|
##
|
||||||
|
set multibuffer
|
||||||
|
|
||||||
|
## Don't convert files from DOS/Mac format.
|
||||||
|
# set noconvert
|
||||||
|
|
||||||
|
## Don't follow symlinks when writing files.
|
||||||
|
# set nofollow
|
||||||
|
|
||||||
|
## Don't display the helpful shortcut lists at the bottom of the screen.
|
||||||
|
# set nohelp
|
||||||
|
|
||||||
|
## Don't add newlines to the ends of files.
|
||||||
|
# set nonewlines
|
||||||
|
|
||||||
|
## Don't wrap text at all.
|
||||||
|
# set nowrap
|
||||||
|
|
||||||
|
## Set operating directory. nano will not read or write files outside
|
||||||
|
## this directory and its subdirectories. Also, the current directory
|
||||||
|
## is changed to here, so any files are inserted from this dir. A blank
|
||||||
|
## string means the operating directory feature is turned off.
|
||||||
|
##
|
||||||
|
# set operatingdir ""
|
||||||
|
|
||||||
|
## Preserve the XON and XOFF keys (^Q and ^S).
|
||||||
|
# set preserve
|
||||||
|
|
||||||
|
## The characters treated as closing punctuation when justifying
|
||||||
|
## paragraphs. They cannot contain blank characters. Only closing
|
||||||
|
## punctuation, optionally followed by closing brackets, can end
|
||||||
|
## sentences.
|
||||||
|
##
|
||||||
|
# set punct "!.?"
|
||||||
|
|
||||||
|
## Do quick statusbar blanking. Statusbar messages will disappear after
|
||||||
|
## 1 keystroke instead of 26. Note that "const" overrides this.
|
||||||
|
##
|
||||||
|
# set quickblank
|
||||||
|
|
||||||
|
## The email-quote string, used to justify email-quoted paragraphs.
|
||||||
|
## This is an extended regular expression if your system supports them,
|
||||||
|
## otherwise a literal string. Default:
|
||||||
|
# set quotestr "^([ ]*[#:>\|}])+"
|
||||||
|
## if you have extended regular expression support, otherwise:
|
||||||
|
# set quotestr "> "
|
||||||
|
|
||||||
|
## Fix Backspace/Delete confusion problem.
|
||||||
|
# set rebinddelete
|
||||||
|
|
||||||
|
## Fix numeric keypad key confusion problem.
|
||||||
|
# set rebindkeypad
|
||||||
|
|
||||||
|
## Do extended regular expression searches by default.
|
||||||
|
set regexp
|
||||||
|
|
||||||
|
## Make the Home key smarter. When Home is pressed anywhere but at the
|
||||||
|
## very beginning of non-whitespace characters on a line, the cursor
|
||||||
|
## will jump to that beginning (either forwards or backwards). If the
|
||||||
|
## cursor is already at that position, it will jump to the true
|
||||||
|
## beginning of the line.
|
||||||
|
# set smarthome
|
||||||
|
|
||||||
|
## Use smooth scrolling as the default.
|
||||||
|
# set smooth
|
||||||
|
|
||||||
|
## Enable soft line wrapping (AKA full line display).
|
||||||
|
# set softwrap
|
||||||
|
|
||||||
|
## Use this spelling checker instead of the internal one. This option
|
||||||
|
## does not properly have a default value.
|
||||||
|
##
|
||||||
|
# set speller "aspell -x -c"
|
||||||
|
|
||||||
|
## Allow nano to be suspended.
|
||||||
|
# set suspend
|
||||||
|
|
||||||
|
## Use this tab size instead of the default; it must be greater than 0.
|
||||||
|
# set tabsize 8
|
||||||
|
|
||||||
|
## Convert typed tabs to spaces.
|
||||||
|
# set tabstospaces
|
||||||
|
|
||||||
|
## Save automatically on exit, don't prompt.
|
||||||
|
# set tempfile
|
||||||
|
|
||||||
|
## Enable the new (EXPERIMENTAL) generic undo code, not just for line
|
||||||
|
## cuts.
|
||||||
|
# set undo
|
||||||
|
|
||||||
|
## Disallow file modification. Why would you want this in an rcfile? ;)
|
||||||
|
# set view
|
||||||
|
|
||||||
|
## The two single-column characters used to display the first characters
|
||||||
|
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
|
||||||
|
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
|
||||||
|
# set whitespace " "
|
||||||
|
|
||||||
|
## Detect word boundaries more accurately by treating punctuation
|
||||||
|
## characters as parts of words.
|
||||||
|
# set wordbounds
|
||||||
|
|
||||||
|
|
||||||
|
## Color setup
|
||||||
|
##
|
||||||
|
## Format:
|
||||||
|
##
|
||||||
|
## syntax "short description" ["filename regex" ...]
|
||||||
|
##
|
||||||
|
## The "none" syntax is reserved; specifying it on the command line is
|
||||||
|
## the same as not having a syntax at all. The "default" syntax is
|
||||||
|
## special: it takes no filename regexes, and applies to files that
|
||||||
|
## don't match any other syntax's filename regexes.
|
||||||
|
##
|
||||||
|
## color foreground,background "regex" ["regex"...]
|
||||||
|
## or
|
||||||
|
## icolor foreground,background "regex" ["regex"...]
|
||||||
|
##
|
||||||
|
## "color" will do case sensitive matches, while "icolor" will do case
|
||||||
|
## insensitive matches.
|
||||||
|
##
|
||||||
|
## Valid colors: white, black, red, blue, green, yellow, magenta, cyan.
|
||||||
|
## For foreground colors, you may use the prefix "bright" to get a
|
||||||
|
## stronger highlight.
|
||||||
|
##
|
||||||
|
## To use multi-line regexes, use the start="regex" end="regex"
|
||||||
|
## [start="regex" end="regex"...] format.
|
||||||
|
##
|
||||||
|
## If your system supports transparency, not specifying a background
|
||||||
|
## color will use a transparent color. If you don't want this, be sure
|
||||||
|
## to set the background color to black or white.
|
||||||
|
##
|
||||||
|
## If you wish, you may put your syntaxes in separate files. You can
|
||||||
|
## make use of such files (which can only include "syntax", "color", and
|
||||||
|
## "icolor" commands) as follows:
|
||||||
|
##
|
||||||
|
## include "/path/to/syntax_file.nanorc"
|
||||||
|
##
|
||||||
|
## Unless otherwise noted, the name of the syntax file (without the
|
||||||
|
## ".nanorc" extension) should be the same as the "short description"
|
||||||
|
## name inside that file. These names are kept fairly short to make
|
||||||
|
## them easier to remember and faster to type using nano's -Y option.
|
||||||
|
##
|
||||||
|
## All regexes should be extended regular expressions.
|
||||||
|
|
||||||
|
## Key bindings
|
||||||
|
## Please see nanorc(5) for more details on this
|
||||||
|
##
|
||||||
|
## Here are some samples to get you going
|
||||||
|
##
|
||||||
|
# bind M-W nowrap main
|
||||||
|
# bind M-A casesens search
|
||||||
|
# bind ^S research main
|
||||||
|
|
||||||
|
## Set this if your backspace key sends delete most of the time (2.1.3+)
|
||||||
|
# bind kdel backspace all
|
||||||
|
|
||||||
|
|
||||||
|
## Nanorc files
|
||||||
|
include "/usr/share/nano/nanorc.nanorc"
|
||||||
|
|
||||||
|
## C/C++
|
||||||
|
include "/usr/share/nano/c.nanorc"
|
||||||
|
|
||||||
|
## Makefiles
|
||||||
|
include "/usr/share/nano/makefile.nanorc"
|
||||||
|
|
||||||
|
## Cascading Style Sheets
|
||||||
|
include "/usr/share/nano/css.nanorc"
|
||||||
|
|
||||||
|
## Debian files
|
||||||
|
include "/usr/share/nano/debian.nanorc"
|
||||||
|
|
||||||
|
## Gentoo files
|
||||||
|
include "/usr/share/nano/gentoo.nanorc"
|
||||||
|
|
||||||
|
## HTML
|
||||||
|
include "/usr/share/nano/html.nanorc"
|
||||||
|
|
||||||
|
## PHP
|
||||||
|
include "/usr/share/nano/php.nanorc"
|
||||||
|
|
||||||
|
## TCL
|
||||||
|
include "/usr/share/nano/tcl.nanorc"
|
||||||
|
|
||||||
|
## TeX
|
||||||
|
include "/usr/share/nano/tex.nanorc"
|
||||||
|
|
||||||
|
## Quoted emails (under e.g. mutt)
|
||||||
|
include "/usr/share/nano/mutt.nanorc"
|
||||||
|
|
||||||
|
## Patch files
|
||||||
|
include "/usr/share/nano/patch.nanorc"
|
||||||
|
|
||||||
|
## Manpages
|
||||||
|
include "/usr/share/nano/man.nanorc"
|
||||||
|
|
||||||
|
## Groff
|
||||||
|
include "/usr/share/nano/groff.nanorc"
|
||||||
|
|
||||||
|
## Perl
|
||||||
|
include "/usr/share/nano/perl.nanorc"
|
||||||
|
|
||||||
|
## Python
|
||||||
|
include "/usr/share/nano/python.nanorc"
|
||||||
|
|
||||||
|
## Ruby
|
||||||
|
include "/usr/share/nano/ruby.nanorc"
|
||||||
|
|
||||||
|
## Java
|
||||||
|
include "/usr/share/nano/java.nanorc"
|
||||||
|
|
||||||
|
## Fortran
|
||||||
|
include "/usr/share/nano/fortran.nanorc"
|
||||||
|
|
||||||
|
## Objective-C
|
||||||
|
include "/usr/share/nano/objc.nanorc"
|
||||||
|
|
||||||
|
## OCaml
|
||||||
|
include "/usr/share/nano/ocaml.nanorc"
|
||||||
|
|
||||||
|
## AWK
|
||||||
|
include "/usr/share/nano/awk.nanorc"
|
||||||
|
|
||||||
|
## Assembler
|
||||||
|
include "/usr/share/nano/asm.nanorc"
|
||||||
|
|
||||||
|
## Bourne shell scripts
|
||||||
|
include "/usr/share/nano/sh.nanorc"
|
||||||
|
|
||||||
|
## POV-Ray
|
||||||
|
include "/usr/share/nano/pov.nanorc"
|
||||||
|
|
||||||
|
## XML-type files
|
||||||
|
include "/usr/share/nano/xml.nanorc"
|
|
@ -0,0 +1,28 @@
|
||||||
|
#rc_parallel="NO"
|
||||||
|
#rc_interactive="YES"
|
||||||
|
rc_shell=/sbin/sulogin
|
||||||
|
rc_depend_strict="NO"
|
||||||
|
#rc_hotplug="*"
|
||||||
|
#rc_logger="YES"
|
||||||
|
#rc_log_path="/var/log/rc.log"
|
||||||
|
#rc_env_allow="VAR1 VAR2"
|
||||||
|
#rc_start_wait=100
|
||||||
|
#rc_nostop=""
|
||||||
|
#rc_crashed_start=YES
|
||||||
|
unicode="YES"
|
||||||
|
#extra_net_fs_list=""
|
||||||
|
#export SSD_NICELEVEL="-19"
|
||||||
|
#rc_ulimit="-u 30"
|
||||||
|
#rc_config="/etc/foo"
|
||||||
|
#rc_need="openvpn"
|
||||||
|
#rc_use="net.eth0"
|
||||||
|
#rc_after="clock"
|
||||||
|
#rc_before="local"
|
||||||
|
#rc_provide="!net"
|
||||||
|
#rc_foo_config="/etc/foo"
|
||||||
|
#rc_foo_need="openvpn"
|
||||||
|
#rc_foo_after="clock"
|
||||||
|
#rc_net_tap0_provide="!net"
|
||||||
|
rc_sys=""
|
||||||
|
rc_tty_number=12
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
#fs.nfs.nlm_tcpport = 0
|
||||||
|
#fs.nfs.nlm_udpport = 0
|
||||||
|
#kernel.panic = 3
|
||||||
|
#kernel.pid_max = 999999
|
||||||
|
kernel.shmmax = 2147483647
|
||||||
|
#kernel.sysrq = 0
|
||||||
|
net.bridge.bridge-nf-call-arptables = 0
|
||||||
|
net.bridge.bridge-nf-call-ip6tables = 0
|
||||||
|
net.bridge.bridge-nf-call-iptables = 0
|
||||||
|
net.bridge.bridge-nf-filter-vlan-tagged = 0
|
||||||
|
#net.ipv4.conf.all.accept_redirects = 0
|
||||||
|
#net.ipv4.conf.all.accept_source_route = 0
|
||||||
|
net.ipv4.conf.all.rp_filter = 1
|
||||||
|
#net.ipv4.conf.all.secure_redirects = 0
|
||||||
|
#net.ipv4.conf.default.accept_redirects = 0
|
||||||
|
#net.ipv4.conf.default.accept_source_route = 0
|
||||||
|
net.ipv4.conf.default.rp_filter = 1
|
||||||
|
#net.ipv4.conf.default.secure_redirects = 0
|
||||||
|
#net.ipv4.icmp_echo_ignore_broadcasts = 1
|
||||||
|
#net.ipv4.ip_dynaddr = 0
|
||||||
|
net.ipv4.ip_forward = 1
|
||||||
|
#net.ipv4.tcp_ecn = 0
|
||||||
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
|
net.ipv4.tcp_keepalive_time = 1800
|
||||||
|
net.ipv4.tcp_sack = 0
|
||||||
|
#net.ipv4.tcp_syncookies = 1
|
||||||
|
net.ipv4.tcp_timestamps = 0
|
||||||
|
net.ipv4.tcp_window_scaling = 0
|
||||||
|
vm.dirty_writeback_centisecs=6000
|
||||||
|
vm.laptop_mode=5
|
||||||
|
vm.swappiness = 60
|
||||||
|
vm.vfs_cache_pressure = 1000
|
||||||
|
vm.overcommit_memory = 2
|
||||||
|
vm.overcommit_ratio = 90
|
||||||
|
vm.dirty_bytes = 2097152
|
||||||
|
vm.dirty_background_bytes = 2097152
|
Loading…
Reference in New Issue