Sync phil with dotfiles.

This commit is contained in:
Darren 'Tadgy' Austin 2022-09-07 22:13:12 +01:00
commit 7540626fcb
28 changed files with 155 additions and 305 deletions

View file

@ -8,9 +8,9 @@ export LC_COLLATE="POSIX" # 'C' causes issues with some applications
# export LC_CTYPE="POSIX" # Not sure why I set this in the first place...
export LESS="-RM -j.5 -i -PM?f%F:stdin. -- Page %dt of %D -- %lt/%L (%Pt\%)$"
export PAGER="less"
export PATH="/usr/local/sbin:/usr/sbin:/opt/sbin:/sbin:$PATH"
export PATH="/opt/sbin:/usr/local/sbin:/usr/sbin:/sbin:$PATH"
export VISUAL="$EDITOR"
[[ -x /usr/bin/lesspipe ]] && eval "$(SHELL=/bin/sh lesspipe)"
hash lesspipe >/dev/null 2>&1 && eval "$(SHELL=/bin/sh lesspipe)"
# Platform specific set up.
PLATFORM="$(uname -s)"
@ -32,9 +32,9 @@ fi
unset PLATFORM
# Add bin directories to PATH.
[[ -d "$HOME/files/bin" ]] && export PATH="$HOME/files/bin:$PATH"
[[ -d "$HOME/.local/bin" ]] && export PATH="$HOME/.local/bin:$PATH"
[[ -d "$HOME/bin" ]] && export PATH="$HOME/bin:$PATH"
[[ -d "$HOME/files/bin" ]] && export PATH="$HOME/files/bin:$PATH"
# Screen.
hash screen >/dev/null 2>&1 && {
@ -45,7 +45,7 @@ hash screen >/dev/null 2>&1 && {
echo "Screen $STY, window $WINDOW."
echo
else
SCREENS="$(screen -ls | grep '[[:alpha:]]' | egrep -v '^([[:digit:]]+|No) Socket(s)?')"
SCREENS="$(screen -ls | grep '[[:alpha:]]' | grep -E -v '^([[:digit:]]+|No) Socket(s)?')"
if [[ -n "$SCREENS" ]]; then
echo "$SCREENS"
echo
@ -60,8 +60,8 @@ hash screen >/dev/null 2>&1 && {
echo
else
TTY="$(tty | cut -d/ -f3-)"
SCREENS="$(screen -list | fgrep "${HOSTNAME%%.*}" | fgrep "${TTY//\//-}")"
case "$(echo "${SCREENS:--n}" | wc -l)" in
SCREENS="$(screen -list | grep -F "${HOSTNAME%%.*}" | grep -F "${TTY//\//-}")"
case "$(echo ${SCREENS:--n} | wc -l)" in
0)
# No screens found - start a new instance, if on a tty.
[[ "$TTY" == *tty* ]] && screen
@ -84,19 +84,3 @@ hash screen >/dev/null 2>&1 && {
unset SCREENS
fi
}
# Mail check.
[[ ! -z "$SSH_CONNECTION" ]] && {
if [[ -s /var/spool/mail/$USER ]]; then
if [[ -N /var/spool/mail/$USER ]]; then
echo "You have new mail."
echo
else
echo "You have mail."
echo
fi
# else
# echo "No mail."
# echo
fi
}

32
.bashrc
View file

@ -50,8 +50,8 @@ unset COLOUR
# Set the debugger prompt.
# PS4="+(\\\$? = \$?) \${BASH_SOURCE##*/}\${FUNCNAME:+(\$FUNCNAME)}:\$LINENO: "
# PS4="+(\[\e[33m\]\\\$? = \$?\[$(tput sgr0)\]) \[$(tput bold)$(tput setaf 4)\]\${BASH_SOURCE##*/}\[$(tput sgr0)\]\${FUNCNAME:+(\[$(tput bold)$(tput setaf 2)\]\$FUNCNAME\[$(tput sgr0)\])}:\[$(tput bold)$(tput setaf 1)\]\$LINENO\[$(tput sgr0)\]: "
export PS4="+(\[\e[33m\]\$?\[$(tput sgr0)\]) \[$(tput bold)$(tput setaf 4)\]\${BASH_SOURCE##*/}\[$(tput sgr0)\]\${FUNCNAME:+(\[$(tput bold)$(tput setaf 2)\]\$FUNCNAME\[$(tput sgr0)\])}:\[$(tput bold)$(tput setaf 1)\]\$LINENO\[$(tput sgr0)\]: "
# PS4="+(\[\e[1;33;40m\]\\\$? = \$?\[$(tput sgr0)\]) \[$(tput bold)$(tput setaf 4)\]\${BASH_SOURCE##*/}\[$(tput sgr0)\]\${FUNCNAME:+(\[$(tput bold)$(tput setaf 2)\]\$FUNCNAME\[$(tput sgr0)\])}:\[$(tput bold)$(tput setaf 1)\]\$LINENO\[$(tput sgr0)\]: "
export PS4="+(\[\e[1;33;40m\]\$?\[$(tput sgr0)\]) \[$(tput bold)$(tput setaf 4)\]\${BASH_SOURCE##*/}\[$(tput sgr0)\]\${FUNCNAME:+(\[$(tput bold)$(tput setaf 2)\]\$FUNCNAME\[$(tput sgr0)\])}:\[$(tput bold)$(tput setaf 1)\]\$LINENO\[$(tput sgr0)\]: "
# The commands to execute before the prompt is displayed.
# PROMPT_COMMAND=""
@ -59,21 +59,22 @@ export PS4="+(\[\e[33m\]\$?\[$(tput sgr0)\]) \[$(tput bold)$(tput setaf 4)\]\${B
# Platform specific set up.
PLATFORM="$(uname -s)"
if [[ "$PLATFORM" = "Linux" ]]; then
# Linux specific functions.
psgrep() {
[[ -z "$1" ]] && { printf "%s: %s\\n" "Usage" "$FUNCNAME <something>" >&2; return 1; }
ps -auwwx | command grep -E --color=always -- "(.*RSS.*|$1)" | grep -F -v "(.*RSS.*|"
}
# Linux specific aliases.
hash ftpwho >/dev/null 2>&1 && alias ftpwho='ftpwho -v'
hash iftop >/dev/null 2>&1 && alias iftop='TERM=vt100 iftop'
hash last less >/dev/null 2>&1 && alias laston='last -a | less'
hash ls >/dev/null 2>&1 && alias ls='ls -bFv --color=auto'
hash minicom >/dev/null 2>&1 && alias minicom='minicom -m -c on'
hash mkpasswd >/dev/null 2>&1 && alias mkpasswd='mkpasswd -m sha512crypt'
hash mkpasswd >/dev/null 2>&1 && alias pwgen='mkpasswd -m sha512crypt'
#hash pine >/dev/null 2>&1 && alias pine='pine -p "{mail.opensourcerers.net/Service=IMAP/User=darren@afterdark.org.uk/TLS/NoValidate-Cert/NoRsh}.pinerc"'
hash pinfo >/dev/null 2>&1 && alias info='pinfo'
hash ping >/dev/null 2>&1 && alias ping='ping -b'
# Linux specific functions.
psgrep() {
ps -auwwx | command egrep --color=always -- "(.*RSS.*|$1)" | fgrep -v "(.*RSS.*|"
}
elif [[ "$PLATFORM" = "Darwin" ]]; then
# Darwin specific aliases.
hash df >/dev/null 2>&1 && alias df='df -P'
@ -84,13 +85,18 @@ else
fi
unset PLATFORM
# Common functions.
imagebin() {
[[ -z "$1" ]] && { printf "%s: %s\\n" "Usage" "$FUNCNAME <filename>" >&2; return 1; }
curl -F file="@${1:-}" https://imagebin.ca/upload.php | grep ^url: | cut -d: -f2-
}
# Common aliases.
hash bc >/dev/null 2>&1 && alias bc='bc -lq'
#hash curl >/dev/null 2>&1 && alias pastebin="curl -F 'sprunge=<-' http://sprunge.us"
hash curl >/dev/null 2>&1 && imagebin() { curl -F file="@${1:-}" https://imagebin.ca/upload.php | grep ^url: | cut -d: -f2-; }
hash diff >/dev/null 2>&1 && alias diff='diff -u'
hash egrep >/dev/null 2>&1 && alias egrep='egrep --color=auto'
hash fgrep >/dev/null 2>&1 && alias fgrep='fgrep --color=auto'
hash diff >/dev/null 2>&1 && alias diff='diff --color=auto -u'
hash grep >/dev/null 2>&1 && alias egrep='grep -E --color=auto'
hash grep >/dev/null 2>&1 && alias fgrep='grep -E --color=auto'
hash grep >/dev/null 2>&1 && alias grep='grep --color=auto'
hash nc >/dev/null 2>&1 && alias pastebin='nc termbin.com 9999'
hash screen >/dev/null 2>&1 && alias screen='screen -Ua'
hash shellcheck >/dev/null 2>&1 && alias shellcheck='shellcheck -x'

1
.config/.gitignore vendored
View file

@ -1,3 +1,4 @@
chromium/
evince/
GIMP/
libreoffice/

View file

@ -6,7 +6,7 @@
; (gtk_accel_path "<Actions>/app.preferences.view.smart-backspace" "")
; (gtk_accel_path "<Actions>/app.preferences.view.highlight-current-line" "")
; (gtk_accel_path "<Actions>/app.preferences.file.make-backup" "")
; (gtk_accel_path "<Actions>/win.textview.menubar" "")
; (gtk_accel_path "<Actions>/win.preferences.window.toolbar-visible" "")
; (gtk_accel_path "<Actions>/app.preferences.window.client-side-decorations" "")
; (gtk_accel_path "<Actions>/win.search.find-and-replace" "<Primary>r")
; (gtk_accel_path "<Actions>/win.file.save-all" "")
@ -16,7 +16,7 @@
; (gtk_accel_path "<Actions>/win.document.go-to-tab(4)" "<Alt>5")
; (gtk_accel_path "<Actions>/win.edit.undo" "<Primary>z")
; (gtk_accel_path "<Actions>/win.file.save-as" "<Primary><Shift>s")
; (gtk_accel_path "<Actions>/win.preferences.window.toolbar-visible" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-size" "")
; (gtk_accel_path "<Actions>/app.preferences" "")
; (gtk_accel_path "<Actions>/win.edit.convert.tabs-to-spaces" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-state" "")
@ -26,9 +26,9 @@
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace.inside" "")
; (gtk_accel_path "<Actions>/win.file.new-window" "<Primary><Shift>n")
; (gtk_accel_path "<Actions>/app.state.search.incremental" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-size" "")
; (gtk_accel_path "<Actions>/app.preferences.view.use-default-monospace-font" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace" "")
; (gtk_accel_path "<Actions>/app.preferences.view.use-default-monospace-font" "")
; (gtk_accel_path "<Actions>/app.preferences.file.auto-reload" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(5)" "<Alt>6")
; (gtk_accel_path "<Actions>/win.reset-font-size" "<Primary>0")
; (gtk_accel_path "<Actions>/win.file.save" "<Primary>s")
@ -44,6 +44,7 @@
; (gtk_accel_path "<Actions>/app.preferences.view.show-whitespace.leading" "")
; (gtk_accel_path "<Actions>/win.edit.copy" "<Primary>c")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(6)" "<Alt>7")
; (gtk_accel_path "<Actions>/win.textview.menubar" "")
; (gtk_accel_path "<Actions>/win.file.open-recent.new" "")
; (gtk_accel_path "<Actions>/win.file.close-window" "<Primary><Shift>w")
; (gtk_accel_path "<Actions>/win.file.new-from-template.new" "")
@ -53,9 +54,9 @@
; (gtk_accel_path "<Actions>/win.edit.convert.to-lowercase" "")
; (gtk_accel_path "<Actions>/win.edit.convert.to-title-case" "")
; (gtk_accel_path "<Actions>/app.preferences.window.always-show-tabs" "")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(0)" "<Alt>1")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(7)" "<Alt>8")
; (gtk_accel_path "<Actions>/win.search.find" "<Primary>f")
; (gtk_accel_path "<Actions>/win.document.go-to-tab(0)" "<Alt>1")
; (gtk_accel_path "<Actions>/app.quit" "<Primary>q")
; (gtk_accel_path "<Actions>/win.file.close-tab" "<Primary>w")
; (gtk_accel_path "<Actions>/win.edit.increase-indent" "<Primary>i")
@ -77,8 +78,8 @@
; (gtk_accel_path "<Actions>/app.preferences.view.color-scheme" "")
; (gtk_accel_path "<Actions>/app.preferences.file.monitor-changes" "")
; (gtk_accel_path "<Actions>/win.edit.paste-special.paste-as-column" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-position" "")
; (gtk_accel_path "<Actions>/app.preferences.view.show-right-margin" "")
; (gtk_accel_path "<Actions>/app.preferences.window.remember-position" "")
; (gtk_accel_path "<Actions>/win.edit.cut" "<Primary>x")
; (gtk_accel_path "<Actions>/win.search.find-next" "<Primary>g")
; (gtk_accel_path "<Actions>/app.mousepad-plugin-gspell" "<Primary>k")

1
.config/dconf/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
user

Binary file not shown.

View file

@ -0,0 +1,12 @@
[General]
auto_save_rotated=0
ask_before_save=1
ask_before_delete=1
rotate_exif_only=1
open_maximized=0
bg=#ffffff
bg_full=#000000
slide_delay=5
jpg_quality=90
png_compression=9
show_toolbar=1

View file

@ -1,26 +1,61 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.2.1
config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=0
shadow_other_users=1
show_thread_names=0
show_program_path=1
show_program_path=0
highlight_base_name=1
highlight_deleted_exe=1
highlight_megabytes=1
highlight_threads=1
tree_view=0
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
header_margin=0
screen_tabs=1
detailed_cpu_time=0
cpu_count_from_zero=1
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
account_guest_in_cpu_meter=1
color_scheme=6
enable_mouse=0
delay=15
left_meters=AllCPUs CPU
left_meter_modes=1 1
right_meters=Uptime LoadAverage Tasks Memory Swap
right_meter_modes=2 2 2 1 1
hide_function_bar=0
header_layout=two_50_50
column_meters_0=AllCPUs2 CPU
column_meter_modes_0=1 1
column_meters_1=Uptime LoadAverage Tasks NetworkIO Memory Swap
column_meter_modes_1=2 2 2 2 1 1
tree_view=0
sort_key=46
tree_sort_key=0
sort_direction=-1
tree_sort_direction=1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PID
.tree_view=0
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view=0
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

View file

@ -119,6 +119,11 @@ Plugin {
Config {
}
}
Plugin {
type=batt
Config {
}
}
Plugin {
type=dclock
Config {

View file

@ -10,6 +10,9 @@ application/x-extension-shtml=userapp-Firefox-AR7F10.desktop
application/xhtml+xml=userapp-Firefox-AR7F10.desktop
application/x-extension-xhtml=userapp-Firefox-AR7F10.desktop
application/x-extension-xht=userapp-Firefox-AR7F10.desktop
application/rtf=org.gnome.Evince.desktop
text/plain=org.xfce.mousepad.desktop
image/png=gpicview.desktop
[Added Associations]
x-scheme-handler/http=userapp-Firefox-AR7F10.desktop;
@ -25,3 +28,6 @@ application/x-extension-xhtml=userapp-Firefox-AR7F10.desktop;
application/x-extension-xht=userapp-Firefox-AR7F10.desktop;
application/pdf=org.gnome.Evince.desktop;
application/x-sh=mousepad.desktop;
application/rtf=org.gnome.Evince.desktop;
text/plain=org.xfce.mousepad.desktop;
image/png=gpicview.desktop;

View file

@ -1,5 +1,6 @@
[DEFAULT]
from = darren@afterdark.org.uk
user-agent = rss2email/__VERSION__ (__URL__)
use-8bit = False
force-from = True
use-publisher-email = False
@ -7,6 +8,7 @@ name-format = {feed-title}: {author}
to = darren@afterdark.org.uk
proxy =
feed-timeout = 60
same-server-fetch-interval = 0
active = True
digest = False
date-header = True
@ -14,10 +16,13 @@ date-header-order = modified, issued, created, expired
bonus-header =
trust-guid = True
trust-link = False
reply-changes = False
encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP
post-process =
digest-post-process =
subject-format = {feed-title}
html-mail = False
multipart-html = False
use-css = False
css = h1 {
font: 18pt Georgia, "Times New Roman";
@ -57,13 +62,17 @@ css = h1 {
}
unicode-snob = False
links-after-each-paragraph = False
inline-links = True
wrap-links = True
body-width = 98
email-protocol = sendmail
sendmail = /usr/sbin/sendmail
sendmail_config =
smtp-auth = False
smtp-username = username
smtp-password = password
smtp-server = smtp.example.net:25
smtp-port = 465
smtp-ssl = False
imap-auth = False
imap-username = username
@ -72,11 +81,15 @@ imap-server = imap.example.net
imap-port = 143
imap-ssl = False
imap-mailbox = INBOX
maildir-path = ~/Maildir
maildir-mailbox = INBOX
verbose = warning
[feed.CL-current]
url = https://mirrors.slackware.com/feeds/slackware64-current.rss
to = darren/Changelogs@afterdark.org.uk
[feed.CL-14.2]
url = https://mirrors.slackware.com/feeds/slackware64-14.2.rss
[feed.CL-15.0]
url = https://mirrors.slackware.com/feeds/slackware64-15.0.rss
to = darren/Changelogs@afterdark.org.uk

View file

@ -13,3 +13,10 @@
username = tadgy
[commit]
verbose = 1
[push]
autoSetupRemote = true
[alias]
c = commit
d = diff
p = push
s = status

2
.gitignore vendored
View file

@ -14,7 +14,7 @@
.bash_history-*
.cache/
.dbus/
.gnupg
.fltk/
.lesshst
.lynx.cookies
.mozilla/

4
.gnupg/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*~
S.*
.#*
random_seed

1
.gnupg/openpgp-revocs.d/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.rev

BIN
.gnupg/pubring.kbx Normal file

Binary file not shown.

BIN
.gnupg/tofu.db Normal file

Binary file not shown.

BIN
.gnupg/trustdb.gpg Normal file

Binary file not shown.

Binary file not shown.

View file

@ -98,7 +98,7 @@ our $FAKE = 0;
#our $changelog_url =
#"http://ftp.slackware.com/pub/slackware/slackware64-14.2/ChangeLog.txt";
our $changelog_url =
"ftp://ftp.osuosl.org/pub/slackware/slackware-14.2/ChangeLog.txt";
"ftp://ftp.osuosl.org/pub/slackware/slackware-15.0/ChangeLog.txt";
# Max time curl will spend trying to do its thing. It'll give up after
# this many seconds, if it can't download the ChangeLog.

View file

@ -1,3 +1,4 @@
Trash/
clipit/
gvfs-metadata/
mime/

View file

@ -3,11 +3,6 @@ application/rdf+xml=firefox-Tadgy.desktop;firefox-Tor.desktop;
application/rss+xml=firefox-Tadgy.desktop;firefox-Tor.desktop;
application/x-xpinstall=firefox-Tadgy.desktop;firefox-Tor.desktop;
application/xhtml+xml=firefox-Tadgy.desktop;firefox-Tor.desktop;
application/xml=firefox-Tadgy.desktop;firefox-Tor.desktop;
image/gif=firefox-Tadgy.desktop;firefox-Tor.desktop;
image/jpeg=firefox-Tadgy.desktop;firefox-Tor.desktop;
image/png=firefox-Tadgy.desktop;firefox-Tor.desktop;
text/html=firefox-Tadgy.desktop;firefox-Tor.desktop;
text/xml=firefox-Tadgy.desktop;firefox-Tor.desktop;
video/webm=firefox-Tadgy.desktop;firefox-Tor.desktop;
x-scheme-handler/chrome=firefox-Tadgy.desktop;firefox-Tor.desktop;

View file

@ -1,114 +0,0 @@
## Sample initialization file for GNU nano.
##
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that this file should not be in
## DOS or Mac format, and that characters specially interpreted by the
## shell should not be escaped here.
##
## To make sure an option is disabled, use "unset <option>".
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
##
## Quotes inside string parameters don't have to be escaped with
## backslashes. The last double quote in the string will be treated as
## its end. For example, for the "brackets" option, ""')>]}" will match
## ", ', ), >, ], and }.
## When soft line wrapping is enabled, make it wrap lines at blank characters.
set atblanks
## Use auto-indentation.
# set autoindent
## Automatically hard-wrap the current line when it becomes overlong.
# set breaklonglines
## Do case-sensitive searches by default.
# set casesensitive
## Do not use the line below the title bar.
# set emptyline
## Set the line length for wrapping text and justifying paragraphs.
set fill -2
## Draw a vertical stripe at the given column
# set guidestripe 140
## Remember the used search/replace strings for the next session.
set historylog
## Scroll the buffer contents per half-screen instead of per line.
# set jumpyscrolling
## Display line numbers to the left of the text area.
set linenumbers
## Enable vim-style lock-files.
set locking
## 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
## Do quick statusbar blanking.
set quickblank
## Do extended regular expression searches by default.
# set regexp
## Make the Home key smarter.
set smarthome
## Enable soft line wrapping (AKA full-line display).
# set softwrap
## Use this spelling checker instead of the internal one.
set speller "aspell -x -c"
## Allow nano to be suspended.
set suspendable
## When justifying text, trailing whitespace will automatically be removed.
set trimblanks
## The two characters used to indicate the presence of tabs and spaces.
set whitespace »·
## Detect word boundaries more accurately by treating punctuation
## characters as parts of words.
# set wordbounds
## Let an unmodified Backspace or Delete erase the marked region, without affecting the cut-buffer.
# set zap
## Paint the interface elements of nano.
## This is an example; by default there are no colors.
set errorcolor brightwhite,red
set functioncolor magenta
set keycolor brightwhite
set numbercolor brightwhite,magenta
set selectedcolor brightwhite,blue
set statuscolor brightwhite,magenta
set stripecolor brightblue
set titlecolor brightwhite,magenta
## Include all existing syntax highlight definitions.
include "/usr/share/nano/*.nanorc"
## Key bindings.
## The following five functions are not bound to any key by default.
## You may wish to choose different keys than the ones suggested here.
# bind ^S savefile main
# bind M-Q findprevious main
# bind M-W findnext main
# bind M-B cutwordleft main
# bind M-N cutwordright main
## Set this if your Backspace key sends Del most of the time.
# bind Del backspace all

View file

@ -1,118 +0,0 @@
## Sample initialization file for GNU nano.
##
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that this file should not be in
## DOS or Mac format, and that characters specially interpreted by the
## shell should not be escaped here.
##
## To make sure an option is disabled, use "unset <option>".
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
##
## Quotes inside string parameters don't have to be escaped with
## backslashes. The last double quote in the string will be treated as
## its end. For example, for the "brackets" option, ""')>]}" will match
## ", ', ), >, ], and }.
## When soft line wrapping is enabled, make it wrap lines at blank characters.
set atblanks
## Use auto-indentation.
# set autoindent
## Automatically hard-wrap the current line when it becomes overlong.
# set breaklonglines
## Do case-sensitive searches by default.
# set casesensitive
## Do not use the line below the title bar.
# set emptyline
## Set the line length for wrapping text and justifying paragraphs.
set fill -2
## Draw a vertical stripe at the given column
# set guidestripe 140
## Remember the used search/replace strings for the next session.
set historylog
## Display a "scrollbar" on the righthand side of the edit window.
# set indicator
## Scroll the buffer contents per half-screen instead of per line.
# set jumpyscrolling
## Display line numbers to the left of the text area.
set linenumbers
## Enable vim-style lock-files.
set locking
## 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
## Do quick statusbar blanking.
set quickblank
## Do extended regular expression searches by default.
# set regexp
## Make the Home key smarter.
set smarthome
## Enable soft line wrapping (AKA full-line display).
# set softwrap
## Use this spelling checker instead of the internal one.
set speller "aspell -x -c"
## Allow nano to be suspended.
set suspendable
## When justifying text, trailing whitespace will automatically be removed.
set trimblanks
## The two characters used to indicate the presence of tabs and spaces.
set whitespace »·
## Detect word boundaries more accurately by treating punctuation
## characters as parts of words.
# set wordbounds
## Let an unmodified Backspace or Delete erase the marked region, without affecting the cut-buffer.
# set zap
## Paint the interface elements of nano.
## This is an example; by default there are no colors.
set errorcolor brightwhite,red
set functioncolor magenta
set keycolor brightwhite
set numbercolor magenta
set selectedcolor brightwhite,blue
set statuscolor magenta
# set stripecolor brightblue
set stripecolor magenta
set titlecolor magenta
## Include all existing syntax highlight definitions.
include "/usr/share/nano/*.nanorc"
## Key bindings.
## The following five functions are not bound to any key by default.
## You may wish to choose different keys than the ones suggested here.
# bind ^S savefile main
# bind M-Q findprevious main
# bind M-W findnext main
# bind M-B cutwordleft main
# bind M-N cutwordright main
## Set this if your Backspace key sends Del most of the time.
# bind Del backspace all

View file

@ -72,9 +72,6 @@ set smarthome
## Use this spelling checker instead of the internal one.
set speller "aspell -x -c"
## Allow nano to be suspended.
set suspendable
## When justifying text, trailing whitespace will automatically be removed.
set trimblanks
@ -88,6 +85,12 @@ set whitespace »·
## Let an unmodified Backspace or Delete erase the marked region, without affecting the cut-buffer.
# set zap
# Show flags in the title bar.
set stateflags
# Use libmagic for syntax highlighting suggestions.
set magic
## Paint the interface elements of nano.
## This is an example; by default there are no colors.
@ -119,3 +122,9 @@ include "/usr/share/nano/*.nanorc"
# Unbind the ^J (justification) shortcut as it's annoying.
unbind ^J main
# Allow ^Z to suspend nano.
bind ^Z suspend main
# Allow marking using ^Space.
bind ^Space mark main

11
.pinerc
View file

@ -121,7 +121,7 @@ goto-default-rule=inbox-or-folder-in-recent-collection
incoming-startup-rule=first-unseen
character-set=ISO-8859-15
composer-wrap-column=78
last-time-prune-questioned=121.9
last-time-prune-questioned=122.7
last-version-used=6.25
index-format=STATUS MSGNO DATE FROM(25) SUBJECT
mail-check-interval=30
@ -172,10 +172,11 @@ incoming-folders-to-check=*
default-fcc=Sent
default-saved-msg-folder=Saved
postponed-folder=Drafts
patterns-roles=LIT:pattern="/NICK=darren@afterdark.org.uk/RECIP=afterdark.org.uk,afterdark.co.uk,afterdark.me.uk,afterdark.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@afterdark.org.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/User=darren@afterdark.org.uk/RTYPE=NC/FTYPE=NC/CTYPE=NC",
LIT:pattern="/NICK=darren@slackware.uk/RECIP=slackware.uk,slackware.org.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@slackware.uk>/LSIG=-- \\nDarren 'Tadgy' Austin.\\nslackware.uk founder and systems' administrator.\\nFind me on libera.chat as 'Tadgy' in #slackware.uk channel.\\n/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/NoRsh\/User=darren@slackware.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO",
LIT:pattern="/NICK=darren@opensourcerers.uk/RECIP=opensourcerers.uk,opensourcerers.co.uk,opensourcerers.net/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@opensourcerers.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/NoRsh\/User=darren@opensourcerers.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO",
LIT:pattern="/NICK=darren@covlug.org.uk/RECIP=covlug.org.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@covlug.org.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/NoRsh\/User=darren@covlug.org.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO"
patterns-roles=LIT:pattern="/NICK=darren\/lists@afterdark.org.uk/ARBEnvelope-to=darren\/lists@afterdark.org.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren\/lists@afterdark.org.uk>/RTYPE=NC/FTYPE=NC/CTYPE=NO",
LIT:pattern="/NICK=darren@afterdark.org.uk/RECIP=afterdark.org.uk,afterdark.co.uk,afterdark.me.uk,afterdark.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@afterdark.org.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/User=darren@afterdark.org.uk/RTYPE=NC/FTYPE=NC/CTYPE=NC",
LIT:pattern="/NICK=darren@slackware.uk/RECIP=slackware.uk,slackware.org.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@slackware.uk>/LSIG=-- \\nDarren 'Tadgy' Austin.\\nslackware.uk founder and systems' administrator.\\nFind me on libera.chat as 'Tadgy' in #slackware.uk channel.\\n/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/User=darren@slackware.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO",
LIT:pattern="/NICK=darren@opensourcerers.uk/RECIP=opensourcerers.uk,opensourcerers.co.uk,opensourcerers.net/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@opensourcerers.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/User=darren@opensourcerers.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO",
LIT:pattern="/NICK=darren@covlug.org.uk/RECIP=covlug.org.uk/FLDTYPE=EMAIL" action="/ROLE=1/FROM=Darren 'Tadgy' Austin <darren@covlug.org.uk>/SMTP=mail.opensourcerers.net\/Submit\/StartTLS\/NoValidate-Cert\/User=darren@covlug.org.uk/RTYPE=NC/FTYPE=NC/CTYPE=NO"
inbox-path={mail.opensourcerers.net/Service=IMAP/StartTLS/NoValidate-Cert/NoRsh/User=darren@afterdark.org.uk}INBOX
signature-foreground-color=000,000,000
signature-background-color=black

View file

@ -3,8 +3,8 @@ directory = /home/tadgy/torrents
session = /home/tadgy/.rtorrent
# IP and ports:
bind = 192.168.67.1
ip = 192.168.67.1
bind = 192.168.67.23
ip = afterdark.org.uk
port_random = no
# Sharing settings: