#!/bin/sh
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# 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, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Copyright (C) 2008  Wen-Yen Chuang <caleb AT calno DOT com>
#

if [ "$1" = "-v" ]; then
  SHOWVTE_VERSION=`grep ^echo $0 | cut -d : -f 1 | cut -d ' ' -f 5`
  echo showvte, version $SHOWVTE_VERSION
  exit
fi

echo Configuration of evilvte 0.4.3:
grep ^#define $0 | sed -e 's/TRUE/[1m[32mTRUE[m/' -e 's/FALSE/[1m[31mFALSE[m/'
#define BACKGROUND_IMAGE ".config/evilvte/background.png"
#define COMMAND_EXEC_PROGRAM TRUE 
#define COMMAND_SHOW_OPTIONS TRUE 
#define COMMAND_SHOW_VERSION TRUE 
#define SCROLLBAR_RIGHT TRUE
#define SHOW_WINDOW_ICON TRUE
#define SHOW_WINDOW_TITLE TRUE
#define STATUS_BAR TRUE
#define WORD_CHARS "-A-Za-z0-9_$.+!*(),;:@&=?/~#%"
#define MENU TRUE
#define TAB TRUE
#define CTRL TRUE
#define CTRL_TAB_ADD (event->keyval == GDK_T)
#define CTRL_TAB_REMOVE (event->keyval == GDK_W)
#define CTRL_TAB_PREVIOUS (event->keyval == GDK_Page_Up)
#define CTRL_TAB_NEXT (event->keyval == GDK_Page_Down)
#define BUTTON_ORDER_BY_RCFILE TRUE
#define CLOSE_DIALOG TRUE
#define MOUSE_CTRL_SATURATION TRUE
#define SCROLL_LINES 1000
#define SHOW_WINDOW_BORDER FALSE
#define MENU_ENCODING_LIST "Default Encoding", "UTF-8", "EUC-JP", "EUC-KR", "GBK", "BIG-5"
#define MENU_MATCH_STRING_EXEC "x-www-browser"
#define MENU_CUSTOM "Copy", "Paste", "Select_all", "Separator", "Add tab", "Remove tab", "Edit label", "Separator", "Toggle background", "Toggle tabbar", "Toggle scrollbar", "Toggle status bar", "Toggle anti-alias", "Toggle window decorated", "Separator", "Select font", "Reset terminal", "Adjust saturation", "Background tint", "Submenu encoding list", "Submenu input method"
#define TAB_BORDER 0
#define TAB_EXPANDED_WIDTH TRUE
#define TAB_NEW_PATH_EQUAL_OLD TRUE
#define TAB_SHOW_INFO_AT_TITLE TRUE
#define TABBAR_AUTOHIDE TRUE
#define TABBAR_SCROLLABLE TRUE
#define TOGGLE_BG_ORDER "Image", "Transparent", "No background"
