Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xterm build options

Since a long while there is a build option removed from xterm which is
really useful. And it used to be included. That is the option to change
font size via the keyboard (not needing the menu, using
shift-keypad-plus and minus). It used to be included but apparently
somebody decided to drop it.

Below is my personal preference for adjusting options. It adds 256
colour mode and termcap queries too but it drops TEK mode and VT52 mode.
I personally have never needed those (as opposed to the shift fonts

Index: Makefile
RCS file: /cvsroot/src/x11/bin/xterm/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile    4 Feb 2010 12:54:55 -0000       1.11
+++ Makefile    25 Jan 2013 23:47:29 -0000
@@ -5,8 +5,9 @@
 PROG=  xterm
 SRCS=  button.c charproc.c charsets.c cursor.c data.c doublechr.c \
        fontutils.c input.c menu.c misc.c print.c ptydata.c screen.c \
-       scrollbar.c tabs.c util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c \
+       scrollbar.c tabs.c util.c xstrings.c TekPrsTbl.c VTPrsTbl.c \
        main.c charclass.c precompose.c wcwidth.c xutf8.c
+#SRCS+=  Tekproc.c
 CPPFLAGS+=     -I${X11SRCDIR.xc}/programs/xterm \
                -I${DESTDIR}${X11INCDIR}/freetype2 \
@@ -14,6 +15,15 @@
                -DXRENDERFONT -DXFREE86_FT2 -DOPT_PASTE64 \
+CPPFLAGS+=     -DOPT_TEK4014=0
+# Eliminating VT52 mode changes the char sequence for F1..F4:
+# instead of ESC O P, ESC O Q  (etc) it becomes ESC [ 11 ~ (etc).
+# (fixed now)
+CPPFLAGS+=     -DOPT_TCAP_QUERY=1      #  DCS +q

___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/    -- 'this bath is too hot.'

Home | Main Index | Thread Index | Old Index