From f3d3e6694e9c345c68f02323578a2ec026f848c0 Mon Sep 17 00:00:00 2001 From: kyak Date: Mon, 14 Feb 2011 22:03:43 +0300 Subject: [PATCH] fbterm: install .fbtermrc (should fix long first start) --- fbterm/Makefile | 10 +++++++++- fbterm/files/fbtermrc | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 fbterm/files/fbtermrc diff --git a/fbterm/Makefile b/fbterm/Makefile index 7452abf..f4f6e2b 100644 --- a/fbterm/Makefile +++ b/fbterm/Makefile @@ -33,12 +33,20 @@ TARGET_LDFLAGS+= \ define Package/fbterm/install $(INSTALL_DIR) \ - $(1)/usr/bin + $(1)/usr/bin $(1)/usr/share/fbterm $(INSTALL_BIN) \ $(PKG_BUILD_DIR)/src/fbterm \ $(1)/usr/bin/fbterm + $(INSTALL_DATA) \ + $(FILES_DIR)/fbtermrc \ + $(1)/usr/share/fbterm +endef + +define Package/fbterm/postinst +#! /bin/sh +cp $${IPKG_INSTROOT}/usr/share/fbterm/fbtermrc $${IPKG_INSTROOT}/root/.fbtermrc endef $(eval $(call BuildPackage,fbterm)) diff --git a/fbterm/files/fbtermrc b/fbterm/files/fbtermrc new file mode 100644 index 0000000..a9c326c --- /dev/null +++ b/fbterm/files/fbtermrc @@ -0,0 +1,41 @@ +# Configuration for FbTerm + +# Lines starting with '#' are ignored. +# Note that end-of-line comments are NOT supported, comments must be on a line of their own. + + +# font family names/pixelsize used by fbterm, multiple font family names must be seperated by ',' +# and using a fixed width font as the first is strongly recommended +font-names=mono +font-size=10 + +# force font width, usually for non-fixed width fonts +# legal value format: n (fw_new = n), +n (fw_new = fw_old + n), -n (fw_new = fw_old - n) +#font-width= + +# default color of foreground/background text +# available colors: 0 = black, 1 = red, 2 = green, 3 = brown, 4 = blue, 5 = magenta, 6 = cyan, 7 = white +color-foreground=7 +color-background=0 + +# max scroll-back history lines of every window, value must be [0 - 65535], 0 means disable it +history-lines=1000 + +# up to 5 additional text encodings, multiple encodings must be seperated by ',' +# run 'iconv --list' to get available encodings. +text-encodings= + +# cursor shape: 0 = underline, 1 = block +# cursor flash interval in milliseconds, 0 means disable flashing +cursor-shape=0 +cursor-interval=500 + +# additional ascii chars considered as part of a word while auto-selecting text, except ' ', 0-9, a-z, A-Z +word-chars=._- + +# change the clockwise orientation angle of screen display +# available values: 0 = 0 degree, 1 = 90 degrees, 2 = 180 degrees, 3 = 270 degrees +screen-rotate=0 + +# specify the favorite input method program to run +input-method=