]> Frank Brehm's Git Trees - config/sarah/etc.git/commitdiff
committing changes in /etc made by "apt install -y byobu screen tmux pastebinit ccze"
authorFrank Brehm <frank@brehm-online.com>
Thu, 8 Apr 2021 19:40:34 +0000 (21:40 +0200)
committerFrank Brehm <frank@brehm-online.com>
Thu, 8 Apr 2021 19:40:34 +0000 (21:40 +0200)
Package changes:
+byobu 5.112-1.1 all
+ccze 0.2.1-4+b1 amd64
+pastebinit 1.5-2 all
+python-newt 0.52.20-8 amd64
+tmux 2.8-3 amd64

.etckeeper
byobu/backend [new file with mode: 0644]
byobu/socketdir [new file with mode: 0644]
cczerc [new file with mode: 0644]
profile.d/Z97-byobu.sh [new file with mode: 0644]
shells

index 3700f4973e209ac177c663615d569190ee2efa4c..43be8ac1ffc8cee6e271e8da9eb1837fda75fdcb 100755 (executable)
@@ -406,12 +406,16 @@ maybe chmod 0755 'bind/zones'
 maybe chmod 0644 'bind/zones.rfc1918'
 maybe chmod 0644 'bindresvport.blacklist'
 maybe chmod 0755 'binfmt.d'
+maybe chmod 0755 'byobu'
+maybe chmod 0644 'byobu/backend'
+maybe chmod 0644 'byobu/socketdir'
 maybe chmod 0755 'ca-certificates'
 maybe chmod 0644 'ca-certificates.conf'
 maybe chmod 0755 'ca-certificates/update.d'
 maybe chmod 0755 'ca-certificates/update.d/jks-keystore'
 maybe chmod 0755 'calendar'
 maybe chmod 0644 'calendar/default'
+maybe chmod 0644 'cczerc'
 maybe chmod 0755 'chrony'
 maybe chmod 0644 'chrony/chrony.conf'
 maybe chmod 0640 'chrony/chrony.keys'
@@ -1590,6 +1594,7 @@ maybe chmod 0755 'ppp/ip-up.d/clamav-freshclam-ifupdown'
 maybe chmod 0755 'ppp/ip-up.d/postfix'
 maybe chmod 0644 'profile'
 maybe chmod 0755 'profile.d'
+maybe chmod 0644 'profile.d/Z97-byobu.sh'
 maybe chmod 0644 'profile.d/bash_completion.sh'
 maybe chmod 0644 'profile.d/fbrehm.sh'
 maybe chmod 0644 'profile.d/gawk.csh'
