diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-12-31 21:33:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-01-01 08:59:45 +0100 |
commit | 9b2263c35d22d77dc913ca980014efc8390305db (patch) | |
tree | 429725e1a1423cb829bd2f448d04a4ca371d2ce2 /source/x | |
parent | 8e734711287e3db171361903b19d2a758f325bfc (diff) | |
download | current-9b2263c35d22d77dc913ca980014efc8390305db.tar.gz current-9b2263c35d22d77dc913ca980014efc8390305db.tar.xz |
Mon Dec 31 21:33:54 UTC 201820181231213354
a/efibootmgr-17-x86_64-1.txz: Upgraded.
a/efivar-37-x86_64-1.txz: Upgraded.
d/cmake-3.13.2-x86_64-2.txz: Rebuilt.
Work around build failures with recent doxygen.
d/ruby-2.6.0-x86_64-1.txz: Upgraded.
Shared library .so-version bump.
d/subversion-1.11.0-x86_64-2.txz: Rebuilt.
Recompiled against ruby-2.6.0.
kde/korundum-4.14.3-x86_64-7.txz: Rebuilt.
Recompiled against ruby-2.6.0.
kde/qtruby-4.14.3-x86_64-9.txz: Rebuilt.
Recompiled against ruby-2.6.0.
l/gobject-introspection-1.58.3-x86_64-1.txz: Upgraded.
l/imagemagick-6.9.10_22-x86_64-1.txz: Upgraded.
l/libssh-0.8.6-x86_64-1.txz: Upgraded.
n/epic5-2.0.1-x86_64-8.txz: Rebuilt.
Recompiled against ruby-2.6.0.
n/tin-2.4.3-x86_64-1.txz: Upgraded.
n/wireless_tools-30.pre9-x86_64-1.txz: Upgraded.
x/xterm-341-x86_64-2.txz: Rebuilt.
Install xterm app-defaults that resemble the Linux console. Thanks to GazL.
Diffstat (limited to 'source/x')
-rw-r--r-- | source/x/xterm/linux-console-xterm.ad | 67 | ||||
-rwxr-xr-x | source/x/xterm/xterm.SlackBuild | 9 |
2 files changed, 75 insertions, 1 deletions
diff --git a/source/x/xterm/linux-console-xterm.ad b/source/x/xterm/linux-console-xterm.ad new file mode 100644 index 000000000..3f43b91db --- /dev/null +++ b/source/x/xterm/linux-console-xterm.ad @@ -0,0 +1,67 @@ +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! These resources will, as much as possible, configure xterm to look +! like a linux console. +! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +XTerm.termName: xterm-new +! Use the more featureful 'xterm-new' terminfo entry. +XTerm.locale: true +! Enable conversion between the locale and utf-8 if necessary. +!XTerm.ptyInitialErase: false +! Set the tty erase setting to match the terminfo/cap definition for +! this terminal type. +!XTerm.backarrowKeyIsErase: true +! Send the erase character when the backarrow key (a.k.a. backspace) +! is pressed. +XTerm.vt100.metaSendsEscape: true +! Send meta-characters as a two-byte sequence prefixed with ESCAPE. +! "XTerm.vt100.eightBitInput: false" is an alternative approach +! but metaSendsEscape has a menu option in the ctrl-button1 +! popup menu, allowing the user to turn it off if need be. The +! Linux console and most other terminal emulators do this by default. +XTerm.vt100.bellIsUrgent: true +! Enable urgency hit for Window managers. +XTerm.vt100.renderFont: false +! Use bitmap fonts by default.User can switch to ttyfonts from menu, +! if required. +XTerm.vt100.font: -*-terminus-bold-r-normal-*-20-*-*-*-*-*-iso10646-1 +XTerm.vt100.font1: -*-terminus-bold-r-normal-*-12-*-*-*-*-*-iso10646-1 +XTerm.vt100.font2: -*-terminus-bold-r-normal-*-14-*-*-*-*-*-iso10646-1 +XTerm.vt100.font3: -*-terminus-bold-r-normal-*-16-*-*-*-*-*-iso10646-1 +XTerm.vt100.font4: -*-terminus-bold-r-normal-*-20-*-*-*-*-*-iso10646-1 +XTerm.vt100.font5: -*-terminus-bold-r-normal-*-24-*-*-*-*-*-iso10646-1 +XTerm.vt100.font6: -*-terminus-bold-r-normal-*-32-*-*-*-*-*-iso10646-1 + +XTerm.vt100.faceName: monospace +XTerm.vt100.faceSize: 14.0 +XTerm*Background: rgb:00/00/00 +XTerm*Foreground: rgb:aa/aa/aa +XTerm*cursorUnderLine: true +XTerm*cursorBlink: true +XTerm*boldMode: false +XTerm*colorULMode: true +XTerm*colorUL: rgb:00/aa/aa +XTerm*colorBDMode: true +XTerm*colorBD: rgb:ff/ff/ff +! CGA 16-colour palatte: +XTerm*color0: rgb:00/00/00 +XTerm*color1: rgb:aa/00/00 +XTerm*color2: rgb:00/aa/00 +XTerm*color3: rgb:aa/55/00 +XTerm*color4: rgb:00/00/aa +XTerm*color5: rgb:aa/00/aa +XTerm*color6: rgb:00/aa/aa +XTerm*color7: rgb:aa/aa/aa +XTerm*color8: rgb:55/55/55 +XTerm*color9: rgb:ff/55/55 +XTerm*color10: rgb:55/ff/55 +XTerm*color11: rgb:ff/ff/55 +XTerm*color12: rgb:55/55/ff +XTerm*color13: rgb:ff/55/ff +XTerm*color14: rgb:55/ff/ff +XTerm*color15: rgb:ff/ff/ff + +XTerm*charClass: 45-47:48,58:48,64:48 + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/source/x/xterm/xterm.SlackBuild b/source/x/xterm/xterm.SlackBuild index 9085c7f9f..75eb0642c 100755 --- a/source/x/xterm/xterm.SlackBuild +++ b/source/x/xterm/xterm.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xterm VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -111,6 +111,13 @@ make install DESTDIR=$PKG || exit 1 mkdir -p $PKG/usr/share/applications cp xterm.desktop uxterm.desktop $PKG/usr/share/applications +# Install a default XTerm app-defaults that looks like the Linux console. +# Thanks to GazL. +mv $PKG/etc/X11/app-defaults/XTerm $PKG/etc/X11/app-defaults/XTerm.upstream.default +cp -a $CWD/linux-console-xterm.ad $PKG/etc/X11/app-defaults/XTerm +chown root:root $PKG/etc/X11/app-defaults/XTerm +chmod 644 $PKG/etc/X11/app-defaults/XTerm + # Strip binaries: find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |