Update to xterm 267. Tested by shadchin@, jasper@, ajacoutot@.
This commit is contained in:
parent
d79610bc0e
commit
cbc29667e5
@ -1,4 +1,4 @@
|
||||
MANIFEST for xterm-264, version xterm-264
|
||||
MANIFEST for xterm-267, version xterm-267
|
||||
--------------------------------------------------------------------------------
|
||||
MANIFEST this file
|
||||
256colres.h resource-definitions for 256-color mode
|
||||
@ -115,6 +115,21 @@ icons/xterm_32x32.xcf gimp file, for editing 32x32 icon
|
||||
icons/xterm_32x32.xpm 32x32 monochrome icon
|
||||
icons/xterm_48x48.xcf gimp file, for editing 48x48 icon
|
||||
icons/xterm_48x48.xpm 48x48 monochrome icon
|
||||
package/debian subdirectory
|
||||
package/debian/changelog build-script
|
||||
package/debian/color.sed build-script
|
||||
package/debian/compat build-script
|
||||
package/debian/control build-script
|
||||
package/debian/copyright build-script
|
||||
package/debian/rules build-script
|
||||
package/debian/source subdirectory
|
||||
package/debian/source/format build-script
|
||||
package/debian subdirectory
|
||||
package/debian/watch build-script
|
||||
package/debian/xterm-dev.docs build-script
|
||||
package/debian/xterm-xres.sed build-script
|
||||
package subdirectory
|
||||
package/xterm.spec build-script
|
||||
tektests subdirectory
|
||||
tektests/aitest.tek tek4014 demo: draw a globe
|
||||
tektests/dmerc.tek tek4014 demo: draws a Mercator projection with orbit
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- $XTermId: THANKS,v 1.1 2009/10/11 17:30:42 tom Exp $
|
||||
-- $XTermId: THANKS,v 1.2 2010/10/24 17:46:47 tom Exp $
|
||||
-- vile:txtmode fk=8bit
|
||||
There's no AUTHORS file in this distribution; it would be redundant since
|
||||
I (Thomas E. Dickey) have done more than 80% of the work on xterm since 1996.
|
||||
@ -10,6 +10,7 @@ For some insight, see
|
||||
|
||||
Here's a list from xterm.log.html of people who have contributed changes.
|
||||
|
||||
Adam M Costello
|
||||
Adam Sulmicki
|
||||
Alan Coopersmith
|
||||
Alex Hornung
|
||||
@ -17,6 +18,7 @@ Alexander Pohoyda
|
||||
Alexander V Lukyanov
|
||||
Andrea Odetti
|
||||
Andreas Jaeger
|
||||
Andreas Schwab
|
||||
Andrew Sumner
|
||||
Andrew Tipton
|
||||
Anton Kovalenko
|
||||
@ -30,6 +32,8 @@ Bram Moolenaar
|
||||
Branden Robinson
|
||||
Bruno Haible
|
||||
Caetano Jimenez Carezzato
|
||||
Chris Adams
|
||||
Chris Clayton
|
||||
Christian Biere
|
||||
Christian Weisgerber
|
||||
Chuck Blake
|
||||
@ -44,6 +48,7 @@ David Mathog
|
||||
David Wood
|
||||
David Yeo
|
||||
Denis Zaitsev
|
||||
Dennis Preiser
|
||||
Dennis Schneider
|
||||
Dr Werner Fink
|
||||
Ed Schouten
|
||||
@ -72,9 +77,11 @@ Jeff Chua
|
||||
Jeff Uphoff
|
||||
Jens Schweikhardt
|
||||
Jeremy Buhler
|
||||
Jeremy Huddleston
|
||||
Jeroen Ruigrok
|
||||
Jess Thrysoee
|
||||
Jim Paris
|
||||
Jochen Voss
|
||||
Joe Allen
|
||||
Joe Peterson
|
||||
Johnny Billquist
|
||||
@ -86,6 +93,7 @@ Kean Johnston
|
||||
Keith Packard
|
||||
Ken Martin
|
||||
Kevin Buhr
|
||||
Kevin Schoedel
|
||||
Kiyokazu Suto
|
||||
Larry Riedel
|
||||
Lee Olsen
|
||||
@ -100,6 +108,7 @@ Matthias Scheler
|
||||
Matthieu Herrb
|
||||
Matthieu Lagouge
|
||||
Max Mikhanosha
|
||||
Michael Riepe
|
||||
Michael Rohleder
|
||||
Michael Schroeder
|
||||
Mike Castle
|
||||
@ -127,6 +136,7 @@ Robert Brady
|
||||
Robert Earl
|
||||
Robin Cutshaw
|
||||
Ross Paterson
|
||||
Ryan Johnson
|
||||
Scott Sewall
|
||||
Semen A Ustimenko
|
||||
Sergei Laskavy
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: button.c,v 1.389 2010/10/13 09:37:08 tom Exp $ */
|
||||
/* $XTermId: button.c,v 1.391 2010/11/11 11:50:13 tom Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1999-2009,2010 by Thomas E. Dickey
|
||||
@ -180,9 +180,10 @@ EmitMousePosition(TScreen * screen, Char line[], unsigned count, int value)
|
||||
? EXT_MOUSE_LIMIT
|
||||
: MOUSE_LIMIT);
|
||||
|
||||
/* Add pointer position to key sequence
|
||||
|
||||
* In extended mode we encode large positions as two-byte UTF-8
|
||||
/*
|
||||
* Add pointer position to key sequence
|
||||
*
|
||||
* In extended mode we encode large positions as two-byte UTF-8.
|
||||
*
|
||||
* NOTE: historically, it was possible to emit 256, which became
|
||||
* zero by truncation to 8 bits. While this was arguably a bug,
|
||||
@ -211,29 +212,30 @@ SendMousePosition(XtermWidget xw, XEvent * event)
|
||||
switch (screen->send_mouse_pos) {
|
||||
case MOUSE_OFF:
|
||||
/* If send_mouse_pos mode isn't on, we shouldn't be here */
|
||||
return False;
|
||||
break;
|
||||
|
||||
case BTN_EVENT_MOUSE:
|
||||
case ANY_EVENT_MOUSE:
|
||||
/* xterm extension for motion reporting. June 1998 */
|
||||
/* EditorButton() will distinguish between the modes */
|
||||
switch (event->type) {
|
||||
case MotionNotify:
|
||||
my_event->button = 0;
|
||||
/* FALLTHRU */
|
||||
case ButtonPress:
|
||||
/* FALLTHRU */
|
||||
case ButtonRelease:
|
||||
EditorButton(xw, my_event);
|
||||
result = True;
|
||||
break;
|
||||
if (KeyModifiers(event) == 0 || KeyModifiers(event) == ControlMask) {
|
||||
/* xterm extension for motion reporting. June 1998 */
|
||||
/* EditorButton() will distinguish between the modes */
|
||||
switch (event->type) {
|
||||
case MotionNotify:
|
||||
my_event->button = 0;
|
||||
/* FALLTHRU */
|
||||
case ButtonPress:
|
||||
/* FALLTHRU */
|
||||
case ButtonRelease:
|
||||
EditorButton(xw, my_event);
|
||||
result = True;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Make sure the event is an appropriate type */
|
||||
if (IsBtnEvent(event)) {
|
||||
|
||||
switch (screen->send_mouse_pos) {
|
||||
case X10_MOUSE: /* X10 compatibility sequences */
|
||||
|
||||
@ -315,7 +317,6 @@ SendLocatorPosition(XtermWidget xw, XButtonEvent * event)
|
||||
|
||||
/* Make sure the event is an appropriate type */
|
||||
if ((!IsBtnEvent(event) &&
|
||||
|
||||
!screen->loc_filter) ||
|
||||
(BtnModifiers(event) != 0 && BtnModifiers(event) != ControlMask))
|
||||
return (False);
|
||||
@ -1116,54 +1117,18 @@ HandleKeyboardSelectEnd(Widget w,
|
||||
}
|
||||
|
||||
/*
|
||||
* Like "select-end" (optionally copies the selection to the given targets),
|
||||
* but also sets the modes so that releasing the mouse button or moving the
|
||||
* mouse does not alter the selection.
|
||||
* Copy the selection data to the given target(s).
|
||||
*/
|
||||
static void
|
||||
do_select_stop(XtermWidget xw,
|
||||
XEvent * event, /* must be XButtonEvent */
|
||||
String * params, /* selections */
|
||||
Cardinal *num_params,
|
||||
Bool use_cursor_loc)
|
||||
{
|
||||
TScreen *screen = TScreenOf(xw);
|
||||
|
||||
screen->selection_time = event->xbutton.time;
|
||||
switch (screen->eventMode) {
|
||||
case NORMAL:
|
||||
(void) SendMousePosition(xw, event);
|
||||
break;
|
||||
case LEFTEXTENSION:
|
||||
case RIGHTEXTENSION:
|
||||
EndExtend(xw, event, params, *num_params, use_cursor_loc);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
HandleSelectStop(Widget w,
|
||||
XEvent * event, /* must be XButtonEvent */
|
||||
String * params, /* selections */
|
||||
Cardinal *num_params)
|
||||
HandleCopySelection(Widget w,
|
||||
XEvent * event,
|
||||
String * params, /* list of targets */
|
||||
Cardinal *num_params)
|
||||
{
|
||||
XtermWidget xw;
|
||||
|
||||
if ((xw = getXtermWidget(w)) != 0) {
|
||||
do_select_stop(xw, event, params, num_params, False);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
HandleKeyboardSelectStop(Widget w,
|
||||
XEvent * event, /* must be XButtonEvent */
|
||||
String * params, /* selections */
|
||||
Cardinal *num_params)
|
||||
{
|
||||
XtermWidget xw;
|
||||
|
||||
if ((xw = getXtermWidget(w)) != 0) {
|
||||
do_select_stop(xw, event, params, num_params, True);
|
||||
SelectSet(xw, event, params, *num_params);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: charproc.c,v 1.1086 2010/10/13 23:04:01 tom Exp $ */
|
||||
/* $XTermId: charproc.c,v 1.1091 2010/11/11 11:41:26 tom Exp $ */
|
||||
|
||||
/*
|
||||
|
||||
@ -277,6 +277,7 @@ static XtActionsRec actionsList[] = {
|
||||
{ "allow-send-events", HandleAllowSends },
|
||||
{ "bell", HandleBell },
|
||||
{ "clear-saved-lines", HandleClearSavedLines },
|
||||
{ "copy-selection", HandleCopySelection },
|
||||
{ "create-menu", HandleCreateMenu },
|
||||
{ "delete-is-del", HandleDeleteIsDEL },
|
||||
{ "dired-button", DiredButton },
|
||||
@ -300,16 +301,10 @@ static XtActionsRec actionsList[] = {
|
||||
{ "select-cursor-end", HandleKeyboardSelectEnd },
|
||||
{ "select-cursor-extend", HandleKeyboardSelectExtend },
|
||||
{ "select-cursor-start", HandleKeyboardSelectStart },
|
||||
#if 0
|
||||
{ "select-cursor-stop", HandleKeyboardSelectStop },
|
||||
#endif
|
||||
{ "select-end", HandleSelectEnd },
|
||||
{ "select-extend", HandleSelectExtend },
|
||||
{ "select-set", HandleSelectSet },
|
||||
{ "select-start", HandleSelectStart },
|
||||
#if 0
|
||||
{ "select-stop", HandleSelectStop },
|
||||
#endif
|
||||
{ "send-signal", HandleSendSignal },
|
||||
{ "set-8-bit-control", Handle8BitControl },
|
||||
{ "set-allow132", HandleAllow132 },
|
||||
@ -6383,13 +6378,13 @@ VTInitialize(Widget wrequest,
|
||||
#define DefaultFontNames TScreenOf(wnew)->menu_font_names[fontMenu_default]
|
||||
init_Sres(misc.default_font.f_n);
|
||||
init_Sres(misc.default_font.f_b);
|
||||
DefaultFontNames[fNorm] = wnew->misc.default_font.f_n;
|
||||
DefaultFontNames[fBold] = wnew->misc.default_font.f_b;
|
||||
DefaultFontNames[fNorm] = x_strdup(wnew->misc.default_font.f_n);
|
||||
DefaultFontNames[fBold] = x_strdup(wnew->misc.default_font.f_b);
|
||||
#if OPT_WIDE_CHARS
|
||||
init_Sres(misc.default_font.f_w);
|
||||
init_Sres(misc.default_font.f_wb);
|
||||
DefaultFontNames[fWide] = wnew->misc.default_font.f_w;
|
||||
DefaultFontNames[fWBold] = wnew->misc.default_font.f_wb;
|
||||
DefaultFontNames[fWide] = x_strdup(wnew->misc.default_font.f_w);
|
||||
DefaultFontNames[fWBold] = x_strdup(wnew->misc.default_font.f_wb);
|
||||
#endif
|
||||
TScreenOf(wnew)->MenuFontName(fontMenu_fontescape) = NULL;
|
||||
TScreenOf(wnew)->MenuFontName(fontMenu_fontsel) = NULL;
|
||||
@ -6458,13 +6453,17 @@ VTInitialize(Widget wrequest,
|
||||
* can be overridden to make these true resources.
|
||||
*/
|
||||
if (i >= MIN_ANSI_COLORS && i < NUM_ANSI_COLORS) {
|
||||
TScreenOf(wnew)->Acolors[i].resource
|
||||
= ((char *) fake_resources[i - MIN_ANSI_COLORS].default_addr);
|
||||
TScreenOf(wnew)->Acolors[i].resource =
|
||||
x_strtrim(fake_resources[i - MIN_ANSI_COLORS].default_addr);
|
||||
if (TScreenOf(wnew)->Acolors[i].resource == 0)
|
||||
TScreenOf(wnew)->Acolors[i].resource = XtDefaultForeground;
|
||||
} else
|
||||
#endif /* OPT_COLOR_RES2 */
|
||||
{
|
||||
TScreenOf(wnew)->Acolors[i] = TScreenOf(request)->Acolors[i];
|
||||
TScreenOf(wnew)->Acolors[i].resource =
|
||||
x_strtrim(TScreenOf(wnew)->Acolors[i].resource);
|
||||
}
|
||||
|
||||
#if OPT_COLOR_RES
|
||||
TRACE(("Acolors[%d] = %s\n", i, TScreenOf(wnew)->Acolors[i].resource));
|
||||
@ -8424,7 +8423,7 @@ set_character_class(char *s)
|
||||
int base; /* 8, 10, 16 (octal, decimal, hex) */
|
||||
int numbers; /* count of numbers per range */
|
||||
int digits; /* count of digits in a number */
|
||||
static const char *errfmt = "%s: %s in range string \"%s\" (position %d)\n";
|
||||
static const char errfmt[] = "%s: %s in range string \"%s\" (position %d)\n";
|
||||
|
||||
if (!s || !s[0])
|
||||
return -1;
|
||||
@ -8641,17 +8640,17 @@ DoSetSelectedFont(Widget w,
|
||||
memcpy(val, value, (size_t) len);
|
||||
val[len] = '\0';
|
||||
used = x_strtrim(val);
|
||||
TRACE(("DoSetSelectedFont(%s)\n", val));
|
||||
TRACE(("DoSetSelectedFont(%s)\n", used));
|
||||
/* Do some sanity checking to avoid sending a long selection
|
||||
back to the server in an OpenFont that is unlikely to succeed.
|
||||
XLFD allows up to 255 characters and no control characters;
|
||||
we are a little more liberal here. */
|
||||
if (len < 1000
|
||||
&& !strchr(val, '\n')
|
||||
&& (test = x_strdup(val)) != 0) {
|
||||
&& !strchr(used, '\n')
|
||||
&& (test = x_strdup(used)) != 0) {
|
||||
TScreenOf(xw)->MenuFontName(fontMenu_fontsel) = test;
|
||||
if (!xtermLoadFont(term,
|
||||
xtermFontName(val),
|
||||
xtermFontName(used),
|
||||
True,
|
||||
fontMenu_fontsel)) {
|
||||
failed = True;
|
||||
@ -8668,8 +8667,7 @@ DoSetSelectedFont(Widget w,
|
||||
oldFont);
|
||||
Bell(xw, XkbBI_MinorError, 0);
|
||||
}
|
||||
if (used != val)
|
||||
free(used);
|
||||
free(used);
|
||||
free(val);
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
dnl $XTermId: configure.in,v 1.266 2010/06/15 22:30:01 tom Exp $
|
||||
dnl $XTermId: configure.in,v 1.267 2010/11/09 01:00:48 tom Exp $
|
||||
dnl
|
||||
dnl -----------------------------------------------------------------------------
|
||||
dnl this file is part of xterm
|
||||
@ -551,7 +551,7 @@ CF_ARG_DISABLE(freetype,
|
||||
[enable_freetype=yes])
|
||||
AC_MSG_RESULT($enable_freetype)
|
||||
if test "$enable_freetype" = yes ; then
|
||||
CF_X_FREETYPE
|
||||
CF_X_FONTCONFIG
|
||||
else
|
||||
CPPFLAGS=`echo "$CPPFLAGS" | sed -e s/-DXRENDERFONT//`
|
||||
fi
|
||||
|
1134
app/xterm/ctlseqs.ms
1134
app/xterm/ctlseqs.ms
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/* $XTermId: fontutils.c,v 1.350 2010/10/14 09:27:25 tom Exp $ */
|
||||
/* $XTermId: fontutils.c,v 1.353 2010/10/23 00:27:22 tom Exp $ */
|
||||
|
||||
/************************************************************
|
||||
|
||||
@ -235,7 +235,7 @@ check_fontname(const char *name)
|
||||
{
|
||||
Boolean result = True;
|
||||
|
||||
if (name == 0) {
|
||||
if (IsEmpty(name)) {
|
||||
TRACE(("fontname missing\n"));
|
||||
result = False;
|
||||
} else if (strlen(name) >= MAX_FONTNAME - 1) {
|
||||
@ -911,7 +911,7 @@ xtermLoadFont(XtermWidget xw,
|
||||
TRACE(("xtermLoadFont #%d "name" %s%s\n", \
|
||||
fontnum, \
|
||||
(warn[index] == fwResource) ? "*" : " ", \
|
||||
NonNull(myfonts.field)));
|
||||
NonNull(myfonts.field)))
|
||||
DbgResource("normal", f_n, fNorm);
|
||||
DbgResource("bold ", f_b, fBold);
|
||||
#if OPT_WIDE_CHARS
|
||||
@ -1238,7 +1238,7 @@ typedef struct {
|
||||
} SubResourceRec;
|
||||
|
||||
#define MERGE_SUBFONT(src,dst,name) \
|
||||
if (dst.name == 0) { \
|
||||
if (IsEmpty(dst.name)) { \
|
||||
TRACE(("MERGE_SUBFONT " #dst "." #name " merge %s\n", NonNull(src.name))); \
|
||||
dst.name = src.name; \
|
||||
} else { \
|
||||
@ -1249,7 +1249,7 @@ typedef struct {
|
||||
TRACE(("COPY_MENU_FONTS " #src " to " #dst "\n")); \
|
||||
for (n = fontMenu_default; n <= fontMenu_lastBuiltin; ++n) { \
|
||||
for (m = 0; m < fMAX; ++m) { \
|
||||
dst.menu_font_names[n][m] = src.menu_font_names[n][m]; \
|
||||
dst.menu_font_names[n][m] = x_strdup(src.menu_font_names[n][m]); \
|
||||
} \
|
||||
}
|
||||
|
||||
@ -1294,7 +1294,7 @@ xtermLoadVTFonts(XtermWidget xw, String myName, String myClass)
|
||||
COPY_MENU_FONTS(xw->screen, original);
|
||||
}
|
||||
|
||||
if (myName == 0 || *myName == 0) {
|
||||
if (IsEmpty(myName)) {
|
||||
TRACE(("xtermLoadVTFonts restoring original\n"));
|
||||
xw->misc.default_font = original.default_font;
|
||||
COPY_MENU_FONTS(original, xw->screen);
|
||||
@ -1329,11 +1329,11 @@ xtermLoadVTFonts(XtermWidget xw, String myName, String myClass)
|
||||
*/
|
||||
xw->misc.default_font = subresourceRec.default_font;
|
||||
COPY_MENU_FONTS(subresourceRec, xw->screen);
|
||||
screen->MenuFontName(fontMenu_default) = xw->misc.default_font.f_n;
|
||||
screen->menu_font_names[0][fBold] = xw->misc.default_font.f_b;
|
||||
screen->MenuFontName(fontMenu_default) = x_strdup(xw->misc.default_font.f_n);
|
||||
screen->menu_font_names[0][fBold] = x_strdup(xw->misc.default_font.f_b);
|
||||
#if OPT_WIDE_CHARS
|
||||
screen->menu_font_names[0][fWide] = xw->misc.default_font.f_w;
|
||||
screen->menu_font_names[0][fWBold] = xw->misc.default_font.f_wb;
|
||||
screen->menu_font_names[0][fWide] = x_strdup(xw->misc.default_font.f_w);
|
||||
screen->menu_font_names[0][fWBold] = x_strdup(xw->misc.default_font.f_wb);
|
||||
#endif
|
||||
} else {
|
||||
TRACE(("...no resources found\n"));
|
||||
@ -3019,7 +3019,7 @@ SetVTFont(XtermWidget xw,
|
||||
|
||||
#define USE_CACHED(field, name) \
|
||||
if (myfonts.field == 0) { \
|
||||
myfonts.field = screen->menu_font_names[which][name]; \
|
||||
myfonts.field = x_strdup(screen->menu_font_names[which][name]); \
|
||||
TRACE(("set myfonts." #field " from menu_font_names[%d][" #name "] %s\n", \
|
||||
which, NonNull(myfonts.field))); \
|
||||
} else { \
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: misc.c,v 1.510 2010/10/11 08:33:33 tom Exp $ */
|
||||
/* $XTermId: misc.c,v 1.511 2010/11/10 00:56:29 tom Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1999-2009,2010 by Thomas E. Dickey
|
||||
@ -1991,7 +1991,7 @@ xtermGetColorRes(XtermWidget xw, ColorRes * res)
|
||||
res->value = TScreenOf(xw)->Tcolors[TEXT_FG].value;
|
||||
res->mode = -True;
|
||||
fprintf(stderr,
|
||||
"%s: Cannot allocate color %s\n",
|
||||
"%s: Cannot allocate color \"%s\"\n",
|
||||
xterm_name,
|
||||
NonNull(res->resource));
|
||||
}
|
||||
|
11
app/xterm/package/debian/changelog
Normal file
11
app/xterm/package/debian/changelog
Normal file
@ -0,0 +1,11 @@
|
||||
xterm-dev (267) unstable; urgency=low
|
||||
|
||||
* build-fixes, etc.
|
||||
|
||||
-- Thomas E. Dickey <dickey@invisible-island.net> Wed, 10 Nov 2010 18:46:41 -0500
|
||||
|
||||
xterm-dev (266) unstable; urgency=low
|
||||
|
||||
* add build-script for testing, adapted from Debian xterm package.
|
||||
|
||||
-- Thomas E. Dickey <dickey@invisible-island.net> Fri, 22 Oct 2010 17:15:59 -0400
|
4
app/xterm/package/debian/color.sed
Normal file
4
app/xterm/package/debian/color.sed
Normal file
@ -0,0 +1,4 @@
|
||||
s/! Uncomment this for "white" text on a dark background./! Set the default text foreground and background colors./
|
||||
s/!\*VT100\*foreground: gray90/*VT100*foreground: gray90/
|
||||
s/!\*VT100\*background: black/*VT100*background: black/
|
||||
/!\*VT100.scrollbar.thumb:[ ]*vlines2/,/!lines[ ]*-1,0,0,0,0,-1/s/!//
|
1
app/xterm/package/debian/compat
Normal file
1
app/xterm/package/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
5
|
21
app/xterm/package/debian/control
Normal file
21
app/xterm/package/debian/control
Normal file
@ -0,0 +1,21 @@
|
||||
Source: xterm-dev
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Thomas E. Dickey <dickey@invisible-island.net>
|
||||
Homepage: http://invisible-island.net/xterm/
|
||||
Build-Depends: debhelper (>= 7)
|
||||
Standards-Version: 3.8.2
|
||||
|
||||
Package: xterm-dev
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}
|
||||
Provides: x-terminal-emulator
|
||||
Recommends: x11-utils | xutils | bluit
|
||||
Description: X terminal emulator (development version)
|
||||
xterm is the standard terminal emulator for the X Window System.
|
||||
It provides DEC VT102 and Tektronix 4014 compatible terminals for
|
||||
programs that cannot use the window system directly. This version
|
||||
implements ISO/ANSI colors, Unicode, and most of the control sequences
|
||||
used by DEC VT220 terminals.
|
||||
.
|
||||
This package contains a development version of xterm.
|
221
app/xterm/package/debian/copyright
Normal file
221
app/xterm/package/debian/copyright
Normal file
@ -0,0 +1,221 @@
|
||||
Upstream source http://invisible-island.net/xterm/xterm.html
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Except as noted below, all copyrights use the same wording, denoted MIT-X11.
|
||||
That is not in Debian's list under /usr/share/licenses. Here is the common
|
||||
wording:
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name(s) of the above copyright
|
||||
holders shall not be used in advertising or otherwise to promote the
|
||||
sale, use or other dealings in this Software without prior written
|
||||
authorization.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: * */*
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 1996-2010 by Thomas E. Dickey
|
||||
|
||||
(date ranges vary, depending on when the respective files were first changed
|
||||
significantly, and run through the most recent change date).
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: 88colres.pl
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 1999-2005,2007 by Thomas E. Dickey
|
||||
Copyright 1999-2000 by Steve Wall
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: vttests/88colors2.pl
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 1999-2007,2009 by Thomas E. Dickey
|
||||
Copyright 1999 by Steve Wall
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: vttests/256colors2.pl
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 1999-2007,2009 by Thomas E. Dickey
|
||||
Copyright 2002 by Steve Wall
|
||||
Copyright 1999 by Todd Larason
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: xcharmouse.h
|
||||
|
||||
Copyright 1998 by Jason Bacon <acadix@execpc.com>
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of the above listed
|
||||
copyright holder(s) not be used in advertising or publicity pertaining
|
||||
to distribution of the software without specific, written prior
|
||||
permission.
|
||||
|
||||
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
||||
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
||||
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: xutf8.*
|
||||
License: MIT-X11
|
||||
|
||||
Copyright (C) 2001 by Juliusz Chroboczek
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: ctlseqs.ms install-sh
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 1984-1994 X Consortium
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright 1987,1988 by Digital Equipment Corporation, Maynard, Massachusetts.
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of Digital Equipment
|
||||
Corporation not be used in advertising or publicity pertaining to
|
||||
distribution of the software without specific, written prior permission.
|
||||
|
||||
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
|
||||
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
|
||||
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
|
||||
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
||||
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
|
||||
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
SOFTWARE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright 1988,1989 The Open Group
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of The Open Group shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from The Open Group.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: koi8rxterm.man uxterm.man
|
||||
License: MIT-X11
|
||||
|
||||
Copyright 2001, 2004 Branden Robinson
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: charclass.*
|
||||
|
||||
Markus Kuhn -- 2000-07-03
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
for any purpose and without fee is hereby granted. The author
|
||||
disclaims all warranties with regard to this software.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: wcwidth.*
|
||||
|
||||
Markus Kuhn -- 2007-05-25
|
||||
|
||||
Permission to use, copy, modify, and distribute this software
|
||||
for any purpose and without fee is hereby granted. The author
|
||||
disclaims all warranties with regard to this software.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: config.guess config.sub
|
||||
License: GPL-2+
|
||||
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Files: configure
|
||||
License: GPL-2+
|
||||
|
||||
Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
-------------------------------------------------------------------------------
|
185
app/xterm/package/debian/rules
Normal file
185
app/xterm/package/debian/rules
Normal file
@ -0,0 +1,185 @@
|
||||
#!/usr/bin/make -f
|
||||
# Made with the aid of dh_make, by Craig Small
|
||||
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
|
||||
# Some lines taken from debmake, by Cristoph Lameter.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# These are used for cross-compiling and for saving the configure script
|
||||
# from having to guess our platform (since we know it already)
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
DESKTOP_VENDOR = dickey
|
||||
|
||||
PKG_SUFFIX = -dev
|
||||
|
||||
PACKAGE := $(shell dpkg-parsechangelog| \
|
||||
sed -n 's/^Source: \(.*\)$$/\1/p')
|
||||
|
||||
PKG_APPDEFAULTS := /etc/X11/app-defaults
|
||||
PKG_DESKTOP := /usr/share/applications
|
||||
|
||||
DSTDIR := $(CURDIR)/debian/$(PACKAGE)
|
||||
MY_DESKTOP := $(DSTDIR)/usr/share/applications
|
||||
|
||||
CFLAGS =
|
||||
|
||||
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
|
||||
DEBOP=--enable-debug
|
||||
else
|
||||
DEBOP=
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
|
||||
./configure \
|
||||
--host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--program-suffix=$(PKG_SUFFIX) \
|
||||
--prefix=/usr \
|
||||
--libexecdir=\$${prefix}/lib \
|
||||
--mandir=\$${prefix}/share/man \
|
||||
--sysconfdir=/etc/$(PACKAGE) \
|
||||
--localstatedir=/var \
|
||||
--libdir=/etc/$(PACKAGE) \
|
||||
--without-xterm-symlink \
|
||||
--enable-256-color \
|
||||
--enable-88-color \
|
||||
--enable-dabbrev \
|
||||
--enable-dec-locator \
|
||||
--enable-exec-xterm \
|
||||
--enable-hp-fkeys \
|
||||
--enable-load-vt-fonts \
|
||||
--enable-logfile-exec \
|
||||
--enable-logging \
|
||||
--enable-mini-luit \
|
||||
--enable-paste64 \
|
||||
--enable-rectangles \
|
||||
--enable-sco-fkeys \
|
||||
--enable-tcap-fkeys \
|
||||
--enable-tcap-query \
|
||||
--enable-toolbar \
|
||||
--enable-wide-chars \
|
||||
--enable-xmc-glitch \
|
||||
--with-app-defaults=$(PKG_APPDEFAULTS) \
|
||||
--with-icondir=\$${prefix}/share/pixmaps \
|
||||
--with-own-terminfo=\$${prefix}/share/terminfo \
|
||||
--with-terminal-type=xterm-new \
|
||||
--with-utempter \
|
||||
${DEBOP}
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
$(MAKE)
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: install-stamp
|
||||
install-stamp: build-stamp
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
$(MAKE) install \
|
||||
DESTDIR=$(CURDIR)/debian/$(PACKAGE)
|
||||
|
||||
touch install-stamp
|
||||
|
||||
install: install-indep install-arch
|
||||
install-indep:
|
||||
|
||||
install-arch:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep -s
|
||||
dh_installdirs -s
|
||||
|
||||
$(MAKE) install-bin \
|
||||
DESTDIR=$(DSTDIR)
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
# This overwrites the Debian package's copy of app-defaults and icons.
|
||||
# But the resources are not the same; they are patched.
|
||||
sed -i -f package/debian/color.sed XTerm-col.ad
|
||||
sed -i -f package/debian/xterm-xres.sed XTerm.ad
|
||||
|
||||
$(MAKE) install-app \
|
||||
install-icon \
|
||||
install-man \
|
||||
DESTDIR=$(DSTDIR)
|
||||
|
||||
# Follow-up with a check against the installed resource files.
|
||||
( cd $(DSTDIR)$(PKG_APPDEFAULTS) && $(SHELL) -c 'for p in *;do diff -u $$p $(PKG_APPDEFAULTS)/; done' ; exit 0 )
|
||||
|
||||
# The Debian package does not install desktop files.
|
||||
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486317
|
||||
$(SHELL) -c 'for p in *.desktop;do \
|
||||
sed -i \
|
||||
-e "s/Categories=System;/Categories=Application;Utility;/" \
|
||||
-e "s/^\\(Name=.*\\)/\\1$(PKG_SUFFIX)/" \
|
||||
-e "s/^\\(Exec=.*\\)/\\1$(PKG_SUFFIX)/" \
|
||||
$$p; done'
|
||||
|
||||
$(MAKE) install-desktop \
|
||||
DESKTOP_FLAGS="--vendor='$(DESKTOP_VENDOR)' --dir $(MY_DESKTOP)"
|
||||
|
||||
( cd $(DSTDIR)$(PKG_DESKTOP) \
|
||||
&& $(SHELL) -c 'for p in *;do \
|
||||
test -n "$(PKG_SUFFIX)" && mv $$p `basename $$p .desktop`$(PKG_SUFFIX).desktop; \
|
||||
diff -u $$p $(PKG_DESKTOP)/; \
|
||||
done' ; \
|
||||
exit 0 )
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdebconf
|
||||
dh_installdocs
|
||||
dh_installmenu
|
||||
dh_installmime
|
||||
dh_installexamples tektests vttests
|
||||
dh_installchangelogs
|
||||
dh_install
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install install-stamp
|
1
app/xterm/package/debian/source/format
Normal file
1
app/xterm/package/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
4
app/xterm/package/debian/watch
Normal file
4
app/xterm/package/debian/watch
Normal file
@ -0,0 +1,4 @@
|
||||
version=3
|
||||
|
||||
opts=passive ftp://invisible-island.net/xterm/current/xterm\.tar.gz \
|
||||
debian uupdate
|
8
app/xterm/package/debian/xterm-dev.docs
Normal file
8
app/xterm/package/debian/xterm-dev.docs
Normal file
@ -0,0 +1,8 @@
|
||||
INSTALL
|
||||
README.i18n
|
||||
THANKS
|
||||
ctlseqs.ms
|
||||
ctlseqs.txt
|
||||
termcap
|
||||
terminfo
|
||||
xterm.log.html
|
8
app/xterm/package/debian/xterm-xres.sed
Normal file
8
app/xterm/package/debian/xterm-xres.sed
Normal file
@ -0,0 +1,8 @@
|
||||
/\*tek4014\*fontSmall:[ ]*6x10/a\
|
||||
\
|
||||
! Debian package customizations follow.\
|
||||
*backarrowKeyIsErase: true\
|
||||
*ptyInitialErase: true
|
||||
/!*allowWindowOps: false/a\
|
||||
*allowWindowOps: true\
|
||||
*activeIcon: true
|
175
app/xterm/package/xterm.spec
Normal file
175
app/xterm/package/xterm.spec
Normal file
@ -0,0 +1,175 @@
|
||||
# $XTermId: xterm.spec,v 1.6 2010/11/10 23:45:54 tom Exp $
|
||||
Summary: A text-based Web browser
|
||||
Name: xterm
|
||||
Version: dev
|
||||
Release: 267
|
||||
License: X11
|
||||
Group: Applications/Internet
|
||||
Source: xterm-%{release}.tgz
|
||||
# URL: http://invisible-island.net/xterm/
|
||||
Provides: x-terminal-emulator
|
||||
|
||||
%description
|
||||
xterm is the standard terminal emulator for the X Window System.
|
||||
It provides DEC VT102 and Tektronix 4014 compatible terminals for
|
||||
programs that cannot use the window system directly. This version
|
||||
implements ISO/ANSI colors, Unicode, and most of the control sequences
|
||||
used by DEC VT220 terminals.
|
||||
|
||||
This package provides four commands:
|
||||
a) xterm, which is the actual terminal emulator
|
||||
b) uxterm, which is a wrapper around xterm which sets xterm to use UTF-8
|
||||
encoding when the user's locale supports this,
|
||||
c) koi8rxterm, a wrapper similar to uxterm for locales that use the
|
||||
KOI8-R character set, and
|
||||
d) resize.
|
||||
|
||||
A complete list of control sequences supported by the X terminal emulator
|
||||
is provided in /usr/share/doc/xterm.
|
||||
|
||||
The xterm program uses bitmap images provided by the xbitmaps package.
|
||||
|
||||
Those interested in using koi8rxterm will likely want to install the
|
||||
xfonts-cyrillic package as well.
|
||||
|
||||
%prep
|
||||
|
||||
%define my_suffix -dev
|
||||
|
||||
%define desktop_vendor dickey
|
||||
%define desktop_utils %(if which desktop-file-install 2>&1 >/dev/null ; then echo "yes" ; fi)
|
||||
|
||||
%define apps_shared %(test -d /usr/share/X11/app-defaults && echo 1 || echo 0)
|
||||
%define apps_syscnf %(test -d /etc/X11/app-defaults && echo 1 || echo 0)
|
||||
|
||||
%if %{apps_shared}
|
||||
%define _xresdir %{_datadir}/X11/app-defaults
|
||||
%else
|
||||
%define _xresdir %{_sysconfdir}/X11/app-defaults
|
||||
%endif
|
||||
|
||||
%define _iconsdir %{_datadir}/icons
|
||||
%define _pixmapsdir %{_datadir}/pixmaps
|
||||
%define my_docdir %{_datadir}/doc/xterm%{my_suffix}
|
||||
|
||||
%setup -q -n xterm-%{release}
|
||||
|
||||
%build
|
||||
CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \
|
||||
%configure \
|
||||
--target %{_target_platform} \
|
||||
--prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--datadir=%{_datadir} \
|
||||
--mandir=%{_mandir} \
|
||||
%if "%{my_suffix}" != ""
|
||||
--program-suffix=%{my_suffix} \
|
||||
--without-xterm-symlink \
|
||||
%endif
|
||||
--enable-256-color \
|
||||
--enable-88-color \
|
||||
--enable-dabbrev \
|
||||
--enable-dec-locator \
|
||||
--enable-exec-xterm \
|
||||
--enable-hp-fkeys \
|
||||
--enable-load-vt-fonts \
|
||||
--enable-logfile-exec \
|
||||
--enable-logging \
|
||||
--enable-mini-luit \
|
||||
--enable-paste64 \
|
||||
--enable-rectangles \
|
||||
--enable-sco-fkeys \
|
||||
--enable-tcap-fkeys \
|
||||
--enable-tcap-query \
|
||||
--enable-toolbar \
|
||||
--enable-wide-chars \
|
||||
--enable-xmc-glitch \
|
||||
--with-app-defaults=%{_xresdir} \
|
||||
--with-icondir=%{_pixmapsdir} \
|
||||
--with-own-terminfo=%{_datadir}/terminfo \
|
||||
--with-terminal-type=xterm-new \
|
||||
--with-utempter
|
||||
make
|
||||
|
||||
chmod u+w XTerm.ad
|
||||
cat >>XTerm.ad <<EOF
|
||||
*backarrowKeyIsErase: true
|
||||
*ptyInitialErase: true
|
||||
EOF
|
||||
ls -l *.ad
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# Usually do not use install-ti, since that will conflict with ncurses.
|
||||
make install-bin install-man install-app install-icon \
|
||||
%if "%{install_ti}" == "yes"
|
||||
install-ti \
|
||||
%endif
|
||||
DESTDIR=$RPM_BUILD_ROOT \
|
||||
TERMINFO=%{_datadir}/terminfo
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{my_docdir}
|
||||
cp \
|
||||
ctlseqs.txt \
|
||||
README.i18n \
|
||||
THANKS \
|
||||
xterm.log.html \
|
||||
$RPM_BUILD_ROOT%{my_docdir}/
|
||||
|
||||
cp -r vttests \
|
||||
$RPM_BUILD_ROOT%{my_docdir}/
|
||||
|
||||
# The scripts are readable, but not executable, to let find-requires
|
||||
# know that they do not depend on Perl packages.
|
||||
chmod 644 $RPM_BUILD_ROOT%{my_docdir}/vttests/*
|
||||
|
||||
%if "%{desktop_utils}" == "yes"
|
||||
for p in *.desktop
|
||||
do
|
||||
sed -i \
|
||||
-e 's/Categories=System;/Categories=Application;Utility;/' \
|
||||
-e 's/^\\(Name=.*\\)/\\1%{my_suffix}/' \
|
||||
-e 's/^\\(Exec=.*\\)/\\1%{my_suffix}/' \
|
||||
$p
|
||||
done
|
||||
|
||||
make install-desktop \
|
||||
DESKTOP_FLAGS="--vendor='%{desktop_vendor}' --dir $RPM_BUILD_ROOT%{_datadir}/applications"
|
||||
|
||||
test -n "%{my_suffix}" && \
|
||||
( cd $RPM_BUILD_ROOT%{_datadir}/applications
|
||||
for p in *.desktop
|
||||
do
|
||||
mv $p `basename $p .desktop`%{my_suffix}.desktop
|
||||
done
|
||||
)
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/koi8rxterm%{my_suffix}
|
||||
%{_bindir}/xterm%{my_suffix}
|
||||
%{_bindir}/uxterm%{my_suffix}
|
||||
%{_bindir}/resize%{my_suffix}
|
||||
%{_mandir}/*/*
|
||||
%{my_docdir}/*
|
||||
%{_pixmapsdir}/xterm*.xpm
|
||||
%{_xresdir}/*XTerm*
|
||||
|
||||
%if "%{install_ti}" == "yes"
|
||||
%{_datadir}/terminfo/*
|
||||
%endif
|
||||
|
||||
%if "%{desktop_utils}" == "yes"
|
||||
%config(missingok) %{_datadir}/applications/%{desktop_vendor}-xterm%{my_suffix}.desktop
|
||||
%config(missingok) %{_datadir}/applications/%{desktop_vendor}-uxterm%{my_suffix}.desktop
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
* Fri Oct 22 2010 Thomas E. Dickey
|
||||
- initial version.
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: trace.h,v 1.55 2010/10/13 22:26:57 tom Exp $ */
|
||||
/* $XTermId: trace.h,v 1.56 2010/11/11 01:10:52 tom Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -42,11 +42,8 @@
|
||||
|
||||
#if OPT_TRACE
|
||||
|
||||
extern void Trace ( const char *, ... )
|
||||
#ifdef GCC_PRINTF
|
||||
__attribute__ ((format(printf,1,2)))
|
||||
#endif
|
||||
;
|
||||
extern void Trace ( const char *, ... ) GCC_PRINTFLIKE(1,2);
|
||||
|
||||
#undef TRACE
|
||||
#define TRACE(p) Trace p
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $XTermId: version.h,v 1.322 2010/10/14 08:33:49 tom Exp $
|
||||
* $XTermId: version.h,v 1.325 2010/11/10 00:51:22 tom Exp $
|
||||
* ----------------------------------------------------------------------------
|
||||
* this file is part of xterm
|
||||
*
|
||||
@ -39,7 +39,7 @@
|
||||
* version of X to which this version of xterm has been built. The number in
|
||||
* parentheses is my patch number (Thomas E. Dickey).
|
||||
*/
|
||||
#define XTERM_PATCH 264
|
||||
#define XTERM_PATCH 267
|
||||
|
||||
#ifndef __vendorversion__
|
||||
#define __vendorversion__ "XTerm/OpenBSD"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: xterm.h,v 1.635 2010/10/12 08:55:47 tom Exp $ */
|
||||
/* $XTermId: xterm.h,v 1.637 2010/11/11 11:41:54 tom Exp $ */
|
||||
|
||||
/************************************************************
|
||||
|
||||
@ -735,17 +735,16 @@ extern Bool SendMousePosition (XtermWidget /* w */, XEvent* /* event */);
|
||||
extern void DiredButton PROTO_XT_ACTIONS_ARGS;
|
||||
extern void DisownSelection (XtermWidget /* termw */);
|
||||
extern void UnhiliteSelection (XtermWidget /* termw */);
|
||||
extern void HandleCopySelection PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleInsertSelection PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleKeyboardSelectEnd PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleKeyboardSelectExtend PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleKeyboardSelectStart PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleKeyboardSelectStop PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleKeyboardStartExtend PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleSelectEnd PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleSelectExtend PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleSelectSet PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleSelectStart PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleSelectStop PROTO_XT_ACTIONS_ARGS;
|
||||
extern void HandleStartExtend PROTO_XT_ACTIONS_ARGS;
|
||||
extern void ResizeSelection (TScreen * /* screen */, int /* rows */, int /* cols */);
|
||||
extern void ScrollSelection (TScreen * /* screen */, int /* amount */, Bool /* always */);
|
||||
|
@ -31,7 +31,7 @@
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
*****************************************************************************
|
||||
$XTermId: xterm.log.html,v 1.977 2010/10/14 08:53:32 tom Exp $
|
||||
$XTermId: xterm.log.html,v 1.995 2010/11/21 23:40:00 tom Exp $
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@ -56,6 +56,9 @@ Most of these are summarized in the XFree86 CHANGELOG
|
||||
is the latest version of this file.
|
||||
|
||||
<UL>
|
||||
<LI><A HREF="#xterm_267">Patch #267 - 2010/11/20</A>
|
||||
<LI><A HREF="#xterm_266">Patch #266 - 2010/10/24</A>
|
||||
<LI><A HREF="#xterm_265">Patch #265 - 2010/10/22</A>
|
||||
<LI><A HREF="#xterm_264">Patch #264 - 2010/10/14</A>
|
||||
<LI><A HREF="#xterm_263">Patch #263 - 2010/10/13</A>
|
||||
<LI><A HREF="#xterm_262">Patch #262 - 2010/8/30</A>
|
||||
@ -323,6 +326,61 @@ is the latest version of this file.
|
||||
<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A>
|
||||
</UL>
|
||||
|
||||
<H1><A NAME="xterm_267">Patch #267 - 2010/11/20</A></H1>
|
||||
<ul>
|
||||
<li>minor formatting changes to ctlseqs.ms to simplify a script which
|
||||
extracts the feature information. See the results in
|
||||
<a href="http://invisible-island.net/xterm/xterm.faq.html#compare_versions">Comparing versions, by counting controls</a> in the xterm FAQ.
|
||||
|
||||
<li>add <code>docs-clean</code> makefile rule.
|
||||
|
||||
<li>add <code>copy-selection</code> action (request by
|
||||
Timo Juhani Lindfors, Debian #588785).
|
||||
|
||||
<li>trim leading/trailing blanks from string used for "Selection"
|
||||
font-menu data.
|
||||
|
||||
<li>trim leading/trailing blanks from color resource values.
|
||||
|
||||
<li>configure script improvements:
|
||||
<ul>
|
||||
<li>add workaround for removal of X11 dependency from Xt's package
|
||||
file (report by Robert Hooker).
|
||||
|
||||
<li>add workaround for removal of fontconfig dependency from Xft's
|
||||
package file (report by Jeremy Huddleston).
|
||||
|
||||
<li>add workaround for removal of Xmu dependency from Xaw's package
|
||||
file (report by Jeremy Huddleston).
|
||||
|
||||
<li>improve workaround in <code>CF_X_TOOLKIT</code> macro,
|
||||
checking for other
|
||||
possible packages where Xt's dependencies may be given.
|
||||
|
||||
<li>prefer <code>${name:=value}</code> to <code>${name-value}</code>,
|
||||
since recent bash changes break legacy support for that feature.
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<H1><A NAME="xterm_266">Patch #266 - 2010/10/24</A></H1>
|
||||
<ul>
|
||||
<li>add rpm and dpkg scripts, for testing.
|
||||
|
||||
<li>more fixes for Debian #600707 (report by Cyril Brulebois).
|
||||
</ul>
|
||||
|
||||
<H1><A NAME="xterm_265">Patch #265 - 2010/10/22</A></H1>
|
||||
<ul>
|
||||
<li>fix a regression in fontname logic from
|
||||
<a href="#xterm_263">patch #263</a> changes
|
||||
(Debian #600707, reported by Vincent Lefevre).
|
||||
|
||||
<li>revert modification of any-event/any-button protocol from
|
||||
<a href="#xterm_263">patch #263</a> changes.
|
||||
It interferes with selection using a
|
||||
shifted mouse button (reports by Neil Bird, Bram Moolenaar).
|
||||
</ul>
|
||||
|
||||
<H1><A NAME="xterm_264">Patch #264 - 2010/10/14</A></H1>
|
||||
<ul>
|
||||
<li>replace a null-pointer check with check for empty string in
|
||||
|
@ -1,5 +1,5 @@
|
||||
'\" t
|
||||
.\" $XTermId: xterm.man,v 1.467 2010/10/11 00:36:08 tom Exp $
|
||||
.\" $XTermId: xterm.man,v 1.469 2010/11/11 11:57:07 tom Exp $
|
||||
.\"
|
||||
.\" Copyright 1996-2009,2010 by Thomas E. Dickey
|
||||
.\"
|
||||
@ -1075,9 +1075,13 @@ If the option contains a \*(``/\*('' character, that delimits the characters
|
||||
used for the pseudo-terminal name from the file descriptor.
|
||||
Otherwise, exactly two characters are used from the option for
|
||||
the pseudo-terminal name, the remainder is the file descriptor.
|
||||
Examples:
|
||||
Examples
|
||||
(the first two are equivalent
|
||||
since the descriptor follows the last \*(``/\*(''):
|
||||
.sp
|
||||
.nf
|
||||
.RS 15
|
||||
-S/dev/pts/123/45
|
||||
-S123/45
|
||||
-Sab34
|
||||
.RE
|
||||
@ -4731,6 +4735,12 @@ of lines saved off the top of the screen.
|
||||
It is also invoked from the \fBclearsavedlines\fP entry in \fIvtMenu\fP.
|
||||
The effect is identical to a hardware reset (RIS) control sequence.
|
||||
.TP 8
|
||||
.B "copy-selection(\fIdestname\fP [, ...])"
|
||||
This action puts the currently selected text into all of the selections or
|
||||
cutbuffers specified by \fIdestname\fP.
|
||||
Unlike \fBselect-end\fP, it does not send a mouse position or otherwise
|
||||
modify the internal selection state.
|
||||
.TP 8
|
||||
.B "create-menu(\fIm/v/f/t\fP)"
|
||||
This action creates one of the menus used by \fIxterm\fP,
|
||||
if it has not been previously created.
|
||||
@ -4974,6 +4984,8 @@ selection at the current text cursor position.
|
||||
.B "select-end(\fIdestname\fP [, ...])"
|
||||
This action puts the currently selected text into all of the selections or
|
||||
cutbuffers specified by \fIdestname\fP.
|
||||
It also sends a mouse position and updates the internal selection state
|
||||
to reflect the end of the selection process.
|
||||
.TP 8
|
||||
.B "select-extend()"
|
||||
This action tracks the pointer and extends the selection.
|
||||
|
@ -1,27 +1,34 @@
|
||||
/* $XTermId: xtermcfg.hin,v 1.178 2009/08/09 17:23:19 tom Exp $ */
|
||||
/* $XTermId: xtermcfg.hin,v 1.182 2010/11/11 01:14:49 tom Exp $ */
|
||||
|
||||
/************************************************************
|
||||
|
||||
Copyright 1997-2008,2009 by Thomas E. Dickey
|
||||
Copyright 1997-2009,2010 by Thomas E. Dickey
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of the above listed
|
||||
copyright holder(s) not be used in advertising or publicity pertaining
|
||||
to distribution of the software without specific, written prior
|
||||
permission.
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
||||
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
||||
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name(s) of the above copyright
|
||||
holders shall not be used in advertising or otherwise to promote the
|
||||
sale, use or other dealings in this Software without prior written
|
||||
authorization.
|
||||
|
||||
********************************************************/
|
||||
|
||||
@ -184,6 +191,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#ifndef __cplusplus
|
||||
/* #undef GCC_PRINTF */
|
||||
/* #undef GCC_PRINTFLIKE */
|
||||
/* #undef GCC_UNUSED */
|
||||
#endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $XTermId: xtermcfg.hin,v 1.180 2010/04/21 00:19:23 tom Exp $ */
|
||||
/* $XTermId: xtermcfg.hin,v 1.182 2010/11/11 01:14:49 tom Exp $ */
|
||||
|
||||
/************************************************************
|
||||
|
||||
@ -6,22 +6,29 @@ Copyright 1997-2009,2010 by Thomas E. Dickey
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation, and that the name of the above listed
|
||||
copyright holder(s) not be used in advertising or publicity pertaining
|
||||
to distribution of the software without specific, written prior
|
||||
permission.
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
||||
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
||||
LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name(s) of the above copyright
|
||||
holders shall not be used in advertising or otherwise to promote the
|
||||
sale, use or other dealings in this Software without prior written
|
||||
authorization.
|
||||
|
||||
********************************************************/
|
||||
|
||||
@ -184,6 +191,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#ifndef __cplusplus
|
||||
#undef GCC_PRINTF
|
||||
#undef GCC_PRINTFLIKE
|
||||
#undef GCC_UNUSED
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user