diff --git a/byobu/backend b/byobu/backend
new file mode 100644 (file)
index 0000000..d71e61c
--- /dev/null
@@ -0,0 +1,4 @@
+# BYOBU_BACKEND can currently be "screen" or "tmux"
+# Override this on a per-user basis by editing "$BYOBU_CONFIG_DIR/backend"
+# or by launching either "byobu-screen" or "byobu-tmux" instead of "byobu".
+BYOBU_BACKEND="tmux"
diff --git a/byobu/socketdir b/byobu/socketdir
new file mode 100644 (file)
index 0000000..05ab041
--- /dev/null
@@ -0,0 +1,11 @@
+# Set the location of the socket directory that byobu will use.
+# On Debian/Ubuntu systems, this is in /var/run/screen, but on
+# other distros, it might be elsewhere, such as /tmp/screens
+# depending on your compilation.
+#
+# This file will be sourced by both shell scripts and python code,
+# so please ensure that:
+#  * the variable name is SOCKETDIR
+#  * there is no space around the "="
+#  * and that the path value is quoted
+SOCKETDIR="/var/run/screen"
diff --git a/cczerc b/cczerc
new file mode 100644 (file)
index 0000000..0d1b4be
--- /dev/null
+++ b/cczerc
@@ -0,0 +1,96 @@
+# Configuration file for ccze
+#
+# Available 'pre' attributes: bold, underline, underscore, blink, reverse
+# Available colors:  black, red, green, yellow, blue, magenta, cyan, white
+# Available bgcolors: on_black, on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white
+#
+# You can also use item names in color definition, like:
+#
+# default   blue
+# date      'default'
+#
+# Here you defined default color to blue, and date color to default value's color, so
+# your date color is blue. (You can only use predefined item names!)
+
+# item          color                   # comment (what is color, or why it's that ;)
+
+date            bold cyan               # Dates and times
+host            bold blue               # Host names and IP numbers
+process         green                   # Sender process
+pid             bold white              # PIDs (Process IDs)
+pid-sqbr        bold green              # Brackets around PIDs
+default         cyan                    # Default (not colorised)
+email           bold green              # E-mail addresses
+subject         magenta                 # Subject lines (procmail)
+dir             bold cyan               # Directory names
+file            bold cyan               # File names
+size            bold white              # Sizes
+user            bold yellow             # Usernames
+httpcodes       bold white              # HTTP status codes (200, 404, etc)
+getsize         magenta                 # Transfer sizes
+get             green                   # HTTP GET
+post            bold green              # HTTP POST
+head            green                   # HTTP HEAD
+put             bold green              # HTTP PUT
+connect         green                   # HTTP CONNECT
+trace           green                   # HTTP TRACE
+unknown         cyan                    # Unknown message
+gettime         bold magenta            # Transfer times
+uri             bold green              # URIs (http://, ftp://, etc)
+ident           bold white              # Remote user (proxy/http)
+ctype           white                   # Content type (http/proxy)
+error           bold red                # Error messages
+miss            red                     # Proxy MISS
+hit             bold yellow             # Proxy HIT
+deny            bold red                # Proxy DENIED
+refresh         bold white              # Proxy REFRESH
+swapfail        bold white              # Proxy SWAPFAIL
+debug           white                   # Debug messages
+warning         red                     # Warnings
+direct          bold white              # Proxy DIRECT
+parent          bold yellow             # Proxy PARENT
+swapnum         blue on_white           # Proxy swap number
+create          bold white              # Proxy CREATE
+swapin          bold white              # Proxy SWAPIN
+swapout         bold white              # Proxy SWAPOUT
+release         bold white              # Proxy RELEASE
+mac             bold white              # MAC addresses
+version         bold white              # Version numbers
+address         bold white              # Memory addresses
+numbers         white                   # Numbers
+signal          bold yellow             # Signal names
+service         bold magenta            # Services
+prot            magenta                 # Protocols
+bad             bold yellow             # "Bad words"
+good            bold green              # "Good words"
+system          bold cyan               # "System words"
+incoming        bold white              # Incoming mail (exim)
+outgoing        white                   # Outgoing mail (exim)
+uniqn           bold white              # Unique ID (exim)
+repeat          white                   # 'last message repeated N times'
+field           green                   # RFC822 Field
+chain           cyan                    # Chain names (ulogd)
+percentage      bold yellow             # Percentages
+ftpcodes        cyan                    # FTP codes
+keyword         bold yellow             # Various keywords (like PHP in php.log, etc)
+pkgstatus       green                   # package status (dpkg)
+pkg             bold red                # package name (dpkg)
+
+# CSS codes for the HTML output
+cssblack        black
+cssboldblack    black
+cssred          darkred
+cssboldred      red
+cssgreen        #00C000
+cssboldgreen    lime
+cssyellow       brown
+cssboldyellow   yellow
+cssblue         blue
+cssboldblue     slateblue
+csscyan         darkcyan
+cssboldcyan     cyan
+cssmagenta      darkmagenta
+cssboldmagenta  magenta
+csswhite        grey
+cssboldwhite    white
+cssbody         #404040
diff --git a/profile.d/Z97-byobu.sh b/profile.d/Z97-byobu.sh
new file mode 100644 (file)
index 0000000..51b2887
--- /dev/null
@@ -0,0 +1,41 @@
+#    Z97-byobu.sh - allow any user to opt into auto-launching byobu
+#    Copyright (C) 2011 Canonical Ltd.
+#
+#    Authors: Dustin Kirkland <kirkland@byobu.org>
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, version 3 of the License.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Allow any user to opt into auto-launching byobu by setting LC_BYOBU=1
+# Apologies for borrowing the LC_BYOBU namespace, but:
+#  a) it's reasonable to assume that no one else is using LC_BYOBU
+#  b) LC_* is sent and receieved by most /etc/ssh/ssh*_config
+
+if [ -r "/usr/bin/byobu-launch" ]; then
+       if [ "$LC_BYOBU" = "0" ]; then
+               true
+       elif [ "$LC_BYOBU" = "1" ]; then
+               . /usr/bin/byobu-launch
+       elif [ -e "/etc/byobu/autolaunch" ]; then
+               . /usr/bin/byobu-launch
+       elif [ "$LC_TERMTYPE" = "byobu" ]; then
+               . /usr/bin/byobu-launch
+       elif [ "$LC_TERMTYPE" = "byobu-screen" ]; then
+               export BYOBU_BACKEND="screen"
+               . /usr/bin/byobu-launch
+       elif [ "$LC_TERMTYPE" = "byobu-tmux" ]; then
+               export BYOBU_BACKEND="tmux"
+               . /usr/bin/byobu-launch
+       fi
+fi
+
+# vi: syntax=sh ts=4 noexpandtab
diff --git a/shells b/shells
index 1f0d15c052f24eea26931fd4ce7297d58f1bb9a9..a5f5dc9f79410295c11b689e7571bb5db459fab7 100644 (file)
--- a/shells
+++ b/shells
@@ -6,3 +6,4 @@
 /bin/zsh
 /usr/bin/zsh
 /usr/bin/screen
+/usr/bin/tmux