Fri Jan 7 20:11:48 PST 2000 Michael Jennings <mej@eterm.org>

A patch from Sung-Hyun Nam <namsh@lgic.co.kr> to improve multi-byte
	font configuration in the default theme files.


SVN revision: 1870
This commit is contained in:
Michael Jennings 2000-01-07 15:51:22 +00:00
parent 0c66bab547
commit 653e879909
15 changed files with 224 additions and 188 deletions

View File

@ -3007,3 +3007,9 @@ Wed Jan 5 21:23:56 PST 2000 Michael Jennings <mej@eterm.org>
Copyright date updates. Copyright date updates.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Fri Jan 7 20:11:48 PST 2000 Michael Jennings <mej@eterm.org>
A patch from Sung-Hyun Nam <namsh@lgic.co.kr> to improve multi-byte
font configuration in the default theme files.
-------------------------------------------------------------------------------

View File

@ -345,72 +345,109 @@ AC_ARG_WITH(delete,
fi, AC_MSG_RESULT(default) fi, AC_MSG_RESULT(default)
AC_DEFINE_UNQUOTED(KS_DELETE, "\177") AC_DEFINE_UNQUOTED(KS_DELETE, "\177")
) )
MULTICHAR_ENCODING=""
AC_MSG_CHECKING(for multi-charset support) AC_MSG_CHECKING(for multi-charset support)
AC_ARG_ENABLE(multi-charset, AC_ARG_ENABLE(multi-charset,
[ --enable-multi-charset compile with multi-charset support], [ --enable-multi-charset compile with multi-charset support],
if test "$enableval" = "yes" -o "$enableval" = "kanji"; then if test "$enableval" = "yes" -o "$enableval" = "kanji"; then
AC_MSG_RESULT(kanji) AC_MSG_RESULT(kanji)
AC_DEFINE(MULTI_CHARSET) AC_DEFINE(MULTI_CHARSET)
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, 0) DEF_FONT_IDX=0
AC_DEFINE_UNQUOTED(MFONT0, "k14") MULTICHAR_ENCODING="eucj"
AC_DEFINE_UNQUOTED(MFONT1, "jiskan16") FONT0="fixed"
AC_DEFINE_UNQUOTED(MFONT2, "jiskan18") FONT1="8x16"
AC_DEFINE_UNQUOTED(MFONT3, "jiskan24") FONT2="9x18"
AC_DEFINE_UNQUOTED(MFONT4, "jiskan26") FONT3="12x24"
AC_DEFINE_UNQUOTED(FONT0, "fixed") FONT4="13x26"
AC_DEFINE_UNQUOTED(FONT1, "8x16") MFONT0="k14"
AC_DEFINE_UNQUOTED(FONT2, "9x18") MFONT1="jiskan16"
AC_DEFINE_UNQUOTED(FONT3, "12x24") MFONT2="jiskan18"
AC_DEFINE_UNQUOTED(FONT4, "13x26") MFONT3="jiskan24"
AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, "eucj") MFONT4="jiskan26"
elif test "$enableval" = "euc-kr" -o "$enableval" = "euckr"; then elif test "$enableval" = "euc-kr" -o "$enableval" = "euckr"; then
AC_MSG_RESULT(euckr) AC_MSG_RESULT(euckr)
AC_DEFINE(MULTI_CHARSET) AC_DEFINE(MULTI_CHARSET)
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, 1) DEF_FONT_IDX=1
AC_DEFINE_UNQUOTED(MFONT0, "-*-gulim-*-r-normal--14-*-*-*-*-140-ksc5601.1987-0") MULTICHAR_ENCODING="euckr"
AC_DEFINE_UNQUOTED(MFONT1, "-*-gulim-*-r-normal--16-*-*-*-*-160-ksc5601.1987-0") FONT0="7x14"
AC_DEFINE_UNQUOTED(MFONT2, "-*-gulim-*-r-normal--18-*-*-*-*-180-ksc5601.1987-0") FONT1="8x16"
AC_DEFINE_UNQUOTED(MFONT3, "-*-gulim-*-r-normal--20-*-*-*-*-200-ksc5601.1987-0") FONT2="9x18"
AC_DEFINE_UNQUOTED(MFONT4, "-*-gulim-*-r-normal--24-*-*-*-*-240-ksc5601.1987-0") FONT3="10x20"
AC_DEFINE_UNQUOTED(FONT0, "7x14") FONT4="12x24"
AC_DEFINE_UNQUOTED(FONT1, "8x16") MFONT0="-*-gulim-medium-r-normal--14-*-*-*-*-140-ksc5601.1987-0"
AC_DEFINE_UNQUOTED(FONT2, "9x18") MFONT1="-*-gulim-medium-r-normal--16-*-*-*-*-160-ksc5601.1987-0"
AC_DEFINE_UNQUOTED(FONT3, "10x20") MFONT2="-*-gulim-medium-r-normal--18-*-*-*-*-180-ksc5601.1987-0"
AC_DEFINE_UNQUOTED(FONT4, "12x24") MFONT3="-*-gulim-medium-r-normal--20-*-*-*-*-200-ksc5601.1987-0"
AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, "euckr") MFONT4="-*-gulim-medium-r-normal--24-*-*-*-*-240-ksc5601.1987-0"
elif test "$enableval" = "utf-8" -o "$enableval" = "utf8"; then elif test "$enableval" = "utf-8" -o "$enableval" = "utf8"; then
AC_MSG_RESULT(utf-8) AC_MSG_RESULT(utf-8)
AC_DEFINE(MULTI_CHARSET) AC_DEFINE(MULTI_CHARSET)
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, 2) DEF_FONT_IDX=2
AC_DEFINE_UNQUOTED(MFONT0, "-misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1") MULTICHAR_ENCODING="utf8"
AC_DEFINE_UNQUOTED(MFONT1, "-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1") MFONT0="-misc-fixed-medium-r-normal--7-70-75-75-c-50-iso10646-1"
AC_DEFINE_UNQUOTED(MFONT2, "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1") MFONT1="-misc-fixed-medium-r-normal--10-100-75-75-c-60-iso10646-1"
AC_DEFINE_UNQUOTED(MFONT3, "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1") MFONT2="-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
AC_DEFINE_UNQUOTED(MFONT4, "-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1") MFONT3="-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1"
AC_DEFINE_UNQUOTED(FONT0, "5x7") MFONT4="-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1"
AC_DEFINE_UNQUOTED(FONT1, "6x10") FONT0="5x7"
AC_DEFINE_UNQUOTED(FONT2, "fixed") FONT1="6x10"
AC_DEFINE_UNQUOTED(FONT3, "8x13") FONT2="fixed"
AC_DEFINE_UNQUOTED(FONT4, "9x15") FONT3="8x13"
AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, "utf8") FONT4="9x15"
elif test "$enableval" = "no"; then elif test "$enableval" = "no"; then
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, 2) DEF_FONT_IDX=2
AC_DEFINE_UNQUOTED(FONT0, "5x7") FONT0="5x7"
AC_DEFINE_UNQUOTED(FONT1, "6x10") FONT1="6x10"
AC_DEFINE_UNQUOTED(FONT2, "fixed") FONT2="fixed"
AC_DEFINE_UNQUOTED(FONT3, "8x13") FONT3="8x13"
AC_DEFINE_UNQUOTED(FONT4, "9x15") FONT4="9x15"
else else
AC_ERROR(invalid value for --enable-multi-charset) AC_ERROR(invalid value for --enable-multi-charset)
fi, AC_MSG_RESULT(no) fi, AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, 2) DEF_FONT_IDX=2
AC_DEFINE_UNQUOTED(FONT0, "5x7") MULTICHAR_ENCODING=none
AC_DEFINE_UNQUOTED(FONT1, "6x10") MFONT0=none
AC_DEFINE_UNQUOTED(FONT2, "fixed") MFONT1=none
AC_DEFINE_UNQUOTED(FONT3, "8x13") MFONT2=none
AC_DEFINE_UNQUOTED(FONT4, "9x15") MFONT3=none
MFONT4=none
FONT0="5x7"
FONT1="6x10"
FONT2="fixed"
FONT3="8x13"
FONT4="9x15"
) )
AC_DEFINE_UNQUOTED(DEF_FONT_IDX, $DEF_FONT_IDX)
AC_DEFINE_UNQUOTED(FONT0, "$FONT0")
AC_DEFINE_UNQUOTED(FONT1, "$FONT1")
AC_DEFINE_UNQUOTED(FONT2, "$FONT2")
AC_DEFINE_UNQUOTED(FONT3, "$FONT3")
AC_DEFINE_UNQUOTED(FONT4, "$FONT4")
AC_SUBST(DEF_FONT_IDX)
AC_SUBST(FONT0)
AC_SUBST(FONT1)
AC_SUBST(FONT2)
AC_SUBST(FONT3)
AC_SUBST(FONT4)
AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, "$MULTICHAR_ENCODING")
AC_DEFINE_UNQUOTED(MFONT0, "$MFONT0")
AC_DEFINE_UNQUOTED(MFONT1, "$MFONT1")
AC_DEFINE_UNQUOTED(MFONT2, "$MFONT2")
AC_DEFINE_UNQUOTED(MFONT3, "$MFONT3")
AC_DEFINE_UNQUOTED(MFONT4, "$MFONT4")
AC_SUBST(MULTICHAR_ENCODING)
AC_SUBST(MFONT0)
AC_SUBST(MFONT1)
AC_SUBST(MFONT2)
AC_SUBST(MFONT3)
AC_SUBST(MFONT4)
PKGDATADIR=`eval echo "${datadir}/$PACKAGE"`
AC_SUBST(PKGDATADIR)
AC_MSG_CHECKING(for XIM support) AC_MSG_CHECKING(for XIM support)
AC_ARG_ENABLE(xim, AC_ARG_ENABLE(xim,
[ --enable-xim compile with XIM support], [ --enable-xim compile with XIM support],
@ -627,6 +664,14 @@ pix/Makefile \
src/Makefile \ src/Makefile \
themes/Makefile \ themes/Makefile \
Eterm.spec \ Eterm.spec \
themes/Eterm/theme.cfg
themes/auto/theme.cfg
themes/cEterm/theme.cfg
themes/chooser/theme.cfg
themes/emacs/theme.cfg
themes/irc/theme.cfg
themes/mutt/theme.cfg
themes/trans/theme.cfg
) )
dnl If we're not building with Imlib support, don't build Esetroot dnl If we're not building with Imlib support, don't build Esetroot

