Skip to content

Commit edad4af

Browse files
committed
snapshot of project "xterm", label xterm-167
1 parent 94177d7 commit edad4af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+19058
-17589
lines changed

INSTALL

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- $XFree86: xc/programs/xterm/INSTALL,v 3.25 2001/11/23 19:50:46 dawes Exp $
1+
-- $XFree86: xc/programs/xterm/INSTALL,v 3.26 2002/08/17 19:52:25 dickey Exp $
22
-- Thomas E. Dickey
33

44
Xterm is normally built as part of the X Window System source tree, using
@@ -231,6 +231,15 @@ The options (in alphabetic order):
231231
Logging was disabled in X11R5 xterm because of security problems.
232232
They were addressed in X11R6, but the feature was not reinstated.
233233

234+
--enable-luit enable support for luit filter (Unicode translation)
235+
236+
Luit is a filter that can be run between an arbitrary application and a
237+
UTF-8 terminal emulator. It will convert application output from the
238+
locale's encoding into UTF-8, and convert terminal input from UTF-8
239+
into the locale's encoding.
240+
241+
This sets "--enable-wide-chars" as a side-effect.
242+
234243
--enable-sco-fkeys enable support for SCO-style function keys
235244

236245
Compile-in code to support SCO-style function keys.

Imakefile

+23-11
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ XCOMM Xterm assumes that bcopy can handle overlapping arguments. If your
77
XCOMM bcopy (or memcpy) cannot, write a routine called bcopy and link it in
88
XCOMM or add -Dbcopy=mybcopy to the DEFINES list below.
99
XCOMM
10-
XCOMM $XFree86: xc/programs/xterm/Imakefile,v 3.41 2002/02/15 07:36:21 keithp Exp $
10+
XCOMM $XFree86: xc/programs/xterm/Imakefile,v 3.46 2002/08/17 19:52:25 dickey Exp $
1111
XCOMM
1212

1313
/* Uncomment SCROLLBAR_RIGHT if you want the scroll bar to be on the right */
@@ -57,7 +57,7 @@ module.o: ; $(CC) -c defines $(CFLAGS) module.c
5757
PTYLIB = -lpucc
5858
#endif
5959

60-
#if ((LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1))
60+
#if ((LinuxCLibMajorVersion == 6) && (LinuxCLibMinorVersion < 1)) || defined(NetBSDArchitecture) || defined(OpenBSDArchitecture)
6161
PTYLIB = -lutil
6262
#endif
6363

@@ -91,7 +91,7 @@ module.o: ; $(CC) -c defines $(CFLAGS) module.c
9191
#endif
9292

9393
#ifdef UTF8support
94-
UTF8_OPTION = -DOPT_WIDE_CHARS
94+
UTF8_OPTION = -DOPT_WIDE_CHARS -DOPT_LUIT_PROG
9595
UTF8SRC = charclass.c precompose.c wcwidth.c xutf8.c
9696
UTF8OBJ = charclass.o precompose.o wcwidth.o xutf8.o
9797
#endif
@@ -104,34 +104,41 @@ module.o: ; $(CC) -c defines $(CFLAGS) module.c
104104
XRFDEPLIBS = XftClientDepLibs $(DEPXRENDERLIB)
105105
XRFINCLUDES = $(XFTINCLUDES)
106106
#endif
107-
107+
#ifdef TraceXTerm
108+
TRACEDEF = -DOPT_TRACE=1
109+
#endif
108110
MAIN_DEFINES = $(UTMPDEF) $(TTYGROUPDEF) $(PUCCPTYDDEF) $(NOPOSIXTERMIOS) \
109111
-DOSMAJORVERSION=$(OSMAJORVERSION) \
110112
-DOSMINORVERSION=$(OSMINORVERSION)
111113
MISC_DEFINES = /* -DALLOWLOGGING -DALLOWLOGFILEEXEC */
112114
XKB_DEFINES = XkbClientDefines
113-
DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF)
115+
PATH_DEFINES = -DPROJECTROOT=$(PROJECTROOT)
116+
DEFINES = -I. $(XKB_DEFINES) $(TERMCAPDEFINES) $(FEATURE_DEFINES) $(SCROLLBAR_RIGHT) $(UTF8_OPTION) $(XRFDEF) $(PATH_DEFINES) $(TRACEDEF)
114117
INCLUDES = $(XRFINCLUDES)
115118

116119
#ifdef OS2Architecture
117-
MAINSRC = os2main.c
118-
MAINOBJ = os2main.o
120+
MAINSRC = os2main.c
121+
MAINOBJ = os2main.o
119122
#else
120-
MAINSRC = main.c
121-
MAINOBJ = main.o
123+
MAINSRC = main.c
124+
MAINOBJ = main.o
125+
#endif
126+
#ifdef TraceXTerm
127+
TRACESRC = trace.c
128+
TRACEOBJ = trace.o
122129
#endif
123130
SRCS1 = button.c charproc.c charsets.c cursor.c \
124131
data.c doublechr.c fontutils.c input.c \
125132
menu.c misc.c print.c ptydata.c \
126133
screen.c scrollbar.c tabs.c util.c xstrings.c \
127134
TekPrsTbl.c Tekproc.c VTPrsTbl.c \
128-
$(MAINSRC) $(EXTRASRC) $(UTF8SRC)
135+
$(MAINSRC) $(EXTRASRC) $(UTF8SRC) $(TRACESRC)
129136
OBJS1 = button.o charproc.o charsets.o cursor.o \
130137
data.o doublechr.o fontutils.o input.o \
131138
menu.o misc.o print.o ptydata.o \
132139
screen.o scrollbar.o tabs.o util.o xstrings.o \
133140
TekPrsTbl.o Tekproc.o VTPrsTbl.o \
134-
$(MAINOBJ) $(EXTRAOBJ) $(UTF8OBJ)
141+
$(MAINOBJ) $(EXTRAOBJ) $(UTF8OBJ) $(TRACEOBJ)
135142
SRCS2 = resize.c xstrings.c
136143
OBJS2 = resize.o xstrings.o
137144
SRCS = $(SRCS1) $(SRCS2)
@@ -168,6 +175,11 @@ SetUIDProgramTarget(xterm,$(OBJS1),$(DEPLIBS1),$(XRFLIBS) XkbClientLibs XawClien
168175
NormalProgramTarget(xterm,$(OBJS1),$(DEPLIBS1),$(XRFLIBS) XkbClientLibs XawClientLibs,$(TERMCAPLIB) $(UTMPLIB) $(PTYLIB))
169176
#endif
170177

178+
#if defined(OpenBSDArchitecture)
179+
/* On OpenBSD xterm is now setgid utmp */
180+
INSTUIDFLAGS= -m 6755 -g utmp
181+
#endif
182+
171183
#if InstallXtermSetUID && defined(SunArchitecture) && HasSharedLibraries && (OSMajorVersion < 5)
172184
#if AlternateUsrLibDir
173185
#if ((OSMajorVersion == 4) && (OSMinorVersion >= 1))

MANIFEST

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MANIFEST for xterm, version xterm-166
1+
MANIFEST for xterm, version xterm-167
22
--------------------------------------------------------------------------------
33
MANIFEST this file
44
256colres.h resource-definitions for 256-color mode

0 commit comments

Comments
 (0)