-
minimal packages: see
dpkg.min
-
need to uniformize the terminal environment so that we get the same colors and control sequences as a local terminal.
-
tmux
:# vim control arrow keys and escape delay set -g xterm-keys on set -g escape-time 0 # set a terminfo with 256 color support set -g default-terminal "screen-256color"
-
$COLORFGBG
passthrough:echo "AcceptEnv COLORFGBG" >> /etc/{ssh,sshd}_config
. at minimum, this will guarantee thatbackground
and thus vim's syntax highlighting stays the same both locally and remotely. -
vim
: usexterm-256colors
becausescreen-256colors
doesn't distinguish between<C-{Left,Right}>
and<S-{Left,Right}>
(cf. here ), andxterm-256colors
is fairly popular anyway (see below). -
make sure that the local terminal sends
xterm
's control sequences. for instance,urxvt
by default emits^[Od
for<C-Left>
(observable by issuingcat -v
and hitting the key combo), sovim
won't interpret this properly. fix this by:! file $HOME/.Xdefaults on the local system URxvt.keysym.Control-Left: \033[1;5D URxvt.keysym.Control-Right: \033[1;5C URxvt.keysym.Control-Down: \033[1;5B URxvt.keysym.Control-Up: \033[1;5A
also, we'll need to tell the receiving end how to interpret these sequences. for
readline
-based apps, for instance:# file $HOME/.inputrc on both local and remote systems "\e[1;5D":backward-word "\e[1;5C":forward-word
although again, since we're conforming to
xterm
's spec, most app will already expect this by default (for instance,fish
expects this by default;tmux
'sxterm-keys
option is evident of this).
-
-
replace rsyslog with sysklogd and klogd.
Last active
December 11, 2015 12:48
-
-
Save bryant/4602687 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description | |
+++-=============================-==========================-============-====================================================================== | |
ii adduser 3.113+nmu1ubuntu1 all add and remove users and groups | |
ii apt 0.9.7.5ubuntu5.2 amd64 commandline package manager | |
ii apt-utils 0.9.7.5ubuntu5.2 amd64 package managment related utility programs | |
ii aptitude 0.6.8.1-2ubuntu1 amd64 terminal-based package manager | |
ii aptitude-common 0.6.8.1-2ubuntu1 all architecture indepedent files for the aptitude package manager | |
ii base-files 6.5ubuntu12 amd64 Debian base system miscellaneous files | |
ii base-passwd 3.5.26 amd64 Debian base system master password and group files | |
ii bash 4.2-5ubuntu1 amd64 GNU Bourne Again SHell | |
ii bash-completion 1:2.0-1ubuntu2 all programmable completion for the bash shell | |
ii bsdmainutils 9.0.3ubuntu1 amd64 collection of more utilities from FreeBSD | |
ii bsdutils 1:2.20.1-5.1ubuntu2 amd64 Basic utilities from 4.4BSD-Lite | |
ii busybox-initramfs 1:1.19.3-7ubuntu1.1 amd64 Standalone shell setup for initramfs | |
ii bzip2 1.0.6-4 amd64 high-quality block-sorting file compressor - utilities | |
ii ca-certificates 20120623 all Common CA certificates | |
ii coreutils 8.13-3.2ubuntu2.1 amd64 GNU core utilities | |
ii cpio 2.11-8ubuntu3 amd64 GNU cpio -- a program to manage archives of files | |
ii cron 3.0pl1-121ubuntu1 amd64 process scheduling daemon | |
ii cruft 0.9.16 amd64 program that finds any cruft built up on your system | |
ii dash 0.5.7-3ubuntu1 amd64 POSIX-compliant shell | |
ii debconf 1.5.46ubuntu1 all Debian configuration management system | |
ii debconf-i18n 1.5.46ubuntu1 all full internationalization support for debconf | |
ii debfoster 2.7-1.2 amd64 Install only wanted Debian packages | |
ii debianutils 4.3.4 amd64 Miscellaneous utilities specific to Debian | |
ii diffutils 1:3.2-6ubuntu1 amd64 File comparison utilities | |
ii dmsetup 2:1.02.74-4ubuntu1 amd64 Linux Kernel Device Mapper userspace library | |
ii dpkg 1.16.7ubuntu6 amd64 Debian package management system | |
ii e2fslibs:amd64 1.42.5-1ubuntu2 amd64 ext2/ext3/ext4 file system libraries | |
ii e2fsprogs 1.42.5-1ubuntu2 amd64 ext2/ext3/ext4 file system utilities | |
ii file 5.11-2 amd64 Determines file type using "magic" numbers | |
ii findutils 4.4.2-4ubuntu2 amd64 utilities for finding files--find, xargs | |
ii gcc-4.7-base:amd64 4.7.2-2ubuntu1 amd64 GCC, the GNU Compiler Collection (base package) | |
ii gettext-base 0.18.1.1-9ubuntu1 amd64 GNU Internationalization utilities for the base system | |
ii gnupg 1.4.11-3ubuntu4.1 amd64 GNU privacy guard - a free PGP replacement | |
ii gpgv 1.4.11-3ubuntu4.1 amd64 GNU privacy guard - signature verification tool | |
ii grep 2.12-2 amd64 GNU grep, egrep and fgrep | |
ii groff-base 1.21-9 amd64 GNU troff text-formatting system (base system components) | |
ii grub-common 2.00-7ubuntu11 amd64 GRand Unified Bootloader (common files) | |
ii grub-gfxpayload-lists 0.6 amd64 GRUB gfxpayload blacklist | |
ii grub-pc 2.00-7ubuntu11 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version) | |
ii grub-pc-bin 2.00-7ubuntu11 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries) | |
ii grub2 2.00-7ubuntu11 amd64 GRand Unified Bootloader, version 2 (dummy package) | |
ii grub2-common 2.00-7ubuntu11 amd64 GRand Unified Bootloader (common files for version 2) | |
ii gzip 1.5-1.1ubuntu1 amd64 GNU compression utilities | |
ii hostname 3.11ubuntu1 amd64 utility to set/show the host name or domain name | |
ii ifupdown 0.7.2ubuntu2 amd64 high level tools to configure network interfaces | |
ii info 4.13a.dfsg.1-10ubuntu2 amd64 Standalone GNU Info documentation browser | |
ii initramfs-tools 0.103ubuntu0.2 all tools for generating an initramfs | |
ii initramfs-tools-bin 0.103ubuntu0.2 amd64 binaries used by initramfs-tools | |
ii initscripts 2.88dsf-13.10ubuntu13 amd64 scripts for initializing and shutting down the system | |
ii insserv 1.14.0-4ubuntu1 amd64 boot sequence organizer using LSB init.d script dependency information | |
ii install-info 4.13a.dfsg.1-10ubuntu2 amd64 Manage installed documentation in info format | |
ii iproute 20120521-3ubuntu1 amd64 networking and traffic control tools | |
ii iptables 1.4.12-2ubuntu2 amd64 administration tools for packet filtering and NAT | |
ii iputils-ping 3:20101006-3ubuntu1 amd64 Tools to test the reachability of network hosts | |
ii isc-dhcp-client 4.2.4-1ubuntu10.1 amd64 ISC DHCP client | |
ii isc-dhcp-common 4.2.4-1ubuntu10.1 amd64 common files used by all the isc-dhcp* packages | |
ii klibc-utils 2.0.1-1ubuntu2 amd64 small utilities built with klibc for early boot | |
ii krb5-locales 1.10.1+dfsg-2 all Internationalization support for MIT Kerberos | |
ii language-pack-en 1:12.10+20121009 all translation updates for language English | |
ii language-pack-en-base 1:12.10+20121009 all translations for language English | |
ii less 444-4ubuntu1 amd64 pager program similar to more | |
ii libacl1:amd64 2.2.51-8ubuntu2 amd64 Access control list shared library | |
ii libapt-inst1.5:amd64 0.9.7.5ubuntu5.2 amd64 deb package format runtime library | |
ii libapt-pkg4.12:amd64 0.9.7.5ubuntu5.2 amd64 package managment runtime library | |
ii libasprintf0c2:amd64 0.18.1.1-9ubuntu1 amd64 GNU library to use fprintf and friends in C++ | |
ii libattr1:amd64 1:2.4.46-8ubuntu1 amd64 Extended attribute shared library | |
ii libblkid1:amd64 2.20.1-5.1ubuntu2 amd64 block device id library | |
ii libboost-iostreams1.49.0 1.49.0-3.1ubuntu1.1 amd64 Boost.Iostreams Library | |
ii libbsd0:amd64 0.4.2-1 amd64 utility functions from BSD systems - shared library | |
ii libbz2-1.0:amd64 1.0.6-4 amd64 high-quality block-sorting file compressor library - runtime | |
ii libc-bin 2.15-0ubuntu20 amd64 Embedded GNU C Library: Binaries | |
ii libc6:amd64 2.15-0ubuntu20 amd64 Embedded GNU C Library: Shared libraries | |
ii libcomerr2:amd64 1.42.5-1ubuntu2 amd64 common error description library | |
ii libcwidget3 0.5.16-3.4ubuntu1 amd64 high-level terminal interface library for C++ (runtime files) | |
ii libdb5.1:amd64 5.1.29-5ubuntu2 amd64 Berkeley v5.1 Database Libraries [runtime] | |
ii libdbus-1-3:amd64 1.6.4-1ubuntu4 amd64 simple interprocess messaging system (library) | |
ii libdevmapper1.02.1:amd64 2:1.02.74-4ubuntu1 amd64 Linux Kernel Device Mapper userspace library | |
ii libdrm-intel1:amd64 2.4.39-0ubuntu1 amd64 Userspace interface to intel-specific kernel DRM services -- runtime | |
ii libdrm-nouveau1a:amd64 2.4.39-0ubuntu1 amd64 Userspace interface to nouveau-specific kernel DRM services -- runtime | |
ii libdrm-radeon1:amd64 2.4.39-0ubuntu1 amd64 Userspace interface to radeon-specific kernel DRM services -- runtime | |
ii libdrm2:amd64 2.4.39-0ubuntu1 amd64 Userspace interface to kernel DRM services -- runtime | |
ii libedit2:amd64 2.11-20080614-5 amd64 BSD editline and history libraries | |
ii libept1.4.12 1.0.9 amd64 High-level library for managing Debian package information | |
ii libffi6:amd64 3.0.11-2 amd64 Foreign Function Interface library runtime | |
ii libfreetype6:amd64 2.4.10-0ubuntu1.1 amd64 FreeType 2 font engine, shared library files | |
ii libfuse2:amd64 2.9.0-1ubuntu2 amd64 Filesystem in Userspace (library) | |
ii libgc1c2 1:7.1-9 amd64 conservative garbage collector for C and C++ | |
ii libgcc1:amd64 1:4.7.2-2ubuntu1 amd64 GCC support library | |
ii libgdbm3:amd64 1.8.3-11 amd64 GNU dbm database routines (runtime version) | |
ii libglib2.0-0:amd64 2.34.1-1ubuntu1 amd64 GLib library of C routines | |
ii libgpm2:amd64 1.20.4-6 amd64 General Purpose Mouse - shared library | |
ii libgssapi-krb5-2:amd64 1.10.1+dfsg-2 amd64 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism | |
ii libidn11:amd64 1.25-2 amd64 GNU Libidn library, implementation of IETF IDN specifications | |
ii libk5crypto3:amd64 1.10.1+dfsg-2 amd64 MIT Kerberos runtime libraries - Crypto Library | |
ii libkeyutils1:amd64 1.5.5-3 amd64 Linux Key Management Utilities (library) | |
ii libklibc 2.0.1-1ubuntu2 amd64 minimal libc subset for use with initramfs | |
ii libkms1:amd64 2.4.39-0ubuntu1 amd64 Userspace interface to kernel DRM buffer management | |
ii libkrb5-3:amd64 1.10.1+dfsg-2 amd64 MIT Kerberos runtime libraries | |
ii libkrb5support0:amd64 1.10.1+dfsg-2 amd64 MIT Kerberos runtime libraries - Support library | |
ii liblocale-gettext-perl 1.05-7build2 amd64 module using libc functions for internationalization in Perl | |
ii liblzma5:amd64 5.1.1alpha+20120614-1 amd64 XZ-format compression library | |
ii libmagic1:amd64 5.11-2 amd64 File type determination library using "magic" numbers | |
ii libmount1:amd64 2.20.1-5.1ubuntu2 amd64 block device id library | |
ii libncurses5:amd64 5.9-10ubuntu1 amd64 shared libraries for terminal handling | |
ii libncursesw5:amd64 5.9-10ubuntu1 amd64 shared libraries for terminal handling (wide character support) | |
ii libnewt0.52 0.52.11-2ubuntu11 amd64 Not Erik's Windowing Toolkit - text mode windowing with slang | |
ii libnfnetlink0 1.0.0-1build1 amd64 Netfilter netlink library | |
ii libnih-dbus1:amd64 1.0.3-4ubuntu11 amd64 NIH D-Bus Bindings Library | |
ii libnih1:amd64 1.0.3-4ubuntu11 amd64 NIH Utility Library | |
ii libpam-modules:amd64 1.1.3-7ubuntu3 amd64 Pluggable Authentication Modules for PAM | |
ii libpam-modules-bin 1.1.3-7ubuntu3 amd64 Pluggable Authentication Modules for PAM - helper binaries | |
ii libpam-runtime 1.1.3-7ubuntu3 all Runtime support for the PAM library | |
ii libpam0g:amd64 1.1.3-7ubuntu3 amd64 Pluggable Authentication Modules library | |
ii libpciaccess0:amd64 0.13.1-2 amd64 Generic PCI access library for X | |
ii libpcre3:amd64 1:8.30-5ubuntu1 amd64 Perl 5 Compatible Regular Expression Library - runtime files | |
ii libpipeline1:amd64 1.2.2-1 amd64 pipeline manipulation library | |
ii libplymouth2 0.8.4-0ubuntu3 amd64 graphical boot animation and logger - shared libraries | |
ii libpng12-0:amd64 1.2.49-1ubuntu1 amd64 PNG library - runtime | |
ii libpopt0:amd64 1.16-7ubuntu2 amd64 lib for parsing cmdline parameters | |
ii libprocps0:amd64 1:3.3.3-2ubuntu3 amd64 library for accessing process information from /proc | |
ii libreadline6:amd64 6.2-9 amd64 GNU readline and history libraries, run-time libraries | |
ii libselinux1:amd64 2.1.9-5ubuntu1 amd64 SELinux runtime shared libraries | |
ii libsigc++-2.0-0c2a:amd64 2.2.10-0.2 amd64 type-safe Signal Framework for C++ - runtime | |
ii libslang2:amd64 2.2.4-15ubuntu1 amd64 S-Lang programming library - runtime version | |
ii libsqlite3-0:amd64 3.7.13-1 amd64 SQLite 3 shared library | |
ii libss2:amd64 1.42.5-1ubuntu2 amd64 command-line interface parsing library | |
ii libssl1.0.0:amd64 1.0.1c-3ubuntu2 amd64 SSL shared libraries | |
ii libstdc++6:amd64 4.7.2-2ubuntu1 amd64 GNU Standard C++ Library v3 | |
ii libtext-charwidth-perl 0.04-7build2 amd64 get display widths of characters on the terminal | |
ii libtext-iconv-perl 1.7-5build1 amd64 converts between character sets in Perl | |
ii libtext-wrapi18n-perl 0.06-7 all internationalized substitute of Text::Wrap | |
ii libtinfo5:amd64 5.9-10ubuntu1 amd64 shared low-level terminfo library for terminal handling | |
ii libudev0:amd64 175-0ubuntu13 amd64 udev library | |
ii libusb-0.1-4:amd64 2:0.1.12-23 amd64 userspace USB programming library | |
ii libuuid1:amd64 2.20.1-5.1ubuntu2 amd64 Universally Unique ID library | |
ii libwrap0:amd64 7.6.q-23 amd64 Wietse Venema's TCP wrappers library | |
ii libxapian22 1.2.12-1 amd64 Search engine library | |
ii linux-image-3.5.0-22-generic 3.5.0-22.34 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP | |
ii localepurge 0.6.3 all Reclaim disk space removing unneeded localizations | |
ii locales 2.13+git20120306-3 all common files for locale support | |
ii login 1:4.1.4.2+svn3283-3ubuntu7 amd64 system login tools | |
ii logrotate 3.7.8-6ubuntu6 amd64 Log rotation utility | |
ii lsb-base 4.0-0ubuntu26.1 all Linux Standard Base 4.0 init script functionality | |
ii makedev 2.3.1-91ubuntu2 all creates device files in /dev | |
ii man-db 2.6.3-1 amd64 on-line manual pager | |
ii manpages 3.40-0.1ubuntu3 all Manual pages about using a GNU/Linux system | |
ii mawk 1.3.3-17 amd64 a pattern scanning and text processing language | |
ii mime-support 3.52-1ubuntu1 all MIME files 'mime.types' & 'mailcap', and support programs | |
ii module-init-tools 3.16-1ubuntu6 amd64 tools for managing Linux kernel modules | |
ii mount 2.20.1-5.1ubuntu2 amd64 Tools for mounting and manipulating filesystems | |
ii mountall 2.42ubuntu0.3 amd64 filesystem mounting tool | |
ii multiarch-support 2.15-0ubuntu20 amd64 Transitional package to ensure multiarch compatibility | |
ii nano 2.2.6-1ubuntu1 amd64 small, friendly text editor inspired by Pico | |
ii ncurses-base 5.9-10ubuntu1 all basic terminal type definitions | |
ii ncurses-bin 5.9-10ubuntu1 amd64 terminal-related programs and man pages | |
ii ncurses-term 5.9-10ubuntu1 all additional terminal type definitions | |
ii net-tools 1.60-24.1ubuntu3 amd64 The NET-3 networking toolkit | |
ii netbase 5.0ubuntu1 all Basic TCP/IP networking system | |
ii netcat-openbsd 1.105-6ubuntu1 amd64 TCP/IP swiss army knife | |
ii openssh-client 1:6.0p1-3ubuntu1 amd64 secure shell (SSH) client, for secure access to remote machines | |
ii openssh-server 1:6.0p1-3ubuntu1 amd64 secure shell (SSH) server, for secure access from remote machines | |
ii openssl 1.0.1c-3ubuntu2 amd64 Secure Socket Layer (SSL) binary and related cryptographic tools | |
ii passwd 1:4.1.4.2+svn3283-3ubuntu7 amd64 change and administer password and group data | |
ii perl-base 5.14.2-13ubuntu0.1 amd64 minimal Perl system | |
ii plymouth 0.8.4-0ubuntu3 amd64 graphical boot animation and logger - main package | |
ii plymouth-theme-ubuntu-text 0.8.4-0ubuntu3 amd64 graphical boot animation and logger - ubuntu-logo theme | |
ii procps 1:3.3.3-2ubuntu3 amd64 /proc file system utilities | |
ii psmisc 22.19-1ubuntu1 amd64 utilities that use the proc file system | |
ii readline-common 6.2-9 all GNU readline and history libraries, common files | |
ii resolvconf 1.67ubuntu2 all name server information handler | |
ii screen 4.0.3-14ubuntu9 amd64 terminal multiplexor with VT100/ANSI terminal emulation | |
ii sed 4.2.1-10ubuntu1 amd64 The GNU sed stream editor | |
ii sensible-utils 0.0.7ubuntu1 all Utilities for sensible alternative selection | |
ii ssh-import-id 2.12-0ubuntu1 all securely retrieve an SSH public key and install it locally | |
ii sudo 1.8.5p2-1ubuntu1 amd64 Provide limited super user privileges to specific users | |
ii sysv-rc 2.88dsf-13.10ubuntu13 all System-V-like runlevel change mechanism | |
ii sysvinit-utils 2.88dsf-13.10ubuntu13 amd64 System-V-like utilities | |
ii tar 1.26-4ubuntu1 amd64 GNU version of the tar archiving utility | |
ii tcpd 7.6.q-23 amd64 Wietse Venema's TCP wrapper utilities | |
ii tree 1.6.0-1 amd64 displays directory tree, in color | |
ii tzdata 2012e-0ubuntu2 all time zone and daylight-saving time data | |
ii ubuntu-keyring 2012.05.19 all GnuPG keys of the Ubuntu archive | |
ii ucf 3.0025+nmu3 all Update Configuration File: preserve user changes to config files. | |
ii udev 175-0ubuntu13 amd64 rule-based device node and kernel event manager | |
ii upstart 1.5-0ubuntu9 amd64 event-based init daemon | |
ii util-linux 2.20.1-5.1ubuntu2 amd64 Miscellaneous system utilities | |
ii uuid-runtime 2.20.1-5.1ubuntu2 amd64 runtime components for the Universally Unique ID library | |
ii wget 1.13.4-3ubuntu1 amd64 retrieves files from the web | |
ii whiptail 0.52.11-2ubuntu11 amd64 Displays user-friendly dialog boxes from shell scripts | |
ii xz-utils 5.1.1alpha+20120614-1 amd64 XZ-format compression utilities | |
ii zlib1g:amd64 1:1.2.7.dfsg-13 amd64 compression library - runtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment