• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂038d6146928c1280523e44723d278671d669e538 (tree)
時間2012-03-04 11:31:32
作者matsuand <matsuand@user...>
Commitermatsuand

Log Message

[BLFS] Added xterm.

Change Summary

差異

--- /dev/null
+++ b/BLFS/Xorg/xterm.sh
@@ -0,0 +1,55 @@
1+#!/bin/sh
2+
3+VER=276
4+TARGET=xterm-$VER
5+TARGETBALL=$TARGET.tgz
6+TARGETDIR=$TARGET
7+
8+. ../_blfsset.sh
9+. ./_xorgset.sh
10+
11+cd $SRC
12+
13+echo $TARGET
14+
15+echo \ \ Removing old directory...
16+rm -fr $TARGETDIR
17+
18+. $WRK/_extract.sh
19+
20+cd $TARGETDIR
21+
22+sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap
23+echo -e '\tkbs=\\177,' >>terminfo
24+
25+echo \ \ Configuring...
26+TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
27+ --enable-luit --enable-wide-chars \
28+ --with-app-defaults=/etc/X11/app-defaults \
29+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
30+
31+echo \ \ Making...
32+make \
33+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
34+
35+echo \ \ Installing...
36+paco -p $TARGET 'make install' \
37+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
38+paco -p+ $TARGET 'make install-ti'
39+ 1> $LOG/$TARGET.4_install.log 2>&1 || exit 1
40+
41+paco -p+ $TARGET "\
42+cat >> /etc/X11/app-defaults/XTerm << "EOF"
43+*VT100*locale: true
44+*VT100*faceName: Monospace
45+*VT100*faceSize: 10
46+*backarrowKeyIsErase: true
47+*ptyInitialErase: true
48+EOF
49+"
50+
51+echo -n \ \ Pacoing:\ && paco -a1 | grep $TARGET || echo none
52+
53+echo \ \ Removing directory...
54+cd .. && rm -fr $TARGETDIR
55+