View File

@ -2533,13 +2533,13 @@ tt_write(const unsigned char *buf, unsigned int count)
* Only use for small ammounts of data. * Only use for small ammounts of data.
*/ */
void void
tt_printf(const unsigned char *fmt,...) tt_printf(const unsigned char *fmt, ...)
{ {
static unsigned char buf[256]; static unsigned char buf[256];
va_list arg_ptr; va_list arg_ptr;
va_start(arg_ptr, fmt); va_start(arg_ptr, fmt);
vsprintf((char *) buf, (char *) fmt, arg_ptr); vsnprintf((char *) buf, sizeof(buf), (char *) fmt, arg_ptr);
va_end(arg_ptr); va_end(arg_ptr);
tt_write(buf, strlen((char *) buf)); tt_write(buf, strlen((char *) buf));
} }
@ -2649,7 +2649,7 @@ v_writeBig(int f, char *d, int len)
if (v_bufstr == NULL && len > 0) { if (v_bufstr == NULL && len > 0) {
v_buffer = malloc(len); v_buffer = MALLOC(len);
v_bufstr = v_buffer; v_bufstr = v_buffer;
v_bufptr = v_buffer; v_bufptr = v_buffer;
v_bufend = v_buffer + len; v_bufend = v_buffer + len;
@ -2679,7 +2679,7 @@ v_writeBig(int f, char *d, int len)
/* Don't use XtRealloc because an error is not fatal. */ /* Don't use XtRealloc because an error is not fatal. */
int size = v_bufptr - v_buffer; /* save across realloc */ int size = v_bufptr - v_buffer; /* save across realloc */
v_buffer = realloc(v_buffer, size + len); v_buffer = REALLOC(v_buffer, size + len);
if (v_buffer) { if (v_buffer) {
v_bufstr = v_buffer; v_bufstr = v_buffer;
v_bufptr = v_buffer + size; v_bufptr = v_buffer + size;
@ -2732,7 +2732,7 @@ v_writeBig(int f, char *d, int len)
int size = v_bufptr - v_buffer; int size = v_bufptr - v_buffer;
int allocsize = size ? size : 1; int allocsize = size ? size : 1;
v_buffer = realloc(v_buffer, allocsize); v_buffer = REALLOC(v_buffer, allocsize);
if (v_buffer) { if (v_buffer) {
v_bufstr = v_buffer + start; v_bufstr = v_buffer + start;
v_bufptr = v_buffer + size; v_bufptr = v_buffer + size;

View File

@ -169,9 +169,9 @@ kstate_end(void)
int i; int i;
for (i = 0; i < pStateNow->num_xlat; i++) for (i = 0; i < pStateNow->num_xlat; i++)
free(pStateNow->xlat[i].pval); FREE(pStateNow->xlat[i].pval);
if (pStateNow->num_xlat > 0) if (pStateNow->num_xlat > 0)
free(pStateNow->xlat); FREE(pStateNow->xlat);
} }
/* /*
@ -246,22 +246,22 @@ kstate_add_xlat(char *str)
return; return;
/* add a new xlat table in state */ /* add a new xlat table in state */
if (pStateNow->num_xlat == 0) { if (pStateNow->num_xlat == 0) {
pStateNow->xlat = malloc(sizeof(K_XLAT)); pStateNow->xlat = MALLOC(sizeof(K_XLAT));
} else /* prefer contiguous data, realloc */ } else /* prefer contiguous data, realloc */
pStateNow->xlat = realloc(pStateNow->xlat, (pStateNow->num_xlat + 1) * sizeof(K_XLAT)); pStateNow->xlat = REALLOC(pStateNow->xlat, (pStateNow->num_xlat + 1) * sizeof(K_XLAT));
xlat = &pStateNow->xlat[pStateNow->num_xlat]; xlat = &pStateNow->xlat[pStateNow->num_xlat];
/* parse str and derive first, last, values */ /* parse str and derive first, last, values */
xlat->first = (u_int) atoi(strtok(str, "-")); xlat->first = (u_int) atoi(strtok(str, "-"));
xlat->last = (u_int) atoi(strtok(NULL, ":")); xlat->last = (u_int) atoi(strtok(NULL, ":"));
i = 0; i = 0;
pval_tmp = calloc(MAX_VAL, sizeof(K_XLAT)); pval_tmp = CALLOC(MAX_VAL, sizeof(K_XLAT));
while ((sval = strtok(NULL, ",")) != NULL) { while ((sval = strtok(NULL, ",")) != NULL) {
pval_tmp[i++] = (u_int) (atoi(sval)); pval_tmp[i++] = (u_int) (atoi(sval));
} }
xlat->pval = calloc(i, sizeof(K_XLAT)); xlat->pval = CALLOC(i, sizeof(K_XLAT));
if (xlat->pval != NULL) if (xlat->pval != NULL)
memcpy(xlat->pval, pval_tmp, i * sizeof(u_int)); memcpy(xlat->pval, pval_tmp, i * sizeof(u_int));
free(pval_tmp); FREE(pval_tmp);
pStateNow->num_xlat++; pStateNow->num_xlat++;
} }

View File

@ -955,7 +955,7 @@ get_options(int argc, char *argv[])
register unsigned short k, len = argc - i; register unsigned short k, len = argc - i;
rs_execArgs = (char **) malloc(sizeof(char *) * (argc - i + 1)); rs_execArgs = (char **) MALLOC(sizeof(char *) * (argc - i + 1));
for (k = 0; k < len; k++) { for (k = 0; k < len; k++) {
rs_execArgs[k] = StrDup(argv[k + i]); rs_execArgs[k] = StrDup(argv[k + i]);
@ -967,7 +967,7 @@ get_options(int argc, char *argv[])
register unsigned short k; register unsigned short k;
rs_execArgs = (char **) malloc(sizeof(char *) * (NumWords(val_ptr) + 1)); rs_execArgs = (char **) MALLOC(sizeof(char *) * (NumWords(val_ptr) + 1));
for (k = 0; val_ptr; k++) { for (k = 0; val_ptr; k++) {
rs_execArgs[k] = Word(1, val_ptr); rs_execArgs[k] = Word(1, val_ptr);
@ -1075,7 +1075,7 @@ get_options(int argc, char *argv[])
k = i + 1; k = i + 1;
} }
D_OPTIONS(("len == %d k == %d\n", len, k)); D_OPTIONS(("len == %d k == %d\n", len, k));
rs_execArgs = (char **) malloc(sizeof(char *) * len); rs_execArgs = (char **) MALLOC(sizeof(char *) * len);
if (k == i) { if (k == i) {
rs_execArgs[0] = StrDup((char *) (val_ptr)); rs_execArgs[0] = StrDup((char *) (val_ptr));
@ -2051,7 +2051,7 @@ parse_keyboard(char *buff)
len = 255; /* We can only handle lengths that will fit in a char */ len = 255; /* We can only handle lengths that will fit in a char */
if (len && KeySym_map[sym] == NULL) { if (len && KeySym_map[sym] == NULL) {
char *p = malloc(len + 1); char *p = MALLOC(len + 1);
*p = len; *p = len;
strncpy(p + 1, str, len); strncpy(p + 1, str, len);
@ -2209,7 +2209,7 @@ parse_misc(char *buff)
Options |= Opt_exec; Options |= Opt_exec;
RESET_AND_ASSIGN(rs_execArgs, (char **) malloc(sizeof(char *) * ((n = NumWords(PWord(2, buff))) + 1))); RESET_AND_ASSIGN(rs_execArgs, (char **) MALLOC(sizeof(char *) * ((n = NumWords(PWord(2, buff))) + 1)));
for (k = 0; k < n; k++) { for (k = 0; k < n; k++) {
rs_execArgs[k] = Word(k + 2, buff); rs_execArgs[k] = Word(k + 2, buff);
@ -3417,11 +3417,11 @@ post_parse(void)
h = strtol(h1, (char **) NULL, 0); h = strtol(h1, (char **) NULL, 0);
if (w || h) { if (w || h) {
rs_anim_pixmaps[i] = Word(3, temp); rs_anim_pixmaps[i] = Word(3, temp);
rs_anim_pixmaps[i] = (char *) realloc(rs_anim_pixmaps[i], strlen(rs_anim_pixmaps[i]) + 9); rs_anim_pixmaps[i] = (char *) REALLOC(rs_anim_pixmaps[i], strlen(rs_anim_pixmaps[i]) + 9);
strcat(rs_anim_pixmaps[i], "@100x100"); strcat(rs_anim_pixmaps[i], "@100x100");
} else { } else {
rs_anim_pixmaps[i] = Word(3, temp); rs_anim_pixmaps[i] = Word(3, temp);
rs_anim_pixmaps[i] = (char *) realloc(rs_anim_pixmaps[i], strlen(rs_anim_pixmaps[i]) + 5); rs_anim_pixmaps[i] = (char *) REALLOC(rs_anim_pixmaps[i], strlen(rs_anim_pixmaps[i]) + 5);
strcat(rs_anim_pixmaps[i], "@0x0"); strcat(rs_anim_pixmaps[i], "@0x0");
} }
FREE(temp); FREE(temp);

View File

@ -1000,7 +1000,7 @@ process_csi_seq(void)
break; break;
#if defined (ENABLE_DISPLAY_ANSWER) #if defined (ENABLE_DISPLAY_ANSWER)
case 7: case 7:
tt_printf((unsigned char *) "%s\n", display_name); tt_write((unsigned char *) display_name, strlen(display_name));
break; break;
#endif #endif
case 8: case 8:
@ -1532,7 +1532,7 @@ set_colorfgbg(void)
int fg = -1, bg = -1; int fg = -1, bg = -1;
if (!colorfgbg_env) { if (!colorfgbg_env) {
colorfgbg_env = (char *) malloc(30); colorfgbg_env = (char *) MALLOC(30);
strcpy(colorfgbg_env, "COLORFGBG=default;default;bg"); strcpy(colorfgbg_env, "COLORFGBG=default;default;bg");
} }
for (i = BlackColor; i <= WhiteColor; i++) { for (i = BlackColor; i <= WhiteColor; i++) {

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -6,13 +6,6 @@ EXTRA_DIST = Eterm/theme.cfg.in irc/theme.cfg.in chooser/theme.cfg.in emacs/them
Eterm/menus.cfg irc/menus.cfg chooser/menus.cfg emacs/menus.cfg mutt/menus.cfg trans/menus.cfg \ Eterm/menus.cfg irc/menus.cfg chooser/menus.cfg emacs/menus.cfg mutt/menus.cfg trans/menus.cfg \
cEterm/menus.cfg cEterm/theme.cfg.in auto/menus.cfg auto/theme.cfg.in cEterm/menus.cfg cEterm/theme.cfg.in auto/menus.cfg auto/theme.cfg.in
all: Makefile
-@for i in $(THEMES) ; do \
echo "Generating theme config file for the $$i theme." ; \
$(SED) -e 's%@''PREFIX''@%${prefix}%g' -e 's%@''PKGDATADIR''@%${DESTDIR}${pkgdatadir}%g' -e 's%@''THEME''@%'$$i'%g' \
$(srcdir)/$$i/theme.cfg.in > $(srcdir)/$$i/theme.cfg ; \
done
install-data-hook: install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/themes $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/themes
-@for i in $(THEMES) ; do \ -@for i in $(THEMES) ; do \

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -81,12 +80,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -96,12 +95,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 shine font 2 @FONT2@
font 3 nexus font 3 @FONT3@
font 4 fixed font 4 @FONT4@
font 5 8x13 font 5 8x13
font 6 9x15 font 6 9x15
font 7 10x20 font 7 10x20
@ -99,12 +98,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.

View File

@ -4,8 +4,7 @@
# the version it was written for, # the version it was written for,
# minus the "DR-" if any. # minus the "DR-" if any.
# #
# This is a sample Eterm config file. It should be placed in # This is a sample Eterm config file.
# ~/.Eterm/themes/@THEME@/MAIN and modified to suit your needs
# #
# As always, the authors guarantee absolutely nothing and take # As always, the authors guarantee absolutely nothing and take
# no responsibility for anything that might happen to you, your # no responsibility for anything that might happen to you, your
@ -82,12 +81,12 @@ begin main
# the Eterm defaults. The "bold" font is the font used if color BD has # the Eterm defaults. The "bold" font is the font used if color BD has
# not been set and Eterm cannot map the foreground color to one of the # not been set and Eterm cannot map the foreground color to one of the
# high-intensity colors (8-15). # high-intensity colors (8-15).
font default 2 font default @DEF_FONT_IDX@
font 0 5x7 font 0 @FONT0@
font 1 6x10 font 1 @FONT1@
font 2 fixed font 2 @FONT2@
font 3 8x13 font 3 @FONT3@
font 4 9x15 font 4 @FONT4@
font 5 10x20 font 5 10x20
font 6 12x24 font 6 12x24
# font bold 7x14 # font bold 7x14
@ -97,12 +96,12 @@ begin main
# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr" # ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
# or big5 or gb # or big5 or gb
# begin multichar # begin multichar
# font 0 k14 # font 0 @MFONT0@
# font 1 jiskan16 # font 1 @MFONT1@
# font 2 jiskan18 # font 2 @MFONT2@
# font 3 jiskan24 # font 3 @MFONT3@
# font 4 jiskan26 # font 4 @MFONT4@
# encoding eucj # encoding @MULTICHAR_ENCODING@
# end multichar # end multichar
# Define the imageclasses. # Define the imageclasses.