diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-01-04 16:40:19 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-01-04 16:40:19 +0000 |
commit | 4a64ee085cebf685431fe2c5af7060c5e5a78eaf (patch) | |
tree | ce110d86f51f6bd5770727702c68a183da520a28 | |
parent | d74c4945d1b4b45a68384735fc45585735cb36c0 (diff) |
Update to xterm 287. tested by mpi@ and krw@.
90 files changed, 21832 insertions, 10999 deletions
diff --git a/app/xterm/INSTALL b/app/xterm/INSTALL index 0d0a4decc..1b7dcc7b0 100644 --- a/app/xterm/INSTALL +++ b/app/xterm/INSTALL @@ -1,6 +1,6 @@ --- $XTermId: INSTALL,v 1.127 2011/12/22 01:59:16 tom Exp $ +-- $XTermId: INSTALL,v 1.139 2012/10/10 23:33:29 tom Exp $ ------------------------------------------------------------------------------- --- Copyright 1997-2010,2011 by Thomas E. Dickey +-- Copyright 1997-2011,2012 by Thomas E. Dickey -- -- All Rights Reserved -- @@ -355,6 +355,18 @@ The options (in alphabetic order): Compile-in code that interprets SGR 38 and 48 for 88-colors. + --enable-alt-sends-esc set default altSendsEscape resource (default: no) + + This sets the default resource value, which is shown in the manpage. + + --enable-backarrow-key set default backarrowKey resource (default: true) + + This sets the default resource value, which is shown in the manpage. + + --enable-backarrow-is-erase set default backarrowKeyIsErase resource (default: false) + + This sets the default resource value, which is shown in the manpage. + --enable-broken-osc allow broken Linux OSC-strings], Compile-in code to accommodate scripts that write Linux's malformed @@ -378,6 +390,18 @@ The options (in alphabetic order): This allows the xterm mouse to be used with applications that use the DEC Locator sequences, such as VAX Tpu, or SMG$ based applications. + --enable-delete-is-del set default deleteIsDEL resource (default: maybe) + + This sets the default resource value, which is shown in the manpage. + + --enable-double-buffer enable double-buffering + + Use experimental double-buffering for display to reduce flicker. + + This option was introduced in patch #282; at that point it needs + further work because colors used for clearing the screen do not + match the expected behavior (see vttest for instance). + --enable-exec-xterm enable "spawn-new-terminal" action If your platform supports the process filesystem "cwd" link, @@ -415,6 +439,10 @@ The options (in alphabetic order): This sets "--enable-wide-chars" as a side-effect. + --enable-meta-sends-esc set default metaSendsEscape resource (default: no) + + This sets the default resource value, which is shown in the manpage. + --enable-mini-luit enable support for poor man's luit filter (Latin-9) Provide built-in support for Latin-9, relying on having specified @@ -531,6 +559,9 @@ The options (in alphabetic order): /usr/local, you should use this option to customize the location to match your system configuration. + Use --with-app-defaults=auto to ask the configure script to look in + a list of well-known locations for an existing directory. + Use --without-app-defaults or --with-app-defaults=no to disable the feature. @@ -567,7 +598,18 @@ The options (in alphabetic order): Override options provided by xft-config or freetype-config. - --with-icondir=DIR directory in which to install icon files (default: EPREFIX/share/pixmaps) + --with-icon-name=NAME override icon name (default: xterm-color) + + xterm comes with a choice of icons: + + xterm-color: depicts a conventional terminal image, and is the default + icon used for icon-themes. + + mini.xterm: a more iconic choice which is readily identifiable at + small sizes. This is used for window decoration, e.g., the + icon at the upper left corner in many window managers. + + --with-icondir=DIR directory in which to install icon files (default: no) The X libraries may automatically search these locations: @@ -575,10 +617,25 @@ The options (in alphabetic order): $XDG_DATA_DIRS/icons /usr/share/pixmaps + Alternatively, the last may be actually + /usr/X11R6/share/pixmaps + + Use --with-icondir=auto to tell the configure script to search for + an existing directory from its list of well-known system locations. + See also http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html + http://www.freedesktop.org/software/icon-theme/ + + By default, the option is disabled; it is useful only for the + --with-icon-theme option. + + --with-icon-theme=XXX install icons into desktop theme (hicolor) - Use --without-icondir or --with-icondir=no to disable the feature. + Install png and svg icons into the given desktop theme and customize + the .desktop files to use that theme. If no theme name is given, + the default is "hicolor". If this option is not given, the desktop + file will use the pixmap files. --with-neXtaw link with neXT Athena library @@ -647,6 +704,13 @@ The options (in alphabetic order): If xterm is not installed setuid'd to root, this option is not needed, since it cannot change the tty device's ownership. + --with-xpm=DIR use Xpm library for colored icon, may specify path + + Use Xpm library to show colored icon in window decoration, e.g., + title area. + + Use --without-xpm to suppress this feature. + --with-xterm-symlink=XXX make symbolic link to installed xterm If any of the configure options to modify the program name i.e., diff --git a/app/xterm/MANIFEST b/app/xterm/MANIFEST index 53891c47d..6a341da95 100644 --- a/app/xterm/MANIFEST +++ b/app/xterm/MANIFEST @@ -1,4 +1,4 @@ -MANIFEST for xterm-279, version xterm-279 +MANIFEST for xterm-287, version xterm-287 -------------------------------------------------------------------------------- MANIFEST this file 256colres.h resource-definitions for 256-color mode @@ -108,13 +108,35 @@ xtermcfg.hin configure script: template for xtermcfg.h xutf8.c JC's cleanup of UTF8 xutf8.h JC's cleanup of UTF8 icons subdirectory -icons/xterm-color_32x32.xcf gimp file for editing 32x32 icon +icons/filled-xterm.png filled-xterm variants +icons/filled-xterm.svg filled-xterm variants +icons/filled-xterm.xpms filled-xterm variants +icons/filled-xterm_16x16.xpm filled-xterm variants +icons/filled-xterm_32x32.xpm filled-xterm variants +icons/filled-xterm_48x48.xpm filled-xterm variants +icons/make-xpms script to make combined xpm-icons +icons/mini.xterm.svg svg format for mini-icon +icons/mini.xterm.xpms collection of mini-icons +icons/mini.xterm_16x16.png mini-icon 16x16 png +icons/mini.xterm_16x16.xpm mini-icon 16x16 pixmap +icons/mini.xterm_256x256.png mini-icon 256x256 png +icons/mini.xterm_32x32.png mini-icon 32x32 png +icons/mini.xterm_32x32.xpm mini-icon 32x32 pixmap +icons/mini.xterm_48x48.png mini-icon 48x48 png +icons/mini.xterm_48x48.xpm mini-icon 48x48 pixmap +icons/terminal_48x48.svg svg-format of "terminal" +icons/terminal_48x48.xpm xpm-format of "terminal" +icons/xterm-color.png xterm-color 48x48, in png-format +icons/xterm-color.svg xterm-color icon +icons/xterm-color.xpms collection of color icons +icons/xterm-color_16x16.xpm 16x16 color icon icons/xterm-color_32x32.xpm 32x32 color icon -icons/xterm-color_48x48.xcf gimp file for editing 48x48 icon icons/xterm-color_48x48.xpm 48x48 color icon -icons/xterm_32x32.xcf gimp file, for editing 32x32 icon +icons/xterm.png xterm 48x48, in png-format +icons/xterm.svg xterm icon +icons/xterm.xpms collection of icons +icons/xterm_16x16.xpm normal icon 16x16 pixmap 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 @@ -128,7 +150,13 @@ package/debian/source/format build-script package/debian subdirectory package/debian/watch build-script package/debian/xterm-dev.docs build-script +package/debian/xterm-dev.menu Debian menu-file for xterm-dev package. package/debian/xterm-xres.sed build-script +package/freebsd subdirectory +package/freebsd/Makefile build-script +package/freebsd/pkg-descr build-script +package/freebsd/pkg-message build-script +package/freebsd/pkg-plist build-script package subdirectory package/xterm.spec build-script tektests subdirectory @@ -160,6 +188,7 @@ vttests/dynamic.sh script to illustrate the dynamic colors control vttests/dynamic2.sh complete example of dynamic colors vttests/fonts.sh script to demonstrate font-switching sequences vttests/paste64.pl script to test base64-selection option +vttests/query-color.pl demonstrate OSC 4 vttests/query-fonts.pl script to demo/test font-querying vttests/resize.pl translated resize.sh to perl since it is easy to test, and I needed vttests/resize.sh script to demonstrate resizing diff --git a/app/xterm/THANKS b/app/xterm/THANKS index 223c10d50..ede29c96a 100644 --- a/app/xterm/THANKS +++ b/app/xterm/THANKS @@ -1,4 +1,4 @@ --- $XTermId: THANKS,v 1.5 2011/08/21 00:52:56 tom Exp $ +-- $XTermId: THANKS,v 1.8 2012/11/21 23:47:03 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. @@ -12,6 +12,7 @@ Here's a list from xterm.log.html of people who have contributed changes. Adam M Costello Adam Sulmicki +Ailin Nemui Alan Coopersmith Alex Hornung Alexander Pohoyda @@ -21,7 +22,9 @@ Andreas Jaeger Andreas Schwab Andrew Sumner Andrew Tipton +Andries E Brouwer Anton Kovalenko +Balazs Kezes Ben Yoshino Bernhard R Link Bernhard Rosenkraenzer @@ -39,6 +42,7 @@ Christian Weisgerber Chuck Blake D Roland Walker Daniel Colascione +Daniel Drake Daniel Jacobowitz Dave Simmons David Dawes @@ -46,6 +50,7 @@ David Krause David Madore David Martínez Moreno David Mathog +David Wolfskill David Wood David Yeo Denis Zaitsev @@ -57,6 +62,7 @@ Ed Schouten Eddy De Greef Edward S Arthur Egbert Eich +Egmont Koblinger Emanuele Giaquinta Eugene Konev Fabrice Bellard @@ -96,6 +102,7 @@ Kean Johnston Keith Packard Ken Martin Kevin Buhr +Kevin Ryde Kevin Schoedel Kiyokazu Suto Larry Riedel @@ -126,9 +133,11 @@ Nelson Beebe Németh Márton Nicolas George Ovidiu Gheorghioiu +Paul Bolle Paul Gilmartin Paul Giordano Paul Lampert +Paul Maier Paul Vojta Paul Williams Pavel Roskin @@ -159,6 +168,7 @@ Thomas Wolff Tim Adye Tim Pope Tobias Stoeckmann +Todd Eigenschink Todd Larason Todd Miller Tomas Vanhala diff --git a/app/xterm/Tekproc.c b/app/xterm/Tekproc.c index d86f08b26..be2eeb1b0 100644 --- a/app/xterm/Tekproc.c +++ b/app/xterm/Tekproc.c @@ -1,4 +1,4 @@ -/* $XTermId: Tekproc.c,v 1.191 2011/12/27 10:19:51 tom Exp $ */ +/* $XTermId: Tekproc.c,v 1.193 2012/09/07 09:08:44 tom Exp $ */ /* * Copyright 2001-2010,2011 by Thomas E. Dickey @@ -891,6 +891,9 @@ TekClear(TekWidget tw) { TekScreen *tekscr = TekScreenOf(tw); + TRACE(("TekClear\n")); + nplot = 0; + line_pt = Tline; if (TWindow(tekscr)) XClearWindow(XtDisplay(tw), TWindow(tekscr)); } @@ -907,6 +910,7 @@ TekConfigure(Widget w) int border = 2 * screen->border; double d; + TRACE(("TekConfigure\n")); TekClear(tw); TWidth(tekscr) = w->core.width - border; THeight(tekscr) = w->core.height - border; @@ -995,6 +999,7 @@ TekPage(TekWidget tw) TekScreen *tekscr = TekScreenOf(tw); TekLink *tek; + TRACE(("TekPage\n")); TekClear(tw); tekscr->cur_X = 0; tekscr->cur_Y = TEKHOME; diff --git a/app/xterm/VTPrsTbl.c b/app/xterm/VTPrsTbl.c index 825593e8d..7414ee918 100644 --- a/app/xterm/VTPrsTbl.c +++ b/app/xterm/VTPrsTbl.c @@ -1,7 +1,7 @@ -/* $XTermId: VTPrsTbl.c,v 1.66 2012/04/26 09:04:37 tom Exp $ */ +/* $XTermId: VTPrsTbl.c,v 1.69 2012/09/10 23:28:14 tom Exp $ */ /* - * Copyright 1999-2010,2011 by Thomas E. Dickey + * Copyright 1999-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -481,7 +481,7 @@ CASE_ESC_DIGIT, /* 8 9 : ; */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* < = > ? */ CASE_CSI_IGNORE, @@ -552,10 +552,10 @@ CASE_GROUND_STATE, CASE_GROUND_STATE, CASE_DECLL, CASE_DECSTBM, -CASE_DECSC, +CASE_ANSI_SC, /* t u v w */ CASE_XTERM_WINOPS, -CASE_DECRC, +CASE_ANSI_RC, CASE_GROUND_STATE, CASE_GROUND_STATE, /* x y z { */ @@ -641,7 +641,7 @@ CASE_ESC_DIGIT, /* cedilla onesuperior masculine guillemotright */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* onequarter onehalf threequarters questiondown */ CASE_CSI_IGNORE, @@ -712,10 +712,10 @@ CASE_GROUND_STATE, CASE_GROUND_STATE, CASE_DECLL, CASE_DECSTBM, -CASE_DECSC, +CASE_ANSI_SC, /* ocircumflex otilde odiaeresis division */ CASE_XTERM_WINOPS, -CASE_DECRC, +CASE_ANSI_RC, CASE_GROUND_STATE, CASE_GROUND_STATE, /* oslash ugrave uacute ucircumflex */ @@ -805,7 +805,7 @@ CASE_ESC_DIGIT, /* 8 9 : ; */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* < = > ? */ CASE_CSI_IGNORE, @@ -876,10 +876,10 @@ CASE_GROUND_STATE, CASE_GROUND_STATE, CASE_DECLL, CASE_DECSTBM, -CASE_DECSC, +CASE_ANSI_SC, /* t u v w */ CASE_XTERM_WINOPS, -CASE_DECRC, +CASE_ANSI_RC, CASE_GROUND_STATE, CASE_GROUND_STATE, /* x y z { */ @@ -965,7 +965,7 @@ CASE_ESC_DIGIT, /* cedilla onesuperior masculine guillemotright */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* onequarter onehalf threequarters questiondown */ CASE_CSI_IGNORE, @@ -1036,10 +1036,10 @@ CASE_GROUND_STATE, CASE_GROUND_STATE, CASE_DECLL, CASE_DECSTBM, -CASE_DECSC, +CASE_ANSI_SC, /* ocircumflex otilde odiaeresis division */ CASE_XTERM_WINOPS, -CASE_DECRC, +CASE_ANSI_RC, CASE_GROUND_STATE, CASE_GROUND_STATE, /* oslash ugrave uacute ucircumflex */ @@ -3079,7 +3079,7 @@ CASE_ESC_DIGIT, /* 8 9 : ; */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* < = > ? */ CASE_CSI_IGNORE, @@ -3239,7 +3239,7 @@ CASE_ESC_DIGIT, /* cedilla onesuperior masculine guillemotright */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* onequarter onehalf threequarters questiondown */ CASE_CSI_IGNORE, @@ -3729,7 +3729,7 @@ CASE_ESC_DIGIT, /* 8 9 : ; */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* < = > ? */ CASE_CSI_IGNORE, @@ -3889,7 +3889,7 @@ CASE_ESC_DIGIT, /* cedilla onesuperior masculine guillemotright */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* onequarter onehalf threequarters questiondown */ CASE_CSI_IGNORE, @@ -4053,7 +4053,7 @@ CASE_ESC_DIGIT, /* 8 9 : ; */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* < = > ? */ CASE_CSI_IGNORE, @@ -4213,7 +4213,7 @@ CASE_ESC_DIGIT, /* cedilla onesuperior masculine guillemotright */ CASE_ESC_DIGIT, CASE_ESC_DIGIT, -CASE_CSI_IGNORE, +CASE_ESC_COLON, CASE_ESC_SEMI, /* onequarter onehalf threequarters questiondown */ CASE_CSI_IGNORE, diff --git a/app/xterm/VTparse.def b/app/xterm/VTparse.def index 7f6a83ae0..0c0917321 100644 --- a/app/xterm/VTparse.def +++ b/app/xterm/VTparse.def @@ -1,4 +1,4 @@ -# $XTermId: VTparse.def,v 1.44 2012/04/26 01:01:03 tom Exp $ +# $XTermId: VTparse.def,v 1.46 2012/09/10 23:26:44 tom Exp $ # # vile:confmode rs=lf # ----------------------------------------------------------------------------- @@ -194,3 +194,6 @@ CASE_DECFI CASE_DECRQCRA CASE_HPR CASE_VPR +CASE_ANSI_SC +CASE_ANSI_RC +CASE_ESC_COLON diff --git a/app/xterm/VTparse.h b/app/xterm/VTparse.h index 2a747df93..7b7b4f1c3 100644 --- a/app/xterm/VTparse.h +++ b/app/xterm/VTparse.h @@ -1,4 +1,4 @@ -/* $XTermId: VTparse.h,v 1.57 2012/04/26 01:01:03 tom Exp $ */ +/* $XTermId: VTparse.h,v 1.59 2012/09/10 23:27:03 tom Exp $ */ /* * Copyright 2002-2011,2012 by Thomas E. Dickey @@ -61,7 +61,7 @@ # if defined(__STDC__) && !defined(__cplusplus) # define Const const # else -# define Const /**/ +# define Const /**/ # endif #endif @@ -91,12 +91,12 @@ extern Const PARSE_T csi_dec_dollar_table[]; #if OPT_DEC_LOCATOR extern Const PARSE_T csi_tick_table[]; -#endif /* OPT_DEC_LOCATOR */ +#endif /* OPT_DEC_LOCATOR */ #if OPT_DEC_RECTOPS extern Const PARSE_T csi_dollar_table[]; extern Const PARSE_T csi_star_table[]; -#endif /* OPT_DEC_LOCATOR */ +#endif /* OPT_DEC_LOCATOR */ #if OPT_VT52_MODE extern Const PARSE_T vt52_table[]; @@ -275,5 +275,8 @@ extern Const PARSE_T esc_pct_table[]; #define CASE_DECRQCRA 153 #define CASE_HPR 154 #define CASE_VPR 155 +#define CASE_ANSI_SC 156 +#define CASE_ANSI_RC 157 +#define CASE_ESC_COLON 158 #endif /* included_VTparse_h */ diff --git a/app/xterm/XTerm.ad b/app/xterm/XTerm.ad index c6de26447..81d82d8e7 100644 --- a/app/xterm/XTerm.ad +++ b/app/xterm/XTerm.ad @@ -31,7 +31,6 @@ ! authorization. ! ----------------------------------------------------------------------------- -*scrollBar: true *saveLines: 1024 *SimpleMenu*BackingStore: NotUseful @@ -256,29 +255,16 @@ !*allowTitleOps: false !*allowWindowOps: false -! Uncomment this to have a login shell by default -!*VT100*login_shell: true +! OpenBSD local modifications -!This can be useful if you have an IntelliMouse. It maps the button -!events generated by the wheel -*VT100*translations: #override \ - !Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\ - !Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\ - !Lock @Num_Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\ - ! @Num_Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\ - <Btn4Down>: scroll-back(5,line) \n\ - !Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\ - !Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\ - !Lock @Num_Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\ - ! @Num_Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\ - <Btn5Down>: scroll-forw(5,line) +! ScrollBar by default +*scrollBar: true ! Traditional function keys behaviour -*VT100*modifyFunctionKeys: 0 +*modifyFunctionKeys: 0 -! Restore the traditional backarrow/delete key behaviour -! The delete key should generate DEL -*deleteIsDEL: true -! and the back arrow generates whatever the erase char is set to -*ptyInitialErase: true -*backarrowKeyIsErase: true +! Never hide the mouse pointer +*pointerMode: 0 + +! Uncomment this to have a login shell by default +!*VT100*login_shell: true diff --git a/app/xterm/button.c b/app/xterm/button.c index cdf05b318..5716c8d34 100644 --- a/app/xterm/button.c +++ b/app/xterm/button.c @@ -1,4 +1,4 @@ -/* $XTermId: button.c,v 1.434 2012/05/10 11:06:10 tom Exp $ */ +/* $XTermId: button.c,v 1.435 2012/11/20 01:15:57 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -1819,14 +1819,25 @@ base64_flush(TScreen * screen) #endif /* OPT_PASTE64 */ static void -_qWriteSelectionData(TScreen * screen, Char * lag, unsigned length) +_qWriteSelectionData(XtermWidget xw, Char * lag, unsigned length) { + TScreen *screen = TScreenOf(xw); + #if OPT_PASTE64 if (screen->base64_paste) { /* Send data as base64 */ Char *p = lag; Char buf[64]; unsigned x = 0; + + /* + * Handle the case where the selection is from _this_ xterm, which + * puts part of the reply in the buffer before the selection callback + * happens. + */ + if (screen->base64_paste && screen->unparse_len) { + unparse_end(xw); + } while (length--) { switch (screen->base64_count) { case 0: @@ -1876,12 +1887,13 @@ _qWriteSelectionData(TScreen * screen, Char * lag, unsigned length) } static void -_WriteSelectionData(TScreen * screen, Char * line, size_t length) +_WriteSelectionData(XtermWidget xw, Char * line, size_t length) { /* Write data to pty a line at a time. */ /* Doing this one line at a time may no longer be necessary because v_write has been re-written. */ + TScreen *screen = TScreenOf(xw); Char *lag, *end; /* in the VMS version, if tt_pasting isn't set to True then qio @@ -1897,7 +1909,7 @@ _WriteSelectionData(TScreen * screen, Char * line, size_t length) #if OPT_PASTE64 if (screen->base64_paste) { - _qWriteSelectionData(screen, lag, (unsigned) (end - lag)); + _qWriteSelectionData(xw, lag, (unsigned) (end - lag)); base64_flush(screen); } else #endif @@ -1907,14 +1919,14 @@ _WriteSelectionData(TScreen * screen, Char * line, size_t length) for (cp = line; cp != end; cp++) { if (*cp == '\n') { *cp = '\r'; - _qWriteSelectionData(screen, lag, (unsigned) (cp - lag + 1)); + _qWriteSelectionData(xw, lag, (unsigned) (cp - lag + 1)); lag = cp + 1; } } } if (lag != end) { - _qWriteSelectionData(screen, lag, (unsigned) (end - lag)); + _qWriteSelectionData(xw, lag, (unsigned) (end - lag)); } } #ifdef VMS @@ -2061,7 +2073,7 @@ SelectionReceived(Widget w, screen->internal_select = buffer; } } else { - _WriteSelectionData(screen, (Char *) text_list[i], len); + _WriteSelectionData(xw, (Char *) text_list[i], len); } } #if OPT_PASTE64 diff --git a/app/xterm/charproc.c b/app/xterm/charproc.c index 8940e8830..816ac689b 100644 --- a/app/xterm/charproc.c +++ b/app/xterm/charproc.c @@ -1,4 +1,4 @@ -/* $XTermId: charproc.c,v 1.1205 2012/05/10 10:51:37 tom Exp $ */ +/* $XTermId: charproc.c,v 1.1270 2012/11/25 19:25:10 Balazs.Kezes Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -102,7 +102,12 @@ #endif +#if OPT_DOUBLE_BUFFER +#include <X11/extensions/Xdbe.h> +#endif + #if OPT_WIDE_CHARS +#include <xutf8.h> #include <wcwidth.h> #include <precompose.h> #ifdef HAVE_LANGINFO_CODESET @@ -181,9 +186,16 @@ static void PreeditPosition(XtermWidget /* xw */ ); #define DEFAULT -1 #define BELLSUPPRESSMSEC 200 -static int nparam; static ANSI reply; -static int param[NPARAM]; +static PARAMS parms; + +#define nparam parms.count + +#define InitParams() parms.count = parms.is_sub[0] = parms.has_subparams = 0 +#define GetParam(n) parms.params[(n)] +#define SetParam(n,v) parms.params[(n)] = v +#define ParamPair(n) nparam - (n), parms.params + (n) +#define ParamsDone() InitParams() static jmp_buf vtjmpbuf; @@ -385,21 +397,23 @@ static XtResource xterm_resources[] = Bres(XtNallowTitleOps, XtCAllowTitleOps, screen.allowTitleOp0, DEF_ALLOW_TITLE), Bres(XtNallowWindowOps, XtCAllowWindowOps, screen.allowWindowOp0, DEF_ALLOW_WINDOW), Bres(XtNaltIsNotMeta, XtCAltIsNotMeta, screen.alt_is_not_meta, False), - Bres(XtNaltSendsEscape, XtCAltSendsEscape, screen.alt_sends_esc, False), + Bres(XtNaltSendsEscape, XtCAltSendsEscape, screen.alt_sends_esc, DEF_ALT_SENDS_ESC), Bres(XtNallowBoldFonts, XtCAllowBoldFonts, screen.allowBoldFonts, True), Bres(XtNalwaysBoldMode, XtCAlwaysBoldMode, screen.always_bold_mode, False), Bres(XtNalwaysHighlight, XtCAlwaysHighlight, screen.always_highlight, False), Bres(XtNappcursorDefault, XtCAppcursorDefault, misc.appcursorDefault, False), Bres(XtNappkeypadDefault, XtCAppkeypadDefault, misc.appkeypadDefault, False), + Bres(XtNalternateScroll, XtCScrollCond, screen.alternateScroll, False), Bres(XtNautoWrap, XtCAutoWrap, misc.autoWrap, True), Bres(XtNawaitInput, XtCAwaitInput, screen.awaitInput, False), Bres(XtNfreeBoldBox, XtCFreeBoldBox, screen.free_bold_box, False), - Bres(XtNbackarrowKey, XtCBackarrowKey, screen.backarrow_key, True), + Bres(XtNbackarrowKey, XtCBackarrowKey, screen.backarrow_key, DEF_BACKARO_DEL), Bres(XtNbellIsUrgent, XtCBellIsUrgent, screen.bellIsUrgent, False), Bres(XtNbellOnReset, XtCBellOnReset, screen.bellOnReset, True), Bres(XtNboldMode, XtCBoldMode, screen.bold_mode, True), Bres(XtNbrokenSelections, XtCBrokenSelections, screen.brokenSelections, False), Bres(XtNc132, XtCC132, screen.c132, False), + Bres(XtNcdXtraScroll, XtCCdXtraScroll, misc.cdXtraScroll, False), Bres(XtNcurses, XtCCurses, screen.curses, False), Bres(XtNcutNewline, XtCCutNewline, screen.cutNewline, True), Bres(XtNcutToBeginningOfLine, XtCCutToBeginningOfLine, @@ -419,7 +433,7 @@ static XtResource xterm_resources[] = Bres(XtNkeepSelection, XtCKeepSelection, screen.keepSelection, True), Bres(XtNloginShell, XtCLoginShell, misc.login_shell, False), Bres(XtNmarginBell, XtCMarginBell, screen.marginbell, False), - Bres(XtNmetaSendsEscape, XtCMetaSendsEscape, screen.meta_sends_esc, False), + Bres(XtNmetaSendsEscape, XtCMetaSendsEscape, screen.meta_sends_esc, DEF_META_SENDS_ESC), Bres(XtNmultiScroll, XtCMultiScroll, screen.multiscroll, False), Bres(XtNoldXtermFKeys, XtCOldXtermFKeys, screen.old_fkeys, False), Bres(XtNpopOnBell, XtCPopOnBell, screen.poponbell, False), @@ -511,7 +525,7 @@ static XtResource xterm_resources[] = #endif #ifndef NO_ACTIVE_ICON - Bres("activeIcon", "ActiveIcon", misc.active_icon, False), + Sres("activeIcon", "ActiveIcon", misc.active_icon_s, "default"), Ires("iconBorderWidth", XtCBorderWidth, misc.icon_border_width, 2), Sres("iconFont", "IconFont", screen.icon_fontname, "nil2"), Cres("iconBorderColor", XtCBorderColor, misc.icon_border_pixel, XtDefaultBackground), @@ -622,6 +636,8 @@ static XtResource xterm_resources[] = CLICK_RES("5", screen.onClick[4], 0), #if OPT_MOD_FKEYS + Ires(XtNmodifyKeyboard, XtCModifyKeyboard, + keyboard.modify_1st.allow_keys, 0), Ires(XtNmodifyCursorKeys, XtCModifyCursorKeys, keyboard.modify_1st.cursor_keys, 2), Ires(XtNmodifyFunctionKeys, XtCModifyFunctionKeys, @@ -1168,6 +1184,9 @@ set_mod_fkeys(XtermWidget xw, int which, int what, Bool enabled) xw->keyboard.modify_now.field)); switch (which) { + case 0: + SET_MOD_FKEYS(allow_keys); + break; case 1: SET_MOD_FKEYS(cursor_keys); break; @@ -1235,6 +1254,24 @@ which_table(Const PARSE_T * table) } #endif +#if OPT_TRACE > 0 +static void +dump_params(void) +{ + int n; + int arg; + TRACE(("params %d (%d)\n", nparam, parms.has_subparams)); + for (arg = 1, n = 0; n < nparam; ++n) { + TRACE(("%3d.%d %d\n", arg, parms.is_sub[n], parms.params[n])); + if (!parms.is_sub[n]) + ++arg; + } +} +#define DumpParams() dump_params() +#else +#define DumpParams() /* nothing */ +#endif + /* allocate larger buffer if needed/possible */ #define SafeAlloc(type, area, used, size) \ type *new_string = area; \ @@ -1326,10 +1363,225 @@ select_charset(struct ParseState *sp, int type, int size) } } +/* + * Given a parameter number, and subparameter (starting in each case from zero) + * return the corresponding index into the parameter array. If the combination + * is not found, return -1. + */ +static int +subparam_index(int p, int s) +{ + int result = -1; + int j, p2, s2; + + for (j = p2 = 0; j < nparam; ++j, ++p2) { + if (parms.is_sub[j]) { + s2 = 0; + + do { + if ((p == p2) && (s == s2)) { + result = j; + break; + } + ++s2; + } while ((++j < nparam) && (parms.is_sub[j - 1] < parms.is_sub[j])); + + if (result >= 0) + break; + + --j; /* undo the last "while" */ + } else if (p == p2) { + if (s == 0) { + result = j; + } + break; + } + } + TRACE2(("...subparam_index %d.%d = %d\n", p + 1, s + 1, result)); + return result; +} + +/* + * Given an index into the parameter array, return the corresponding parameter + * number (starting from zero). + */ +static int +param_number(int item) +{ + int result = -1; + int j, p; + + for (j = p = 0; j < nparam; ++j, ++p) { + if (p >= item) { + result = j; + break; + } + if (parms.is_sub[j]) { + while ((++j < nparam) && (parms.is_sub[j - 1] < parms.is_sub[j])) { + /* EMPTY */ + } + --j; + } + } + + TRACE2(("...param_number(%d) = %d\n", item, result)); + return result; +} + +static int +get_subparam(int p, int s) +{ + int item = subparam_index(p, s); + int result = (item >= 0) ? parms.params[item] : DEFAULT; + TRACE(("...get_subparam[%d] = %d\n", item, result)); + return result; +} + +/* + * Check if the given item in the parameter array has subparameters. + * If so, return the number of subparameters to use as a loop limit, etc. + */ +static int +param_has_subparams(int item) +{ + int result = 0; + if (parms.has_subparams) { + int n = subparam_index(item, 0); + if (n >= 0 && parms.is_sub[n]) { + while (n++ < nparam && parms.is_sub[n - 1] < parms.is_sub[n]) { + result++; + } + } + } + TRACE(("...param_has_subparams(%d) ->%d\n", item, result)); + return result; +} + +#if OPT_256_COLORS || OPT_88_COLORS || OPT_ISO_COLORS +/* + * Some background - + * + * Todd Larason provided the initial changes to support 256-colors in July 1999. + * I pointed out that the description of SGR 38/48 in ECMA-48 was vague, and + * was unsure if there would be some standard using those codes. His response + * was that this was documented (it turns out, in equally vague terms) in ITU + * T.416 + * + * Discussing this with Todd Larason in mid-1999, my point was that given the + * high cost of obtaining ITU T.416 (ISO-8613-6), the standard was not going + * to be effective (more than $100 then, more than $200 in 2012) + * + * We overlooked the detail about ":" as a subparameter delimiter (documented + * in 5.4.t2 in ECMA-48). Some discussion in KDE in mid-2006 led Lars Doelle + * to discuss the issue with me. Lars' initial concern dealt with the fact + * that a sequence such as + * CSI 38 ; 5 ; 1 m + * violated the principle that SGR parameters could be used in any order. + * Further discussion (see KDE #107487) resolved that the standard expected + * that the sequence would look like + * CSI 38 ; 5 : 1 m + * which still violates that principle, since the "5:1" parameter has to + * follow the "38" to be useful. + * + * This function accepts either format (per request by Paul Leonerd Evans). + * It also accepts + * CSI 38 : 5 : 1 m + * according to Lars' original assumption. + * + * By the way - all of the parameters are decimal integers. + */ +#define extended_colors_limit(n) ((n) == 5 ? 1 : ((n) == 2 ? 3 : 0)) +static Boolean +parse_extended_colors(XtermWidget xw, int *colorp, int *itemp) +{ + Boolean result = False; + int item = *itemp; + int next = item; + int base = param_number(item); + int code = -1; + int values[3]; /* maximum number of subparameters */ + int need = 0; /* number of subparameters needed */ + int have; + int n; + + /* + * On entry, 'item' points to the 38/48 code in the parameter array. + * If that has subparameters, we will expect all of the values to + * be subparameters of that item. + */ + if ((have = param_has_subparams(item)) != 0) { + /* accept CSI 38 : 5 : 1 m */ + /* accept CSI 38 : 2 : 1 : 2 : 3 m */ + code = get_subparam(base, 1); + need = extended_colors_limit(code); + next = item + have; + for (n = 0; n < need && n < 3; ++n) { + values[n] = get_subparam(base, 2 + n); + } + } else if (++item < nparam) { + ++base; + if ((have = param_has_subparams(item)) != 0) { + /* accept CSI 38 ; 5 : 1 m */ + /* accept CSI 38 ; 2 : 1 : 2 : 3 m */ + code = get_subparam(base, 0); + need = extended_colors_limit(code); + next = base + have; + for (n = 0; n < need && n < 3; ++n) { + values[n] = get_subparam(base, 1 + n); + } + } else { + /* accept CSI 38 ; 5 ; 1 m */ + /* accept CSI 38 ; 2 ; 1 ; 2 ; 3 m */ + code = GetParam(item); + need = extended_colors_limit(code); + next = item + need; + for (n = 0; n < need && n < 3; ++n) { + values[n] = GetParam(item + 1 + n); + } + } + } + item = next; + + switch (code) { + case 2: + /* direct color in rgb space */ + if ((values[0] >= 0 && values[0] < 256) && + (values[1] >= 0 && values[1] < 256) && + (values[2] >= 0 && values[2] < 256)) { + *colorp = xtermClosestColor(xw, values[0], values[1], values[2]); + } else { + *colorp = -1; + } + break; + case 5: + /* indexed color */ + *colorp = values[0]; + break; + default: + *colorp = -1; + break; + } + + result = (*colorp >= 0 && *colorp < NUM_ANSI_COLORS); + TRACE(("...resulting color %d/%d %s\n", + *colorp, NUM_ANSI_COLORS, + result ? "OK" : "ERR")); + + *itemp = item; + return result; +} +#endif /* ...extended_colors */ + +static int +optional_param(int which) +{ + return (nparam > which) ? GetParam(which) : DEFAULT; +} + static int zero_if_default(int which) { - int result = (nparam > which) ? param[which] : 0; + int result = (nparam > which) ? GetParam(which) : 0; if (result <= 0) result = 0; return result; @@ -1338,19 +1590,60 @@ zero_if_default(int which) static int one_if_default(int which) { - int result = (nparam > which) ? param[which] : 0; + int result = (nparam > which) ? GetParam(which) : 0; if (result <= 0) result = 1; return result; } +/* + * Color palette changes using the OSC controls require a repaint of the + * screen - but not immediately. Do the repaint as soon as we detect a + * state which will not lead to another color palette change. + */ +static void +repaintWhenPaletteChanged(XtermWidget xw, struct ParseState *sp) +{ + Boolean ignore = False; + + switch (sp->nextstate) { + case CASE_ESC: + ignore = ((sp->parsestate == ansi_table) || + (sp->parsestate == sos_table)); + break; + case CASE_OSC: + ignore = ((sp->parsestate == ansi_table) || + (sp->parsestate == esc_table)); + break; + case CASE_IGNORE: + ignore = (sp->parsestate == sos_table); + break; + case CASE_ST: + ignore = ((sp->parsestate == esc_table) || + (sp->parsestate == sos_table)); + break; + case CASE_ESC_DIGIT: + ignore = (sp->parsestate == csi_table); + break; + case CASE_ESC_SEMI: + ignore = (sp->parsestate == csi2_table); + break; + } + + if (!ignore) { + TRACE(("repaintWhenPaletteChanged\n")); + xw->misc.palette_changed = False; + xtermRepaint(xw); + } +} + #if OPT_C1_PRINT || OPT_WIDE_CHARS #define ParseSOS(screen) ((screen)->c1_printable == 0) #else #define ParseSOS(screen) 0 #endif -#define ResetState(sp) (sp)->parsestate = (sp)->groundtable +#define ResetState(sp) ParamsDone(), (sp)->parsestate = (sp)->groundtable static void illegal_parse(XtermWidget xw, unsigned c, struct ParseState *sp) @@ -1385,9 +1678,9 @@ static Boolean doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) { TScreen *screen = TScreenOf(xw); - int row; - int col; + int item; int count; + int value; int laststate; int thischar = -1; XTermRect myRect; @@ -1402,12 +1695,22 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) * character sets do not use this feature. There are some unassigned * codes at 0x242, but no zero-width characters until past 0x300. */ - if (c >= 0x300 && screen->wide_chars - && my_wcwidth((int) c) == 0 + if (c >= 0x300 + && screen->wide_chars + && my_wcwidth((wchar_t) c) == 0 && !isWideControl(c)) { int prev, test; + Boolean used = True; + int use_row; + int use_col; WriteNow(); + use_row = (screen->char_was_written + ? screen->last_written_row + : screen->cur_row); + use_col = (screen->char_was_written + ? screen->last_written_col + : screen->cur_col); /* * Check if the latest data can be added to the base character. @@ -1415,16 +1718,13 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) * we cannot, since that would change the order. */ if (screen->normalized_c - && !IsCellCombined(screen, - screen->last_written_row, - screen->last_written_col)) { - prev = (int) XTERM_CELL(screen->last_written_row, - screen->last_written_col); + && !IsCellCombined(screen, use_row, use_col)) { + prev = (int) XTERM_CELL(use_row, use_col); test = do_precomposition(prev, (int) c); TRACE(("do_precomposition (U+%04X [%d], U+%04X [%d]) -> U+%04X [%d]\n", - prev, my_wcwidth(prev), - (int) c, my_wcwidth((int) c), - test, my_wcwidth(test))); + prev, my_wcwidth((wchar_t) prev), + (int) c, my_wcwidth((wchar_t) c), + test, my_wcwidth((wchar_t) test))); } else { prev = -1; test = -1; @@ -1433,21 +1733,25 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) /* substitute combined character with precomposed character * only if it does not change the width of the base character */ - if (test != -1 && my_wcwidth(test) == my_wcwidth(prev)) { - putXtermCell(screen, - screen->last_written_row, - screen->last_written_col, test); + if (test != -1 + && my_wcwidth((wchar_t) test) == my_wcwidth((wchar_t) prev)) { + putXtermCell(screen, use_row, use_col, test); + } else if (screen->char_was_written + || getXtermCell(screen, use_row, use_col) > ' ') { + addXtermCombining(screen, use_row, use_col, c); } else { - addXtermCombining(screen, - screen->last_written_row, - screen->last_written_col, c); + /* + * none of the above... we will add the combining character as + * a base character. + */ + used = False; } - if (!screen->scroll_amt) - ScrnUpdate(xw, - screen->last_written_row, - screen->last_written_col, 1, 1, 1); - continue; + if (used) { + if (!screen->scroll_amt) + ScrnUpdate(xw, use_row, use_col, 1, 1, 1); + continue; + } } #endif @@ -1464,19 +1768,17 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) */ #if OPT_VT52_MODE if (sp->vt52_cup) { - if (nparam < NPARAM) - param[nparam++] = (int) (c & 0x7f) - 32; + if (nparam < NPARAM) { + SetParam(nparam++, (int) (c & 0x7f) - 32); + parms.is_sub[nparam] = 0; + } if (nparam < 2) continue; sp->vt52_cup = False; - if ((row = param[0]) < 0) - row = 0; - if ((col = param[1]) < 0) - col = 0; - CursorSet(screen, row, col, xw->flags); + CursorSet(screen, zero_if_default(0), zero_if_default(1), xw->flags); sp->parsestate = vt52_table; - param[0] = 0; - param[1] = 0; + SetParam(0, 0); + SetParam(1, 0); continue; } #endif @@ -1678,8 +1980,59 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) sp->string_used = 0; } + DumpParams(); TRACE(("parse %04X -> %d %s\n", c, sp->nextstate, which_table(sp->parsestate))); + /* + * If the parameter list has subparameters (tokens separated by ":") + * reject any controls that do not accept subparameters. + */ + if (parms.has_subparams) { + switch (sp->nextstate) { + case CASE_GROUND_STATE: + case CASE_CSI_IGNORE: + /* FALLTHRU */ + + case CASE_ESC_DIGIT: + case CASE_ESC_SEMI: + case CASE_ESC_COLON: + /* these states are required to parse parameter lists */ + break; + + case CASE_SGR: + TRACE(("...possible subparam usage\n")); + break; + + case CASE_CSI_DEC_DOLLAR_STATE: + case CASE_CSI_DOLLAR_STATE: + case CASE_CSI_EX_STATE: + case CASE_CSI_QUOTE_STATE: + case CASE_CSI_SPACE_STATE: + case CASE_CSI_STAR_STATE: + case CASE_CSI_TICK_STATE: + case CASE_DEC2_STATE: + case CASE_DEC3_STATE: + case CASE_DEC_STATE: + /* use this branch when we do not yet have the final character */ + TRACE(("...unexpected subparam usage\n")); + ParamsDone(); + sp->nextstate = CASE_CSI_IGNORE; + break; + + default: + /* use this branch for cases where we have the final character + * in the table that processed the parameter list. + */ + TRACE(("...unexpected subparam usage\n")); + ResetState(sp); + continue; + } + } + + if (xw->misc.palette_changed) { + repaintWhenPaletteChanged(xw, sp); + } + switch (sp->nextstate) { case CASE_PRINT: TRACE(("CASE_PRINT - printable characters\n")); @@ -1736,7 +2089,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_VT52_CUP: TRACE(("CASE_VT52_CUP - VT52 cursor addressing\n")); sp->vt52_cup = True; - nparam = 0; + InitParams(); break; case CASE_VT52_IGNORE: @@ -1761,8 +2114,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_CBT: TRACE(("CASE_CBT\n")); /* cursor backward tabulation */ - if ((count = param[0]) == DEFAULT) - count = 1; + count = one_if_default(0); while ((count-- > 0) && (TabToPrevStop(xw))) ; ResetState(sp); @@ -1771,8 +2123,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_CHT: TRACE(("CASE_CHT\n")); /* cursor forward tabulation */ - if ((count = param[0]) == DEFAULT) - count = 1; + count = one_if_default(0); while ((count-- > 0) && (TabToNextStop(xw))) ; ResetState(sp); @@ -1860,11 +2211,10 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_ESC_DIGIT: /* digit in csi or dec mode */ if (nparam > 0) { - if ((row = param[nparam - 1]) == DEFAULT) - row = 0; - param[nparam - 1] = (10 * row) + ((int) c - '0'); - if (param[nparam - 1] > 65535) - param[nparam - 1] = 65535; + value = zero_if_default(nparam - 1); + SetParam(nparam - 1, (10 * value) + ((int) c - '0')); + if (GetParam(nparam - 1) > 65535) + SetParam(nparam - 1, 65535); if (sp->parsestate == csi_table) sp->parsestate = csi2_table; } @@ -1872,12 +2222,38 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_ESC_SEMI: /* semicolon in csi or dec mode */ - if (nparam < NPARAM) - param[nparam++] = DEFAULT; + if (nparam < NPARAM) { + parms.is_sub[nparam] = 0; + SetParam(nparam++, DEFAULT); + } if (sp->parsestate == csi_table) sp->parsestate = csi2_table; break; + /* + * A _few_ commands accept colon-separated subparameters. + * Mark the parameter list so that we can exclude (most) bogus + * commands with simple/fast checks. + */ + case CASE_ESC_COLON: + if (nparam < NPARAM) { + parms.has_subparams = 1; + if (nparam == 0) { + parms.is_sub[nparam] = 1; + SetParam(nparam++, DEFAULT); + } else if (parms.is_sub[nparam - 1] == 0) { + parms.is_sub[nparam - 1] = 1; + parms.is_sub[nparam] = 2; + parms.params[nparam] = 0; + ++nparam; + } else { + parms.is_sub[nparam] = 1 + parms.is_sub[nparam - 1]; + parms.params[nparam] = 0; + ++nparam; + } + } + break; + case CASE_DEC_STATE: /* enter dec mode */ sp->parsestate = dec_table; @@ -1895,41 +2271,31 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_ICH: TRACE(("CASE_ICH - insert char\n")); - if ((row = param[0]) < 1) - row = 1; - InsertChar(xw, (unsigned) row); + InsertChar(xw, (unsigned) one_if_default(0)); ResetState(sp); break; case CASE_CUU: TRACE(("CASE_CUU - cursor up\n")); - if ((row = param[0]) < 1) - row = 1; - CursorUp(screen, row); + CursorUp(screen, one_if_default(0)); ResetState(sp); break; case CASE_CUD: TRACE(("CASE_CUD - cursor down\n")); - if ((row = param[0]) < 1) - row = 1; - CursorDown(screen, row); + CursorDown(screen, one_if_default(0)); ResetState(sp); break; case CASE_CUF: TRACE(("CASE_CUF - cursor forward\n")); - if ((col = param[0]) < 1) - col = 1; - CursorForward(xw, col); + CursorForward(xw, one_if_default(0)); ResetState(sp); break; case CASE_CUB: TRACE(("CASE_CUB - cursor backward\n")); - if ((col = param[0]) < 1) - col = 1; - CursorBack(xw, col); + CursorBack(xw, one_if_default(0)); ResetState(sp); break; @@ -1938,43 +2304,37 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) if_OPT_XMC_GLITCH(screen, { Jump_XMC(xw); }); - if ((row = param[0]) < 1) - row = 1; - if (nparam < 2 || (col = param[1]) < 1) - col = 1; - CursorSet(screen, row - 1, col - 1, xw->flags); + CursorSet(screen, one_if_default(0) - 1, one_if_default(1) - 1, xw->flags); ResetState(sp); break; case CASE_VPA: TRACE(("CASE_VPA - vertical position absolute\n")); - if ((row = param[0]) < 1) - row = 1; - CursorSet(screen, row - 1, CursorCol(xw), xw->flags); + CursorSet(screen, one_if_default(0) - 1, CursorCol(xw), xw->flags); ResetState(sp); break; case CASE_HPA: TRACE(("CASE_HPA - horizontal position absolute\n")); - if ((col = param[0]) < 1) - col = 1; - CursorSet(screen, CursorRow(xw), col - 1, xw->flags); + CursorSet(screen, CursorRow(xw), one_if_default(0) - 1, xw->flags); ResetState(sp); break; case CASE_VPR: TRACE(("CASE_VPR - vertical position relative\n")); - if ((row = param[0]) < 1) - row = 1; - CursorSet(screen, CursorRow(xw) + row, CursorCol(xw), xw->flags); + CursorSet(screen, + CursorRow(xw) + one_if_default(0), + CursorCol(xw), + xw->flags); ResetState(sp); break; case CASE_HPR: TRACE(("CASE_HPR - horizontal position relative\n")); - if ((col = param[0]) < 1) - col = 1; - CursorSet(screen, CursorRow(xw), CursorCol(xw) + col, xw->flags); + CursorSet(screen, + CursorRow(xw), + CursorCol(xw) + one_if_default(0), + xw->flags); ResetState(sp); break; @@ -1990,44 +2350,41 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_ED: TRACE(("CASE_ED - erase display\n")); - do_erase_display(xw, param[0], OFF_PROTECT); + do_cd_xtra_scroll(xw); + do_erase_display(xw, zero_if_default(0), OFF_PROTECT); ResetState(sp); break; case CASE_EL: TRACE(("CASE_EL - erase line\n")); - do_erase_line(xw, param[0], OFF_PROTECT); + do_erase_line(xw, zero_if_default(0), OFF_PROTECT); ResetState(sp); break; case CASE_ECH: TRACE(("CASE_ECH - erase char\n")); /* ECH */ - ClearRight(xw, param[0] < 1 ? 1 : param[0]); + ClearRight(xw, one_if_default(0)); ResetState(sp); break; case CASE_IL: TRACE(("CASE_IL - insert line\n")); - if ((row = param[0]) < 1) - row = 1; - InsertLine(xw, row); + set_cur_col(screen, ScrnLeftMargin(xw)); + InsertLine(xw, one_if_default(0)); ResetState(sp); break; case CASE_DL: TRACE(("CASE_DL - delete line\n")); - if ((row = param[0]) < 1) - row = 1; - DeleteLine(xw, row); + set_cur_col(screen, ScrnLeftMargin(xw)); + DeleteLine(xw, one_if_default(0)); ResetState(sp); break; case CASE_DCH: TRACE(("CASE_DCH - delete char\n")); - if ((row = param[0]) < 1) - row = 1; - DeleteChar(xw, (unsigned) row); + DeleteChar(xw, (unsigned) one_if_default(0)); ResetState(sp); break; @@ -2037,7 +2394,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) * A zero-parameter is used to reset the mouse mode, and is * not useful for scrolling anyway. */ - if (nparam > 1 || param[0] == 0) { + if (nparam > 1 || GetParam(0) == 0) { CELL start; TRACE(("CASE_TRACK_MOUSE\n")); @@ -2045,17 +2402,15 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) * specified rows */ start.row = one_if_default(2) - 1; - start.col = param[1] - 1; + start.col = GetParam(1) - 1; TrackMouse(xw, - param[0], + GetParam(0), &start, - param[3] - 1, param[4] - 2); + GetParam(3) - 1, GetParam(4) - 2); } else { TRACE(("CASE_SD - scroll down\n")); /* SD */ - if ((count = param[0]) < 1) - count = 1; - RevScroll(xw, count); + RevScroll(xw, one_if_default(0)); do_xevents(); } ResetState(sp); @@ -2071,21 +2426,21 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) ResetState(sp); break; }); - param[0] = DEFAULT; /* Default ID parameter */ + SetParam(0, DEFAULT); /* Default ID parameter */ /* FALLTHRU */ case CASE_DA1: TRACE(("CASE_DA1\n")); - if (param[0] <= 0) { /* less than means DEFAULT */ + if (GetParam(0) <= 0) { /* less than means DEFAULT */ count = 0; init_reply(ANSI_CSI); reply.a_pintro = '?'; - /* The first param corresponds to the highest - * operating level (i.e., service level) of the - * emulation. A DEC terminal can be setup to - * respond with a different DA response, but - * there's no control sequence that modifies this. - * We set it via a resource. + /* + * The first parameter corresponds to the highest operating + * level (i.e., service level) of the emulation. A DEC + * terminal can be setup to respond with a different DA + * response, but there's no control sequence that modifies + * this. We set it via a resource. */ if (screen->terminal_id < 200) { switch (screen->terminal_id) { @@ -2114,6 +2469,10 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) reply.a_param[count++] = 8; /* user-defined-keys */ reply.a_param[count++] = 9; /* national replacement charsets */ reply.a_param[count++] = 15; /* technical characters */ + if (screen->terminal_id >= 400) { + reply.a_param[count++] = 18; /* windowing capability */ + reply.a_param[count++] = 21; /* horizontal scrolling */ + } if_OPT_ISO_COLORS(screen, { reply.a_param[count++] = 22; /* ANSI color, VT525 */ }); @@ -2131,15 +2490,48 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DA2: TRACE(("CASE_DA2\n")); - if (param[0] <= 0) { /* less than means DEFAULT */ + if (GetParam(0) <= 0) { /* less than means DEFAULT */ count = 0; init_reply(ANSI_CSI); reply.a_pintro = '>'; - if (screen->terminal_id >= 200) - reply.a_param[count++] = 1; /* VT220 */ - else + if (screen->terminal_id >= 200) { + switch (screen->terminal_id) { + case 220: + default: + reply.a_param[count++] = 1; /* VT220 */ + break; + case 240: + /* http://www.decuslib.com/DECUS/vax87a/gendyn/vt200_kind.lis */ + reply.a_param[count++] = 2; /* VT240 */ + break; + case 320: + /* http://www.vt100.net/docs/vt320-uu/appendixe.html */ + reply.a_param[count++] = 24; /* VT320 */ + break; + case 330: + reply.a_param[count++] = 18; /* VT330 */ + break; + case 340: + reply.a_param[count++] = 19; /* VT340 */ + break; + case 420: + reply.a_param[count++] = 41; /* VT420 */ + break; + case 510: + /* http://www.vt100.net/docs/vt510-rm/DA2 */ + reply.a_param[count++] = 61; /* VT510 */ + break; + case 520: + reply.a_param[count++] = 64; /* VT520 */ + break; + case 525: + reply.a_param[count++] = 65; /* VT525 */ + break; + } + } else { reply.a_param[count++] = 0; /* VT100 (nonstandard) */ + } reply.a_param[count++] = XTERM_PATCH; /* Version */ reply.a_param[count++] = 0; /* options (none) */ reply.a_nparam = (ParmType) count; @@ -2152,8 +2544,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECRPTUI: TRACE(("CASE_DECRPTUI\n")); - if ((screen->terminal_id >= 400) - && (param[0] <= 0)) { /* less than means DEFAULT */ + if ((screen->vtXX_level >= 4) + && (GetParam(0) <= 0)) { /* less than means DEFAULT */ unparseputc1(xw, ANSI_DCS); unparseputc(xw, '!'); unparseputc(xw, '|'); @@ -2166,9 +2558,9 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_TBC: TRACE(("CASE_TBC - tab clear\n")); - if ((row = param[0]) <= 0) /* less than means default */ + if ((value = GetParam(0)) <= 0) /* less than means default */ TabClear(xw->tabs, screen->cur_col); - else if (row == 3) + else if (value == 3) TabZonk(xw->tabs); ResetState(sp); break; @@ -2186,12 +2578,34 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) break; case CASE_SGR: - for (row = 0; row < nparam; ++row) { + for (item = 0; item < nparam; ++item) { + int op = GetParam(item); + if_OPT_XMC_GLITCH(screen, { - Mark_XMC(xw, param[row]); + Mark_XMC(xw, op); }); - TRACE(("CASE_SGR %d\n", param[row])); - switch (param[row]) { + TRACE(("CASE_SGR %d\n", op)); + + /* + * Only SGR 38/48 accept subparameters, and in those cases + * the values will not be seen at this point. + */ + if (param_has_subparams(item)) { + switch (op) { + case 38: + case 48: + if_OPT_ISO_COLORS(screen, { + break; + }); + default: + TRACE(("...unexpected subparameter in SGR\n")); + op = 9999; + ResetState(sp); + break; + } + } + + switch (op) { case DEFAULT: case 0: UIntClr(xw->flags, @@ -2264,33 +2678,20 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case 36: case 37: if_OPT_ISO_COLORS(screen, { - xw->sgr_foreground = (param[row] - 30); + xw->sgr_foreground = (op - 30); xw->sgr_extended = False; setExtendedFG(xw); }); break; case 38: - /* This is more complicated than I'd - like, but it should properly eat all - the parameters for unsupported modes + /* This is more complicated than I'd like, but it should + * properly eat all the parameters for unsupported modes. */ if_OPT_ISO_COLORS(screen, { - row++; - if (row < nparam) { - switch (param[row]) { - case 5: - row++; - if (row < nparam && - param[row] < NUM_ANSI_COLORS) { - xw->sgr_foreground = param[row]; - xw->sgr_extended = True; - setExtendedFG(xw); - } - break; - default: - row += 7; - break; - } + if (parse_extended_colors(xw, &value, &item)) { + xw->sgr_foreground = value; + xw->sgr_extended = True; + setExtendedFG(xw); } }); break; @@ -2308,27 +2709,15 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case 46: case 47: if_OPT_ISO_COLORS(screen, { - xw->sgr_background = (param[row] - 40); + xw->sgr_background = (op - 40); setExtendedBG(xw); }); break; case 48: if_OPT_ISO_COLORS(screen, { - row++; - if (row < nparam) { - switch (param[row]) { - case 5: - row++; - if (row < nparam && - param[row] < NUM_ANSI_COLORS) { - xw->sgr_background = param[row]; - setExtendedBG(xw); - } - break; - default: - row += 7; - break; - } + if (parse_extended_colors(xw, &value, &item)) { + xw->sgr_background = value; + setExtendedBG(xw); } }); break; @@ -2346,7 +2735,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case 96: case 97: if_OPT_AIX_COLORS(screen, { - xw->sgr_foreground = (param[row] - 90 + 8); + xw->sgr_foreground = (op - 90 + 8); xw->sgr_extended = False; setExtendedFG(xw); }); @@ -2367,7 +2756,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case 106: case 107: if_OPT_AIX_COLORS(screen, { - xw->sgr_background = (param[row] - 100 + 8); + xw->sgr_background = (op - 100 + 8); setExtendedBG(xw); }); break; @@ -2389,7 +2778,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) reply.a_inters = 0; reply.a_final = 'n'; - switch (param[0]) { + switch (GetParam(0)) { case 5: TRACE(("...request operating status\n")); /* operating status */ @@ -2464,7 +2853,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) if (sp->private_function && screen->vtXX_level >= 4) { /* VT420 */ init_reply(ANSI_DCS); - reply.a_param[count++] = (ParmType) param[1]; /* PID */ + reply.a_param[count++] = (ParmType) GetParam(1); /* PID */ reply.a_delim = "!~"; /* delimiter */ reply.a_radix[count] = 16; /* use hex */ reply.a_param[count++] = 0; /* no data */ @@ -2497,13 +2886,13 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_MC: TRACE(("CASE_MC - media control\n")); - xtermMediaControl(xw, param[0], False); + xtermMediaControl(xw, GetParam(0), False); ResetState(sp); break; case CASE_DEC_MC: TRACE(("CASE_DEC_MC - DEC media control\n")); - xtermMediaControl(xw, param[0], True); + xtermMediaControl(xw, GetParam(0), True); ResetState(sp); break; @@ -2526,9 +2915,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) { int top; int bot; - if ((top = param[0]) < 1) - top = 1; - if (nparam < 2 || (bot = param[1]) == DEFAULT + top = one_if_default(0); + if (nparam < 2 || (bot = GetParam(1)) == DEFAULT || bot > MaxRows(screen) || bot == 0) bot = MaxRows(screen); @@ -2545,13 +2933,12 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECREQTPARM: TRACE(("CASE_DECREQTPARM\n")); if (screen->terminal_id < 200) { /* VT102 */ - if ((row = param[0]) == DEFAULT) - row = 0; - if (row == 0 || row == 1) { + value = zero_if_default(0); + if (value == 0 || value == 1) { init_reply(ANSI_CSI); reply.a_pintro = 0; reply.a_nparam = 7; - reply.a_param[0] = (ParmType) (row + 2); + reply.a_param[0] = (ParmType) (value + 2); reply.a_param[1] = 1; /* no parity */ reply.a_param[2] = 1; /* eight bits */ reply.a_param[3] = 128; /* transmit 38.4k baud */ @@ -2604,15 +2991,14 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) ResetState(sp); break; - case CASE_DECSC: + case CASE_ANSI_SC: if (IsLeftRightMode(xw)) { int left; int right; TRACE(("CASE_DECSLRM - set left and right margin\n")); - if ((left = param[0]) < 1) - left = 1; - if (nparam < 2 || (right = param[1]) == DEFAULT + left = one_if_default(0); + if (nparam < 2 || (right = GetParam(1)) == DEFAULT || right > MaxCols(screen) || right == 0) right = MaxCols(screen); @@ -2621,14 +3007,22 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) CursorSet(screen, 0, 0, xw->flags); } } else { - TRACE(("CASE_DECSC - save cursor\n")); + TRACE(("CASE_ANSI_SC - save cursor\n")); CursorSave(xw); - ResetState(sp); } + ResetState(sp); break; + case CASE_DECSC: + TRACE(("CASE_DECSC - save cursor\n")); + CursorSave(xw); + ResetState(sp); + break; + + case CASE_ANSI_RC: case CASE_DECRC: - TRACE(("CASE_DECRC - restore cursor\n")); + TRACE(("CASE_%sRC - restore cursor\n", + (sp->nextstate == CASE_DECRC) ? "DEC" : "ANSI_")); CursorRestore(xw); if_OPT_ISO_COLORS(screen, { setExtendedFG(xw); @@ -2667,28 +3061,32 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) HideCursor(); - switch (param[0]) { - case 0: - case 1: + switch (GetParam(0)) { case DEFAULT: - /* blinking block */ - screen->cursor_underline = False; + case DEFAULT_STYLE: + case BLINK_BLOCK: blinks = True; + screen->cursor_shape = CURSOR_BLOCK; break; - case 2: - /* steady block */ - screen->cursor_underline = False; + case STEADY_BLOCK: blinks = False; + screen->cursor_shape = CURSOR_BLOCK; break; - case 3: - /* blinking underline */ - screen->cursor_underline = True; + case BLINK_UNDERLINE: blinks = True; + screen->cursor_shape = CURSOR_UNDERLINE; break; - case 4: - /* steady underline */ - screen->cursor_underline = True; + case STEADY_UNDERLINE: blinks = False; + screen->cursor_shape = CURSOR_UNDERLINE; + break; + case BLINK_BAR: + blinks = True; + screen->cursor_shape = CURSOR_BAR; + break; + case STEADY_BAR: + blinks = False; + screen->cursor_shape = CURSOR_BAR; break; default: change = False; @@ -2710,7 +3108,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) TRACE(("CASE_DECLL\n")); if (nparam > 0) { for (count = 0; count < nparam; ++count) { - switch (param[count]) { + int op = zero_if_default(count); + switch (op) { case 0: case DEFAULT: xtermClearLEDs(screen); @@ -2718,12 +3117,16 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case 1: case 2: case 3: - xtermShowLED(screen, (Cardinal) param[count], True); + xtermShowLED(screen, + (Cardinal) op, + True); break; case 21: case 22: case 23: - xtermShowLED(screen, (Cardinal) (param[count] - 20), True); + xtermShowLED(screen, + (Cardinal) (op - 20), + True); break; } } @@ -2775,9 +3178,18 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) break; case CASE_DECSCL: - TRACE(("CASE_DECSCL(%d,%d)\n", param[0], param[1])); + TRACE(("CASE_DECSCL(%d,%d)\n", GetParam(0), GetParam(1))); + /* + * This changes the emulation level, and is not recognized by + * VT100s. + */ if (screen->terminal_id >= 200) { - if (param[0] >= 61 && param[0] <= 65) { + /* + * Disallow unrecognized parameters, as well as attempts to set + * the operating level higher than the given terminal-id. + */ + if (GetParam(0) >= 61 + && GetParam(0) <= 60 + (screen->terminal_id / 100)) { /* * VT300, VT420, VT520 manuals claim that DECSCL does a * hard reset (RIS). VT220 manual states that it is a soft @@ -2786,8 +3198,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) */ ReallyReset(xw, False, False); init_parser(xw, sp); - screen->vtXX_level = param[0] - 60; - if (param[0] > 61) { + screen->vtXX_level = GetParam(0) - 60; + if (GetParam(0) > 61) { switch (zero_if_default(1)) { case 1: show_8bit_control(False); @@ -2806,10 +3218,10 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSCA: TRACE(("CASE_DECSCA\n")); screen->protected_mode = DEC_PROTECT; - if (param[0] <= 0 || param[0] == 2) { + if (GetParam(0) <= 0 || GetParam(0) == 2) { UIntClr(xw->flags, PROTECTED); TRACE(("...clear PROTECTED\n")); - } else if (param[0] == 1) { + } else if (GetParam(0) == 1) { xw->flags |= PROTECTED; TRACE(("...set PROTECTED\n")); } @@ -2818,13 +3230,13 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSED: TRACE(("CASE_DECSED\n")); - do_erase_display(xw, param[0], DEC_PROTECT); + do_erase_display(xw, zero_if_default(0), DEC_PROTECT); ResetState(sp); break; case CASE_DECSEL: TRACE(("CASE_DECSEL\n")); - do_erase_line(xw, param[0], DEC_PROTECT); + do_erase_line(xw, zero_if_default(0), DEC_PROTECT); ResetState(sp); break; @@ -2904,25 +3316,19 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_SU: TRACE(("CASE_SU - scroll up\n")); - if ((count = param[0]) < 1) - count = 1; - xtermScroll(xw, count); + xtermScroll(xw, one_if_default(0)); ResetState(sp); break; case CASE_SL: /* ISO 6429, non-DEC */ TRACE(("CASE_SL - scroll left\n")); - if ((count = param[0]) < 1) - count = 1; - xtermScrollLR(xw, count, True); + xtermScrollLR(xw, one_if_default(0), True); ResetState(sp); break; case CASE_SR: /* ISO 6429, non-DEC */ TRACE(("CASE_SR - scroll right\n")); - if ((count = param[0]) < 1) - count = 1; - xtermScrollLR(xw, count, False); + xtermScrollLR(xw, one_if_default(0), False); ResetState(sp); break; @@ -2930,9 +3336,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) TRACE(("CASE_DC - delete column\n")); if (screen->vtXX_level >= 4 && IsLeftRightMode(xw)) { - if ((count = param[0]) < 1) - count = 1; - xtermColScroll(xw, count, True, screen->cur_col); + xtermColScroll(xw, one_if_default(0), True, screen->cur_col); } ResetState(sp); break; @@ -2941,9 +3345,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) TRACE(("CASE_IC - insert column\n")); if (screen->vtXX_level >= 4 && IsLeftRightMode(xw)) { - if ((count = param[0]) < 1) - count = 1; - xtermColScroll(xw, count, False, screen->cur_col); + xtermColScroll(xw, one_if_default(0), False, screen->cur_col); } ResetState(sp); break; @@ -2973,13 +3375,13 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_CPL: TRACE(("CASE_CPL - cursor prev line\n")); - CursorPrevLine(xw, param[0]); + CursorPrevLine(xw, one_if_default(0)); ResetState(sp); break; case CASE_CNL: TRACE(("CASE_CNL - cursor next line\n")); - CursorNextLine(xw, param[0]); + CursorNextLine(xw, one_if_default(0)); ResetState(sp); break; @@ -3016,8 +3418,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_CSI_STATE: /* enter csi state */ - nparam = 1; - param[0] = DEFAULT; + InitParams(); + SetParam(nparam++, DEFAULT); sp->parsestate = csi_table; break; @@ -3041,13 +3443,16 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) TRACE(("CASE_DECEFR - Enable Filter Rectangle\n")); if (screen->send_mouse_pos == DEC_LOCATOR) { MotionOff(screen, xw); - if ((screen->loc_filter_top = param[0]) < 1) + if ((screen->loc_filter_top = GetParam(0)) < 1) screen->loc_filter_top = LOC_FILTER_POS; - if (nparam < 2 || (screen->loc_filter_left = param[1]) < 1) + if (nparam < 2 + || (screen->loc_filter_left = GetParam(1)) < 1) screen->loc_filter_left = LOC_FILTER_POS; - if (nparam < 3 || (screen->loc_filter_bottom = param[2]) < 1) + if (nparam < 3 + || (screen->loc_filter_bottom = GetParam(2)) < 1) screen->loc_filter_bottom = LOC_FILTER_POS; - if (nparam < 4 || (screen->loc_filter_right = param[3]) < 1) + if (nparam < 4 + || (screen->loc_filter_right = GetParam(3)) < 1) screen->loc_filter_right = LOC_FILTER_POS; InitLocatorFilter(xw); } @@ -3056,19 +3461,19 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECELR: MotionOff(screen, xw); - if (param[0] <= 0 || param[0] > 2) { + if (GetParam(0) <= 0 || GetParam(0) > 2) { screen->send_mouse_pos = MOUSE_OFF; TRACE(("DECELR - Disable Locator Reports\n")); } else { TRACE(("DECELR - Enable Locator Reports\n")); screen->send_mouse_pos = DEC_LOCATOR; xtermShowPointer(xw, True); - if (param[0] == 2) { + if (GetParam(0) == 2) { screen->locator_reset = True; } else { screen->locator_reset = False; } - if (nparam < 2 || param[1] != 1) { + if (nparam < 2 || GetParam(1) != 1) { screen->locator_pixels = False; } else { screen->locator_pixels = True; @@ -3081,8 +3486,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSLE: TRACE(("DECSLE - Select Locator Events\n")); for (count = 0; count < nparam; ++count) { - switch (param[count]) { - case DEFAULT: + switch (zero_if_default(count)) { case 0: MotionOff(screen, xw); screen->loc_filter = False; @@ -3107,7 +3511,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECRQLP: TRACE(("DECRQLP - Request Locator Position\n")); - if (param[0] < 2) { + if (GetParam(0) < 2) { /* Issue DECLRP Locator Position Report */ GetLocatorPosition(xw); } @@ -3139,10 +3543,10 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) int checksum; TRACE(("CASE_DECRQCRA - Request checksum of rectangular area\n")); - xtermCheckRect(xw, nparam, param, &checksum); + xtermCheckRect(xw, ParamPair(0), &checksum); init_reply(ANSI_DCS); count = 0; - reply.a_param[count++] = (ParmType) param[1]; /* PID */ + reply.a_param[count++] = (ParmType) GetParam(1); /* PID */ reply.a_delim = "!~"; /* delimiter */ reply.a_radix[count] = 16; reply.a_param[count++] = (ParmType) checksum; @@ -3155,8 +3559,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECCRA: if (screen->vtXX_level >= 4) { TRACE(("CASE_DECCRA - Copy rectangular area\n")); - xtermParseRect(xw, nparam, param, &myRect); - ScrnCopyRectangle(xw, &myRect, nparam - 5, param + 5); + xtermParseRect(xw, ParamPair(0), &myRect); + ScrnCopyRectangle(xw, &myRect, ParamPair(5)); } ResetState(sp); break; @@ -3164,7 +3568,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECERA: if (screen->vtXX_level >= 4) { TRACE(("CASE_DECERA - Erase rectangular area\n")); - xtermParseRect(xw, nparam, param, &myRect); + xtermParseRect(xw, ParamPair(0), &myRect); ScrnFillRectangle(xw, &myRect, ' ', 0, True); } ResetState(sp); @@ -3172,12 +3576,14 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECFRA: if (screen->vtXX_level >= 4) { + value = zero_if_default(0); + TRACE(("CASE_DECFRA - Fill rectangular area\n")); if (nparam > 0 - && ((param[0] >= 32 && param[0] <= 126) - || (param[0] >= 160 && param[0] <= 255))) { - xtermParseRect(xw, nparam - 1, param + 1, &myRect); - ScrnFillRectangle(xw, &myRect, param[0], xw->flags, True); + && ((value >= 32 && value <= 126) + || (value >= 160 && value <= 255))) { + xtermParseRect(xw, ParamPair(1), &myRect); + ScrnFillRectangle(xw, &myRect, value, xw->flags, True); } } ResetState(sp); @@ -3186,7 +3592,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSERA: if (screen->vtXX_level >= 4) { TRACE(("CASE_DECSERA - Selective erase rectangular area\n")); - xtermParseRect(xw, nparam > 4 ? 4 : nparam, param, &myRect); + xtermParseRect(xw, ParamPair(0), &myRect); ScrnWipeRectangle(xw, &myRect); } ResetState(sp); @@ -3194,15 +3600,15 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSACE: TRACE(("CASE_DECSACE - Select attribute change extent\n")); - screen->cur_decsace = param[0]; + screen->cur_decsace = zero_if_default(0); ResetState(sp); break; case CASE_DECCARA: if (screen->vtXX_level >= 4) { TRACE(("CASE_DECCARA - Change attributes in rectangular area\n")); - xtermParseRect(xw, nparam > 4 ? 4 : nparam, param, &myRect); - ScrnMarkRectangle(xw, &myRect, False, nparam - 4, param + 4); + xtermParseRect(xw, ParamPair(0), &myRect); + ScrnMarkRectangle(xw, &myRect, False, ParamPair(4)); } ResetState(sp); break; @@ -3210,21 +3616,21 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECRARA: if (screen->vtXX_level >= 4) { TRACE(("CASE_DECRARA - Reverse attributes in rectangular area\n")); - xtermParseRect(xw, nparam > 4 ? 4 : nparam, param, &myRect); - ScrnMarkRectangle(xw, &myRect, True, nparam - 4, param + 4); + xtermParseRect(xw, ParamPair(0), &myRect); + ScrnMarkRectangle(xw, &myRect, True, ParamPair(4)); } ResetState(sp); break; case CASE_RQM: TRACE(("CASE_RQM\n")); - do_rpm(xw, nparam, param); + do_rpm(xw, ParamPair(0)); ResetState(sp); break; case CASE_DECRQM: TRACE(("CASE_DECRQM\n")); - do_decrpm(xw, nparam, param); + do_decrpm(xw, ParamPair(0)); ResetState(sp); break; @@ -3252,7 +3658,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_S7C1T: TRACE(("CASE_S7C1T\n")); - if (screen->terminal_id >= 200) { + if (screen->vtXX_level >= 2) { show_8bit_control(False); ResetState(sp); } @@ -3260,7 +3666,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_S8C1T: TRACE(("CASE_S8C1T\n")); - if (screen->terminal_id >= 200) { + if (screen->vtXX_level >= 2) { #if OPT_VT52_MODE if (screen->vtXX_level <= 1) break; @@ -3294,7 +3700,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) sp->lastchar < 256 && sp->groundtable[E2A(sp->lastchar)] == CASE_PRINT) { IChar repeated[2]; - count = (param[0] < 1) ? 1 : param[0]; + count = one_if_default(0); repeated[0] = (IChar) sp->lastchar; while (count-- > 0) { dotext(xw, @@ -3383,16 +3789,21 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_SET_MOD_FKEYS: TRACE(("CASE_SET_MOD_FKEYS\n")); if (nparam >= 1) { - set_mod_fkeys(xw, param[0], nparam > 1 ? param[1] : DEFAULT, True); + set_mod_fkeys(xw, + GetParam(0), + ((nparam > 1) + ? GetParam(1) + : DEFAULT), + True); } else { - for (row = 1; row <= 5; ++row) - set_mod_fkeys(xw, row, DEFAULT, True); + for (value = 1; value <= 5; ++value) + set_mod_fkeys(xw, value, DEFAULT, True); } break; case CASE_SET_MOD_FKEYS0: TRACE(("CASE_SET_MOD_FKEYS0\n")); - if (nparam >= 1 && param[0] != DEFAULT) { - set_mod_fkeys(xw, param[0], -1, False); + if (nparam >= 1 && GetParam(0) != DEFAULT) { + set_mod_fkeys(xw, GetParam(0), -1, False); } else { xw->keyboard.modify_now.function_keys = -1; } @@ -3400,8 +3811,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) #endif case CASE_HIDE_POINTER: TRACE(("CASE_HIDE_POINTER\n")); - if (nparam >= 1 && param[0] != DEFAULT) { - screen->pointer_mode = param[0]; + if (nparam >= 1 && GetParam(0) != DEFAULT) { + screen->pointer_mode = GetParam(0); } else { screen->pointer_mode = DEF_POINTER_MODE; } @@ -3412,8 +3823,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) if (nparam >= 1) { int n; for (n = 0; n < nparam; ++n) { - if (param[n] != DEFAULT) - screen->title_modes |= (1 << param[n]); + if (GetParam(n) != DEFAULT) + screen->title_modes |= (1 << GetParam(n)); } } else { screen->title_modes = DEF_TITLE_MODES; @@ -3426,8 +3837,8 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) if (nparam >= 1) { int n; for (n = 0; n < nparam; ++n) { - if (param[n] != DEFAULT) - screen->title_modes &= ~(1 << param[n]); + if (GetParam(n) != DEFAULT) + screen->title_modes &= ~(1 << GetParam(n)); } } else { screen->title_modes = DEF_TITLE_MODES; @@ -3441,7 +3852,7 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSWBV: TRACE(("CASE_DECSWBV\n")); - switch ((nparam >= 1) ? param[0] : DEFAULT) { + switch (zero_if_default(0)) { case 2: case 3: case 4: @@ -3463,14 +3874,13 @@ doparsing(XtermWidget xw, unsigned c, struct ParseState *sp) case CASE_DECSMBV: TRACE(("CASE_DECSMBV\n")); - switch ((nparam >= 1) ? param[0] : DEFAULT) { + switch (zero_if_default(0)) { case 2: case 3: case 4: screen->marginVolume = bvLow; break; case 0: - case DEFAULT: case 5: case 6: case 7: @@ -3803,6 +4213,9 @@ in_put(XtermWidget xw) int i, time_select; int size; int update = VTbuffer->update; +#if OPT_DOUBLE_BUFFER + int should_wait = 1; +#endif static struct timeval select_timeout; @@ -3834,7 +4247,21 @@ in_put(XtermWidget xw) FD_CLR(screen->respond, &select_mask); break; } -#if defined(HAVE_SCHED_YIELD) +#if OPT_DOUBLE_BUFFER + if (should_wait) { + /* wait 25 msec for potential extra data (avoids some bogus flickering) */ + /* that's only 40 FPS but hey, it's still lower than the input lag on some consoles! :) */ + usleep(25000); + should_wait = 0; + } + select_timeout.tv_sec = 0; + i = Select(max_plus1, &select_mask, &write_mask, 0, + &select_timeout); + if (i > 0 && FD_ISSET(screen->respond, &select_mask)) + continue; + else + break; +#elif defined(HAVE_SCHED_YIELD) /* * If we've read a full (small/fragment) buffer, let the operating * system have a turn, and we'll resume reading until we've either @@ -3846,7 +4273,7 @@ in_put(XtermWidget xw) select_timeout.tv_sec = 0; i = Select(max_plus1, &select_mask, &write_mask, 0, &select_timeout); - if (i > 0) { + if (i > 0 && FD_ISSET(screen->respond, &select_mask)) { sched_yield(); } else break; @@ -3921,6 +4348,16 @@ in_put(XtermWidget xw) } if (need_cleanup) Cleanup(0); +#if OPT_DOUBLE_BUFFER + if (screen->needSwap) { + XdbeSwapInfo swap; + swap.swap_window = VWindow(screen); + swap.swap_action = XdbeCopied; + XdbeSwapBuffers(XtDisplay(term), &swap, 1); + XFlush(XtDisplay(xw)); + screen->needSwap = 0; + } +#endif i = Select(max_plus1, &select_mask, &write_mask, 0, (time_select ? &select_timeout : 0)); if (i < 0) { @@ -3970,7 +4407,7 @@ PreeditPosition(XtermWidget xw) XPoint spot; XVaNestedList list; - if (input->xic + if (input && input->xic && (ld = getLineData(screen, screen->cur_row)) != 0) { spot.x = (short) LineCursorX(screen, ld, screen->cur_col); spot.y = (short) (CursorY(screen, screen->cur_row) + xw->misc.xim_fs_ascent); @@ -4056,66 +4493,83 @@ dotext(XtermWidget xw, offset += chars_chomped) { int width_available = right + 1 - screen->cur_col; int width_here = 0; - Boolean need_wrap = False; + Boolean force_wrap; + Boolean need_wrap; + Boolean did_wrap; int last_chomp = 0; chars_chomped = 0; - if (screen->do_wrap) { - screen->do_wrap = False; - if ((xw->flags & WRAPAROUND)) { - WrapLine(xw); - width_available = right + 1 - screen->cur_col; - next_col = screen->cur_col; - } - } - - /* - * This can happen with left/right margins... - */ - if (width_available <= 0) - break; + do { + force_wrap = False; + need_wrap = False; + did_wrap = False; - while (width_here <= width_available && chars_chomped < (len - offset)) { - if (!screen->utf8_mode - || (screen->vt100_graphics && charset == '0')) - last_chomp = 1; - else - last_chomp = my_wcwidth((int) buf[chars_chomped + offset]); - width_here += last_chomp; - chars_chomped++; - } + if (screen->do_wrap) { + screen->do_wrap = False; + if ((xw->flags & WRAPAROUND)) { + WrapLine(xw); + width_available = right + 1 - screen->cur_col; + next_col = screen->cur_col; + did_wrap = True; + } + } - if (width_here > width_available) { - if (last_chomp > right + 1) - break; /* give up - it is too big */ - if (chars_chomped-- == 0) { - /* This can happen with left/right margins... */ + /* + * This can happen with left/right margins... + */ + if (width_available <= 0) { break; } - width_here -= last_chomp; - if (chars_chomped > 0) { + + while (width_here <= width_available + && chars_chomped < (len - offset)) { + if (!screen->utf8_mode + || (screen->vt100_graphics && charset == '0')) { + last_chomp = 1; + } else { + last_chomp = my_wcwidth((wchar_t) buf[chars_chomped + offset]); + } + width_here += last_chomp; + chars_chomped++; + } + + if (width_here > width_available) { + if (last_chomp > right + 1) { + break; /* give up - it is too big */ + } else if (chars_chomped-- == 0) { + /* This can happen with left/right margins... */ + break; + } + width_here -= last_chomp; + if (chars_chomped > 0) { + need_wrap = True; + } + } else if (width_here == width_available) { + need_wrap = True; + } else if (chars_chomped != (len - offset)) { need_wrap = True; } - } else if (width_here == width_available) { - need_wrap = True; - } else if (chars_chomped != (len - offset)) { - need_wrap = True; - } - /* - * Split the wide characters back into separate arrays of 8-bit - * characters so we can use the existing interface. - * - * FIXME: If we rewrote this interface, it would involve - * rewriting all of the memory-management for the screen - * buffers (perhaps this is simpler). - */ - if (chars_chomped != 0 && next_col <= screen->max_col) { - WriteText(xw, buf + offset, chars_chomped); - } - next_col += width_here; - screen->do_wrap = need_wrap; + if (chars_chomped != 0 && next_col <= screen->max_col) { + WriteText(xw, buf + offset, chars_chomped); + } else if (!did_wrap + && (xw->flags & WRAPAROUND) + && screen->cur_col > ScrnLeftMargin(xw)) { + force_wrap = True; + need_wrap = True; + } + next_col += width_here; + screen->do_wrap = need_wrap; + } while (force_wrap); } + + /* + * Remember that we wrote something to the screen, for use as a base of + * combining characters. The logic above may have called cursor-forward + * or carriage-return operations which resets this flag, so we set it at + * the very end. + */ + screen->char_was_written = True; #else /* ! OPT_WIDE_CHARS */ for (offset = 0; offset < len; offset += (Cardinal) this_col) { @@ -4232,7 +4686,7 @@ HandleStructNotify(Widget w GCC_UNUSED, save.menu_border)); /* - * Window manager still may be using the old values. + * Window manager still may be using the old values. * Try to fool it. */ REQ_RESIZE((Widget) xw, @@ -4296,7 +4750,7 @@ ansi_modes(XtermWidget xw, BitFunc func) int i; for (i = 0; i < nparam; ++i) { - switch (param[i]) { + switch (GetParam(i)) { case 2: /* KAM (if set, keyboard locked */ (*func) (&xw->keyboard.flags, MODE_KAM); break; @@ -4396,6 +4850,7 @@ typedef enum { ,srm_EXT_MODE_MOUSE = SET_EXT_MODE_MOUSE ,srm_SGR_EXT_MODE_MOUSE = SET_SGR_EXT_MODE_MOUSE ,srm_URXVT_EXT_MODE_MOUSE = SET_URXVT_EXT_MODE_MOUSE + ,srm_ALTERNATE_SCROLL = SET_ALTERNATE_SCROLL ,srm_RXVT_SCROLL_TTY_OUTPUT = 1010 ,srm_RXVT_SCROLL_TTY_KEYPRESS = 1011 ,srm_EIGHT_BIT_META = 1034 @@ -4449,8 +4904,10 @@ dpmodes(XtermWidget xw, BitFunc func) unsigned myflags; for (i = 0; i < nparam; ++i) { - TRACE(("%s %d\n", IsSM()? "DECSET" : "DECRST", param[i])); - switch ((DECSET_codes) param[i]) { + int code = GetParam(i); + + TRACE(("%s %d\n", IsSM()? "DECSET" : "DECRST", code)); + switch ((DECSET_codes) code) { case srm_DECCKM: (*func) (&xw->keyboard.flags, MODE_DECCKM); update_appcursor(); @@ -4474,7 +4931,7 @@ dpmodes(XtermWidget xw, BitFunc func) screen->vt52_save_curss = screen->curss; memmove(screen->vt52_save_gsets, screen->gsets, sizeof(screen->gsets)); resetCharsets(screen); - nparam = 0; /* ignore the remaining params, if any */ + InitParams(); /* ignore the remaining params, if any */ } #endif break; @@ -4489,7 +4946,7 @@ dpmodes(XtermWidget xw, BitFunc func) RequestResize(xw, -1, j, True); (*func) (&xw->flags, IN132COLUMNS); if (xw->flags & IN132COLUMNS) { - xw->flags &= ~LEFT_RIGHT; + UIntClr(xw->flags, LEFT_RIGHT); reset_lr_margins(screen); } } @@ -4567,6 +5024,7 @@ dpmodes(XtermWidget xw, BitFunc func) if (IsSM() && !(screen->inhibit & I_TEK)) { FlushLog(xw); TEK4014_ACTIVE(xw) = True; + update_vttekmode(); } break; #endif @@ -4618,10 +5076,8 @@ dpmodes(XtermWidget xw, BitFunc func) FromAlternate(xw); CursorRestore(xw); } - } else if (xw->misc.tiXtraScroll) { - if (IsSM()) { - xtermScroll(xw, screen->max_row); - } + } else if (IsSM()) { + do_ti_xtra_scroll(xw); } break; case srm_OPT_ALTBUF: @@ -4632,14 +5088,12 @@ dpmodes(XtermWidget xw, BitFunc func) ToAlternate(xw); } else { if (screen->whichBuf - && (param[i] == 1047)) + && (code == 1047)) ClearScreen(xw); FromAlternate(xw); } - } else if (xw->misc.tiXtraScroll) { - if (IsSM()) { - xtermScroll(xw, screen->max_row); - } + } else if (IsSM()) { + do_ti_xtra_scroll(xw); } break; case srm_DECNKM: @@ -4654,7 +5108,7 @@ dpmodes(XtermWidget xw, BitFunc func) update_decbkm(); break; case srm_DECLRMM: - if (screen->terminal_id >= 400) { /* VT420 */ + if (screen->vtXX_level >= 4) { /* VT420 */ (*func) (&xw->flags, LEFT_RIGHT); if (IsLeftRightMode(xw)) { xterm_ResetDouble(xw); @@ -4665,7 +5119,7 @@ dpmodes(XtermWidget xw, BitFunc func) } break; case srm_DECNCSM: - if (screen->terminal_id >= 500) { /* VT510 */ + if (screen->vtXX_level >= 5) { /* VT510 */ (*func) (&xw->flags, NOCLEAR_COLM); } break; @@ -4705,11 +5159,14 @@ dpmodes(XtermWidget xw, BitFunc func) * only effective against the matching mode. */ if (IsSM()) { - screen->extend_coords = param[i]; - } else if (screen->extend_coords == param[i]) { + screen->extend_coords = code; + } else if (screen->extend_coords == code) { screen->extend_coords = 0; } break; + case srm_ALTERNATE_SCROLL: + set_bool_mode(screen->alternateScroll); + break; case srm_RXVT_SCROLL_TTY_OUTPUT: set_bool_mode(screen->scrollttyoutput); update_scrollttyoutput(); @@ -4829,8 +5286,10 @@ savemodes(XtermWidget xw) int i; for (i = 0; i < nparam; i++) { - TRACE(("savemodes %d\n", param[i])); - switch ((DECSET_codes) param[i]) { + int code = GetParam(i); + + TRACE(("savemodes %d\n", code)); + switch ((DECSET_codes) code) { case srm_DECCKM: DoSM(DP_DECCKM, xw->keyboard.flags & MODE_DECCKM); break; @@ -4950,6 +5409,9 @@ savemodes(XtermWidget xw) case srm_URXVT_EXT_MODE_MOUSE: DoSM(DP_X_EXT_MOUSE, screen->extend_coords); break; + case srm_ALTERNATE_SCROLL: + DoSM(DP_ALTERNATE_SCROLL, screen->alternateScroll); + break; case srm_RXVT_SCROLL_TTY_OUTPUT: DoSM(DP_RXVT_SCROLL_TTY_OUTPUT, screen->scrollttyoutput); break; @@ -5049,8 +5511,10 @@ restoremodes(XtermWidget xw) int i, j; for (i = 0; i < nparam; i++) { - TRACE(("restoremodes %d\n", param[i])); - switch ((DECSET_codes) param[i]) { + int code = GetParam(i); + + TRACE(("restoremodes %d\n", code)); + switch ((DECSET_codes) code) { case srm_DECCKM: bitcpy(&xw->keyboard.flags, screen->save_modes[DP_DECCKM], MODE_DECCKM); @@ -5104,8 +5568,9 @@ restoremodes(XtermWidget xw) break; case srm_X10_MOUSE: /* MIT bogus sequence */ DoRM0(DP_X_X10MSE, screen->send_mouse_pos); - really_set_mousemode(xw, screen->send_mouse_pos, - screen->send_mouse_pos != MOUSE_OFF); + really_set_mousemode(xw, + screen->send_mouse_pos != MOUSE_OFF, + (XtermMouseModes) screen->send_mouse_pos); break; #if OPT_TOOLBAR case srm_RXVT_TOOLBAR: @@ -5146,7 +5611,8 @@ restoremodes(XtermWidget xw) if (!(screen->inhibit & I_TEK) && (TEK4014_ACTIVE(xw) != (Boolean) screen->save_modes[DP_DECTEK])) { FlushLog(xw); - TEK4014_ACTIVE(xw) = screen->save_modes[DP_DECTEK]; + TEK4014_ACTIVE(xw) = (Boolean) screen->save_modes[DP_DECTEK]; + update_vttekmode(); } break; #endif @@ -5192,10 +5658,8 @@ restoremodes(XtermWidget xw) else FromAlternate(xw); /* update_altscreen done by ToAlt and FromAlt */ - } else if (xw->misc.tiXtraScroll) { - if (screen->save_modes[DP_X_ALTSCRN]) { - xtermScroll(xw, screen->max_row); - } + } else if (screen->save_modes[DP_X_ALTSCRN]) { + do_ti_xtra_scroll(xw); } break; case srm_DECNKM: @@ -5223,8 +5687,9 @@ restoremodes(XtermWidget xw) case srm_BTN_EVENT_MOUSE: case srm_ANY_EVENT_MOUSE: DoRM0(DP_X_MOUSE, screen->send_mouse_pos); - really_set_mousemode(xw, screen->send_mouse_pos, - screen->send_mouse_pos != MOUSE_OFF); + really_set_mousemode(xw, + screen->send_mouse_pos != MOUSE_OFF, + (XtermMouseModes) screen->send_mouse_pos); break; #if OPT_FOCUS_EVENT case srm_FOCUS_EVENT_MOUSE: @@ -5243,6 +5708,9 @@ restoremodes(XtermWidget xw) CursorRestore(xw); } break; + case srm_ALTERNATE_SCROLL: + DoRM(DP_ALTERNATE_SCROLL, screen->alternateScroll); + break; case srm_RXVT_SCROLL_TTY_OUTPUT: DoRM(DP_RXVT_SCROLL_TTY_OUTPUT, screen->scrollttyoutput); update_scrollttyoutput(); @@ -5468,9 +5936,10 @@ window_ops(XtermWidget xw) unsigned root_width; unsigned root_height; #endif + int code = zero_if_default(0); - TRACE(("window_ops %d\n", param[0])); - switch (param[0]) { + TRACE(("window_ops %d\n", code)); + switch (code) { case ewRestoreWin: /* Restore (de-iconify) window */ if (AllowWindowOps(xw, ewRestoreWin)) { TRACE(("...de-iconify window\n")); @@ -5504,7 +5973,7 @@ window_ops(XtermWidget xw) case ewSetWinSizePixels: /* Resize the window to given size in pixels */ if (AllowWindowOps(xw, ewSetWinSizePixels)) { - RequestResize(xw, param[1], param[2], False); + RequestResize(xw, optional_param(1), optional_param(2), False); } break; @@ -5531,7 +6000,7 @@ window_ops(XtermWidget xw) case ewSetWinSizeChars: /* Resize the text-area, in characters */ if (AllowWindowOps(xw, ewSetWinSizeChars)) { - RequestResize(xw, param[1], param[2], True); + RequestResize(xw, optional_param(1), optional_param(2), True); } break; @@ -5551,9 +6020,9 @@ window_ops(XtermWidget xw) case ewGetWinState: /* Report the window's state */ if (AllowWindowOps(xw, ewGetWinState)) { TRACE(("...get window attributes\n")); - XGetWindowAttributes(screen->display, - VWindow(screen), - &win_attrs); + xtermGetWinAttrs(screen->display, + VWindow(screen), + &win_attrs); init_reply(ANSI_CSI); reply.a_pintro = 0; reply.a_nparam = 1; @@ -5569,9 +6038,9 @@ window_ops(XtermWidget xw) case ewGetWinPosition: /* Report the window's position */ if (AllowWindowOps(xw, ewGetWinPosition)) { TRACE(("...get window position\n")); - XGetWindowAttributes(screen->display, - WMFrameWindow(xw), - &win_attrs); + xtermGetWinAttrs(screen->display, + WMFrameWindow(xw), + &win_attrs); init_reply(ANSI_CSI); reply.a_pintro = 0; reply.a_nparam = 3; @@ -5587,17 +6056,10 @@ window_ops(XtermWidget xw) case ewGetWinSizePixels: /* Report the window's size in pixels */ if (AllowWindowOps(xw, ewGetWinSizePixels)) { TRACE(("...get window size in pixels\n")); - XGetWindowAttributes(screen->display, - VWindow(screen), - &win_attrs); init_reply(ANSI_CSI); reply.a_pintro = 0; reply.a_nparam = 3; reply.a_param[0] = 4; - /*FIXME: find if dtterm uses - * win_attrs.height or Height - * win_attrs.width or Width - */ reply.a_param[1] = (ParmType) Height(screen); reply.a_param[2] = (ParmType) Width(screen); reply.a_inters = 0; @@ -5625,10 +6087,7 @@ window_ops(XtermWidget xw) case ewGetScreenSizeChars: /* Report the screen's size, in characters */ if (AllowWindowOps(xw, ewGetScreenSizeChars)) { TRACE(("...get screen size in characters\n")); - if (!QueryMaximize(xw, &root_height, &root_width)) { - root_height = 0; - root_width = 0; - } + (void) QueryMaximize(xw, &root_height, &root_width); init_reply(ANSI_CSI); reply.a_pintro = 0; reply.a_nparam = 3; @@ -5721,8 +6180,8 @@ window_ops(XtermWidget xw) default: /* DECSLPP (24, 25, 36, 48, 72, 144) */ if (AllowWindowOps(xw, ewSetWinLines)) { - if (param[0] >= 24) - RequestResize(xw, param[0], -1, True); + if (code >= 24) + RequestResize(xw, code, -1, True); } break; } @@ -5960,6 +6419,15 @@ SwitchBufs(XtermWidget xw, int toBuf) if (screen->scroll_amt) { FlushScroll(xw); } +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, + VDrawable(screen), + ReverseGC(xw, screen), + (int) OriginX(screen), + (int) top * FontHeight(screen) + screen->border, + (unsigned) Width(screen), + (unsigned) ((rows - top) * FontHeight(screen))); +#else XClearArea(screen->display, VWindow(screen), (int) OriginX(screen), @@ -5967,6 +6435,7 @@ SwitchBufs(XtermWidget xw, int toBuf) (unsigned) Width(screen), (unsigned) ((rows - top) * FontHeight(screen)), False); +#endif } ScrnUpdate(xw, 0, 0, rows, MaxCols(screen), False); } @@ -6129,8 +6598,8 @@ RequestResize(XtermWidget xw, int rows, int cols, Bool text) if (askedHeight == 0 || askedWidth == 0 || xw->misc.limit_resize > 0) { - XGetWindowAttributes(XtDisplay(xw), - RootWindowOfScreen(XtScreen(xw)), &attrs); + xtermGetWinAttrs(XtDisplay(xw), + RootWindowOfScreen(XtScreen(xw)), &attrs); } if (text) { @@ -6259,38 +6728,66 @@ fill_Tres(XtermWidget target, XtermWidget source, int offset) { char *name; ScrnColors temp; + TScreen *src = TScreenOf(source); + TScreen *dst = TScreenOf(target); - TScreenOf(target)->Tcolors[offset] = TScreenOf(source)->Tcolors[offset]; - TScreenOf(target)->Tcolors[offset].mode = False; + dst->Tcolors[offset] = src->Tcolors[offset]; + dst->Tcolors[offset].mode = False; - if ((name = x_strtrim(TScreenOf(target)->Tcolors[offset].resource)) != 0) - TScreenOf(target)->Tcolors[offset].resource = name; + if ((name = x_strtrim(dst->Tcolors[offset].resource)) != 0) + dst->Tcolors[offset].resource = name; if (name == 0) { - TScreenOf(target)->Tcolors[offset].value = target->dft_foreground; + dst->Tcolors[offset].value = target->dft_foreground; } else if (isDefaultForeground(name)) { - TScreenOf(target)->Tcolors[offset].value = - ((offset == TEXT_FG || offset == TEXT_BG) - ? target->dft_foreground - : TScreenOf(target)->Tcolors[TEXT_FG].value); + dst->Tcolors[offset].value = ((offset == TEXT_FG || offset == TEXT_BG) + ? target->dft_foreground + : dst->Tcolors[TEXT_FG].value); } else if (isDefaultBackground(name)) { - TScreenOf(target)->Tcolors[offset].value = - ((offset == TEXT_FG || offset == TEXT_BG) - ? target->dft_background - : TScreenOf(target)->Tcolors[TEXT_BG].value); + dst->Tcolors[offset].value = ((offset == TEXT_FG || offset == TEXT_BG) + ? target->dft_background + : dst->Tcolors[TEXT_BG].value); } else { memset(&temp, 0, sizeof(temp)); if (AllocateTermColor(target, &temp, offset, name, True)) { if (COLOR_DEFINED(&(temp), offset)) free(temp.names[offset]); - TScreenOf(target)->Tcolors[offset].value = temp.colors[offset]; + dst->Tcolors[offset].value = temp.colors[offset]; + } else if (offset == TEXT_FG || offset == TEXT_BG) { + free(name); + dst->Tcolors[offset].resource = 0; } } - return TScreenOf(target)->Tcolors[offset].value; + return dst->Tcolors[offset].value; +} + +/* + * If one or both of the foreground/background colors cannot be allocated, + * e.g., due to gross misconfiguration, recover by setting both to the + * display's default values. + */ +static void +repairColors(XtermWidget target) +{ + TScreen *screen = TScreenOf(target); + + if (screen->Tcolors[TEXT_FG].resource == 0 || + screen->Tcolors[TEXT_BG].resource == 0) { + xtermWarning("unable to allocate fg/bg colors\n"); + screen->Tcolors[TEXT_FG].resource = x_strdup(XtDefaultForeground); + screen->Tcolors[TEXT_BG].resource = x_strdup(XtDefaultBackground); + if (screen->Tcolors[TEXT_FG].resource == 0 || + screen->Tcolors[TEXT_BG].resource == 0) { + Exit(1); + } + screen->Tcolors[TEXT_FG].value = target->dft_foreground; + screen->Tcolors[TEXT_BG].value = target->dft_background; + } } #else #define fill_Tres(target, source, offset) \ TScreenOf(target)->Tcolors[offset] = TScreenOf(source)->Tcolors[offset] +#define repairColors(target) /* nothing */ #endif #if OPT_WIDE_CHARS @@ -6654,6 +7151,15 @@ VTInitialize(Widget wrequest, #undef DATA #endif +#ifndef NO_ACTIVE_ICON +#define DATA(name) { #name, ei##name } + static FlagList tblAIconOps[] = + { + DATA(Default) + }; +#undef DATA +#endif + #define DATA(name) { #name, eb##name } static FlagList tbl8BitMeta[] = { @@ -6698,6 +7204,11 @@ VTInitialize(Widget wrequest, */ memset(&wnew->keyboard, 0, sizeof(wnew->keyboard)); + /* + * The workspace has no resources - clear it. + */ + memset(&wnew->work, 0, sizeof(wnew->work)); + /* dummy values so that we don't try to Realize the parent shell with height * or width of 0, which is illegal in X. The real size is computed in the * xtermWidget's Realize proc, but the shell's Realize proc is called first, @@ -6729,6 +7240,7 @@ VTInitialize(Widget wrequest, init_Tres(TEXT_FG); init_Tres(TEXT_BG); + repairColors(wnew); wnew->old_foreground = T_COLOR(TScreenOf(wnew), TEXT_FG); wnew->old_background = T_COLOR(TScreenOf(wnew), TEXT_BG); @@ -6768,7 +7280,10 @@ VTInitialize(Widget wrequest, init_Ires(screen.blink_off); TScreenOf(wnew)->cursor_blink_res = TScreenOf(wnew)->cursor_blink; #endif - init_Bres(screen.cursor_underline); + /* resources allow for underline or block, not (yet) bar */ + TScreenOf(wnew)->cursor_shape = request->screen.cursor_underline + ? CURSOR_UNDERLINE + : CURSOR_BLOCK; #if OPT_BLINK_TEXT init_Ires(screen.blink_as_bold); #endif @@ -6793,6 +7308,7 @@ VTInitialize(Widget wrequest, init_Ires(screen.savelines); init_Ires(screen.scrollBarBorder); init_Ires(screen.scrolllines); + init_Bres(screen.alternateScroll); init_Bres(screen.scrollttyoutput); init_Bres(screen.scrollkey); @@ -6835,10 +7351,6 @@ VTInitialize(Widget wrequest, #if OPT_NUM_LOCK init_Bres(misc.real_NumLock); init_Bres(misc.alwaysUseMods); - wnew->misc.num_lock = 0; - wnew->misc.alt_mods = 0; - wnew->misc.meta_mods = 0; - wnew->misc.other_mods = 0; #endif #if OPT_INPUT_METHOD @@ -6886,6 +7398,7 @@ VTInitialize(Widget wrequest, init_Sres(screen.answer_back); + wnew->SPS.printer_checked = False; init_Sres(SPS.printer_command); init_Bres(SPS.printer_autoclose); init_Bres(SPS.printer_extent); @@ -6972,7 +7485,10 @@ VTInitialize(Widget wrequest, TRACE(("iconFont '%s' %sloaded successfully\n", TScreenOf(wnew)->icon_fontname, TScreenOf(wnew)->fnt_icon.fs ? "" : "NOT ")); - init_Bres(misc.active_icon); + init_Sres(misc.active_icon_s); + wnew->work.active_icon = + (Boolean) extendedBoolean(wnew->misc.active_icon_s, + tblAIconOps, eiLAST); init_Ires(misc.icon_border_width); wnew->misc.icon_border_pixel = request->misc.icon_border_pixel; #endif /* NO_ACTIVE_ICON */ @@ -6980,6 +7496,7 @@ VTInitialize(Widget wrequest, init_Bres(misc.signalInhibit); init_Bres(misc.titeInhibit); init_Bres(misc.tiXtraScroll); + init_Bres(misc.cdXtraScroll); init_Bres(misc.dynamicColors); for (i = fontMenu_font1; i <= fontMenu_lastBuiltin; i++) { init_Sres2(screen.MenuFontName, i); @@ -7103,21 +7620,9 @@ VTInitialize(Widget wrequest, * specific. */ if (color_ok) { - Display *display = TScreenOf(wnew)->display; - XVisualInfo myTemplate, *visInfoPtr; - int numFound; - - myTemplate.visualid = XVisualIDFromVisual(DefaultVisual(display, - XDefaultScreen(display))); - visInfoPtr = XGetVisualInfo(display, (long) VisualIDMask, - &myTemplate, &numFound); - if (visInfoPtr == 0 - || numFound == 0 - || visInfoPtr->depth <= 1) { + if (getVisualDepth(wnew) <= 1) { TRACE(("disabling color since screen is monochrome\n")); color_ok = False; - } else { - XFree(visInfoPtr); } } @@ -7212,24 +7717,24 @@ VTInitialize(Widget wrequest, init_Sres(misc.face_name); init_Sres(misc.face_wide_name); init_Sres(misc.render_font_s); - wnew->misc.render_font = + wnew->work.render_font = (Boolean) extendedBoolean(wnew->misc.render_font_s, tblRenderFont, erLast); - if (wnew->misc.render_font == erDefault) { + if (wnew->work.render_font == erDefault) { if (IsEmpty(wnew->misc.face_name)) { free(wnew->misc.face_name); wnew->misc.face_name = x_strdup(DEFFACENAME_AUTO); TRACE(("will allow runtime switch to render_font using \"%s\"\n", wnew->misc.face_name)); } else { - wnew->misc.render_font = erTrue; + wnew->work.render_font = erTrue; TRACE(("initially using TrueType font\n")); } } /* minor tweak to make debug traces consistent: */ - if (wnew->misc.render_font) { + if (wnew->work.render_font) { if (IsEmpty(wnew->misc.face_name)) { - wnew->misc.render_font = False; + wnew->work.render_font = False; TRACE(("reset render_font since there is no face_name\n")); } } @@ -7412,6 +7917,7 @@ VTInitialize(Widget wrequest, wnew->initflags = wnew->flags; #if OPT_MOD_FKEYS + init_Ires(keyboard.modify_1st.allow_keys); init_Ires(keyboard.modify_1st.cursor_keys); init_Ires(keyboard.modify_1st.function_keys); init_Ires(keyboard.modify_1st.keypad_keys); @@ -7458,7 +7964,7 @@ releaseWindowGCs(XtermWidget xw, VTwin * win) #define TRACE_FREE_LEAK(name) \ if (name) { \ free((void *) name); \ - TRACE(("freed " #name ": %p\n", name)); \ + TRACE(("freed " #name ": %p\n", (const void *) name)); \ name = 0; \ } @@ -7474,7 +7980,7 @@ cleanupInputMethod(XtermWidget xw) { TInput *input = lookupTInput(xw, (Widget) xw); - if (input->xim) { + if (input && input->xim) { XCloseIM(input->xim); input->xim = 0; TRACE(("freed screen->xim\n")); @@ -7665,6 +8171,121 @@ VTDestroy(Widget w GCC_UNUSED) #endif /* defined(NO_LEAKS) */ } +static void * +getProperty(Display * dpy, + Window w, + Atom req_type, + const char *prop_name) +{ + Atom property; + Atom actual_return_type; + int actual_format_return = 0; + unsigned long nitems_return = 0; + unsigned long bytes_after_return = 0; + unsigned char *prop_return = 0; + long long_length = 1024; + size_t limit; + char *result = 0; + + TRACE(("getProperty %s(%s)\n", prop_name, + req_type ? XGetAtomName(dpy, req_type) : "?")); + property = XInternAtom(dpy, prop_name, False); + + if (!xtermGetWinProp(dpy, + w, + property, + 0L, + long_length, + req_type, + &actual_return_type, + &actual_format_return, + &nitems_return, + &bytes_after_return, + &prop_return)) { + TRACE((".. Cannot get %s property.\n", prop_name)); + } else if (prop_return != 0) { + + if (nitems_return != 0 && + actual_format_return != 0 && + actual_return_type == req_type) { + /* + * Null-terminate the result to make string handling easier. + * The format==8 corresponds to strings, and the number of items + * is the number of characters. + */ + if (actual_format_return == 8) { + limit = nitems_return; + } else { + /* manpage is misleading - X really uses 'long', not 32-bits */ + limit = sizeof(long) * nitems_return; + } + if ((result = malloc(limit + 1)) != 0) { + memcpy(result, prop_return, limit); + result[limit] = '\0'; + } + TRACE(("... result %s\n", result ? ("ok") : "null")); + } + XFree(prop_return); + } else { + TRACE((".. no property returned\n")); + } + return (void *) result; +} + +/* + * Active icons are supported by fvwm. This feature is not supported by + * metacity (gnome) or kwin (kde). Both metacity and kwin support (in + * incompatible ways, e.g., one uses the icon theme as a fallback for window + * decorations but the other does not, etc, ...) an icon as part of the window + * decoration (usually on the upper-left of the window). + * + * In either case, xterm's icon will only be shown in the window decorations if + * xterm does not use the active icon feature. + * + * This function (tries to) determine the window manager's name, so that we can + * provide a useful automatic default for active icons. It is based on reading + * wmctrl, which covers most of EWMH and ICCM. + */ +static char * +getWindowManagerName(XtermWidget xw) +{ + TScreen *screen = TScreenOf(xw); + Display *dpy = screen->display; + Window *sup_window = NULL; + char *result = 0; + + TRACE(("getWindowManagerName\n")); +#define getWinProp(type, name) \ + (Window *)getProperty(dpy, DefaultRootWindow(dpy), type, name) + if ((sup_window = getWinProp(XA_WINDOW, "_NET_SUPPORTING_WM_CHECK")) == 0) { + sup_window = getWinProp(XA_CARDINAL, "_WIN_SUPPORTING_WM_CHECK"); + } + + /* + * If we found the supporting window, get the property containing the + * window manager's name. EWMH defines _NET_WM_NAME, while ICCM defines + * WM_CLASS. There is no standard for the names stored there; + * conventionally it is mixed case. In practice, the former is more often + * set; the latter is not given (or is a lowercased version of the former). + */ + if (sup_window != 0) { +#define getStringProp(type,name) \ + (char *)getProperty(dpy, *sup_window, type, name) + if ((result = getStringProp(XA_UTF8_STRING(dpy), "_NET_WM_NAME")) == 0 + && (result = getStringProp(XA_STRING, "_NET_WM_NAME")) == 0 + && (result = getStringProp(XA_STRING, "WM_CLASS")) == 0) { + TRACE(("... window manager does not tell its name\n")); + } + free(sup_window); + } else { + TRACE(("... Cannot get window manager info properties\n")); + } + if (result == 0) + result = x_strdup("unknown"); + TRACE(("... window manager name is %s\n", result)); + return result; +} + /*ARGSUSED*/ static void VTRealize(Widget w, @@ -7682,6 +8303,26 @@ VTRealize(Widget w, TRACE(("VTRealize\n")); +#if OPT_TOOLBAR + /* + * Layout for the toolbar confuses the Shell widget. Remind it that we + * would like to be iconified if the corresponding resource was set. + */ + if (XtIsRealized(toplevel)) { + Boolean iconic = 0; + + XtVaGetValues(toplevel, + XtNiconic, &iconic, + (XtPointer) 0); + + if (iconic) { + XIconifyWindow(XtDisplay(toplevel), + XtWindow(toplevel), + DefaultScreen(XtDisplay(toplevel))); + } + } +#endif + TabReset(xw->tabs); if (screen->menu_font_number == fontMenu_default) { @@ -7784,7 +8425,7 @@ VTRealize(Widget w, xw->hints.y = ypos; #if OPT_MAXIMIZE /* assure single-increment resize for fullscreen */ - if (term->screen.fullscreen) { + if (term->work.ewmh[0].mode) { xw->hints.width_inc = 1; xw->hints.height_inc = 1; } @@ -7865,6 +8506,26 @@ VTRealize(Widget w, (int) xw->core.depth, InputOutput, CopyFromParent, *valuemask | CWBitGravity, values); +#if OPT_DOUBLE_BUFFER + screen->fullVwin.drawable = screen->fullVwin.window; + + { + Window win = screen->fullVwin.window; + Drawable d; + int major, minor; + if (!XdbeQueryExtension(XtDisplay(xw), &major, &minor)) { + fprintf(stderr, "XdbeQueryExtension returned zero!\n"); + exit(3); + } + d = XdbeAllocateBackBufferName(XtDisplay(xw), win, XdbeCopied); + if (d == None) { + fprintf(stderr, "Couldn't allocate a back buffer!\n"); + exit(3); + } + screen->fullVwin.drawable = d; + screen->needSwap = 1; + } +#endif /* OPT_DOUBLE_BUFFER */ screen->event_mask = values->event_mask; #ifndef NO_ACTIVE_ICON @@ -7897,7 +8558,14 @@ VTRealize(Widget w, TRACE(("using TrueType font as iconFont\n")); } #endif - if (xw->misc.active_icon && screen->fnt_icon.fs) { + if ((xw->work.active_icon == eiDefault) && screen->fnt_icon.fs) { + char *wm_name = getWindowManagerName(xw); + if (x_strncasecmp(wm_name, "fvwm", 4) && + x_strncasecmp(wm_name, "window maker", 12)) + xw->work.active_icon = eiFalse; + free(wm_name); + } + if (xw->work.active_icon && screen->fnt_icon.fs) { int iconX = 0, iconY = 0; Widget shell = SHELL_OF(xw); VTwin *win = &(screen->iconVwin); @@ -7929,6 +8597,9 @@ VTRealize(Widget w, InputOutput, CopyFromParent, *valuemask | CWBitGravity | CWBorderPixel, values); +#if OPT_DOUBLE_BUFFER + screen->iconVwin.drawable = screen->iconVwin.window; +#endif XtVaSetValues(shell, XtNiconWindow, screen->iconVwin.window, (XtPointer) 0); @@ -7956,7 +8627,7 @@ VTRealize(Widget w, #endif } else { TRACE(("Disabled active-icon\n")); - xw->misc.active_icon = False; + xw->work.active_icon = eiFalse; } #endif /* NO_ACTIVE_ICON */ @@ -8001,7 +8672,7 @@ VTRealize(Widget w, screen->saveBuf_index = NULL; } - screen->do_wrap = False; + ResetWrap(screen); screen->scrolls = screen->incopy = 0; xtermSetCursorBox(screen); @@ -8012,6 +8683,11 @@ VTRealize(Widget w, CursorSave(xw); } +#ifndef NO_ACTIVE_ICON + if (!xw->work.active_icon) +#endif + xtermLoadIcon(xw); + /* * Do this last, since it may change the layout via a resize. */ @@ -8051,8 +8727,8 @@ xim_destroy_cb(XIM im GCC_UNUSED, TRACE(("xim_destroy_cb im=%lx, client=%p, call=%p\n", (long) im, client_data, call_data)); - - input->xic = NULL; + if (input) + input->xic = NULL; XRegisterIMInstantiateCallback(XtDisplay(xw), NULL, NULL, NULL, xim_instantiate_cb, NULL); } @@ -8581,7 +9257,7 @@ ShowCursor(void) * whether the window has focus, since in that case we want just an * outline for the cursor. */ - filled = (screen->select || screen->always_highlight) && !screen->cursor_underline; + filled = (screen->select || screen->always_highlight) && isCursorBlock(screen); #if OPT_HIGHLIGHT_COLOR use_selbg = isNotForeground(xw, fg_pix, bg_pix, selbg_pix); use_selfg = isNotBackground(xw, fg_pix, bg_pix, selfg_pix); @@ -8675,19 +9351,20 @@ ShowCursor(void) TRACE(("ShowCursor calling drawXtermText cur(%d,%d) %s-%s, set_at %d\n", screen->cur_row, screen->cur_col, (filled ? "filled" : "outline"), - (screen->cursor_underline ? "underline" : "box"), + (isCursorBlock(screen) ? "box" : + isCursorUnderline(screen) ? "underline" : "bar"), set_at)); currentGC = getCgsGC(xw, currentWin, currentCgs); x = LineCursorX(screen, ld, cursor_col); y = CursorY(screen, screen->cur_row); - if (screen->cursor_underline) { + if (!isCursorBlock(screen)) { /* * Overriding the combination of filled, reversed, in_selection is - * too complicated since the underline and the text-cell use + * too complicated since the underline or bar and the text-cell use * different rules. Just redraw the text-cell, and draw the - * underline on top of it. + * underline or bar on top of it. */ HideCursor(); @@ -8720,13 +9397,22 @@ ShowCursor(void) if (outlineGC == 0) outlineGC = currentGC; - if (screen->cursor_underline) { + if (isCursorUnderline(screen)) { /* * Finally, draw the underline. */ screen->box->x = (short) x; screen->box->y = (short) (y + FontHeight(screen) - 2); + XDrawLines(screen->display, VDrawable(screen), outlineGC, + screen->box, NBOX, CoordModePrevious); + } else if (isCursorBar(screen)) { + + /* + * Or draw the bar. + */ + screen->box->x = (short) x; + screen->box->y = (short) y; XDrawLines(screen->display, VWindow(screen), outlineGC, screen->box, NBOX, CoordModePrevious); } else { @@ -8753,7 +9439,7 @@ ShowCursor(void) if (!filled) { screen->box->x = (short) x; screen->box->y = (short) y; - XDrawLines(screen->display, VWindow(screen), outlineGC, + XDrawLines(screen->display, VDrawable(screen), outlineGC, screen->box, NBOX, CoordModePrevious); } } diff --git a/app/xterm/configure.in b/app/xterm/configure.in index a47ca557f..0a25e0fed 100644 --- a/app/xterm/configure.in +++ b/app/xterm/configure.in @@ -1,4 +1,4 @@ -dnl $XTermId: configure.in,v 1.286 2012/03/15 00:01:30 tom Exp $ +dnl $XTermId: configure.in,v 1.306 2012/10/10 23:32:47 tom Exp $ dnl dnl ----------------------------------------------------------------------------- dnl this file is part of xterm @@ -33,7 +33,7 @@ dnl authorization. dnl --------------------------------------------------------------------------- dnl Process this file with autoconf to produce a configure script. dnl -AC_PREREQ(2.13.20030927) +AC_PREREQ(2.52.20030208) AC_INIT(charproc.c) AC_CONFIG_HEADER(xtermcfg.h:xtermcfg.hin) CF_CHECK_CACHE @@ -51,7 +51,7 @@ darwin*) : ${LDFLAGS}="${LDFLAGS} -Wl,-bind_at_load";; esac -AC_PROG_CC +CF_PROG_CC AC_PROG_CPP AC_PROG_GCC_TRADITIONAL AC_PROG_AWK @@ -60,14 +60,7 @@ AC_PROG_LN_S AC_ARG_PROGRAM AC_CHECK_PROGS(LINT, tdlint lint alint) -### checks for UNIX variants that set C preprocessor variables -AC_AIX -AC_ISC_POSIX - ### checks for compiler characteristics -CF_ANSI_CC_CHECK -AC_C_CONST -CF_PROG_EXT CF_XOPEN_SOURCE CF_SIGWINCH @@ -87,7 +80,6 @@ AM_LANGINFO_CODESET ### checks for typedefs CF_SIG_ATOMIC_T -CF_SIZE_T AC_CHECK_TYPE(time_t, long) CF_TYPE_CC_T AC_TYPE_MODE_T @@ -97,21 +89,17 @@ AC_TYPE_OFF_T ### checks for library functions AC_CHECK_FUNCS( \ - bcopy \ gethostname \ getlogin \ - memmove \ putenv \ unsetenv \ sched_yield \ setpgid \ - strerror \ strftime \ tcgetattr \ waitpid \ wcswidth \ wcwidth ) -CF_FUNC_MEMMOVE CF_UTMP CF_STRUCT_LASTLOG CF_POSIX_SAVED_IDS @@ -121,7 +109,8 @@ CF_FUNC_TGETENT CF_WITH_APP_CLASS(XTerm) CF_WITH_APP_DEFAULTS -CF_WITH_ICONDIR +CF_WITH_ICON_NAME(xterm-color) +CF_WITH_ICON_THEME([icons/$ICON_NAME icons/${ICON_NAME}_48x48],,,icons/${ICON_NAME}_48x48) CF_DISABLE_DESKTOP(xterm) CF_WITH_DESKTOP_CATEGORY(xterm,[*rxvt*|konsole|*-terminal],[System|TerminalEmulator|Utility|*]) @@ -205,7 +194,7 @@ if test "$use_utmp_setgid" != no ; then if test "$cf_cv_posix_saved_ids" != yes ; then AC_MSG_ERROR(Your system does not support POSIX saved-ids) fi - AC_DEFINE(USE_UTMP_SETGID) + AC_DEFINE(USE_UTMP_SETGID,1,[Define to 1 if we should use setgid to access utmp/utmpx]) SINSTALL_OPTS="$SINSTALL_OPTS g+s -g $cf_cv_utmp_group" fi @@ -254,6 +243,7 @@ AC_CHECK_HEADERS( \ X11/extensions/XKB.h \ ) +CF_WITH_XPM CF_X_ATHENA CF_TYPE_FD_MASK CF_TERMIO_C_ISPEED @@ -261,8 +251,8 @@ CF_TERMIO_C_ISPEED LIBS="$LIBS $X_EXTRA_LIBS" CF_FUNC_GRANTPT -AC_CHECK_FUNCS(XkbQueryExtension) - +CF_XKB_QUERY_EXTENSION +CF_XKB_KEYCODE_TO_KEYSYM CF_XKB_BELL_EXT AC_CHECK_FUNCS(Xutf8LookupString, [],[ @@ -291,13 +281,13 @@ AC_MSG_CHECKING(for default terminal-id) AC_ARG_WITH(terminal-id, [ --with-terminal-id=V set default decTerminalID (default: vt100)], [default_termid=$withval], - [default_termid=vt100]) + [default_termid=vt420]) AC_MSG_RESULT($default_termid) case $default_termid in vt*) default_termid=`echo $default_termid | sed -e 's/^..//'` ;; esac -AC_DEFINE_UNQUOTED(DFT_DECID,"$default_termid") +AC_DEFINE_UNQUOTED(DFT_DECID,"$default_termid",[default terminal-id]) AC_SUBST(default_termid) AC_MSG_CHECKING(for default terminal-type) @@ -306,9 +296,46 @@ AC_ARG_WITH(terminal-type, [default_TERM=$withval], [default_TERM=xterm]) AC_MSG_RESULT($default_TERM) -AC_DEFINE_UNQUOTED(DFT_TERMTYPE,"$default_TERM") +AC_DEFINE_UNQUOTED(DFT_TERMTYPE,"$default_TERM",[default terminal-type]) AC_SUBST(default_TERM) +############################################################################### +AC_MSG_CHECKING(if backarrow-key should be DEL) +CF_ARG_DISABLE(backarrow-key, + [ --enable-backarrow-key set default backarrowKey resource (default: true)], + [backarrow_is_del=$enableval], + [backarrow_is_del=yes]) +CF_XBOOL_RESULT(DEF_BACKARO_DEL,backarrow_is_del,[Define to 1 if backarrow-key should be DEL]) + +AC_MSG_CHECKING(if backarrow-key should be treated as erase) +CF_ARG_ENABLE(backarrow-is-erase, + [ --enable-backarrow-is-erase set default backarrowKeyIsErase resource (default: false)], + [backarrow_is_erase=$enableval], + [backarrow_is_erase=no]) +CF_XBOOL_RESULT(DEF_BACKARO_ERASE,backarrow_is_erase,[Define to 1 if backarrow-key should be treated as erase]) + +AC_MSG_CHECKING(for default backspace/DEL setting) +AC_ARG_ENABLE(delete-is-del, + [ --enable-delete-is-del set default deleteIsDEL resource (default: maybe)], + [delete_is_del=$enableval], + [delete_is_del=maybe]) +CF_XBOOL_RESULT(DEFDELETE_DEL,delete_is_del,[Define to 1 if default backspace/DEL setting is DEL]) + +AC_MSG_CHECKING(if alt should send ESC) +CF_ARG_ENABLE(alt-sends-esc, + [ --enable-alt-sends-esc set default altSendsEscape resource (default: no)], + [alt_sends_esc=$enableval], + [alt_sends_esc=no]) +CF_XBOOL_RESULT(DEF_ALT_SENDS_ESC,alt_sends_esc,[Define to 1 if alt should send ESC]) + +AC_MSG_CHECKING(if meta should send ESC) +CF_ARG_ENABLE(meta-sends-esc, + [ --enable-meta-sends-esc set default metaSendsEscape resource (default: no)], + [meta_sends_esc=$enableval], + [meta_sends_esc=no]) +CF_XBOOL_RESULT(DEF_META_SENDS_ESC,meta_sends_esc,[Define to 1 if meta should send ESC]) + +############################################################################### AC_CHECK_PROG(cf_tic_prog,tic,yes,no) if test "$cf_tic_prog" = yes ; then AC_MSG_CHECKING(for private terminfo-directory) @@ -321,7 +348,7 @@ if test "$cf_tic_prog" = yes ; then AC_MSG_WARN(no value given) elif test "$TERMINFO_DIR" != none ; then if test -d $TERMINFO_DIR ; then - AC_DEFINE_UNQUOTED(OWN_TERMINFO_DIR,"$TERMINFO_DIR") + AC_DEFINE_UNQUOTED(OWN_TERMINFO_DIR,"$TERMINFO_DIR",[Define to override default TERMINFO value]) else AC_MSG_WARN(not a directory) fi @@ -357,7 +384,7 @@ CF_ARG_DISABLE(active-icon, [enable_active_icon=yes]) AC_MSG_RESULT($enable_active_icon) if test "$enable_active_icon" = no ; then - AC_DEFINE(NO_ACTIVE_ICON) + AC_DEFINE(NO_ACTIVE_ICON,1,[Define to 1 to disable X11R6.3 active-icon feature]) fi AC_MSG_CHECKING(if you want ANSI color) @@ -366,7 +393,7 @@ CF_ARG_DISABLE(ansi-color, [enable_ansi_color=no], [enable_ansi_color=yes]) AC_MSG_RESULT($enable_ansi_color) -test "$enable_ansi_color" = no && AC_DEFINE(OPT_ISO_COLORS,0) +test "$enable_ansi_color" = no && AC_DEFINE(OPT_ISO_COLORS,0,[Define to 0 to disable ANSI color]) if test "$enable_ansi_color" = yes ; then @@ -376,7 +403,7 @@ if test "$enable_ansi_color" = yes ; then [enable_16_color=no], [enable_16_color=yes]) AC_MSG_RESULT($enable_16_color) - test "$enable_16_color" = no && AC_DEFINE(OPT_AIX_COLORS,0) + test "$enable_16_color" = no && AC_DEFINE(OPT_AIX_COLORS,0,[Define to 0 to disable 16-color support]) AC_MSG_CHECKING(if you want 256 colors) CF_ARG_ENABLE(256-color, @@ -387,7 +414,7 @@ if test "$enable_ansi_color" = yes ; then if test "$enable_256_color" = yes ; then CHARPROC_DEPS="$CHARPROC_DEPS 256colres.h" EXTRAHDRS="$EXTRAHDRS 256colres.h" - AC_DEFINE(OPT_256_COLORS,1) + AC_DEFINE(OPT_256_COLORS,1,[Define to 1 to enable 256-color support]) else AC_MSG_CHECKING(if you want 88 colors) CF_ARG_ENABLE(88-color, @@ -398,7 +425,7 @@ if test "$enable_ansi_color" = yes ; then if test "$enable_88_color" = yes ; then CHARPROC_DEPS="$CHARPROC_DEPS 88colres.h" EXTRAHDRS="$EXTRAHDRS 88colres.h" - AC_DEFINE(OPT_88_COLORS,1) + AC_DEFINE(OPT_88_COLORS,1,[Define to 1 to enable 88-color support]) fi fi @@ -410,7 +437,7 @@ CF_ARG_DISABLE(blink-cursor, [enable_blink_curs=no], [enable_blink_curs=yes]) AC_MSG_RESULT($enable_blink_curs) -test "$enable_blink_curs" = no && AC_DEFINE(OPT_BLINK_CURS,0) +test "$enable_blink_curs" = no && AC_DEFINE(OPT_BLINK_CURS,0,[Define to 0 to disable support for blinking cursor]) AC_MSG_CHECKING(if you want to ignore Linux's broken palette-strings) @@ -428,9 +455,9 @@ CF_ARG_OPTION(broken-osc, [$assume_broken_osc]) AC_MSG_RESULT($enable_broken_osc) if test "$enable_broken_osc" = yes ; then - AC_DEFINE(OPT_BROKEN_OSC,1) + AC_DEFINE(OPT_BROKEN_OSC,1,[Define to 1 to allow broken Linux OSC-strings]) else - AC_DEFINE(OPT_BROKEN_OSC,0) + AC_DEFINE(OPT_BROKEN_OSC,0,[Define to 0 to allow broken Linux OSC-strings]) fi AC_MSG_CHECKING(if you want to allow broken string-terminators) @@ -439,7 +466,7 @@ CF_ARG_ENABLE(broken-st, [enable_broken_st=no], [enable_broken_st=yes]) AC_MSG_RESULT($enable_broken_st) -test "$enable_broken_st" = no && AC_DEFINE(OPT_BROKEN_ST,0) +test "$enable_broken_st" = no && AC_DEFINE(OPT_BROKEN_ST,0,[Define to 0 to disallow broken string-terminators]) AC_MSG_CHECKING(if you want printable 128-159) CF_ARG_DISABLE(c1-print, @@ -447,7 +474,7 @@ CF_ARG_DISABLE(c1-print, [enable_c1_print=no], [enable_c1_print=yes]) AC_MSG_RESULT($enable_c1_print) -test "$enable_c1_print" = no && AC_DEFINE(OPT_C1_PRINT,0) +test "$enable_c1_print" = no && AC_DEFINE(OPT_C1_PRINT,0,[Define to 0 to disallow -k8 option for printable 128-159]) if test "$enable_ansi_color" = yes ; then @@ -457,7 +484,7 @@ if test "$enable_ansi_color" = yes ; then [enable_pc_color=no], [enable_pc_color=yes]) AC_MSG_RESULT($enable_pc_color) - test "$enable_pc_color" = no && AC_DEFINE(OPT_PC_COLORS,0) + test "$enable_pc_color" = no && AC_DEFINE(OPT_PC_COLORS,0,[Define to 0 to disable PC-style mapping of bold colors]) AC_MSG_CHECKING(if you want separate color-classes) CF_ARG_DISABLE(color-class, @@ -465,7 +492,7 @@ if test "$enable_ansi_color" = yes ; then [enable_color_class=no], [enable_color_class=yes]) AC_MSG_RESULT($enable_color_class) - test "$enable_color_class" = no && AC_DEFINE(OPT_COLOR_CLASS,FALSE) + test "$enable_color_class" = no && AC_DEFINE(OPT_COLOR_CLASS,0,[Define to 0 to disable separate color class resources]) AC_MSG_CHECKING(if you want color-mode enabled by default) CF_ARG_DISABLE(color-mode, @@ -473,7 +500,7 @@ if test "$enable_ansi_color" = yes ; then [default_colormode=no], [default_colormode=yes]) AC_MSG_RESULT($default_colormode) - test "$default_colormode" = no && AC_DEFINE(DFT_COLORMODE,FALSE) + test "$default_colormode" = no && AC_DEFINE(DFT_COLORMODE,0,[Define to 0 if you want color-mode enabled by default]) fi @@ -483,7 +510,7 @@ CF_ARG_DISABLE(highlighting, [default_highlight=no], [default_highlight=yes]) AC_MSG_RESULT($default_highlight) -test "$default_highlight" = no && AC_DEFINE(OPT_HIGHLIGHT_COLOR,0) +test "$default_highlight" = no && AC_DEFINE(OPT_HIGHLIGHT_COLOR,0,[Define to 1 if you want support for color highlighting]) AC_MSG_CHECKING(if you want support for doublesize characters) CF_ARG_DISABLE(doublechars, @@ -491,7 +518,7 @@ CF_ARG_DISABLE(doublechars, [enable_doublechars=no], [enable_doublechars=yes]) AC_MSG_RESULT($enable_doublechars) -test "$enable_doublechars" = no && AC_DEFINE(OPT_DEC_CHRSET,0) +test "$enable_doublechars" = no && AC_DEFINE(OPT_DEC_CHRSET,0,[Define to 0 to disable support for double-size chars]) AC_MSG_CHECKING(if you want fallback-support for box characters) CF_ARG_DISABLE(boxchars, @@ -499,7 +526,7 @@ CF_ARG_DISABLE(boxchars, [enable_boxchars=no], [enable_boxchars=yes]) AC_MSG_RESULT($enable_boxchars) -test "$enable_boxchars" = no && AC_DEFINE(OPT_BOX_CHARS,0) +test "$enable_boxchars" = no && AC_DEFINE(OPT_BOX_CHARS,0,[Define to 0 to disable fallback-support for box chars]) AC_MSG_CHECKING(if you want to allow spawning new xterms) CF_ARG_ENABLE(exec-xterm, @@ -512,11 +539,28 @@ if test "$enable_exec_xterm" = yes ; then if test "$cf_cv_procfs_cwd" = no ; then AC_MSG_WARN(no suitable proc filesystem found) else - AC_DEFINE_UNQUOTED(PROCFS_ROOT,"$cf_cv_procfs_cwd") - AC_DEFINE(OPT_EXEC_XTERM) + AC_DEFINE_UNQUOTED(PROCFS_ROOT,"$cf_cv_procfs_cwd",[This is defined via the --enable-exec-xterm option]) + AC_DEFINE(OPT_EXEC_XTERM,1,[Define to 1 to enable "spawn-new-terminal" action]) fi fi +AC_MSG_CHECKING(if you want to use double-buffering) +CF_ARG_ENABLE(double-buffer, + [ --enable-double-buffer enable double-buffering], + [enable_double_bfr=yes], + [enable_double_bfr=no]) +AC_MSG_RESULT($enable_double_bfr) +if test "$enable_double_bfr" = yes ; then + case "x$LIBS" in + *Xext*) + ;; + *) + CF_X_EXT + ;; + esac + AC_DEFINE(OPT_DOUBLE_BUFFER,1,[Define to 1 to enable double-buffering]) +fi + AC_MSG_CHECKING(if you want to use FreeType library) CF_ARG_DISABLE(freetype, [ --disable-freetype disable freetype library-support], @@ -536,7 +580,7 @@ CF_ARG_ENABLE(hp-fkeys, [enable_hp_fkeys=no]) AC_MSG_RESULT($enable_hp_fkeys) if test "$enable_hp_fkeys" = yes ; then - AC_DEFINE(OPT_HP_FUNC_KEYS,1) + AC_DEFINE(OPT_HP_FUNC_KEYS,1,[Define to 1 to enable support for HP-style function keys]) fi AC_MSG_CHECKING(if you want support for SCO-style function keys) @@ -546,7 +590,7 @@ CF_ARG_ENABLE(sco-fkeys, [enable_sco_fkeys=no]) AC_MSG_RESULT($enable_sco_fkeys) if test "$enable_sco_fkeys" = yes ; then - AC_DEFINE(OPT_SCO_FUNC_KEYS,1) + AC_DEFINE(OPT_SCO_FUNC_KEYS,1,[Define to 1 to enable support for SCO-style function keys]) fi AC_MSG_CHECKING(if you want support for Sun-style function keys) @@ -556,7 +600,7 @@ CF_ARG_DISABLE(sun-fkeys, [enable_sun_fkeys=yes]) AC_MSG_RESULT($enable_sun_fkeys) if test "$enable_sun_fkeys" = no ; then - AC_DEFINE(OPT_SUN_FUNC_KEYS,0) + AC_DEFINE(OPT_SUN_FUNC_KEYS,0,[Define to 0 to disable support for Sun-style function keys]) fi AC_MSG_CHECKING(if you want saved-lines stored as a FIFO) @@ -566,7 +610,7 @@ CF_ARG_DISABLE(fifo-lines, [enable_fifo_lines=yes]) AC_MSG_RESULT($enable_fifo_lines) if test "$enable_fifo_lines" = yes ; then - AC_DEFINE(OPT_FIFO_LINES,1) + AC_DEFINE(OPT_FIFO_LINES,1,[Define to 1 to disable FIFO-storage for saved-lines]) fi AC_MSG_CHECKING(if you want support for internationalization) @@ -576,7 +620,7 @@ CF_ARG_DISABLE(i18n, [enable_i18n=yes]) AC_MSG_RESULT($enable_i18n) if test "$enable_i18n" = no ; then - AC_DEFINE(OPT_I18N_SUPPORT,0) + AC_DEFINE(OPT_I18N_SUPPORT,0,[Define to 0 to disable internationalization]) fi AC_MSG_CHECKING(if you want support for initial-erase setup) @@ -586,7 +630,7 @@ CF_ARG_DISABLE(initial-erase, [enable_ie=yes]) AC_MSG_RESULT($enable_ie) if test "$enable_ie" = no ; then - AC_DEFINE(OPT_INITIAL_ERASE,0) + AC_DEFINE(OPT_INITIAL_ERASE,0,[Define to 0 to disable setup for stty erase]) fi AC_MSG_CHECKING(if you want support for input-method) @@ -598,7 +642,7 @@ AC_MSG_RESULT($enable_ximp) CF_INPUT_METHOD test "$cf_cv_input_method" = no && enable_ximp=no if test "$enable_ximp" = no ; then - AC_DEFINE(OPT_INPUT_METHOD,0) + AC_DEFINE(OPT_INPUT_METHOD,0,[Define to 0 to disable input-method]) fi AC_MSG_CHECKING(if you want support for load-vt-fonts) @@ -608,7 +652,7 @@ CF_ARG_ENABLE(load-vt-fonts, [enable_load_vt_fonts=no]) AC_MSG_RESULT($enable_load_vt_fonts) if test "$enable_load_vt_fonts" = yes ; then - AC_DEFINE(OPT_LOAD_VTFONTS,1) + AC_DEFINE(OPT_LOAD_VTFONTS,1,[Define to 1 to enable load-vt-fonts() action]) fi AC_MSG_CHECKING(if you want support for logging) @@ -618,7 +662,7 @@ CF_ARG_ENABLE(logging, [enable_logging=no]) AC_MSG_RESULT($enable_logging) if test "$enable_logging" = yes ; then - AC_DEFINE(ALLOWLOGGING) + AC_DEFINE(ALLOWLOGGING,1,[if you want support for logging]) AC_MSG_CHECKING(if you want to allow logging via a pipe) CF_ARG_ENABLE(logfile-exec, [ --enable-logfile-exec enable exec'd logfile filter], @@ -626,7 +670,7 @@ if test "$enable_logging" = yes ; then [enable_log_exec=no]) AC_MSG_RESULT($enable_log_exec) if test "$enable_log_exec" = yes ; then - AC_DEFINE(ALLOWLOGFILEEXEC) + AC_DEFINE(ALLOWLOGFILEEXEC,1,[if you want to allow logging via a pipe]) fi fi @@ -636,7 +680,7 @@ CF_ARG_DISABLE(maximize, [enable_maximize=no], [enable_maximize=yes]) AC_MSG_RESULT($enable_maximize) -test "$enable_maximize" = no && AC_DEFINE(OPT_MAXIMIZE,0) +test "$enable_maximize" = no && AC_DEFINE(OPT_MAXIMIZE,0,[Define to 0 to disable actions for iconify/deiconify/maximize/restore]) AC_MSG_CHECKING(if you want NumLock to override keyboard tables) CF_ARG_DISABLE(num-lock, @@ -644,7 +688,7 @@ CF_ARG_DISABLE(num-lock, [enable_numlock=no], [enable_numlock=yes]) AC_MSG_RESULT($enable_numlock) -test "$enable_numlock" = no && AC_DEFINE(OPT_NUM_LOCK,0) +test "$enable_numlock" = no && AC_DEFINE(OPT_NUM_LOCK,0,[Define to 0 to disable NumLock keypad support]) AC_MSG_CHECKING(if you want support for get/set of base64 selection data) @@ -654,9 +698,9 @@ CF_ARG_DISABLE(paste64, [enable_paste64=yes]) AC_MSG_RESULT($enable_paste64) if test "$enable_paste64" = yes ; then - AC_DEFINE(OPT_PASTE64,1) + AC_DEFINE(OPT_PASTE64,1,[Define to 1 to disable get/set base64 selection data]) else - AC_DEFINE(OPT_PASTE64,0) + AC_DEFINE(OPT_PASTE64,0,[Define to 0 to disable get/set base64 selection data]) fi AC_MSG_CHECKING(if you want support for pty-handshaking) @@ -667,9 +711,9 @@ CF_ARG_DISABLE(pty-handshake, [enable_pty_handshake=yes]) AC_MSG_RESULT($enable_pty_handshake) if test "$enable_pty_handshake" = yes ; then - AC_DEFINE(OPT_PTY_HANDSHAKE,1) + AC_DEFINE(OPT_PTY_HANDSHAKE,1,[Define to 1 to disable pty-handshake support]) else - AC_DEFINE(OPT_PTY_HANDSHAKE,0) + AC_DEFINE(OPT_PTY_HANDSHAKE,0,[Define to 0 to disable pty-handshake support]) fi AC_MSG_CHECKING(if you want support for mouse in readline applications) @@ -679,7 +723,7 @@ CF_ARG_ENABLE(readline-mouse, [enable_readline_mouse=no]) AC_MSG_RESULT($enable_readline_mouse) if test "$enable_readline_mouse" = yes ; then - AC_DEFINE(OPT_READLINE,1) + AC_DEFINE(OPT_READLINE,1,[Define to 1 to enable support for mouse in readline applications]) fi AC_MSG_CHECKING(if you want support for regular-expression selections) @@ -696,7 +740,7 @@ if test "$enable_regex" = yes ; then AC_MSG_ERROR(Only POSIX or PCRE regular expressions are supported) fi fi - AC_DEFINE(OPT_SELECT_REGEX) + AC_DEFINE(OPT_SELECT_REGEX,1,[Define to 1 to enable regular-expression selections]) fi AC_MSG_CHECKING(if you want support for right-scrollbar) @@ -706,7 +750,7 @@ CF_ARG_DISABLE(rightbar, [enable_rightbar=yes]) AC_MSG_RESULT($enable_rightbar) if test "$enable_rightbar" = yes ; then - AC_DEFINE(SCROLLBAR_RIGHT) + AC_DEFINE(SCROLLBAR_RIGHT,1,[Define to 1 to enable right-scrollbar support]) fi AC_MSG_CHECKING(if you want check for redundant name-change) @@ -715,7 +759,7 @@ CF_ARG_DISABLE(samename, [enable_samename=no], [enable_samename=yes]) AC_MSG_RESULT($enable_samename) -test "$enable_samename" = no && AC_DEFINE(OPT_SAME_NAME,0) +test "$enable_samename" = no && AC_DEFINE(OPT_SAME_NAME,0,[Define to 0 to disable check for redundant name-change]) AC_MSG_CHECKING(if you want support for selection-actions) CF_ARG_DISABLE(selection-ops, @@ -723,7 +767,7 @@ CF_ARG_DISABLE(selection-ops, [enable_selection_ops=no], [enable_selection_ops=yes]) AC_MSG_RESULT($enable_selection_ops) -test "$enable_selection_ops" = no && AC_DEFINE(OPT_SELECTION_OPS,0) +test "$enable_selection_ops" = no && AC_DEFINE(OPT_SELECTION_OPS,0,[Define to 0 disable selection-action operations]) AC_MSG_CHECKING(if you want support for session management) CF_ARG_DISABLE(session-mgt, @@ -731,7 +775,7 @@ CF_ARG_DISABLE(session-mgt, [enable_session_mgt=no], [enable_session_mgt=yes]) AC_MSG_RESULT($enable_session_mgt) -test "$enable_session_mgt" = no && AC_DEFINE(OPT_SESSION_MGT,0) +test "$enable_session_mgt" = no && AC_DEFINE(OPT_SESSION_MGT,0,[Define to 0 to disable support for session management]) AC_MSG_CHECKING(if you want to use termcap function-keys) CF_ARG_DISABLE(tcap-fkeys, @@ -739,7 +783,7 @@ CF_ARG_DISABLE(tcap-fkeys, [enable_tcap_fkeys=no], [enable_tcap_fkeys=yes]) AC_MSG_RESULT($enable_tcap_fkeys) -test "$enable_tcap_fkeys" = yes && AC_DEFINE(OPT_TCAP_FKEYS,1) +test "$enable_tcap_fkeys" = yes && AC_DEFINE(OPT_TCAP_FKEYS,1,[Define to 1 to disable termcap function-keys support]) AC_MSG_CHECKING(if you want to use termcap-query/report) CF_ARG_DISABLE(tcap-query, @@ -747,7 +791,7 @@ CF_ARG_DISABLE(tcap-query, [enable_tcap_query=no], [enable_tcap_query=yes]) AC_MSG_RESULT($enable_tcap_query) -test "$enable_tcap_query" = yes && AC_DEFINE(OPT_TCAP_QUERY,1) +test "$enable_tcap_query" = yes && AC_DEFINE(OPT_TCAP_QUERY,1,[Define to 1 to disable compiled-in termcap-query support]) AC_MSG_CHECKING(if you want support for tek4014) CF_ARG_DISABLE(tek4014, @@ -756,7 +800,7 @@ CF_ARG_DISABLE(tek4014, [enable_tek4014=yes]) AC_MSG_RESULT($enable_tek4014) if test "$enable_tek4014" = no ; then - AC_DEFINE(OPT_TEK4014,0) + AC_DEFINE(OPT_TEK4014,0,[Define to 0 to disable tek4014 emulation]) else EXTRAHDRS="$EXTRAHDRS Tekparse.h" EXTRASRCS="$EXTRASRCS TekPrsTbl.c Tekproc.c" @@ -770,7 +814,7 @@ CF_ARG_ENABLE(toolbar, [enable_toolbar=no]) AC_MSG_RESULT($enable_toolbar) if test "$enable_toolbar" = yes ; then - AC_DEFINE(OPT_TOOLBAR,1) + AC_DEFINE(OPT_TOOLBAR,1,[Define to 1 to compile-in toolbar for pulldown menus]) fi AC_MSG_CHECKING(if you want VT52 emulation) @@ -779,7 +823,7 @@ CF_ARG_DISABLE(vt52, [enable_vt52=no], [enable_vt52=yes]) AC_MSG_RESULT($enable_vt52) -test "$enable_vt52" = no && AC_DEFINE(OPT_VT52_MODE,0) +test "$enable_vt52" = no && AC_DEFINE(OPT_VT52_MODE,0,[Define to 0 to disable VT52 emulation]) AC_MSG_CHECKING(if you want to use mini-luit/Latin9 built-in support) CF_ARG_ENABLE(mini-luit, @@ -788,7 +832,7 @@ CF_ARG_ENABLE(mini-luit, [enable_mini_luit=no]) AC_MSG_RESULT($enable_mini_luit) if test "$enable_mini_luit" = yes ; then - AC_DEFINE(OPT_MINI_LUIT,1) + AC_DEFINE(OPT_MINI_LUIT,1,[Define to 1 to enable mini-luit (built-in Latin9 support)]) fi AC_MSG_CHECKING(if you want to use luit) @@ -798,7 +842,7 @@ CF_ARG_ENABLE(luit, [enable_luit=$enable_mini_luit]) AC_MSG_RESULT($enable_luit) if test "$enable_luit" = yes ; then - AC_DEFINE(OPT_LUIT_PROG,1) + AC_DEFINE(OPT_LUIT_PROG,1,[Define to 1 to enable luit filter (Unicode translation)]) CF_PATH_PROG(LUIT,xterm-filter,bluit luit) fi @@ -818,12 +862,12 @@ CF_ARG_ENABLE(16bit-chars, AC_MSG_RESULT($enable_16bit_chars) if test "$enable_16bit_chars" = yes ; then - AC_DEFINE(OPT_WIDER_ICHAR,0) + AC_DEFINE(OPT_WIDER_ICHAR,0,[Define to 0 to enable 16-bit character support]) enable_wchar=yes fi if test "$enable_wchar" = yes ; then - AC_DEFINE(OPT_WIDE_CHARS,1) + AC_DEFINE(OPT_WIDE_CHARS,1,[Define to 1 to enable wide-character support]) EXTRAHDRS="$EXTRAHDRS charclass.h precompose.h wcwidth.h" EXTRASRCS="$EXTRASRCS charclass.c precompose.c wcwidth.c" EXTRAOBJS="$EXTRAOBJS charclass.o precompose.o wcwidth.o" @@ -836,7 +880,7 @@ CF_ARG_ENABLE(dabbrev, [enable_dabbrev=no]) AC_MSG_RESULT($enable_dabbrev) if test "$enable_dabbrev" = yes ; then - AC_DEFINE(OPT_DABBREV,1) + AC_DEFINE(OPT_DABBREV,1,[Define to 1 to enable dynamic-abbreviation support]) fi AC_MSG_CHECKING(if you want DECterm Locator support) @@ -846,7 +890,7 @@ CF_ARG_ENABLE(dec-locator, [enable_dec_locator=no]) AC_MSG_RESULT($enable_dec_locator) if test "$enable_dec_locator" = yes ; then - AC_DEFINE(OPT_DEC_LOCATOR,1) + AC_DEFINE(OPT_DEC_LOCATOR,1,[Define to 1 to enable DECterm Locator support]) fi AC_MSG_CHECKING(if you want VT420 rectangle support) @@ -856,7 +900,7 @@ CF_ARG_DISABLE(rectangles, [enable_rectangles=yes]) AC_MSG_RESULT($enable_rectangles) if test "$enable_rectangles" = yes ; then - AC_DEFINE(OPT_DEC_RECTOPS,1) + AC_DEFINE(OPT_DEC_RECTOPS,1,[Define to 1 to disable VT420 rectangle support]) fi AC_MSG_CHECKING(if you want -ziconbeep option) @@ -865,7 +909,7 @@ CF_ARG_DISABLE(ziconbeep, [enable_ziconbeep=no], [enable_ziconbeep=yes]) AC_MSG_RESULT($enable_ziconbeep) -test "$enable_ziconbeep" = no && AC_DEFINE(OPT_ZICONBEEP,0) +test "$enable_ziconbeep" = no && AC_DEFINE(OPT_ZICONBEEP,0,[Define to 0 to disable -ziconbeep option]) ############################################################################### CF_HELP_MESSAGE(Testing/development Options:) @@ -877,7 +921,7 @@ CF_ARG_ENABLE(trace, [enable_trace=no]) AC_MSG_RESULT($enable_trace) if test "$enable_trace" = yes ; then - AC_DEFINE(OPT_TRACE) + AC_DEFINE(OPT_TRACE,1,[Define to 1 to enable debugging traces]) EXTRASRCS="$EXTRASRCS trace.c" EXTRAOBJS="$EXTRAOBJS trace.o" fi @@ -889,7 +933,7 @@ CF_ARG_DISABLE(leaks, [disable_leaks=no]) AC_MSG_RESULT($disable_leaks) if test "$disable_leaks" = yes ; then - AC_DEFINE(NO_LEAKS) + AC_DEFINE(NO_LEAKS,1,[Define to 1 to test memory leaks]) fi CF_DISABLE_ECHO @@ -901,7 +945,7 @@ CF_ARG_ENABLE(xmc-glitch, [enable_xmc=no]) AC_MSG_RESULT($enable_xmc) if test "$enable_xmc" = yes ; then - AC_DEFINE(OPT_XMC_GLITCH,1) + AC_DEFINE(OPT_XMC_GLITCH,1,[Define to 1 to enable xmc magic-cookie emulation]) EXTRASRCS="$EXTRASRCS testxmc.c" EXTRAOBJS="$EXTRAOBJS testxmc.o" fi @@ -934,8 +978,8 @@ AC_SUBST(EXTRAHDRS) AC_SUBST(EXTRASRCS) AC_SUBST(EXTRAOBJS) -test "$disable_setuid" = yes && AC_DEFINE(DISABLE_SETUID) -test "$disable_setgid" = yes && AC_DEFINE(DISABLE_SETGID) +test "$disable_setuid" = yes && AC_DEFINE(DISABLE_SETUID,1,[Define to 1 if you want to disable setuid]) +test "$disable_setgid" = yes && AC_DEFINE(DISABLE_SETGID,1,[Define to 1 if you want to disable setgid]) if test $disable_setuid = yes ; then MAY_SETUID="#" diff --git a/app/xterm/ctlseqs.ms b/app/xterm/ctlseqs.ms index 44ad73f50..c4d1a0713 100644 --- a/app/xterm/ctlseqs.ms +++ b/app/xterm/ctlseqs.ms @@ -1,6 +1,6 @@ .\"#! troff -ms $1 -*- Nroff -*- .\" "Xterm Control Sequences" document -.\" $XTermId: ctlseqs.ms,v 1.264 2012/05/06 20:12:51 tom Exp $ +.\" $XTermId: ctlseqs.ms,v 1.276 2012/11/25 16:23:14 tom Exp $ .\" .\" .\" Copyright 1996-2011,2012 by Thomas E. Dickey @@ -67,6 +67,11 @@ .\" .\" Run this file through troff and use the -ms macro package. .\" +.ds XT XTerm +.ds xt xterm +.ds LF Patch #287 +.ds RF 2012/11/25 +.\" .if n .pl 9999v \" no page breaks in nroff .ND .\" Start a list of controls @@ -108,7 +113,7 @@ .B .. .ds CH \" as nothing -.ds LH Xterm Control Sequences +.ds LH \*(XT Control Sequences .nr s 6*\n(PS/10 .ds L \s\nsBEL\s0 .ds E \s\nsESC\s0 @@ -306,7 +311,7 @@ .el .nr LL 72m .if n .na .TL -Xterm Control Sequences +\*(XT Control Sequences .AU Edward Moy .AI @@ -322,6 +327,7 @@ Thomas Dickey .AI XFree86 Project (1996-2006) invisible-island.net (2006-2012) +updated for \*(XT \*(LF (\*(RF) .AU . .am BT \" add page numbers after first page @@ -556,10 +562,10 @@ Restore Cursor (DECRC). Forward Index (DECFI), VT420 and up. . .IP \\*(Es\\*= -Application Keypad (DECPAM). +Application Keypad (DECKPAM). . .IP \\*(Es\\*> -Normal Keypad (DECPNM). +Normal Keypad (DECKPNM). . .IP \\*(Es\\*F Cursor to lower left corner of screen. This is @@ -656,7 +662,7 @@ and \fIxterm\fP responds with \*(Dc\*1\*+\*r\*(Pt\*s\*(ST for valid requests, adding to \*(Pt an \*=, -and the value of the corresponding string that xterm would send, +and the value of the corresponding string that \*(xt would send, or \*(Dc\*0\*+\*r\*(Pt\*s\*(ST for invalid requests. @@ -784,6 +790,8 @@ VT220 parameters do, telling the host what features the terminal supports: \*(Ps = \*8 \(-> User-defined keys. \*(Ps = \*9 \(-> National replacement character sets. \*(Ps = \*1\*5 \(-> Technical characters. + \*(Ps = \*1\*8 \(-> User windows. + \*(Ps = \*2\*1 \(-> Horizontal scrolling. \*(Ps = \*2\*2 \(-> ANSI color, e.g., VT525. \*(Ps = \*2\*9 \(-> ANSI text locator (i.e., DEC Locator mode). . @@ -797,6 +805,14 @@ It should apply only to VT220 and up, but \fIxterm\fP extends this to VT100. where \*(Pp denotes the terminal type \*(Pp = \*0 \(-> ``VT100''. \*(Pp = \*1 \(-> ``VT220''. + \*(Pp = \*2 \(-> ``VT240''. + \*(Pp = \*18 \(-> ``VT330''. + \*(Pp = \*19 \(-> ``VT340''. + \*(Pp = \*24 \(-> ``VT320''. + \*(Pp = \*41 \(-> ``VT420''. + \*(Pp = \*61 \(-> ``VT510''. + \*(Pp = \*64 \(-> ``VT520''. + \*(Pp = \*65 \(-> ``VT525''. .br and \*(Pv is the firmware version (for \fIxterm\fP, this was originally the XFree86 patch number, starting with 95). @@ -866,6 +882,7 @@ See the section \fBMouse Tracking\fP. \*(Ps = \*1\*0\*0\*4 \(-> Send FocusIn/FocusOut events. \*(Ps = \*1\*0\*0\*5 \(-> Enable UTF-8 Mouse Mode. \*(Ps = \*1\*0\*0\*6 \(-> Enable SGR Mouse Mode. + \*(Ps = \*1\*0\*0\*7 \(-> Enable Alternate Scroll Mode. \*(Ps = \*1\*0\*1\*0 \(-> Scroll to bottom on tty output (rxvt). \*(Ps = \*1\*0\*1\*5 \(-> Enable urxvt Mouse Mode. \*(Ps = \*1\*0\*1\*1 \(-> Scroll to bottom on key press (rxvt). @@ -963,6 +980,7 @@ See the section \fBMouse Tracking\fP. \*(Ps = \*1\*0\*0\*4 \(-> Don't send FocusIn/FocusOut events. \*(Ps = \*1\*0\*0\*5 \(-> Disable UTF-8 Mouse Mode. \*(Ps = \*1\*0\*0\*6 \(-> Disable SGR Mouse Mode. + \*(Ps = \*1\*0\*0\*7 \(-> Disable Alternate Scroll Mode. \*(Ps = \*1\*0\*1\*0 \(-> Don't scroll to bottom on tty output (rxvt). \*(Ps = \*1\*0\*1\*5 \(-> Disable urxvt Mouse Mode. \*(Ps = \*1\*0\*1\*1 \(-> Don't scroll to bottom on key press (rxvt). @@ -1057,8 +1075,23 @@ If \fIxterm\fP is compiled with the 16-color support disabled, it supports the following, from \fIrxvt\fP: \*(Ps = \*1\*0\*0 \(-> Set foreground and background color to default. .sP -If 88- or 256-color support is compiled, the following apply. +\fIXterm\fP maintains a color palette whose entries are identified by an index beginning with zero. +If 88- or 256-color support is compiled, the following apply: +.RS +.bP +All parameters are decimal integers. +.bP +RGB values range from zero (0) to 255. +.bP +ISO-8613-3 can be interpreted in more than one way; +\fIxterm\fP allows the semicolons in this control to be replaced by colons +(but after the first colon, colons must be used). +.RE +.sP +These ISO-8613-3 controls are supported: + \*(Ps = \*3\*8 ; \*2 ; \*(Pr ; \*(Pg ; \*(Pb \(-> Set foreground color to the closest match in \fIxterm\fP's palette for the given RGB \*(Pr/\*(Pg/\*(Pb. \*(Ps = \*3\*8 ; \*5 ; \*(Ps \(-> Set foreground color to the second \*(Ps. + \*(Ps = \*4\*8 ; \*2 ; \*(Pr ; \*(Pg ; \*(Pb \(-> Set background color to the closest match in \fIxterm\fP's palette for the given RGB \*(Pr/\*(Pg/\*(Pb. \*(Ps = \*4\*8 ; \*5 ; \*(Ps \(-> Set background color to the second \*(Ps. .sp . @@ -1069,6 +1102,7 @@ pressed with a given key. The first parameter identifies the resource to set/reset. The second parameter is the value to assign to the resource. If the second parameter is omitted, the resource is reset to its initial value. + \*(Ps = \*0 \(-> modifyKeyboard. \*(Ps = \*1 \(-> modifyCursorKeys. \*(Ps = \*2 \(-> modifyFunctionKeys. \*(Ps = \*4 \(-> modifyOtherKeys. @@ -1091,6 +1125,7 @@ sequence. This corresponds to a resource value of "-1", which cannot be set with the other sequence. The parameter identifies the resource to be disabled: + \*(Ps = \*0 \(-> modifyKeyboard. \*(Ps = \*1 \(-> modifyCursorKeys. \*(Ps = \*2 \(-> modifyFunctionKeys. \*(Ps = \*4 \(-> modifyOtherKeys. @@ -1140,7 +1175,8 @@ hide the pointer cursor as the user types. Valid values for the parameter: \*(Ps = \*0 \(-> never hide the pointer. \*(Ps = \*1 \(-> hide if the mouse tracking mode is not enabled. - \*(Ps = \*2 \(-> always hide the pointer. + \*(Ps = \*2 \(-> always hide the pointer, except when leaving the window. + \*(Ps = \*3 \(-> always hide the pointer, even if leaving/entering the window. If no parameter is given, \fIxterm\fP uses the default, which is \*1. . @@ -1198,9 +1234,11 @@ Load LEDs (DECLL). Set cursor style (DECSCUSR, VT520). \*(Ps = \*0 \(-> blinking block. \*(Ps = \*1 \(-> blinking block (default). - \*(Ps = \*2 \(-> steady block. - \*(Ps = \*3 \(-> blinking underline. - \*(Ps = \*4 \(-> steady underline. + \*(Ps = \*2 \(-> steady block. + \*(Ps = \*3 \(-> blinking underline. + \*(Ps = \*4 \(-> steady underline. + \*(Ps = \*5 \(-> blinking bar (xterm). + \*(Ps = \*6 \(-> steady bar (xterm). . .IP \\*(Cs\\*(Ps\\*s\\*(c"\\*q Select character protection attribute (DECSCA). @@ -1250,8 +1288,11 @@ Omitted parameters reuse the current height or width. Zero parameters use the display's height or width. \*(Ps = \*9\*s\*;\*s\*0 \(-> Restore maximized window. \*(Ps = \*9\*s\*;\*s\*1 \(-> Maximize window (i.e., resize to screen size). + \*(Ps = \*9\*s\*;\*s\*2 \(-> Maximize window vertically. + \*(Ps = \*9\*s\*;\*s\*3 \(-> Maximize window horizontally. \*(Ps = \*1\*0\*s\*;\*s\*0 \(-> Undo full-screen mode. \*(Ps = \*1\*0\*s\*;\*s\*1 \(-> Change to full-screen. + \*(Ps = \*1\*0\*s\*;\*s\*2 \(-> Toggle full-screen. \*(Ps = \*1\*1 \(-> Report \fIxterm\fP window state. If the \fIxterm\fP window is open (non-iconified), it returns \*(Cs\*1\*t. If the \fIxterm\fP window is iconified, it returns \*(Cs\*2\*t. @@ -1401,7 +1442,7 @@ Request Locator Position (DECRQLP). Valid values for the parameter are: \*(Ps = \*0, 1 or omitted \(-> transmit a single DECLRP locator report. .sP -If Locator Reporting has been enabled by a DECELR, xterm will respond +If Locator Reporting has been enabled by a DECELR, \*(xt will respond with a DECLRP Locator Report. This report is also generated on button up and down events if they have been enabled with a DECSLE, or when @@ -1414,7 +1455,7 @@ Parameters are [event;button;row;column;page]. .br Valid values for the event: \*(Pe = \*0 \(-> locator unavailable - no other parameters sent. - \*(Pe = \*1 \(-> request - xterm received a DECRQLP. + \*(Pe = \*1 \(-> request - \*(xt received a DECRQLP. \*(Pe = \*2 \(-> left button down. \*(Pe = \*3 \(-> left button up. \*(Pe = \*4 \(-> middle button down. @@ -1433,9 +1474,9 @@ Valid values for the event: \*(Pb & \*8 \(<- M4 button down. .br ``row'' and ``column'' parameters are the coordinates of the locator -position in the xterm window, encoded as ASCII decimal. +position in the \*(xt window, encoded as ASCII decimal. .br -The ``page'' parameter is not used by xterm, and will be omitted. +The ``page'' parameter is not used by \*(xt, and will be omitted. . .IP \\*(Cs\\*(Pm\\*s\\*(Sp\\*} Insert \*(Ps Column(s) (default = 1) (DECIC), VT420 and up. @@ -1472,7 +1513,7 @@ their bright versions 8-15, and if supported, the remainder of the 88-color or 256-color table. .sP If a "?" is given rather than a name or RGB specification, -xterm replies with a control sequence of the same form which can be used +\*(xt replies with a control sequence of the same form which can be used to set the corresponding color. Because more than one pair of color number and specification can be given in one control sequence, \fIxterm\fR can make more than one reply. @@ -1502,7 +1543,7 @@ The value of \*(Ps tells the starting point in the list. The colors are specified by name or RGB specification as per \fIXParseColor\fP. .sP If a "?" is given rather than a name or RGB specification, -xterm replies with a control sequence of the same form which can be used +\*(xt replies with a control sequence of the same form which can be used to set the corresponding dynamic color. Because more than one pair of color number and specification can be given in one control sequence, \fIxterm\fR can make more than one reply. @@ -1710,7 +1751,7 @@ _ .TE .lP The application keypad transmits the following escape sequences depending on the -mode specified via the \fBDECPNM\fP and \fBDECPAM\fP escape sequences. +mode specified via the \fBDECKPNM\fP and \fBDECKPAM\fP escape sequences. Use the NumLock key to override the application mode. .lP Not all keys are present on the Sun/PC keypad (e.g., PF1, Tab), but are supported by @@ -1858,7 +1899,7 @@ _ .TE The VT220 provides a 6-key editing keypad, which is analogous to that on the PC keyboard. -It is not affected by \fBDECCKM\fP or \fBDECPNM\fP/\fBDECPAM\fP: +It is not affected by \fBDECCKM\fP or \fBDECKPNM\fP/\fBDECKPAM\fP: .ne 12 .TS center; @@ -2082,6 +2123,8 @@ are defined in \fBxcharmouse.h\fP as follows: #define SET_EXT_MODE_MOUSE 1005 #define SET_SGR_EXT_MODE_MOUSE 1006 #define SET_URXVT_EXT_MODE_MOUSE 1015 + +#define SET_ALTERNATE_SCROLL 1007 .DE .br The motion reporting modes are strictly \fIxterm\fP extensions, and are not @@ -2135,6 +2178,16 @@ Those buttons are represented by the same event codes as buttons 1 and 2 respectively, except that 64 is added to the event code. Release events for the wheel buttons are not reported. +By default, +the wheel mouse events are translated to \fIscroll-back\fP +and \fIscroll-forw\fP actions. +Those actions normally scroll the whole window, +as if the scrollbar was used. +However if Alternate Scroll mode is set, +then cursor up/down controls are sent when the terminal is displaying +the alternate screen. +The initial state of Alternate Scroll mode is set +using the \fBalternateScroll\fP resource. .lP Mouse highlight tracking notifies a program of a button press, receives a range of lines from the program, highlights the region covered by diff --git a/app/xterm/ctlseqs.txt b/app/xterm/ctlseqs.txt index b3af60d41..ec9f5f444 100644 --- a/app/xterm/ctlseqs.txt +++ b/app/xterm/ctlseqs.txt @@ -7,7 +7,7 @@ - Xterm Control Sequences + XTerm Control Sequences Edward Moy @@ -21,6 +21,7 @@ Thomas Dickey XFree86 Project (1996-2006) invisible-island.net (2006-2012) + updated for XTerm Patch #287 (2012/11/25) @@ -160,8 +161,8 @@ ESC 6 Back Index (DECBI), VT420 and up. ESC 7 Save Cursor (DECSC). ESC 8 Restore Cursor (DECRC). ESC 9 Forward Index (DECFI), VT420 and up. -ESC = Application Keypad (DECPAM). -ESC > Normal Keypad (DECPNM). +ESC = Application Keypad (DECKPAM). +ESC > Normal Keypad (DECKPNM). ESC F Cursor to lower left corner of screen. This is enabled by the hpLowerleftBugCompat resource. ESC c Full Reset (RIS). @@ -296,6 +297,8 @@ CSI Ps c Send Device Attributes (Primary DA). Ps = 8 -> User-defined keys. Ps = 9 -> National replacement character sets. Ps = 1 5 -> Technical characters. + Ps = 1 8 -> User windows. + Ps = 2 1 -> Horizontal scrolling. Ps = 2 2 -> ANSI color, e.g., VT525. Ps = 2 9 -> ANSI text locator (i.e., DEC Locator mode). CSI > Ps c @@ -308,6 +311,14 @@ CSI > Ps c where Pp denotes the terminal type Pp = 0 -> ``VT100''. Pp = 1 -> ``VT220''. + Pp = 2 -> ``VT240''. + Pp = 1 8 -> ``VT330''. + Pp = 1 9 -> ``VT340''. + Pp = 2 4 -> ``VT320''. + Pp = 4 1 -> ``VT420''. + Pp = 6 1 -> ``VT510''. + Pp = 6 4 -> ``VT520''. + Pp = 6 5 -> ``VT525''. and Pv is the firmware version (for xterm, this was originally the XFree86 patch number, starting with 95). In a DEC termi- nal, Pc indicates the ROM cartridge registration number and is @@ -371,6 +382,7 @@ CSI ? Pm h Ps = 1 0 0 4 -> Send FocusIn/FocusOut events. Ps = 1 0 0 5 -> Enable UTF-8 Mouse Mode. Ps = 1 0 0 6 -> Enable SGR Mouse Mode. + Ps = 1 0 0 7 -> Enable Alternate Scroll Mode. Ps = 1 0 1 0 -> Scroll to bottom on tty output (rxvt). Ps = 1 0 1 5 -> Enable urxvt Mouse Mode. Ps = 1 0 1 1 -> Scroll to bottom on key press (rxvt). @@ -466,6 +478,7 @@ CSI ? Pm l Ps = 1 0 0 4 -> Don't send FocusIn/FocusOut events. Ps = 1 0 0 5 -> Disable UTF-8 Mouse Mode. Ps = 1 0 0 6 -> Disable SGR Mouse Mode. + Ps = 1 0 0 7 -> Disable Alternate Scroll Mode. Ps = 1 0 1 0 -> Don't scroll to bottom on tty output (rxvt). Ps = 1 0 1 5 -> Disable urxvt Mouse Mode. @@ -563,9 +576,22 @@ CSI Pm m Character Attributes (SGR). Ps = 1 0 0 -> Set foreground and background color to default. - If 88- or 256-color support is compiled, the following apply. + Xterm maintains a color palette whose entries are identified + by an index beginning with zero. If 88- or 256-color support + is compiled, the following apply: + o All parameters are decimal integers. + o RGB values range from zero (0) to 255. + o ISO-8613-3 can be interpreted in more than one way; xterm + allows the semicolons in this control to be replaced by + colons (but after the first colon, colons must be used). + + These ISO-8613-3 controls are supported: + Ps = 3 8 ; 2 ; Pr ; Pg ; Pb -> Set foreground color to the + closest match in xterm's palette for the given RGB Pr/Pg/Pb. Ps = 3 8 ; 5 ; Ps -> Set foreground color to the second Ps. + Ps = 4 8 ; 2 ; Pr ; Pg ; Pb -> Set background color to the + closest match in xterm's palette for the given RGB Pr/Pg/Pb. Ps = 4 8 ; 5 ; Ps -> Set background color to the second Ps. @@ -576,6 +602,7 @@ CSI > Ps; Ps m tifies the resource to set/reset. The second parameter is the value to assign to the resource. If the second parameter is omitted, the resource is reset to its initial value. + Ps = 0 -> modifyKeyboard. Ps = 1 -> modifyCursorKeys. Ps = 2 -> modifyFunctionKeys. Ps = 4 -> modifyOtherKeys. @@ -592,6 +619,7 @@ CSI > Ps n sequence. This corresponds to a resource value of "-1", which cannot be set with the other sequence. The parameter identi- fies the resource to be disabled: + Ps = 0 -> modifyKeyboard. Ps = 1 -> modifyCursorKeys. Ps = 2 -> modifyFunctionKeys. Ps = 4 -> modifyOtherKeys. @@ -630,8 +658,11 @@ CSI > Ps p Valid values for the parameter: Ps = 0 -> never hide the pointer. Ps = 1 -> hide if the mouse tracking mode is not enabled. - Ps = 2 -> always hide the pointer. If no parameter is - given, xterm uses the default, which is 1 . + Ps = 2 -> always hide the pointer, except when leaving the + window. + Ps = 3 -> always hide the pointer, even if leaving/entering + the window. If no parameter is given, xterm uses the default, + which is 1 . CSI ! p Soft terminal reset (DECSTR). CSI Ps $ p Request ANSI mode (DECRQM). For VT300 and up, reply is @@ -673,6 +704,8 @@ CSI Ps SP q Ps = 2 -> steady block. Ps = 3 -> blinking underline. Ps = 4 -> steady underline. + Ps = 5 -> blinking bar (xterm). + Ps = 6 -> steady bar (xterm). CSI Ps " q Select character protection attribute (DECSCA). Valid values for the parameter: @@ -721,8 +754,11 @@ CSI Ps ; Ps ; Ps t Ps = 9 ; 0 -> Restore maximized window. Ps = 9 ; 1 -> Maximize window (i.e., resize to screen size). + Ps = 9 ; 2 -> Maximize window vertically. + Ps = 9 ; 3 -> Maximize window horizontally. Ps = 1 0 ; 0 -> Undo full-screen mode. Ps = 1 0 ; 1 -> Change to full-screen. + Ps = 1 0 ; 2 -> Toggle full-screen. Ps = 1 1 -> Report xterm window state. If the xterm window is open (non-iconified), it returns CSI 1 t . If the xterm window is iconified, it returns CSI 2 t . @@ -1108,7 +1144,7 @@ also controlled by the DECCKM escape sequence: The application keypad transmits the following escape sequences depend- -ing on the mode specified via the DECPNM and DECPAM escape sequences. +ing on the mode specified via the DECKPNM and DECKPAM escape sequences. Use the NumLock key to override the application mode. Not all keys are present on the Sun/PC keypad (e.g., PF1, Tab), but are @@ -1234,7 +1270,7 @@ pad: -------------------------------------- The VT220 provides a 6-key editing keypad, which is analogous to that on -the PC keyboard. It is not affected by DECCKM or DECPNM/DECPAM: +the PC keyboard. It is not affected by DECCKM or DECKPNM/DECKPAM: Key Normal Application ---------------------------------- @@ -1412,6 +1448,8 @@ as follows: #define SET_SGR_EXT_MODE_MOUSE 1006 #define SET_URXVT_EXT_MODE_MOUSE 1015 + #define SET_ALTERNATE_SCROLL 1007 + The motion reporting modes are strictly xterm extensions, and are not part of any standard, though they are analogous to the DEC VT200 DECELR locator reports. @@ -1450,7 +1488,12 @@ o Cx and Cy are the x and y coordinates of the mouse event, encoded as Wheel mice may return buttons 4 and 5. Those buttons are represented by the same event codes as buttons 1 and 2 respectively, except that 64 is added to the event code. Release events for the wheel buttons are not -reported. +reported. By default, the wheel mouse events are translated to scroll- +back and scroll-forw actions. Those actions normally scroll the whole +window, as if the scrollbar was used. However if Alternate Scroll mode +is set, then cursor up/down controls are sent when the terminal is dis- +playing the alternate screen. The initial state of Alternate Scroll +mode is set using the alternateScroll resource. Mouse highlight tracking notifies a program of a button press, receives a range of lines from the program, highlights the region covered by the diff --git a/app/xterm/cursor.c b/app/xterm/cursor.c index c5b531da8..ed0140efc 100644 --- a/app/xterm/cursor.c +++ b/app/xterm/cursor.c @@ -1,4 +1,4 @@ -/* $XTermId: cursor.c,v 1.66 2012/05/02 13:36:51 tom Exp $ */ +/* $XTermId: cursor.c,v 1.67 2012/06/03 19:57:47 tom Exp $ */ /* * Copyright 2002-2010,2012 by Thomas E. Dickey @@ -86,7 +86,7 @@ CursorSet(TScreen * screen, int row, int col, unsigned flags) use_row = (use_row < 0 ? 0 : use_row); set_cur_row(screen, (use_row <= max_row ? use_row : max_row)); - screen->do_wrap = False; + ResetWrap(screen); TRACE(("CursorSet(%d,%d) margins V[%d..%d] H[%d..%d] -> %d,%d %s\n", row, col, @@ -135,7 +135,7 @@ CursorBack(XtermWidget xw, int n) set_cur_col(screen, left); } } - screen->do_wrap = False; + ResetWrap(screen); } /* @@ -163,7 +163,7 @@ CursorForward(XtermWidget xw, int n) next = max; set_cur_col(screen, next); - screen->do_wrap = False; + ResetWrap(screen); } /* @@ -184,7 +184,7 @@ CursorDown(TScreen * screen, int n) next = screen->max_row; set_cur_row(screen, next); - screen->do_wrap = False; + ResetWrap(screen); } /* @@ -206,7 +206,7 @@ CursorUp(TScreen * screen, int n) next = 0; set_cur_row(screen, next); - screen->do_wrap = False; + ResetWrap(screen); } /* @@ -283,7 +283,7 @@ CarriageReturn(XtermWidget xw) } set_cur_col(screen, col); - screen->do_wrap = False; + ResetWrap(screen); do_xevents(); } diff --git a/app/xterm/data.h b/app/xterm/data.h index 14e729a8e..558783e70 100644 --- a/app/xterm/data.h +++ b/app/xterm/data.h @@ -1,4 +1,4 @@ -/* $XTermId: data.h,v 1.120 2012/03/26 21:48:09 tom Exp $ */ +/* $XTermId: data.h,v 1.121 2012/10/14 18:51:30 tom Exp $ */ /* * Copyright 2002-2011,2012 by Thomas E. Dickey @@ -144,6 +144,7 @@ extern int mapstate; typedef struct XTERM_RESOURCE { char *icon_geometry; char *title; + char *icon_hint; char *icon_name; char *term_name; char *tty_modes; diff --git a/app/xterm/df-install.in b/app/xterm/df-install.in index acef3c769..91d615803 100644 --- a/app/xterm/df-install.in +++ b/app/xterm/df-install.in @@ -1,9 +1,9 @@ #!/bin/sh -# $XTermId: df-install.in,v 1.5 2011/07/07 09:41:14 tom Exp $ +# $XTermId: df-install.in,v 1.14 2012/08/27 01:07:19 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 2011 by Thomas E. Dickey +# Copyright 2011,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -79,12 +79,25 @@ then exit 1 fi +# The newer dfi whines about deprecation of encoding, but no release provides +# --version or equivalent. really. +if desktop-file-install --help-all >/dev/null 2>&1 +then + NO_ENCODING="#Encoding" +else + NO_ENCODING="Encoding" +fi + NEW_FILE=`basename $OLD_FILE` sed \ + -e '/^Encoding=/s%Encoding%'$NO_ENCODING'%' \ + -e '/^[^#]*Icon=/s%=.*%=xterm-color%' \ + -e '/^[^#]*Category=/s%=.*%=@DESKTOP_CATEGORY@%' \ + -e '/^[^#]*Categories=/s%=.*%=@DESKTOP_CATEGORY@%' \ -e '/^[^#]/s%xterm%'$APP_NAME'%g' \ -e '/^[^#]/s%XTerm%@APP_CLASS@%g' \ - -e '/^Category=/s%=.*%@DESKTOP_CATEGORY@%' \ $OLD_FILE >$MY_TEMP/$NEW_FILE +diff -u $OLD_FILE $MY_TEMP/$NEW_FILE cd $MY_TEMP desktop-file-install $OPTS $NEW_FILE diff --git a/app/xterm/error.h b/app/xterm/error.h index b6a31114c..4b3f999f7 100644 --- a/app/xterm/error.h +++ b/app/xterm/error.h @@ -1,4 +1,4 @@ -/* $XTermId: error.h,v 1.24 2011/04/17 16:09:20 tom Exp $ */ +/* $XTermId: error.h,v 1.25 2012/10/05 00:17:51 tom Exp $ */ /* * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. @@ -75,6 +75,3 @@ #define ERROR_SCALLOC 90 /* Alloc: calloc() failed on base */ #define ERROR_SCALLOC2 91 /* Alloc: calloc() failed on rows */ #define ERROR_SAVE_PTR 102 /* ScrnPointers: malloc/realloc() failed */ - -/* util.c */ -#define ERROR_MMALLOC 121 /* my_memmove: malloc/realloc failed */ diff --git a/app/xterm/fontutils.c b/app/xterm/fontutils.c index 88ad585ac..14984e83a 100644 --- a/app/xterm/fontutils.c +++ b/app/xterm/fontutils.c @@ -1,7 +1,7 @@ -/* $XTermId: fontutils.c,v 1.380 2011/12/27 10:20:50 tom Exp $ */ +/* $XTermId: fontutils.c,v 1.383 2012/09/22 00:15:55 tom Exp $ */ /* - * Copyright 1998-2010,2011 by Thomas E. Dickey + * Copyright 1998-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -173,7 +173,7 @@ setupPackedFonts(XtermWidget xw) #if OPT_RENDERFONT #define MIXED(name) screen->name[fontnum].map.mixed - if (xw->misc.render_font == True) { + if (xw->work.render_font == True) { int fontnum = screen->menu_font_number; screen->allow_packing = (Boolean) (MIXED(renderFontNorm) @@ -1581,12 +1581,13 @@ xtermSetCursorBox(TScreen * screen) XPoint *vp; int fw = FontWidth(screen) - 1; int fh = FontHeight(screen) - 1; - int hh = screen->cursor_underline ? 1 : fh; + int ww = isCursorBar(screen) ? 1 : fw; + int hh = isCursorUnderline(screen) ? 1 : fh; vp = &VTbox[1]; - (vp++)->x = (short) fw; + (vp++)->x = (short) ww; (vp++)->y = (short) hh; - (vp++)->x = (short) -fw; + (vp++)->x = (short) -ww; vp->y = (short) -hh; screen->box = VTbox; @@ -2073,7 +2074,7 @@ xtermComputeFontInfo(XtermWidget xw, } if (norm == 0) { TRACE(("...no TrueType font found for number %d, disable menu entry\n", fontnum)); - xw->misc.render_font = False; + xw->work.render_font = False; update_font_renderfont(); /* now we will fall through into the bitmap fonts */ } else { @@ -2482,7 +2483,7 @@ xtermDrawBoxChar(XtermWidget xw, gc2 = getCgsGC(xw, cgsWin, cgsId); if (!(flags & NOBACKGROUND)) { - XFillRectangle(screen->display, VWindow(screen), gc2, x, y, + XFillRectangle(screen->display, VDrawable(screen), gc2, x, y, font_width, font_height); } @@ -2531,7 +2532,7 @@ xtermDrawBoxChar(XtermWidget xw, } XFillPolygon(screen->display, - VWindow(screen), gc2, + VDrawable(screen), gc2, points, npoints, Convex, CoordModeOrigin); } else if (ch == 7) { /* degrees */ @@ -2544,7 +2545,7 @@ xtermDrawBoxChar(XtermWidget xw, width = (unsigned) SCALED_X(width); XDrawArc(screen->display, - VWindow(screen), gc2, + VDrawable(screen), gc2, x + x_coord, y + y_coord, width, width, 0, 360 * 64); @@ -2558,7 +2559,7 @@ xtermDrawBoxChar(XtermWidget xw, width = (unsigned) SCALED_X(width); XDrawArc(screen->display, - VWindow(screen), gc2, + VDrawable(screen), gc2, x + x_coord, y + y_coord, width, width, 0, 360 * 64); @@ -2574,7 +2575,7 @@ xtermDrawBoxChar(XtermWidget xw, SCALE_X(coord[2]); SCALE_Y(coord[3]); XDrawLine(screen->display, - VWindow(screen), gc2, + VDrawable(screen), gc2, x + coord[0], y + coord[1], x + coord[2], y + coord[3]); n = 0; @@ -2582,7 +2583,7 @@ xtermDrawBoxChar(XtermWidget xw, } } else if (screen->force_all_chars) { /* bounding rectangle, for debugging */ - XDrawRectangle(screen->display, VWindow(screen), gc2, x, y, + XDrawRectangle(screen->display, VDrawable(screen), gc2, x, y, font_width - 1, font_height - 1); } diff --git a/app/xterm/icons/filled-xterm.png b/app/xterm/icons/filled-xterm.png Binary files differnew file mode 100644 index 000000000..88a115e77 --- /dev/null +++ b/app/xterm/icons/filled-xterm.png diff --git a/app/xterm/icons/filled-xterm.svg b/app/xterm/icons/filled-xterm.svg new file mode 100644 index 000000000..bee340e14 --- /dev/null +++ b/app/xterm/icons/filled-xterm.svg @@ -0,0 +1,680 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg2985" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="filled-xterm.svg" + sodipodi:version="0.32" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + enable-background="new"> + <title + id="title2983">terminal</title> + <defs + id="defs2987"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective11" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#000000" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="9.8994949" + inkscape:cx="28.142409" + inkscape:cy="22.28651" + inkscape:current-layer="layer2" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="961" + inkscape:window-height="767" + inkscape:window-x="28" + inkscape:window-y="33" + inkscape:window-maximized="0" + objecttolerance="2"> + <inkscape:grid + type="xygrid" + id="grid2988" + empspacing="5" + visible="true" + enabled="false" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata2990"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>xterm</dc:title> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> + <dc:creator> + <cc:Agent> + <dc:title>Thomas E. Dickey</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>MIT-X11</dc:title> + </cc:Agent> + </dc:rights> + <dc:description>XTerm icon, in SVG format.</dc:description> + <dc:date>June 14, 2012</dc:date> + <dc:source>http://invisible-island.net/xterm/</dc:source> + <dc:identifier>http://invisible-island.net/xterm/xterm</dc:identifier> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by/3.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Layer" + style="opacity:1;display:inline"> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 6.3639611,36.585276 L 41.51727,36.484261 L 41.51727,42.444161 L 37.47666,46.484771 L 1.4142136,46.484771 L 1.4142136,45.474619 L 6.3639611,36.585276 z" + id="path2386" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 36.5,46.5 L 36.5,45.5 L 41,36.5" + id="path2388" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 4.5,44.5 L 5.5,44.5" + id="path2398" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,44.5 L 32.5,44.5" + id="path2400" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 34.5,44.5 L 35.5,44.5" + id="path2402" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,5.5 L 7.5,29.5 L 9.5,31.5 L 36.5,31.5 L 38.5,29.5 L 38.5,5.5 L 36.5,3.5 L 9.5,3.5 L 7.5,5.5 z" + id="path2406" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 5.5,32.5 L 6.5,33.5 L 39.5,33.5 L 40.5,32.5 L 40.5,2.5 L 39.5,1.5 L 6.5,1.5 L 5.5,2.5 L 5.5,32.5 z" + id="path2408" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 40.5,32.5 L 41.5,32.5 L 45.5,24.5 L 45.5,6.5 L 41.5,2.5 L 40.5,2.5 L 40.5,32.5 z" + id="path2410" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,38.5 L 7.5,38.5 z" + id="path2395" /> + <path + sodipodi:type="arc" + id="path2413" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,38.5 A 0.5,0.5 0 1 1 7,38.5 A 0.5,0.5 0 1 1 8,38.5 z" /> + <path + sodipodi:type="arc" + id="path2415" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10,38.5 A 0.5,0.5 0 1 1 9,38.5 A 0.5,0.5 0 1 1 10,38.5 z" /> + <path + sodipodi:type="arc" + id="path2419" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 12,38.5 A 0.5,0.5 0 1 1 11,38.5 A 0.5,0.5 0 1 1 12,38.5 z" /> + <path + sodipodi:type="arc" + id="path2421" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 14,38.5 A 0.5,0.5 0 1 1 13,38.5 A 0.5,0.5 0 1 1 14,38.5 z" /> + <path + sodipodi:type="arc" + id="path2423" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 16,38.5 A 0.5,0.5 0 1 1 15,38.5 A 0.5,0.5 0 1 1 16,38.5 z" /> + <path + sodipodi:type="arc" + id="path2425" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 18,38.5 A 0.5,0.5 0 1 1 17,38.5 A 0.5,0.5 0 1 1 18,38.5 z" /> + <path + sodipodi:type="arc" + id="path2427" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 20,38.5 A 0.5,0.5 0 1 1 19,38.5 A 0.5,0.5 0 1 1 20,38.5 z" /> + <path + sodipodi:type="arc" + id="path2429" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 22,38.5 A 0.5,0.5 0 1 1 21,38.5 A 0.5,0.5 0 1 1 22,38.5 z" /> + <path + sodipodi:type="arc" + id="path2431" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 24,38.5 A 0.5,0.5 0 1 1 23,38.5 A 0.5,0.5 0 1 1 24,38.5 z" /> + <path + sodipodi:type="arc" + id="path2433" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26,38.5 A 0.5,0.5 0 1 1 25,38.5 A 0.5,0.5 0 1 1 26,38.5 z" /> + <path + sodipodi:type="arc" + id="path2435" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28,38.5 A 0.5,0.5 0 1 1 27,38.5 A 0.5,0.5 0 1 1 28,38.5 z" /> + <path + sodipodi:type="arc" + id="path2437" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 30,38.5 A 0.5,0.5 0 1 1 29,38.5 A 0.5,0.5 0 1 1 30,38.5 z" /> + <path + sodipodi:type="arc" + id="path2439" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 32,38.5 A 0.5,0.5 0 1 1 31,38.5 A 0.5,0.5 0 1 1 32,38.5 z" /> + <path + sodipodi:type="arc" + id="path2441" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34,38.5 A 0.5,0.5 0 1 1 33,38.5 A 0.5,0.5 0 1 1 34,38.5 z" /> + <path + sodipodi:type="arc" + id="path2443" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,38.5 A 0.5,0.5 0 1 1 35,38.5 A 0.5,0.5 0 1 1 36,38.5 z" /> + <path + sodipodi:type="arc" + id="path2445" + style="fill:#000000;stroke:none" + sodipodi:cx="37.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 38,38.5 A 0.5,0.5 0 1 1 37,38.5 A 0.5,0.5 0 1 1 38,38.5 z" /> + <path + sodipodi:type="arc" + id="path2447" + style="fill:#000000;stroke:none" + sodipodi:cx="6.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 7,40.5 A 0.5,0.5 0 1 1 6,40.5 A 0.5,0.5 0 1 1 7,40.5 z" /> + <path + sodipodi:type="arc" + id="path2449" + style="fill:#000000;stroke:none" + sodipodi:cx="8.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 9,40.5 A 0.5,0.5 0 1 1 8,40.5 A 0.5,0.5 0 1 1 9,40.5 z" /> + <path + sodipodi:type="arc" + id="path2451" + style="fill:#000000;stroke:none" + sodipodi:cx="10.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 11,40.5 A 0.5,0.5 0 1 1 10,40.5 A 0.5,0.5 0 1 1 11,40.5 z" /> + <path + sodipodi:type="arc" + id="path2453" + style="fill:#000000;stroke:none" + sodipodi:cx="12.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 13,40.5 A 0.5,0.5 0 1 1 12,40.5 A 0.5,0.5 0 1 1 13,40.5 z" /> + <path + sodipodi:type="arc" + id="path2455" + style="fill:#000000;stroke:none" + sodipodi:cx="14.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 15,40.5 A 0.5,0.5 0 1 1 14,40.5 A 0.5,0.5 0 1 1 15,40.5 z" /> + <path + sodipodi:type="arc" + id="path2457" + style="fill:#000000;stroke:none" + sodipodi:cx="16.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 17,40.5 A 0.5,0.5 0 1 1 16,40.5 A 0.5,0.5 0 1 1 17,40.5 z" /> + <path + sodipodi:type="arc" + id="path2461" + style="fill:#000000;stroke:none" + sodipodi:cx="18.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 19,40.5 A 0.5,0.5 0 1 1 18,40.5 A 0.5,0.5 0 1 1 19,40.5 z" /> + <path + sodipodi:type="arc" + id="path2463" + style="fill:#000000;stroke:none" + sodipodi:cx="20.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 21,40.5 A 0.5,0.5 0 1 1 20,40.5 A 0.5,0.5 0 1 1 21,40.5 z" /> + <path + sodipodi:type="arc" + id="path2465" + style="fill:#000000;stroke:none" + sodipodi:cx="22.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 23,40.5 A 0.5,0.5 0 1 1 22,40.5 A 0.5,0.5 0 1 1 23,40.5 z" /> + <path + sodipodi:type="arc" + id="path2467" + style="fill:#000000;stroke:none" + sodipodi:cx="24.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 25,40.5 A 0.5,0.5 0 1 1 24,40.5 A 0.5,0.5 0 1 1 25,40.5 z" /> + <path + sodipodi:type="arc" + id="path2469" + style="fill:#000000;stroke:none" + sodipodi:cx="26.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 27,40.5 A 0.5,0.5 0 1 1 26,40.5 A 0.5,0.5 0 1 1 27,40.5 z" /> + <path + sodipodi:type="arc" + id="path2471" + style="fill:#000000;stroke:none" + sodipodi:cx="28.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 29,40.5 A 0.5,0.5 0 1 1 28,40.5 A 0.5,0.5 0 1 1 29,40.5 z" /> + <path + sodipodi:type="arc" + id="path2473" + style="fill:#000000;stroke:none" + sodipodi:cx="30.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 31,40.5 A 0.5,0.5 0 1 1 30,40.5 A 0.5,0.5 0 1 1 31,40.5 z" /> + <path + sodipodi:type="arc" + id="path2475" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33,40.5 A 0.5,0.5 0 1 1 32,40.5 A 0.5,0.5 0 1 1 33,40.5 z" /> + <path + sodipodi:type="arc" + id="path2477" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35,40.5 A 0.5,0.5 0 1 1 34,40.5 A 0.5,0.5 0 1 1 35,40.5 z" /> + <path + sodipodi:type="arc" + id="path2479" + style="fill:#000000;stroke:none" + sodipodi:cx="36.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 37,40.5 A 0.5,0.5 0 1 1 36,40.5 A 0.5,0.5 0 1 1 37,40.5 z" /> + <path + sodipodi:type="arc" + id="path2481" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6,42.5 A 0.5,0.5 0 1 1 5,42.5 A 0.5,0.5 0 1 1 6,42.5 z" /> + <path + sodipodi:type="arc" + id="path2483" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,42.5 A 0.5,0.5 0 1 1 7,42.5 A 0.5,0.5 0 1 1 8,42.5 z" /> + <path + sodipodi:type="arc" + id="path2485" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10,42.5 A 0.5,0.5 0 1 1 9,42.5 A 0.5,0.5 0 1 1 10,42.5 z" /> + <path + sodipodi:type="arc" + id="path2487" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 12,42.5 A 0.5,0.5 0 1 1 11,42.5 A 0.5,0.5 0 1 1 12,42.5 z" /> + <path + sodipodi:type="arc" + id="path2489" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 14,42.5 A 0.5,0.5 0 1 1 13,42.5 A 0.5,0.5 0 1 1 14,42.5 z" /> + <path + sodipodi:type="arc" + id="path2491" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 16,42.5 A 0.5,0.5 0 1 1 15,42.5 A 0.5,0.5 0 1 1 16,42.5 z" /> + <path + sodipodi:type="arc" + id="path2493" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 18,42.5 A 0.5,0.5 0 1 1 17,42.5 A 0.5,0.5 0 1 1 18,42.5 z" /> + <path + sodipodi:type="arc" + id="path2495" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 20,42.5 A 0.5,0.5 0 1 1 19,42.5 A 0.5,0.5 0 1 1 20,42.5 z" /> + <path + sodipodi:type="arc" + id="path2497" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 22,42.5 A 0.5,0.5 0 1 1 21,42.5 A 0.5,0.5 0 1 1 22,42.5 z" /> + <path + sodipodi:type="arc" + id="path2499" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 24,42.5 A 0.5,0.5 0 1 1 23,42.5 A 0.5,0.5 0 1 1 24,42.5 z" /> + <path + sodipodi:type="arc" + id="path2501" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26,42.5 A 0.5,0.5 0 1 1 25,42.5 A 0.5,0.5 0 1 1 26,42.5 z" /> + <path + sodipodi:type="arc" + id="path2503" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28,42.5 A 0.5,0.5 0 1 1 27,42.5 A 0.5,0.5 0 1 1 28,42.5 z" /> + <path + sodipodi:type="arc" + id="path2505" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 30,42.5 A 0.5,0.5 0 1 1 29,42.5 A 0.5,0.5 0 1 1 30,42.5 z" /> + <path + sodipodi:type="arc" + id="path2507" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 32,42.5 A 0.5,0.5 0 1 1 31,42.5 A 0.5,0.5 0 1 1 32,42.5 z" /> + <path + sodipodi:type="arc" + id="path2509" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34,42.5 A 0.5,0.5 0 1 1 33,42.5 A 0.5,0.5 0 1 1 34,42.5 z" /> + <path + sodipodi:type="arc" + id="path2511" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,42.5 A 0.5,0.5 0 1 1 35,42.5 A 0.5,0.5 0 1 1 36,42.5 z" /> + <path + sodipodi:type="arc" + id="path2513" + style="fill:#000000;stroke:none" + sodipodi:cx="4.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 5,44.5 A 0.5,0.5 0 1 1 4,44.5 A 0.5,0.5 0 1 1 5,44.5 z" /> + <path + sodipodi:type="arc" + id="path2517" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6,44.5 A 0.5,0.5 0 1 1 5,44.5 A 0.5,0.5 0 1 1 6,44.5 z" /> + <path + sodipodi:type="arc" + id="path2519" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35,44.5 A 0.5,0.5 0 1 1 34,44.5 A 0.5,0.5 0 1 1 35,44.5 z" /> + <path + sodipodi:type="arc" + id="path2521" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,44.5 A 0.5,0.5 0 1 1 35,44.5 A 0.5,0.5 0 1 1 36,44.5 z" /> + <path + sodipodi:type="arc" + id="path2523" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,44.5 A 0.5,0.5 0 1 1 7,44.5 A 0.5,0.5 0 1 1 8,44.5 z" /> + <path + sodipodi:type="arc" + id="path2529" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33,44.5 A 0.5,0.5 0 1 1 32,44.5 A 0.5,0.5 0 1 1 33,44.5 z" /> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Serif;-inkscape-font-specification:Serif" + x="9.3944197" + y="17.392376" + id="text2446" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2448" + x="9.3944197" + y="17.392376">X</tspan></text> + <text + xml:space="preserve" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans" + x="9.2934036" + y="27.796949" + id="text2450" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2452" + x="9.2934036" + y="27.796949">TERM</tspan></text> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915000000000;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 6.4143258,32.603522 -0.3740542,-0.383067 0,-14.749406 0,-14.7494054 0.3331086,-0.3228616 0.3331087,-0.3228616 16.3145921,0 16.314593,0 0.322861,0.3331086 0.322862,0.3331086 0,14.7481714 0,14.74817 -0.383066,0.374055 -0.383067,0.374054 -16.213441,0 -16.213443,0 -0.3740542,-0.383066 z m 31.4694872,-1.711421 1.188447,-1.185351 0,-12.222844 0,-12.2228439 -1.134774,-1.1380022 -1.134774,-1.1380022 -13.788649,0 -13.7886497,0 -1.1380022,1.1347738 -1.1380022,1.1347739 0,12.2229766 0,12.222976 1.1853501,1.188447 1.1853502,1.188446 13.6876288,0 13.687629,0 1.188446,-1.18535 z" + id="path2881" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 8.8917223,30.130797 -0.8311456,-0.835486 0,-11.768397 0,-11.7683973 0.8354858,-0.8311456 0.8354858,-0.8311456 13.2836267,0 13.283626,0 0.831146,0.8354858 0.831145,0.8354858 0,11.7177659 0,11.717766 -0.885881,0.881777 -0.885883,0.881777 -13.23323,0 -13.23323,0 -0.8311457,-0.835486 0,0 z m 4.0175867,-5.528475 0,-3.232488 1.262691,0 1.26269,0 0,-0.454569 0,-0.454568 -3.131473,0 -3.1314725,0 0,0.454568 0,0.454569 1.3131985,0 1.313198,0 0,3.232488 0,3.232488 0.555584,0 0.555584,0 0,-3.232488 z m 8.182236,2.77792 0,-0.454569 -1.818275,0 -1.818275,0 0,-1.262691 0,-1.26269 1.71726,0 1.717259,0 0,-0.454569 0,-0.454569 -1.717259,0 -1.71726,0 0,-1.06066 0,-1.06066 1.818275,0 1.818275,0 0,-0.454569 0,-0.454568 -2.373859,0 -2.373858,0 0,3.687057 0,3.687056 2.373858,0 2.373859,0 0,-0.454568 z m 2.626396,-1.06066 0,-1.515229 0.762631,0 c 0.4705,0 0.87171,0.05641 1.047392,0.147255 0.331088,0.171213 0.724895,0.760966 1.33504,1.999319 l 0.435495,0.883883 0.584302,0 0.584303,0 -0.658618,-1.314341 C 27.446247,25.797581 26.984978,25.023613 26.783445,24.80054 26.581912,24.577466 26.43476,24.382396 26.45644,24.367049 c 0.02168,-0.01535 0.168236,-0.108603 0.325677,-0.207236 0.78936,-0.494513 0.898861,-2.240127 0.189713,-3.024315 -0.09511,-0.105173 -0.354751,-0.287038 -0.576985,-0.404145 -0.351358,-0.185151 -0.618166,-0.218042 -2.045558,-0.252171 l -1.641498,-0.03925 0,3.697438 0,3.697438 0.505076,0 0.505076,0 0,-1.515228 0,0 z m 6.993803,-1.465421 0.02676,-2.980649 0.853988,2.273543 0.853988,2.273542 0.560226,-0.0012 0.560226,-0.0012 0.878701,-2.347411 0.878701,-2.347412 0.0052,3.055712 0.0052,3.055708 0.505077,0 0.505076,0 0,-3.691305 0,-3.691307 -0.766456,0.0295 -0.766457,0.0295 -0.856199,2.272844 c -0.470909,1.250063 -0.888412,2.305669 -0.927784,2.345789 -0.03937,0.04012 -0.338418,-0.641732 -0.664545,-1.515229 -0.326127,-0.873496 -0.726848,-1.940466 -0.89049,-2.371043 l -0.297532,-0.782868 -0.79928,0 -0.799279,0 0,3.687057 0,3.687056 0.554081,0 0.554081,0 0.02676,-2.980649 0,0 z m -17.802435,-7.823162 0,-0.399242 -0.610772,-0.03007 -0.610772,-0.03008 1.141102,-1.688401 c 0.627606,-0.92862 1.163831,-1.688828 1.19161,-1.689351 0.02778,-5.25e-4 0.562028,0.770623 1.187221,1.713655 l 1.136714,1.714605 -0.555876,0 -0.555876,0 0,0.404061 0,0.404061 2.070812,0 2.070813,0 0,-0.404061 0,-0.404061 -0.580837,-0.0026 -0.580838,-0.0026 -1.579671,-2.380468 -1.57967,-2.380469 1.333213,-1.9353376 1.333213,-1.9353376 0.574757,-0.030295 0.574757,-0.030295 0,-0.3990199 0,-0.39902 -1.717259,0 -1.71726,0 0,0.404061 0,0.4040611 0.606092,0 c 0.33335,0 0.606091,0.025001 0.606091,0.055558 0,0.053151 -1.870451,2.831322 -2.027404,3.011291 -0.06313,0.07239 -2.114221,-2.8515489 -2.114221,-3.0139249 0,-0.029108 0.250013,-0.052924 0.555584,-0.052924 l 0.555584,0 0,-0.4040611 0,-0.404061 -2.070813,0 -2.0708128,0 0,0.404061 0,0.4040611 0.5394098,0 0.539409,0 1.483825,2.2263549 1.483824,2.226354 -1.442396,2.113191 -1.442396,2.11319 -0.580838,0.0041 -0.5808378,0.0041 0,0.404061 0,0.404061 1.7172598,0 1.717259,0 0,-0.39924 z" + id="path2883" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 23.717941,22.632525 0,-1.262691 0.75557,0 c 1.355891,0 1.968675,0.47897 1.840014,1.438208 -0.103138,0.76895 -0.660777,1.085575 -1.913731,1.08661 l -0.681853,5.63e-4 0,-1.26269 z" + id="path2885" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 6.4641484,32.552464 -0.3228616,-0.333108 0,-14.737891 0,-14.7378906 0.2714372,-0.2833194 0.2714372,-0.2833194 16.3266728,0 16.326674,0 0.271437,0.2833194 0.271437,0.2833194 0,14.7481376 0,14.748138 -0.333109,0.322861 -0.333108,0.322862 -16.213578,0 -16.213577,0 -0.3228616,-0.333109 z m 31.4702316,-1.609918 1.238895,-1.235922 0,-12.222844 0,-12.2228447 -1.18535,-1.1884464 -1.185351,-1.1884465 -13.79174,0 -13.79174,0 -1.1853502,1.1884465 -1.1853502,1.1884464 0,12.2198697 0,12.21987 1.2359211,1.238896 1.235921,1.238895 13.6876233,0 13.687625,0 1.238896,-1.23592 z" + id="path2887" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 41.098057,17.556508 c -0.003,-7.9587392 0.02906,-14.4704351 0.07129,-14.4704351 0.04223,0 0.905913,0.8300366 1.91929,1.8445258 l 1.842505,1.8445259 -0.0055,8.8378374 -0.0055,8.837837 -1.908306,3.788072 -1.908306,3.788072 -0.0055,-14.470435 z" + id="path2889" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 37.05745,45.739764 c 0.003,-0.09723 0.886958,-1.926866 1.964302,-4.065864 l 1.958808,-3.889087 0.0055,2.172825 0.0055,2.172825 -1.895008,1.893039 c -1.042254,1.041171 -1.928663,1.893039 -1.969798,1.893039 -0.04113,0 -0.07232,-0.07955 -0.06929,-0.176777 z" + id="path2891" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.06060915;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 1.9996614,45.748431 c 0,-0.09246 1.05393,-2.062949 2.3420668,-4.378863 l 2.3420667,-4.210753 16.6575491,-0.0739 c 9.161652,-0.04064 16.678939,-0.05251 16.705082,-0.02636 0.02614,0.02614 -0.88693,1.916026 -2.029053,4.19974 -1.142122,2.283714 -2.076586,4.266065 -2.076586,4.405226 l 0,0.253019 -16.970563,0 c -15.7618179,0 -16.9705626,-0.01197 -16.9705626,-0.16811 z m 3.9193919,-0.862246 c 0.1562623,-0.156262 0.1562623,-0.611453 0,-0.767716 -0.1327423,-0.132742 -1.5725881,-0.168768 -1.7549322,-0.04391 -0.209415,0.143396 -0.251268,0.453923 -0.09361,0.69454 0.1419104,0.216583 0.2277517,0.238305 0.9417335,0.238305 0.4763276,0 0.8333102,-0.04772 0.9068086,-0.121219 z m 26.9710727,0 c 0.06667,-0.06667 0.121219,-0.239406 0.121219,-0.383858 0,-0.144451 -0.05455,-0.317188 -0.121219,-0.383858 -0.09301,-0.09301 -3.102772,-0.121218 -12.932118,-0.121218 l -12.8108999,0 -0.1150641,0.252538 c -0.086075,0.188915 -0.086075,0.316162 0,0.505077 l 0.1150641,0.252538 12.8108999,0 c 9.829346,0 12.839112,-0.02821 12.932118,-0.121219 z m 3.030458,0 c 0.06667,-0.06667 0.121218,-0.239406 0.121218,-0.383858 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.132742,-0.132742 -1.572588,-0.168768 -1.754932,-0.04391 -0.209416,0.143396 -0.251268,0.453923 -0.09361,0.69454 0.14191,0.216583 0.227751,0.238305 0.941733,0.238305 0.476328,0 0.83331,-0.04772 0.906809,-0.121219 z M 5.8157646,42.930863 c 0.4168038,-0.291941 0.1929086,-0.953917 -0.3226362,-0.953917 -0.553373,0 -0.7390462,0.804379 -0.232703,1.008123 0.3057447,0.123026 0.301748,0.123416 0.5553392,-0.05421 l 0,0 z m 2.1555852,-0.167822 c 0.2463855,-0.460375 -0.1332794,-0.878917 -0.6741395,-0.74317 -0.4422249,0.110991 -0.4604677,0.793677 -0.025508,0.954579 0.3021238,0.111762 0.5700131,0.03082 0.6996478,-0.211409 l 0,0 z m 1.8172482,0.224058 c 0.05239,0 0.1407931,-0.119778 0.1964525,-0.266173 0.1399965,-0.36822 -0.1086912,-0.74398 -0.4923859,-0.74398 -0.3550986,0 -0.5229506,0.166761 -0.5229506,0.519551 0,0.301567 0.3574022,0.631136 0.5883352,0.542519 0.074412,-0.02855 0.1781592,-0.05192 0.2305488,-0.05192 z m 1.987067,-0.05624 c 0.247335,-0.173241 0.304213,-0.631775 0.103288,-0.832699 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.337951,0 -0.505076,0.171915 -0.505076,0.519551 0,0.239989 0.300193,0.591617 0.505076,0.591617 0.03084,0 0.157091,-0.07076 0.28057,-0.157251 z m 2.020304,0 c 0.247336,-0.173241 0.304214,-0.631775 0.103289,-0.832699 -0.06667,-0.06667 -0.24745,-0.121218 -0.401732,-0.121218 -0.378809,0 -0.632255,0.376096 -0.495621,0.735468 0.08367,0.220073 0.184216,0.290959 0.516272,0.363982 0.02931,0.0064 0.154314,-0.05905 0.277792,-0.145533 l 0,0 z m 2.020305,0 c 0.416804,-0.291941 0.192909,-0.953917 -0.322635,-0.953917 -0.553373,0 -0.739046,0.804379 -0.232703,1.008123 0.305744,0.123026 0.301748,0.123416 0.555338,-0.05421 l 0,0 z m 2.155586,-0.167822 c 0.246385,-0.460375 -0.133279,-0.878917 -0.674139,-0.74317 -0.442226,0.110991 -0.460468,0.793677 -0.02551,0.954579 0.302124,0.111762 0.570013,0.03082 0.699648,-0.211409 l 0,0 z m 1.817248,0.224058 c 0.05239,0 0.140793,-0.119778 0.196453,-0.266173 0.139997,-0.36822 -0.108692,-0.74398 -0.492386,-0.74398 -0.355099,0 -0.522951,0.166761 -0.522951,0.519551 0,0.301567 0.357402,0.631136 0.588335,0.542519 0.07441,-0.02855 0.17816,-0.05192 0.230549,-0.05192 z m 1.987066,-0.05624 c 0.247336,-0.173241 0.304214,-0.631775 0.10329,-0.832699 -0.06667,-0.06667 -0.239407,-0.121218 -0.383858,-0.121218 -0.337952,0 -0.505077,0.171915 -0.505077,0.519551 0,0.239989 0.300193,0.591617 0.505077,0.591617 0.03083,0 0.15709,-0.07076 0.280568,-0.157251 z m 2.020306,0 c 0.247335,-0.173241 0.304213,-0.631775 0.103289,-0.832699 -0.06667,-0.06667 -0.24745,-0.121218 -0.401733,-0.121218 -0.378809,0 -0.632254,0.376096 -0.495621,0.735468 0.08367,0.220073 0.184216,0.290959 0.516273,0.363982 0.02931,0.0064 0.154314,-0.05905 0.277792,-0.145533 z m 2.020305,0 c 0.416804,-0.291941 0.192908,-0.953917 -0.322636,-0.953917 -0.553373,0 -0.739046,0.804379 -0.232703,1.008123 0.305744,0.123026 0.301748,0.123416 0.555339,-0.05421 l 0,0 z m 2.155585,-0.167822 c 0.246386,-0.460375 -0.133279,-0.878917 -0.674139,-0.74317 -0.442226,0.110991 -0.460468,0.793677 -0.02551,0.954579 0.302123,0.111762 0.570012,0.03082 0.699647,-0.211409 l 0,0 z m 1.817249,0.224058 c 0.05239,0 0.140793,-0.119778 0.196452,-0.266173 0.139997,-0.36822 -0.108691,-0.74398 -0.492386,-0.74398 -0.355099,0 -0.522951,0.166761 -0.522951,0.519551 0,0.301567 0.357402,0.631136 0.588335,0.542519 0.07441,-0.02855 0.17816,-0.05192 0.23055,-0.05192 z m 1.987066,-0.05624 c 0.247336,-0.173241 0.304213,-0.631775 0.103289,-0.832699 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.337952,0 -0.505076,0.171915 -0.505076,0.519551 0,0.239989 0.300193,0.591617 0.505076,0.591617 0.03083,0 0.157091,-0.07076 0.280569,-0.157251 z m 2.020305,0 c 0.247336,-0.173241 0.304213,-0.631775 0.103289,-0.832699 -0.06667,-0.06667 -0.24745,-0.121218 -0.401733,-0.121218 -0.378809,0 -0.632254,0.376096 -0.495621,0.735468 0.08367,0.220073 0.184216,0.290959 0.516273,0.363982 0.02931,0.0064 0.154314,-0.05905 0.277792,-0.145533 z m 2.118543,-0.07283 c 0.175617,-0.135887 0.157809,-0.532072 -0.03247,-0.72235 -0.374702,-0.374702 -1.038792,-0.01151 -0.910872,0.498164 0.100776,0.401524 0.570029,0.513042 0.943341,0.224186 l 0,0 z M 6.8259171,40.910558 c 0.4085065,-0.286129 0.1949327,-0.953917 -0.3050844,-0.953917 -0.2888671,0 -0.5815764,0.284624 -0.5815764,0.565512 0,0.220901 0.3306639,0.545656 0.5555839,0.545656 0.058613,0 0.207598,-0.07076 0.3310769,-0.157251 z m 2.0427816,-0.04478 c 0.1111168,-0.111117 0.2020305,-0.260101 0.2020305,-0.331077 0,-0.248411 -0.315983,-0.57806 -0.5540964,-0.57806 -0.5243442,0 -0.7539984,0.658733 -0.3325644,0.953917 0.2967134,0.207826 0.4414943,0.198356 0.6846303,-0.04478 z m 1.9631173,0.06788 c 0.35644,-0.260635 0.16223,-0.977021 -0.264868,-0.977021 -0.359749,0 -0.5870815,0.19416 -0.5870815,0.501415 0,0.516837 0.4511375,0.768687 0.8519495,0.475606 z m 2.025225,-0.03005 c 0.264744,-0.264744 0.162243,-0.771018 -0.180347,-0.890764 -0.382908,-0.133838 -0.617411,0.02787 -0.659219,0.454595 -0.05182,0.528866 0.473801,0.801934 0.839566,0.436169 l 0,0 z m 1.988858,-0.003 c 0.369928,-0.33478 0.129636,-0.943988 -0.372341,-0.943988 -0.238114,0 -0.554097,0.329649 -0.554097,0.57806 0,0.185132 0.37394,0.533108 0.572884,0.533108 0.09285,0 0.251951,-0.07523 0.353554,-0.167179 l 0,-1e-6 z m 1.980528,0.0099 c 0.408507,-0.286128 0.194933,-0.953916 -0.305084,-0.953916 -0.288868,0 -0.581576,0.284624 -0.581576,0.565512 0,0.220901 0.330664,0.545656 0.555583,0.545656 0.05861,0 0.207599,-0.07076 0.331077,-0.157251 l 0,-10e-7 z m 2.042782,-0.04478 c 0.111117,-0.111117 0.20203,-0.260101 0.20203,-0.331077 0,-0.248411 -0.315982,-0.57806 -0.554097,-0.57806 -0.493057,0 -0.726442,0.554553 -0.389891,0.926437 0.217828,0.240698 0.490314,0.234345 0.741958,-0.0173 z m 1.963117,0.06788 c 0.356441,-0.260635 0.16223,-0.977021 -0.264868,-0.977021 -0.359749,0 -0.587081,0.19416 -0.587081,0.501415 0,0.516837 0.451137,0.768687 0.851949,0.475606 z m 2.025225,-0.03005 c 0.264745,-0.264744 0.162243,-0.771018 -0.180347,-0.890764 -0.382908,-0.133838 -0.617411,0.02787 -0.659219,0.454595 -0.05182,0.528866 0.473802,0.801934 0.839566,0.436169 l 0,0 z m 1.988858,-0.003 c 0.369928,-0.33478 0.129636,-0.943988 -0.37234,-0.943988 -0.238115,0 -0.554097,0.329649 -0.554097,0.57806 0,0.185132 0.373939,0.533108 0.572883,0.533108 0.09285,0 0.251952,-0.07523 0.353554,-0.167179 l 0,-1e-6 z m 1.980528,0.0099 c 0.408507,-0.286128 0.194933,-0.953916 -0.305084,-0.953916 -0.288867,0 -0.581576,0.284624 -0.581576,0.565512 0,0.220901 0.330664,0.545656 0.555584,0.545656 0.05861,0 0.207598,-0.07076 0.331076,-0.157251 l 0,-1e-6 z m 2.042782,-0.04478 c 0.111117,-0.111117 0.202031,-0.260101 0.202031,-0.331077 0,-0.248411 -0.315983,-0.57806 -0.554097,-0.57806 -0.493058,0 -0.726442,0.554553 -0.389892,0.926437 0.217828,0.240698 0.490314,0.234345 0.741958,-0.0173 z m 1.963118,0.06788 c 0.35644,-0.260635 0.162229,-0.977021 -0.264869,-0.977021 -0.359749,0 -0.587081,0.19416 -0.587081,0.501415 0,0.516837 0.451137,0.768687 0.85195,0.475606 z m 2.025224,-0.03005 c 0.264745,-0.264744 0.162244,-0.771018 -0.180347,-0.890764 -0.382908,-0.133838 -0.617411,0.02787 -0.659219,0.454595 -0.05182,0.528866 0.473802,0.801934 0.839566,0.436169 z m 1.988858,-0.003 c 0.369928,-0.33478 0.129636,-0.943988 -0.37234,-0.943988 -0.238114,0 -0.554097,0.329649 -0.554097,0.57806 0,0.185132 0.373939,0.533108 0.572884,0.533108 0.09285,0 0.251951,-0.07523 0.353553,-0.167179 l 0,-10e-7 z m 1.980528,0.0099 c 0.408507,-0.286128 0.194934,-0.953916 -0.305084,-0.953916 -0.288867,0 -0.581576,0.284624 -0.581576,0.565512 0,0.220901 0.330664,0.545656 0.555584,0.545656 0.05861,0 0.207598,-0.07076 0.331076,-0.157251 l 0,-1e-6 z M 7.8758459,38.880325 c 0.101602,-0.09195 0.1847308,-0.271199 0.1847308,-0.398333 0,-0.237795 -0.3359044,-0.545656 -0.5953603,-0.545656 -0.2305032,0 -0.5158075,0.311974 -0.5158075,0.564024 0,0.483979 0.5584272,0.713009 0.926437,0.379965 z m 2.0655134,-0.0895 c 0.2145647,-0.327467 0.062896,-0.718153 -0.3156812,-0.81317 -0.5087821,-0.127696 -0.8714619,0.536871 -0.4972258,0.911107 0.2420233,0.242024 0.6199929,0.196487 0.812907,-0.09794 z m 1.9375937,0.135457 c 0.197395,-0.197394 0.149802,-0.765513 -0.07417,-0.88538 -0.43198,-0.231188 -0.814763,0.0055 -0.814763,0.503718 0,0.430036 0.588073,0.682524 0.888934,0.381662 z m 1.982785,-0.03752 c 0.318123,-0.318121 0.09552,-0.952429 -0.334246,-0.952429 -0.458142,0 -0.717223,0.596876 -0.416411,0.959334 0.164094,0.197721 0.549577,0.194175 0.750657,-0.0069 z m 2.020305,0 c 0.374237,-0.374236 0.01156,-1.038803 -0.497225,-0.911107 -0.143024,0.0359 -0.310404,0.175793 -0.371953,0.31088 -0.239455,0.525545 0.460497,1.008909 0.869178,0.600227 z m 1.994313,-0.0084 c 0.101602,-0.09195 0.184731,-0.271199 0.184731,-0.398333 0,-0.237795 -0.335904,-0.545656 -0.595361,-0.545656 -0.230502,0 -0.515807,0.311974 -0.515807,0.564024 0,0.483979 0.558428,0.713009 0.926437,0.379965 l 0,0 z m 2.065514,-0.0895 c 0.214564,-0.327466 0.0629,-0.718152 -0.315682,-0.813169 -0.508782,-0.127697 -0.871462,0.536871 -0.497225,0.911107 0.242023,0.242024 0.619993,0.196486 0.812907,-0.09794 z m 1.937594,0.135458 c 0.197394,-0.197394 0.149801,-0.765513 -0.07417,-0.88538 -0.43198,-0.231188 -0.814763,0.0055 -0.814763,0.503718 0,0.430036 0.588073,0.682524 0.888935,0.381662 l 0,0 z m 1.982785,-0.03752 c 0.318122,-0.318121 0.09552,-0.952429 -0.334247,-0.952429 -0.458141,0 -0.717223,0.596876 -0.416411,0.959334 0.164094,0.197721 0.549578,0.194175 0.750658,-0.0069 l 0,0 z m 2.020305,0 c 0.374236,-0.374236 0.01156,-1.038803 -0.497226,-0.911107 -0.143024,0.0359 -0.310403,0.175793 -0.371953,0.31088 -0.239455,0.525545 0.460497,1.008909 0.869179,0.600227 z m 1.994312,-0.0084 c 0.101603,-0.09195 0.184731,-0.271199 0.184731,-0.398333 0,-0.237795 -0.335904,-0.545656 -0.595361,-0.545656 -0.230502,0 -0.515807,0.311974 -0.515807,0.564024 0,0.483979 0.558428,0.713009 0.926437,0.379965 l 0,0 z m 2.065514,-0.0895 c 0.214564,-0.327466 0.0629,-0.718152 -0.315682,-0.813169 -0.508781,-0.127697 -0.871461,0.536871 -0.497225,0.911107 0.242023,0.242024 0.619993,0.196486 0.812907,-0.09794 z m 1.937594,0.135458 c 0.197395,-0.197394 0.149801,-0.765513 -0.07417,-0.88538 -0.431979,-0.231188 -0.814762,0.0055 -0.814762,0.503718 0,0.430036 0.588072,0.682524 0.888934,0.381662 l 0,0 z m 1.982785,-0.03752 c 0.318122,-0.318121 0.09552,-0.952429 -0.334247,-0.952429 -0.458141,0 -0.717223,0.596876 -0.416411,0.959334 0.164095,0.197721 0.549578,0.194175 0.750658,-0.0069 z m 2.020305,0 c 0.374236,-0.374236 0.01156,-1.038803 -0.497226,-0.911107 -0.143024,0.0359 -0.310403,0.175793 -0.371953,0.31088 -0.239454,0.525545 0.460497,1.008909 0.869179,0.600227 z m 1.994313,-0.0084 c 0.101602,-0.09195 0.18473,-0.271199 0.18473,-0.398333 0,-0.237795 -0.335904,-0.545656 -0.59536,-0.545656 -0.230503,0 -0.515807,0.311974 -0.515807,0.564024 0,0.483979 0.558427,0.713009 0.926437,0.379965 l 0,0 z" + id="path2893" /> + </g> +</svg> diff --git a/app/xterm/icons/filled-xterm.xpms b/app/xterm/icons/filled-xterm.xpms new file mode 100644 index 000000000..a375aa8a2 --- /dev/null +++ b/app/xterm/icons/filled-xterm.xpms @@ -0,0 +1,694 @@ +/* $XTermId: filled-xterm.xpms,v 1.1 2012/10/07 22:58:01 tom Exp $ */ +/* generated by ./make-xpms */ +/* vile:xpmmode */ +/* XPM */ +static const char * const filled_xterm_16x16_xpm[] = { +"16 16 110 2", +" c None", +". c #BAA9A9", +"+ c #C59C9C", +"@ c #C49999", +"# c #C6AAAA", +"$ c #4D4242", +"% c #F0E4E4", +"& c #CEBABA", +"* c #D5BEBE", +"= c #C6B5B5", +"- c #CEBEBE", +"; c #796D6D", +"> c #DEC5C5", +", c #B19B9B", +"' c #C6B8B8", +") c #B19696", +"! c #EBE5E5", +"~ c #FFFFFF", +"{ c #D6D6D6", +"] c #D0BDBD", +"^ c #FFF4F4", +"/ c #FEFDFD", +"( c #706969", +"_ c #CCC3C3", +": c #FFF0F0", +"< c #978989", +"[ c #A9A5A5", +"} c #A7A3A3", +"| c #E3E1E1", +"1 c #DACBCB", +"2 c #DEDEDE", +"3 c #FFF8F8", +"4 c #FFF6F6", +"5 c #FFFCFC", +"6 c #FFFEFE", +"7 c #D2D2D2", +"8 c #9C9C9C", +"9 c #9B8787", +"0 c #B3A0A0", +"a c #FFD5D5", +"b c #D4C2C2", +"c c #FFE7E7", +"d c #7A6F6F", +"e c #786F6F", +"f c #C2C2C2", +"g c #B4B4B4", +"h c #FFE3E3", +"i c #E1CECE", +"j c #FED8D8", +"k c #908888", +"l c #878080", +"m c #898383", +"n c #F3ECEC", +"o c #D8C2C2", +"p c #FFFAFA", +"q c #FFF2F2", +"r c #FFF9F9", +"s c #EFEFEF", +"t c #FEFEFE", +"u c #C8C3C3", +"v c #D2BFBF", +"w c #8A8383", +"x c #FCE5E5", +"y c #D9B6B6", +"z c #DDBCBC", +"A c #BCA0A0", +"B c #F0D2D2", +"C c #AB9C9C", +"D c #000000", +"E c #B0A2A2", +"F c #AE9F9F", +"G c #C6ABAB", +"H c #B48E8E", +"I c #C8ABAB", +"J c #C39A9A", +"K c #D0B2B2", +"L c #C3A0A0", +"M c #CFB2B2", +"N c #C59999", +"O c #CCC1C1", +"P c #3C3535", +"Q c #A39C9C", +"R c #FAEDED", +"S c #FEFCFC", +"T c #F9F2F2", +"U c #FEF7F7", +"V c #FAEBEB", +"W c #FEFAFA", +"X c #F9F1F1", +"Y c #FEF4F4", +"Z c #FAEFEF", +"` c #EBE0E0", +" . c #DFB9B9", +".. c #E8E3E3", +"+. c #BBB0B0", +"@. c #BBA9A9", +"#. c #CEC8C8", +"$. c #BCADAD", +"%. c #CDC8C8", +"&. c #C78D8D", +"*. c #E3B2B2", +"=. c #E3BCBC", +"-. c #BBAAAA", +";. c #746C6C", +">. c #858585", +",. c #8A7F7F", +"'. c #977878", +"). c #A38686", +"!. c #A78686", +"~. c #201717", +" . + @ @ @ @ @ @ @ @ # $ ", +" % & * * * * * * * * = - ; ", +" > , ' ) ! ~ ~ ~ ~ ~ { ] ^ ", +" > / ( _ ~ ~ ~ ~ ~ ~ { ] : ", +" > ~ < [ ~ ~ ~ ~ ~ ~ { ] : ", +" > } | 1 2 ~ ~ ~ ~ ~ { ] : ", +" > ~ ~ 3 ~ 4 4 5 6 4 7 ] : ", +" > 7 8 9 0 a b c d e f ] : ", +" > ~ g h i j k c l m f ] n ", +" o ~ ~ p ~ q 6 r s t u v w ", +" x y z z z z z z A z B C ", +" D ", +" E F G H I J K L M N O P ", +" Q R S T U V W X Y Z U ` Q ", +" ...+._ @.#.$.%.&.*.=.-.;. ", +" >.>.>.,.'.).).).).).!.~. "}; +/* XPM */ +static const char * const filled_xterm_32x32_xpm[] = { +"32 32 225 2", +" c None", +". c #000000", +"+ c #D9C2C2", +"@ c #EEE5E5", +"# c #EBE0E0", +"$ c #EBE1E1", +"% c #EDE1E1", +"& c #918484", +"* c #FFEEEE", +"= c #F2DCDC", +"- c #403838", +"; c #5A5A5A", +"> c #5B4545", +", c #FEF2F2", +"' c #E9E9E9", +") c #856868", +"! c #271D1D", +"~ c #FBCFCF", +"{ c #746060", +"] c #FFFBFB", +"^ c #FFFFFF", +"/ c #FAF0F0", +"( c #5E4949", +"_ c #E3DCDC", +": c #BAA8A8", +"< c #292020", +"[ c #F1C0C0", +"} c #D9C6C6", +"| c #FFECEC", +"1 c #FFE8E8", +"2 c #FFFAFA", +"3 c #FFF0F0", +"4 c #FFEFEF", +"5 c #705D5D", +"6 c #DED5D5", +"7 c #F9E6E6", +"8 c #D3C3C3", +"9 c #392F2F", +"0 c #FCF6F6", +"a c #BAA7A7", +"b c #524646", +"c c #D9D1D1", +"d c #F2EAEA", +"e c #796666", +"f c #FEF7F7", +"g c #BBAAAA", +"h c #918383", +"i c #1D1515", +"j c #EBDADA", +"k c #B5B5B5", +"l c #FFF4F4", +"m c #DDD0D0", +"n c #110A0A", +"o c #FEFBFB", +"p c #D3C7C7", +"q c #FFF3F3", +"r c #968484", +"s c #F2E9E9", +"t c #908484", +"u c #FFFDFD", +"v c #A89191", +"w c #776262", +"x c #CCB4B4", +"y c #9E7979", +"z c #705F5F", +"A c #FFCCCC", +"B c #FFEAEA", +"C c #FFE6E6", +"D c #FFF1F1", +"E c #FFFEFE", +"F c #FFE1E1", +"G c #FFF2F2", +"H c #FFF7F7", +"I c #C7B8B8", +"J c #AE9494", +"K c #5A4848", +"L c #C0AFAF", +"M c #D1BDBD", +"N c #4F3D3D", +"O c #513636", +"P c #BCB0B0", +"Q c #665757", +"R c #1A0C0C", +"S c #E4DCDC", +"T c #FCF3F3", +"U c #1F0C0C", +"V c #C3C3C3", +"W c #726363", +"X c #443A3A", +"Y c #FFF8F8", +"Z c #583D3D", +"` c #FCF4F4", +" . c #615757", +".. c #6C5656", +"+. c #A09393", +"@. c #9B8E8E", +"#. c #856464", +"$. c #4A3F3F", +"%. c #BBBBBB", +"&. c #C0BCBC", +"*. c #452F2F", +"=. c #736C6C", +"-. c #775656", +";. c #878787", +">. c #A38888", +",. c #624D4D", +"'. c #C9B4B4", +"). c #F8F0F0", +"!. c #FFEDED", +"~. c #604242", +"{. c #B5A8A8", +"]. c #FAE9E9", +"^. c #FBF3F3", +"/. c #BAB2B2", +"(. c #F8DEDE", +"_. c #7F6F6F", +":. c #B5A2A2", +"<. c #806F6F", +"[. c #AA8E8E", +"}. c #FEFDFD", +"|. c #BD9F9F", +"1. c #C3B4B4", +"2. c #E0DCDC", +"3. c #F9EEEE", +"4. c #080303", +"5. c #F3C1C1", +"6. c #B7A2A2", +"7. c #4C3A3A", +"8. c #DFD6D6", +"9. c #7E6D6D", +"0. c #FFE9E9", +"a. c #B39A9A", +"b. c #BBA5A5", +"c. c #DEC9C9", +"d. c #715D5D", +"e. c #F3DDDD", +"f. c #8B7979", +"g. c #060303", +"h. c #FFEBEB", +"i. c #EFE9E9", +"j. c #EAEAEA", +"k. c #FAEFEF", +"l. c #D1C3C3", +"m. c #0B0707", +"n. c #312222", +"o. c #584141", +"p. c #685252", +"q. c #5D5858", +"r. c #5F5F5F", +"s. c #5B5B5B", +"t. c #5C5858", +"u. c #473232", +"v. c #181111", +"w. c #ECD8D8", +"x. c #F9EFEF", +"y. c #DBC6C6", +"z. c #DEC5C5", +"A. c #F7EDED", +"B. c #DCC4C4", +"C. c #F8EDED", +"D. c #DEC3C3", +"E. c #E0C9C9", +"F. c #DEC1C1", +"G. c #DBC7C7", +"H. c #F7E8E8", +"I. c #E1CACA", +"J. c #DBC2C2", +"K. c #F8EFEF", +"L. c #796868", +"M. c #422B2B", +"N. c #B5A3A3", +"O. c #F8ECEC", +"P. c #F8EEEE", +"Q. c #FDF7F7", +"R. c #FEF9F9", +"S. c #F7EAEA", +"T. c #FDF6F6", +"U. c #F7EBEB", +"V. c #FDF5F5", +"W. c #F7EEEE", +"X. c #F8EBEB", +"Y. c #786565", +"Z. c #2C2121", +"`. c #F6E9E9", +" + c #F6E8E8", +".+ c #F9EDED", +"++ c #FEFCFC", +"@+ c #F7ECEC", +"#+ c #F7E9E9", +"$+ c #837070", +"%+ c #806C6C", +"&+ c #D4C3C3", +"*+ c #DCC8C8", +"=+ c #DDC2C2", +"-+ c #DBBFBF", +";+ c #E1C8C8", +">+ c #DEC8C8", +",+ c #DEC7C7", +"'+ c #DFC8C8", +")+ c #DEBBBB", +"!+ c #FAEEEE", +"~+ c #221B1B", +"{+ c #3E3131", +"]+ c #F8E8E8", +"^+ c #8D8181", +"/+ c #F6E7E7", +"(+ c #696969", +"_+ c #6D6D6D", +":+ c #6F6C6C", +"<+ c #835D5D", +"[+ c #875D5D", +"}+ c #9D7474", +"|+ c #A27A7A", +"1+ c #958989", +"2+ c #919191", +"3+ c #9D9797", +"4+ c #917E7E", +"5+ c #E3C8C8", +"6+ c #241B1B", +"7+ c #695959", +"8+ c #CEBCBC", +"9+ c #D1D1D1", +"0+ c #CFCBCB", +"a+ c #322424", +"b+ c #201818", +" ", +" . + @ # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % @ & . ", +" . * = - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; > , ' ) ! ", +" . ~ { ] ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ / ( _ : / < ", +" . [ } | 1 1 2 3 1 4 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ 7 . ", +" . [ } 8 9 0 a b * ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ 4 . ", +" . [ } ^ c d e f ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 g ^ 4 . ", +" . [ } ^ ^ h i j ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ l . ", +" . [ } ^ ^ m n | ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } ^ o { p q ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } ^ r s ^ t u ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } v w x ^ y z A ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ ^ . ", +" . [ } ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ ^ . ", +" . [ } B C C C D C C C E F G G ^ l C ^ ^ H ] 5 6 : ^ ^ . ", +" . [ } I J K L M N L L E O P Q l B R S T U V 5 6 : ^ ^ . ", +" . [ } ^ * W ^ * X ^ Y ^ Z ` .q B ..+.@.#.V 5 6 : ^ ^ . ", +" . [ } ^ * W ^ * $.%.&.^ *.=.-.u B ;.>.,.'.V 5 6 : ^ ).. ", +" . [ } ^ * W ^ * ,.!.!.E ~.^ {.].B ;.^./.(.V 5 6 : ^ _. ", +" . [ } ^ q :.^ l <.<.<.E [.^ }.|.3 1.^ ^ B 2.5 6 : 3.4. ", +" . 5.6.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ] 7.8.: 9. ", +" . 0.a.b.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.d.e.' f.g. ", +" . h.2 i.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.k.^ l.m. ", +" . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" n.o.p.p.p.p.q.; r.s.; ; ; t.p.p.p.p.p.p.p.p.u.. ", +" v.w.x.y.z.A.3.} B.C.3.D.E.C.C.F.G.C.H.I.J.C.K.L.M. ", +" N.O.P.Q.R.S.S.f T.U.S.V.f W.A.Q.Q.P.P.Q.f O.X._.Y. ", +" Z.Y `. +V.f .+A.T.Q.O..+++V.K.@+f f #+A.R.V.`.$+x.%+ ", +" &+B.X.).*+=+C.#+-+;+C.O.>+,+U.#+'+)+@+#+F.*+!+9.k.~+ ", +" {+]+^+/+(+_+_+_+_+_+_+_+_+:+<+[+}+|+1+2+3+S.^+4+5+6+ ", +" 7+8+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+0+a+b+ ", +" "}; +/* XPM */ +static const char * const filled_xterm_48x48_xpm[] = { +"48 48 246 2", +" c None", +". c #000000", +"+ c #F6D5D5", +"@ c #FFEAEA", +"# c #FFD6D6", +"$ c #FFD2D2", +"% c #FFD3D3", +"& c #F8D6D6", +"* c #FFEFEF", +"= c #FFFFFF", +"- c #F6DBDB", +"; c #0F0707", +"> c #090505", +", c #F6DCDC", +"' c #FFEEEE", +") c #C99999", +"! c #030101", +"~ c #F7DEDE", +"{ c #150B0B", +"] c #E3C5C5", +"^ c #FFEDED", +"/ c #E4CBCB", +"( c #140B0B", +"_ c #F7DDDD", +": c #E0C9C9", +"< c #080303", +"[ c #FFD9D9", +"} c #0D0707", +"| c #E5CACA", +"1 c #E5CBCB", +"2 c #0B0606", +"3 c #FFDCDC", +"4 c #E2CECE", +"5 c #090303", +"6 c #E1CBCB", +"7 c #9F8A8A", +"8 c #3B2929", +"9 c #312020", +"0 c #FFD5D5", +"a c #ECC8C8", +"b c #402525", +"c c #351F1F", +"d c #663E3E", +"e c #E6DBDB", +"f c #FFFAFA", +"g c #FFFEFE", +"h c #8C7272", +"i c #B4A1A1", +"j c #A69494", +"k c #D8C0C0", +"l c #675353", +"m c #FFFDFD", +"n c #584545", +"o c #E1BFBF", +"p c #3C2929", +"q c #FCF3F3", +"r c #F6EAEA", +"s c #160F0F", +"t c #E9D3D3", +"u c #6E5C5C", +"v c #D6BABA", +"w c #CBBBBB", +"x c #0D0808", +"y c #F8E8E8", +"z c #FFE2E2", +"A c #F4EDED", +"B c #FFF2F2", +"C c #4B3A3A", +"D c #FFFBFB", +"E c #AD9292", +"F c #FFE1E1", +"G c #A28E8E", +"H c #CCBDBD", +"I c #8B7777", +"J c #231515", +"K c #ECCECE", +"L c #FFDADA", +"M c #251414", +"N c #9A8686", +"O c #FFF1F1", +"P c #FFECEC", +"Q c #FFE4E4", +"R c #FFDFDF", +"S c #FFDBDB", +"T c #FFF0F0", +"U c #FFDDDD", +"V c #FFEBEB", +"W c #FFF4F4", +"X c #FFE5E5", +"Y c #FFDEDE", +"Z c #B29E9E", +"` c #A08F8F", +" . c #8A7373", +".. c #1C1111", +"+. c #D7CACA", +"@. c #645555", +"#. c #5E4B4B", +"$. c #FFF7F7", +"%. c #BD9F9F", +"&. c #392B2B", +"*. c #A19090", +"=. c #867474", +"-. c #9C8D8D", +";. c #A99494", +">. c #0E0606", +",. c #FFE9E9", +"'. c #D5C6C6", +"). c #564545", +"!. c #FFE7E7", +"~. c #5B3D3D", +"{. c #352121", +"]. c #5B4242", +"^. c #FFD7D7", +"/. c #E7D2D2", +"(. c #1F1313", +"_. c #786363", +":. c #AC9191", +"<. c #FFE8E8", +"[. c #DBC7C7", +"}. c #897474", +"|. c #574E4E", +"1. c #999999", +"2. c #FFF6F6", +"3. c #170F0F", +"4. c #3B2B2B", +"5. c #190E0E", +"6. c #C7B6B6", +"7. c #5F4D4D", +"8. c #F6E1E1", +"9. c #FCE9E9", +"0. c #F1EAEA", +"a. c #FEFAFA", +"b. c #3D2828", +"c. c #382626", +"d. c #947D7D", +"e. c #FFFCFC", +"f. c #B09B9B", +"g. c #C2B2B2", +"h. c #EEDADA", +"i. c #FDEFEF", +"j. c #0B0505", +"k. c #DACACA", +"l. c #7D6565", +"m. c #C6A7A7", +"n. c #FDF9F9", +"o. c #6C4D4D", +"p. c #AB9797", +"q. c #927B7B", +"r. c #FCEDED", +"s. c #0A0404", +"t. c #120B0B", +"u. c #E8D1D1", +"v. c #E2CACA", +"w. c #0F0808", +"x. c #907979", +"y. c #F9DFDF", +"z. c #1D1111", +"A. c #E8D0D0", +"B. c #E1C8C8", +"C. c #1A0C0C", +"D. c #F8E0E0", +"E. c #F7D4D4", +"F. c #090404", +"G. c #FAE1E1", +"H. c #100A0A", +"I. c #100808", +"J. c #7C4F4F", +"K. c #F6D3D3", +"L. c #FFD8D8", +"M. c #F8D5D5", +"N. c #AF9393", +"O. c #FDE5E5", +"P. c #FDE9E9", +"Q. c #FDE2E2", +"R. c #FDF8F8", +"S. c #FDE6E6", +"T. c #FEECEC", +"U. c #FEE5E5", +"V. c #FFE6E6", +"W. c #F8D1D1", +"X. c #0D0404", +"Y. c #291D1D", +"Z. c #583030", +"`. c #FFF8F8", +" + c #683737", +".+ c #5B3333", +"++ c #582D2D", +"@+ c #593030", +"#+ c #5D3232", +"$+ c #5A2D2D", +"%+ c #663737", +"&+ c #5B3030", +"*+ c #897272", +"=+ c #996F6F", +"-+ c #DBC1C1", +";+ c #110808", +">+ c #FDDDDD", +",+ c #473636", +"'+ c #563232", +")+ c #FFF5F5", +"!+ c #5C3636", +"~+ c #FFF9F9", +"{+ c #582E2E", +"]+ c #6F4040", +"^+ c #5B3434", +"/+ c #6D3E3E", +"(+ c #5A3333", +"_+ c #EFD7D7", +":+ c #FCEFEF", +"<+ c #140A0A", +"[+ c #6A5252", +"}+ c #583333", +"|+ c #5C2A2A", +"1+ c #653737", +"2+ c #6B3C3C", +"3+ c #643434", +"4+ c #6A3C3C", +"5+ c #613535", +"6+ c #9C8787", +"7+ c #907A7A", +"8+ c #DDC3C3", +"9+ c #F8E5E5", +"0+ c #FDF3F3", +"a+ c #190D0D", +"b+ c #FAEAEA", +"c+ c #DCC4C4", +"d+ c #876E6E", +"e+ c #461F1F", +"f+ c #472020", +"g+ c #261414", +"h+ c #070000", +"i+ c #220000", +"j+ c #230101", +"k+ c #3A1818", +"l+ c #3F1D1D", +"m+ c #3E1E1E", +"n+ c #553333", +"o+ c #724646", +"p+ c #431F1F", +"q+ c #AB8F8F", +"r+ c #887171", +"s+ c #DAC0C0", +"t+ c #FBD1D1", +"u+ c #1A1010", +"v+ c #B27C7C", +"w+ c #020101", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . + @ @ # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % @ @ & . . ", +" . * = - ; . . . . . . . . . . . . . . . . . . . . . . . . . . > , = ' . ) ! ", +" . * ~ { ] ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ / ( _ ' . ^ : < ", +" . [ } | = = = = = = = = = = = = = = = = = = = = = = = = = = = = 1 2 3 . ^ = 4 5 ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ^ = = 6 . ", +" . [ . * 7 8 9 0 = a b c d = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = e f = g h i = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = j = k l g = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = m n o p q = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = r s . t = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = u . v = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = w x y = = = = = = = = = = = = = = = = = = = = * . [ . z = = * . ", +" . [ . * = = A B B C D = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = E z = = F G = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * H I J K = = L M } N O = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * P Q Q R = = S Q Q Q T = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * [ U U U U U V z U U U U W X Y X ^ = = V U O = = O F ' * . [ . ' = = * . ", +" . [ . * Z ` ...` Q +.@.#.` ` Q $.%.&.*.=. ^ = -. = = ;.>.,.* . [ . ' = = * . ", +" . [ . * = = '. = = = Q = = = = %. = = ).!.= -.~. f f {.].,.* . [ . ' = = * . ", +" . [ . * = = '. = = = U U ^.= %. ^ /.(.' = -._.:.<.[.}.@.,.* . [ . ' = = * . ", +" . [ . * = = '. = = = @.|.1.1.2.= %.3.4.5. = = -. 6. 7.8.@.,.* . [ . ' = = 9.. ", +" . [ . * = = '. = = = Q = = = = %. = 0. ' = -. a.b.c.f @.,.* . [ . ' = = d.. ", +" . [ . * = = '. = = = 0 ^ ^ ^ e.%. = = f. m -. = g.h.= @.,.* . [ . ' = i.j. ", +" . [ . * = = k. = = = l.9 9 9 ' m. = = n.o.z p. = = = = l.X * . [ . ' = q.. ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' r.s. ", +" . 3 t.u.= = = = = = = = = = = = = = = = = = = = = = = = = = = = v.w.S . ' x.. ", +" . * y.z.A.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ B.C.D.' . E.F. ", +" . * = G.H.. . . . . . . . . . . . . . . . . . . . . . . . . . I.D.= ' . J.. ", +" . K.P P # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ L.P P M.. . ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . N.O.P.O.P.Q.R.S.P.O.P.O.P.O.T.U.T.U.T.,.^ ,.^ ,.^ V.^ ,.= D W ,.^ W.X.. ", +" Y.W Z.`. +e..+e.++D @+$.Z.`. +e.#+e.$+D @+$.Z.`.%+e.#+e.$+e.&+$.Z.D *+=+. ", +" . -+D f e.m D `.= D e.D D f D m D `.= D e.D D f D m D `.= D e.D D f r.;+>+. ", +" ,+`.'+)+!+~+{+= ]+f .+`.Z.)+^+~+{+= /+f .+`.Z.)+^+~+{+= /+f (+`.Z.f q.q.T . ", +" . _+m f = D m ~+e.`.m f m f = D m ~+e.`.m f e.f = D m ~+e.`.m f m f :+<+i.T . ", +" . [+~+}+)+|+~+1+g 2+g 3+`.}+)+|+~+1+g 4+= 3+`.}+)+|+~+1+g 4+= 3+~+5+e.6+7+= 8+. ", +" ! 9+= ~+= T ' @ ' ,.' <.' <.' ' ' @ e.f = ~+= ~+= = = D = f = ~+= = 0+a+b+c+! ", +" . d+m e+f+e.g+. . . . . . . . . . . . h+i+i+j+k+l+l+c m+l+l+n+o+e.e+p+q+r+s+! ", +" . t+* @ @ P S [ L S S S S S S S S S S z ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ P z u+v+w+ ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" "}; +static const XPM_DATA filled_xterm_xpms[] = { + { "filled-xterm_16x16", filled_xterm_16x16_xpm }, + { "filled-xterm_32x32", filled_xterm_32x32_xpm }, + { "filled-xterm_48x48", filled_xterm_48x48_xpm } +}; diff --git a/app/xterm/icons/filled-xterm_16x16.xpm b/app/xterm/icons/filled-xterm_16x16.xpm new file mode 100644 index 000000000..9776055cc --- /dev/null +++ b/app/xterm/icons/filled-xterm_16x16.xpm @@ -0,0 +1,129 @@ +/* XPM */ +static char * filled_xterm_16x16_xpm[] = { +"16 16 110 2", +" c None", +". c #BAA9A9", +"+ c #C59C9C", +"@ c #C49999", +"# c #C6AAAA", +"$ c #4D4242", +"% c #F0E4E4", +"& c #CEBABA", +"* c #D5BEBE", +"= c #C6B5B5", +"- c #CEBEBE", +"; c #796D6D", +"> c #DEC5C5", +", c #B19B9B", +"' c #C6B8B8", +") c #B19696", +"! c #EBE5E5", +"~ c #FFFFFF", +"{ c #D6D6D6", +"] c #D0BDBD", +"^ c #FFF4F4", +"/ c #FEFDFD", +"( c #706969", +"_ c #CCC3C3", +": c #FFF0F0", +"< c #978989", +"[ c #A9A5A5", +"} c #A7A3A3", +"| c #E3E1E1", +"1 c #DACBCB", +"2 c #DEDEDE", +"3 c #FFF8F8", +"4 c #FFF6F6", +"5 c #FFFCFC", +"6 c #FFFEFE", +"7 c #D2D2D2", +"8 c #9C9C9C", +"9 c #9B8787", +"0 c #B3A0A0", +"a c #FFD5D5", +"b c #D4C2C2", +"c c #FFE7E7", +"d c #7A6F6F", +"e c #786F6F", +"f c #C2C2C2", +"g c #B4B4B4", +"h c #FFE3E3", +"i c #E1CECE", +"j c #FED8D8", +"k c #908888", +"l c #878080", +"m c #898383", +"n c #F3ECEC", +"o c #D8C2C2", +"p c #FFFAFA", +"q c #FFF2F2", +"r c #FFF9F9", +"s c #EFEFEF", +"t c #FEFEFE", +"u c #C8C3C3", +"v c #D2BFBF", +"w c #8A8383", +"x c #FCE5E5", +"y c #D9B6B6", +"z c #DDBCBC", +"A c #BCA0A0", +"B c #F0D2D2", +"C c #AB9C9C", +"D c #000000", +"E c #B0A2A2", +"F c #AE9F9F", +"G c #C6ABAB", +"H c #B48E8E", +"I c #C8ABAB", +"J c #C39A9A", +"K c #D0B2B2", +"L c #C3A0A0", +"M c #CFB2B2", +"N c #C59999", +"O c #CCC1C1", +"P c #3C3535", +"Q c #A39C9C", +"R c #FAEDED", +"S c #FEFCFC", +"T c #F9F2F2", +"U c #FEF7F7", +"V c #FAEBEB", +"W c #FEFAFA", +"X c #F9F1F1", +"Y c #FEF4F4", +"Z c #FAEFEF", +"` c #EBE0E0", +" . c #DFB9B9", +".. c #E8E3E3", +"+. c #BBB0B0", +"@. c #BBA9A9", +"#. c #CEC8C8", +"$. c #BCADAD", +"%. c #CDC8C8", +"&. c #C78D8D", +"*. c #E3B2B2", +"=. c #E3BCBC", +"-. c #BBAAAA", +";. c #746C6C", +">. c #858585", +",. c #8A7F7F", +"'. c #977878", +"). c #A38686", +"!. c #A78686", +"~. c #201717", +" . + @ @ @ @ @ @ @ @ # $ ", +" % & * * * * * * * * = - ; ", +" > , ' ) ! ~ ~ ~ ~ ~ { ] ^ ", +" > / ( _ ~ ~ ~ ~ ~ ~ { ] : ", +" > ~ < [ ~ ~ ~ ~ ~ ~ { ] : ", +" > } | 1 2 ~ ~ ~ ~ ~ { ] : ", +" > ~ ~ 3 ~ 4 4 5 6 4 7 ] : ", +" > 7 8 9 0 a b c d e f ] : ", +" > ~ g h i j k c l m f ] n ", +" o ~ ~ p ~ q 6 r s t u v w ", +" x y z z z z z z A z B C ", +" D ", +" E F G H I J K L M N O P ", +" Q R S T U V W X Y Z U ` Q ", +" ...+._ @.#.$.%.&.*.=.-.;. ", +" >.>.>.,.'.).).).).).!.~. "}; diff --git a/app/xterm/icons/filled-xterm_32x32.xpm b/app/xterm/icons/filled-xterm_32x32.xpm new file mode 100644 index 000000000..feec72c29 --- /dev/null +++ b/app/xterm/icons/filled-xterm_32x32.xpm @@ -0,0 +1,260 @@ +/* XPM */ +static char * filled_xterm_32x32_xpm[] = { +"32 32 225 2", +" c None", +". c #000000", +"+ c #D9C2C2", +"@ c #EEE5E5", +"# c #EBE0E0", +"$ c #EBE1E1", +"% c #EDE1E1", +"& c #918484", +"* c #FFEEEE", +"= c #F2DCDC", +"- c #403838", +"; c #5A5A5A", +"> c #5B4545", +", c #FEF2F2", +"' c #E9E9E9", +") c #856868", +"! c #271D1D", +"~ c #FBCFCF", +"{ c #746060", +"] c #FFFBFB", +"^ c #FFFFFF", +"/ c #FAF0F0", +"( c #5E4949", +"_ c #E3DCDC", +": c #BAA8A8", +"< c #292020", +"[ c #F1C0C0", +"} c #D9C6C6", +"| c #FFECEC", +"1 c #FFE8E8", +"2 c #FFFAFA", +"3 c #FFF0F0", +"4 c #FFEFEF", +"5 c #705D5D", +"6 c #DED5D5", +"7 c #F9E6E6", +"8 c #D3C3C3", +"9 c #392F2F", +"0 c #FCF6F6", +"a c #BAA7A7", +"b c #524646", +"c c #D9D1D1", +"d c #F2EAEA", +"e c #796666", +"f c #FEF7F7", +"g c #BBAAAA", +"h c #918383", +"i c #1D1515", +"j c #EBDADA", +"k c #B5B5B5", +"l c #FFF4F4", +"m c #DDD0D0", +"n c #110A0A", +"o c #FEFBFB", +"p c #D3C7C7", +"q c #FFF3F3", +"r c #968484", +"s c #F2E9E9", +"t c #908484", +"u c #FFFDFD", +"v c #A89191", +"w c #776262", +"x c #CCB4B4", +"y c #9E7979", +"z c #705F5F", +"A c #FFCCCC", +"B c #FFEAEA", +"C c #FFE6E6", +"D c #FFF1F1", +"E c #FFFEFE", +"F c #FFE1E1", +"G c #FFF2F2", +"H c #FFF7F7", +"I c #C7B8B8", +"J c #AE9494", +"K c #5A4848", +"L c #C0AFAF", +"M c #D1BDBD", +"N c #4F3D3D", +"O c #513636", +"P c #BCB0B0", +"Q c #665757", +"R c #1A0C0C", +"S c #E4DCDC", +"T c #FCF3F3", +"U c #1F0C0C", +"V c #C3C3C3", +"W c #726363", +"X c #443A3A", +"Y c #FFF8F8", +"Z c #583D3D", +"` c #FCF4F4", +" . c #615757", +".. c #6C5656", +"+. c #A09393", +"@. c #9B8E8E", +"#. c #856464", +"$. c #4A3F3F", +"%. c #BBBBBB", +"&. c #C0BCBC", +"*. c #452F2F", +"=. c #736C6C", +"-. c #775656", +";. c #878787", +">. c #A38888", +",. c #624D4D", +"'. c #C9B4B4", +"). c #F8F0F0", +"!. c #FFEDED", +"~. c #604242", +"{. c #B5A8A8", +"]. c #FAE9E9", +"^. c #FBF3F3", +"/. c #BAB2B2", +"(. c #F8DEDE", +"_. c #7F6F6F", +":. c #B5A2A2", +"<. c #806F6F", +"[. c #AA8E8E", +"}. c #FEFDFD", +"|. c #BD9F9F", +"1. c #C3B4B4", +"2. c #E0DCDC", +"3. c #F9EEEE", +"4. c #080303", +"5. c #F3C1C1", +"6. c #B7A2A2", +"7. c #4C3A3A", +"8. c #DFD6D6", +"9. c #7E6D6D", +"0. c #FFE9E9", +"a. c #B39A9A", +"b. c #BBA5A5", +"c. c #DEC9C9", +"d. c #715D5D", +"e. c #F3DDDD", +"f. c #8B7979", +"g. c #060303", +"h. c #FFEBEB", +"i. c #EFE9E9", +"j. c #EAEAEA", +"k. c #FAEFEF", +"l. c #D1C3C3", +"m. c #0B0707", +"n. c #312222", +"o. c #584141", +"p. c #685252", +"q. c #5D5858", +"r. c #5F5F5F", +"s. c #5B5B5B", +"t. c #5C5858", +"u. c #473232", +"v. c #181111", +"w. c #ECD8D8", +"x. c #F9EFEF", +"y. c #DBC6C6", +"z. c #DEC5C5", +"A. c #F7EDED", +"B. c #DCC4C4", +"C. c #F8EDED", +"D. c #DEC3C3", +"E. c #E0C9C9", +"F. c #DEC1C1", +"G. c #DBC7C7", +"H. c #F7E8E8", +"I. c #E1CACA", +"J. c #DBC2C2", +"K. c #F8EFEF", +"L. c #796868", +"M. c #422B2B", +"N. c #B5A3A3", +"O. c #F8ECEC", +"P. c #F8EEEE", +"Q. c #FDF7F7", +"R. c #FEF9F9", +"S. c #F7EAEA", +"T. c #FDF6F6", +"U. c #F7EBEB", +"V. c #FDF5F5", +"W. c #F7EEEE", +"X. c #F8EBEB", +"Y. c #786565", +"Z. c #2C2121", +"`. c #F6E9E9", +" + c #F6E8E8", +".+ c #F9EDED", +"++ c #FEFCFC", +"@+ c #F7ECEC", +"#+ c #F7E9E9", +"$+ c #837070", +"%+ c #806C6C", +"&+ c #D4C3C3", +"*+ c #DCC8C8", +"=+ c #DDC2C2", +"-+ c #DBBFBF", +";+ c #E1C8C8", +">+ c #DEC8C8", +",+ c #DEC7C7", +"'+ c #DFC8C8", +")+ c #DEBBBB", +"!+ c #FAEEEE", +"~+ c #221B1B", +"{+ c #3E3131", +"]+ c #F8E8E8", +"^+ c #8D8181", +"/+ c #F6E7E7", +"(+ c #696969", +"_+ c #6D6D6D", +":+ c #6F6C6C", +"<+ c #835D5D", +"[+ c #875D5D", +"}+ c #9D7474", +"|+ c #A27A7A", +"1+ c #958989", +"2+ c #919191", +"3+ c #9D9797", +"4+ c #917E7E", +"5+ c #E3C8C8", +"6+ c #241B1B", +"7+ c #695959", +"8+ c #CEBCBC", +"9+ c #D1D1D1", +"0+ c #CFCBCB", +"a+ c #322424", +"b+ c #201818", +" ", +" . + @ # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % @ & . ", +" . * = - ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; > , ' ) ! ", +" . ~ { ] ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ / ( _ : / < ", +" . [ } | 1 1 2 3 1 4 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ 7 . ", +" . [ } 8 9 0 a b * ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ 4 . ", +" . [ } ^ c d e f ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 g ^ 4 . ", +" . [ } ^ ^ h i j ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ l . ", +" . [ } ^ ^ m n | ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } ^ o { p q ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } ^ r s ^ t u ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 k ^ ^ . ", +" . [ } v w x ^ y z A ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ ^ . ", +" . [ } ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 5 6 : ^ ^ . ", +" . [ } B C C C D C C C E F G G ^ l C ^ ^ H ] 5 6 : ^ ^ . ", +" . [ } I J K L M N L L E O P Q l B R S T U V 5 6 : ^ ^ . ", +" . [ } ^ * W ^ * X ^ Y ^ Z ` .q B ..+.@.#.V 5 6 : ^ ^ . ", +" . [ } ^ * W ^ * $.%.&.^ *.=.-.u B ;.>.,.'.V 5 6 : ^ ).. ", +" . [ } ^ * W ^ * ,.!.!.E ~.^ {.].B ;.^./.(.V 5 6 : ^ _. ", +" . [ } ^ q :.^ l <.<.<.E [.^ }.|.3 1.^ ^ B 2.5 6 : 3.4. ", +" . 5.6.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ] 7.8.: 9. ", +" . 0.a.b.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.c.d.e.' f.g. ", +" . h.2 i.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.j.k.^ l.m. ", +" . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" n.o.p.p.p.p.q.; r.s.; ; ; t.p.p.p.p.p.p.p.p.u.. ", +" v.w.x.y.z.A.3.} B.C.3.D.E.C.C.F.G.C.H.I.J.C.K.L.M. ", +" N.O.P.Q.R.S.S.f T.U.S.V.f W.A.Q.Q.P.P.Q.f O.X._.Y. ", +" Z.Y `. +V.f .+A.T.Q.O..+++V.K.@+f f #+A.R.V.`.$+x.%+ ", +" &+B.X.).*+=+C.#+-+;+C.O.>+,+U.#+'+)+@+#+F.*+!+9.k.~+ ", +" {+]+^+/+(+_+_+_+_+_+_+_+_+:+<+[+}+|+1+2+3+S.^+4+5+6+ ", +" 7+8+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+9+0+a+b+ ", +" "}; diff --git a/app/xterm/icons/filled-xterm_48x48.xpm b/app/xterm/icons/filled-xterm_48x48.xpm new file mode 100644 index 000000000..e72e4ea55 --- /dev/null +++ b/app/xterm/icons/filled-xterm_48x48.xpm @@ -0,0 +1,297 @@ +/* XPM */ +static char * filled_xterm_48x48_xpm[] = { +"48 48 246 2", +" c None", +". c #000000", +"+ c #F6D5D5", +"@ c #FFEAEA", +"# c #FFD6D6", +"$ c #FFD2D2", +"% c #FFD3D3", +"& c #F8D6D6", +"* c #FFEFEF", +"= c #FFFFFF", +"- c #F6DBDB", +"; c #0F0707", +"> c #090505", +", c #F6DCDC", +"' c #FFEEEE", +") c #C99999", +"! c #030101", +"~ c #F7DEDE", +"{ c #150B0B", +"] c #E3C5C5", +"^ c #FFEDED", +"/ c #E4CBCB", +"( c #140B0B", +"_ c #F7DDDD", +": c #E0C9C9", +"< c #080303", +"[ c #FFD9D9", +"} c #0D0707", +"| c #E5CACA", +"1 c #E5CBCB", +"2 c #0B0606", +"3 c #FFDCDC", +"4 c #E2CECE", +"5 c #090303", +"6 c #E1CBCB", +"7 c #9F8A8A", +"8 c #3B2929", +"9 c #312020", +"0 c #FFD5D5", +"a c #ECC8C8", +"b c #402525", +"c c #351F1F", +"d c #663E3E", +"e c #E6DBDB", +"f c #FFFAFA", +"g c #FFFEFE", +"h c #8C7272", +"i c #B4A1A1", +"j c #A69494", +"k c #D8C0C0", +"l c #675353", +"m c #FFFDFD", +"n c #584545", +"o c #E1BFBF", +"p c #3C2929", +"q c #FCF3F3", +"r c #F6EAEA", +"s c #160F0F", +"t c #E9D3D3", +"u c #6E5C5C", +"v c #D6BABA", +"w c #CBBBBB", +"x c #0D0808", +"y c #F8E8E8", +"z c #FFE2E2", +"A c #F4EDED", +"B c #FFF2F2", +"C c #4B3A3A", +"D c #FFFBFB", +"E c #AD9292", +"F c #FFE1E1", +"G c #A28E8E", +"H c #CCBDBD", +"I c #8B7777", +"J c #231515", +"K c #ECCECE", +"L c #FFDADA", +"M c #251414", +"N c #9A8686", +"O c #FFF1F1", +"P c #FFECEC", +"Q c #FFE4E4", +"R c #FFDFDF", +"S c #FFDBDB", +"T c #FFF0F0", +"U c #FFDDDD", +"V c #FFEBEB", +"W c #FFF4F4", +"X c #FFE5E5", +"Y c #FFDEDE", +"Z c #B29E9E", +"` c #A08F8F", +" . c #8A7373", +".. c #1C1111", +"+. c #D7CACA", +"@. c #645555", +"#. c #5E4B4B", +"$. c #FFF7F7", +"%. c #BD9F9F", +"&. c #392B2B", +"*. c #A19090", +"=. c #867474", +"-. c #9C8D8D", +";. c #A99494", +">. c #0E0606", +",. c #FFE9E9", +"'. c #D5C6C6", +"). c #564545", +"!. c #FFE7E7", +"~. c #5B3D3D", +"{. c #352121", +"]. c #5B4242", +"^. c #FFD7D7", +"/. c #E7D2D2", +"(. c #1F1313", +"_. c #786363", +":. c #AC9191", +"<. c #FFE8E8", +"[. c #DBC7C7", +"}. c #897474", +"|. c #574E4E", +"1. c #999999", +"2. c #FFF6F6", +"3. c #170F0F", +"4. c #3B2B2B", +"5. c #190E0E", +"6. c #C7B6B6", +"7. c #5F4D4D", +"8. c #F6E1E1", +"9. c #FCE9E9", +"0. c #F1EAEA", +"a. c #FEFAFA", +"b. c #3D2828", +"c. c #382626", +"d. c #947D7D", +"e. c #FFFCFC", +"f. c #B09B9B", +"g. c #C2B2B2", +"h. c #EEDADA", +"i. c #FDEFEF", +"j. c #0B0505", +"k. c #DACACA", +"l. c #7D6565", +"m. c #C6A7A7", +"n. c #FDF9F9", +"o. c #6C4D4D", +"p. c #AB9797", +"q. c #927B7B", +"r. c #FCEDED", +"s. c #0A0404", +"t. c #120B0B", +"u. c #E8D1D1", +"v. c #E2CACA", +"w. c #0F0808", +"x. c #907979", +"y. c #F9DFDF", +"z. c #1D1111", +"A. c #E8D0D0", +"B. c #E1C8C8", +"C. c #1A0C0C", +"D. c #F8E0E0", +"E. c #F7D4D4", +"F. c #090404", +"G. c #FAE1E1", +"H. c #100A0A", +"I. c #100808", +"J. c #7C4F4F", +"K. c #F6D3D3", +"L. c #FFD8D8", +"M. c #F8D5D5", +"N. c #AF9393", +"O. c #FDE5E5", +"P. c #FDE9E9", +"Q. c #FDE2E2", +"R. c #FDF8F8", +"S. c #FDE6E6", +"T. c #FEECEC", +"U. c #FEE5E5", +"V. c #FFE6E6", +"W. c #F8D1D1", +"X. c #0D0404", +"Y. c #291D1D", +"Z. c #583030", +"`. c #FFF8F8", +" + c #683737", +".+ c #5B3333", +"++ c #582D2D", +"@+ c #593030", +"#+ c #5D3232", +"$+ c #5A2D2D", +"%+ c #663737", +"&+ c #5B3030", +"*+ c #897272", +"=+ c #996F6F", +"-+ c #DBC1C1", +";+ c #110808", +">+ c #FDDDDD", +",+ c #473636", +"'+ c #563232", +")+ c #FFF5F5", +"!+ c #5C3636", +"~+ c #FFF9F9", +"{+ c #582E2E", +"]+ c #6F4040", +"^+ c #5B3434", +"/+ c #6D3E3E", +"(+ c #5A3333", +"_+ c #EFD7D7", +":+ c #FCEFEF", +"<+ c #140A0A", +"[+ c #6A5252", +"}+ c #583333", +"|+ c #5C2A2A", +"1+ c #653737", +"2+ c #6B3C3C", +"3+ c #643434", +"4+ c #6A3C3C", +"5+ c #613535", +"6+ c #9C8787", +"7+ c #907A7A", +"8+ c #DDC3C3", +"9+ c #F8E5E5", +"0+ c #FDF3F3", +"a+ c #190D0D", +"b+ c #FAEAEA", +"c+ c #DCC4C4", +"d+ c #876E6E", +"e+ c #461F1F", +"f+ c #472020", +"g+ c #261414", +"h+ c #070000", +"i+ c #220000", +"j+ c #230101", +"k+ c #3A1818", +"l+ c #3F1D1D", +"m+ c #3E1E1E", +"n+ c #553333", +"o+ c #724646", +"p+ c #431F1F", +"q+ c #AB8F8F", +"r+ c #887171", +"s+ c #DAC0C0", +"t+ c #FBD1D1", +"u+ c #1A1010", +"v+ c #B27C7C", +"w+ c #020101", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . + @ @ # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ % @ @ & . . ", +" . * = - ; . . . . . . . . . . . . . . . . . . . . . . . . . . > , = ' . ) ! ", +" . * ~ { ] ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ / ( _ ' . ^ : < ", +" . [ } | = = = = = = = = = = = = = = = = = = = = = = = = = = = = 1 2 3 . ^ = 4 5 ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ^ = = 6 . ", +" . [ . * 7 8 9 0 = a b c d = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = e f = g h i = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = j = k l g = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = m n o p q = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = r s . t = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = u . v = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = w x y = = = = = = = = = = = = = = = = = = = = * . [ . z = = * . ", +" . [ . * = = A B B C D = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = E z = = F G = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * H I J K = = L M } N O = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * P Q Q R = = S Q Q Q T = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' = = * . ", +" . [ . * [ U U U U U V z U U U U W X Y X ^ = = V U O = = O F ' * . [ . ' = = * . ", +" . [ . * Z ` ...` Q +.@.#.` ` Q $.%.&.*.=. ^ = -. = = ;.>.,.* . [ . ' = = * . ", +" . [ . * = = '. = = = Q = = = = %. = = ).!.= -.~. f f {.].,.* . [ . ' = = * . ", +" . [ . * = = '. = = = U U ^.= %. ^ /.(.' = -._.:.<.[.}.@.,.* . [ . ' = = * . ", +" . [ . * = = '. = = = @.|.1.1.2.= %.3.4.5. = = -. 6. 7.8.@.,.* . [ . ' = = 9.. ", +" . [ . * = = '. = = = Q = = = = %. = 0. ' = -. a.b.c.f @.,.* . [ . ' = = d.. ", +" . [ . * = = '. = = = 0 ^ ^ ^ e.%. = = f. m -. = g.h.= @.,.* . [ . ' = i.j. ", +" . [ . * = = k. = = = l.9 9 9 ' m. = = n.o.z p. = = = = l.X * . [ . ' = q.. ", +" . [ . * = = = = = = = = = = = = = = = = = = = = = = = = = = = = * . [ . ' r.s. ", +" . 3 t.u.= = = = = = = = = = = = = = = = = = = = = = = = = = = = v.w.S . ' x.. ", +" . * y.z.A.^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ B.C.D.' . E.F. ", +" . * = G.H.. . . . . . . . . . . . . . . . . . . . . . . . . . I.D.= ' . J.. ", +" . K.P P # $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ L.P P M.. . ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . N.O.P.O.P.Q.R.S.P.O.P.O.P.O.T.U.T.U.T.,.^ ,.^ ,.^ V.^ ,.= D W ,.^ W.X.. ", +" Y.W Z.`. +e..+e.++D @+$.Z.`. +e.#+e.$+D @+$.Z.`.%+e.#+e.$+e.&+$.Z.D *+=+. ", +" . -+D f e.m D `.= D e.D D f D m D `.= D e.D D f D m D `.= D e.D D f r.;+>+. ", +" ,+`.'+)+!+~+{+= ]+f .+`.Z.)+^+~+{+= /+f .+`.Z.)+^+~+{+= /+f (+`.Z.f q.q.T . ", +" . _+m f = D m ~+e.`.m f m f = D m ~+e.`.m f e.f = D m ~+e.`.m f m f :+<+i.T . ", +" . [+~+}+)+|+~+1+g 2+g 3+`.}+)+|+~+1+g 4+= 3+`.}+)+|+~+1+g 4+= 3+~+5+e.6+7+= 8+. ", +" ! 9+= ~+= T ' @ ' ,.' <.' <.' ' ' @ e.f = ~+= ~+= = = D = f = ~+= = 0+a+b+c+! ", +" . d+m e+f+e.g+. . . . . . . . . . . . h+i+i+j+k+l+l+c m+l+l+n+o+e.e+p+q+r+s+! ", +" . t+* @ @ P S [ L S S S S S S S S S S z ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ P z u+v+w+ ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" "}; diff --git a/app/xterm/icons/mini.xterm.svg b/app/xterm/icons/mini.xterm.svg new file mode 100644 index 000000000..856674480 --- /dev/null +++ b/app/xterm/icons/mini.xterm.svg @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg2383" + sodipodi:version="0.32" + inkscape:version="0.47 r22583" + sodipodi:docname="mini.xterm.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.1"> + <defs + id="defs2385"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective2391" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="9.8994949" + inkscape:cx="26.678508" + inkscape:cy="23.385677" + inkscape:current-layer="layer2" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + gridtolerance="2" + inkscape:window-width="1018" + inkscape:window-height="771" + inkscape:window-x="49" + inkscape:window-y="22" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2397" + visible="true" + enabled="true" + empspacing="2" /> + </sodipodi:namedview> + <metadata + id="metadata2388"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>XTerm mini-icon</dc:title> + <dc:date>August 21, 2012</dc:date> + <dc:creator> + <cc:Agent> + <dc:title>Thomas E. Dickey</dc:title> + </cc:Agent> + </dc:creator> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by/3.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="red" + inkscape:groupmode="layer" + style="display:inline" + sodipodi:insensitive="true"> + <text + xml:space="preserve" + style="font-size:59.79689407px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ff5e00;fill-opacity:1;stroke:#ff0000;stroke-width:1.19999993;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:DejaVu Serif;-inkscape-font-specification:DejaVu Serif" + x="2.2518597" + y="46.207344" + id="text2393" + transform="scale(1.0175137,0.9827878)" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2395" + x="2.2518597" + y="46.207344" + style="fill:#ff5e00;fill-opacity:1;stroke:#ff0000;stroke-width:1.19999993;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">X</tspan></text> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="blue"> + <text + xml:space="preserve" + style="font-size:52.76168442000000169px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#0000f1;fill-opacity:1;stroke:#00a2ff;stroke-width:0.6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;font-family:URW Bookman L;-inkscape-font-specification:URW Bookman L" + x="5.3948884" + y="45.424522" + id="text3153" + sodipodi:linespacing="125%" + transform="scale(1.1128485,0.8985949)"><tspan + sodipodi:role="line" + id="tspan3155" + x="5.3948884" + y="45.424522" + style="stroke-width:0.6;stroke-miterlimit:4;stroke-dasharray:none">T</tspan></text> + </g> +</svg> diff --git a/app/xterm/icons/mini.xterm.xpms b/app/xterm/icons/mini.xterm.xpms new file mode 100644 index 000000000..1420d3313 --- /dev/null +++ b/app/xterm/icons/mini.xterm.xpms @@ -0,0 +1,553 @@ +/* $XTermId: mini.xterm.xpms,v 1.4 2012/10/07 20:42:50 tom Exp $ */ +/* generated by ./make-xpms */ +/* vile:xpmmode */ +/* XPM */ +static const char * const mini_xterm_16x16_xpm[] = { +"16 16 84 1", +" c None", +". c #FF3200", +"+ c #FF3C00", +"@ c #FF3F00", +"# c #FF3B00", +"$ c #FF3800", +"% c #FF2000", +"& c #FF1100", +"* c #FF3D00", +"= c #FF3900", +"- c #FF2200", +"; c #FF0A00", +"> c #FF5D00", +", c #FF1300", +"' c #FF0500", +") c #D0412F", +"! c #DD6722", +"~ c #DA3E25", +"{ c #D84727", +"] c #D03C2F", +"^ c #0023F3", +"/ c #000BF2", +"( c #0E21E6", +"_ c #4433B4", +": c #352EC3", +"< c #0010F2", +"[ c #0004F1", +"} c #2C33CB", +"| c #3E2ABA", +"1 c #011EF3", +"2 c #0012F3", +"3 c #022DF5", +"4 c #F2140D", +"5 c #FF5E00", +"6 c #052AF0", +"7 c #0013F3", +"8 c #DD4822", +"9 c #002CF5", +"0 c #004FF7", +"a c #003AF6", +"b c #1529E1", +"c c #D83827", +"d c #0037F7", +"e c #004CF8", +"f c #FF5900", +"g c #182EDE", +"h c #FF2100", +"i c #152CE1", +"j c #DD3B22", +"k c #FF2300", +"l c #FF2A00", +"m c #0C28E9", +"n c #E1571E", +"o c #FF2E00", +"p c #012AF4", +"q c #E1661E", +"r c #FF3600", +"s c #FF3500", +"t c #0028F4", +"u c #0011F2", +"v c #D64E29", +"w c #FF5C00", +"x c #FF2B00", +"y c #FF1D00", +"z c #FF2F00", +"A c #000EF2", +"B c #0003F1", +"C c #8C4072", +"D c #FF4C00", +"E c #FF2D00", +"F c #0360F6", +"G c #0031F6", +"H c #0016F3", +"I c #0827EE", +"J c #3D47BE", +"K c #E5631A", +"L c #FF4300", +"M c #FF3E00", +"N c #FF2400", +"O c #FF0700", +"P c #FF3400", +"Q c #FF5700", +"R c #FF5600", +"S c #FF3700", +" .+@#$% &$$*=- ", +" ;>#, '+ ", +" )!~ {] ", +" ^/(_:<[}|1/2 ", +" 2345=678 97 ", +" 0a =>b7c de ", +" fg7 ", +" hg7 ", +" $i7j ", +" klm7no ", +" # p7qr ", +" sk tuvwx ", +" yz ABCfDE ", +" = FGHHIJKr ", +" $LM$N O$PQRS- ", +" "}; +/* XPM */ +static const char * const mini_xterm_32x32_xpm[] = { +"32 32 143 2", +" c None", +". c #FF0000", +"+ c #FF1900", +"@ c #FF1F00", +"# c #FF0B00", +"$ c #FF1D00", +"% c #FF4A00", +"& c #FF5100", +"* c #FF5B00", +"= c #FF5E00", +"- c #FF5300", +"; c #FF3600", +"> c #FF0C00", +", c #FF5A00", +"' c #FF5C00", +") c #FF0A00", +"! c #FF0D00", +"~ c #FF2E00", +"{ c #FF5800", +"] c #FF2700", +"^ c #FF0500", +"/ c #0073FB", +"( c #0041F7", +"_ c #0074FB", +": c #0059F9", +"< c #0000F1", +"[ c #0505EC", +"} c #3A44BE", +"| c #615A9A", +"1 c #784285", +"2 c #3466C8", +"3 c #004DF8", +"4 c #0053F8", +"5 c #006CF9", +"6 c #3C44BD", +"7 c #2729CF", +"8 c #002CF5", +"9 c #2D2EC9", +"0 c #8D6E71", +"a c #E96416", +"b c #FF4400", +"c c #FF1800", +"d c #0019F3", +"e c #FF1400", +"f c #D66729", +"g c #73498A", +"h c #091FEB", +"i c #002CF4", +"j c #006FFC", +"k c #0002F1", +"l c #0059F8", +"m c #AD3252", +"n c #FF1700", +"o c #FF2B00", +"p c #B84A47", +"q c #0026F4", +"r c #FF0700", +"s c #FF1600", +"t c #003FF6", +"u c #0003F1", +"v c #006FFA", +"w c #0058F9", +"x c #0055FA", +"y c #FF3D00", +"z c #C3363C", +"A c #FF0400", +"B c #FF3F00", +"C c #FF1000", +"D c #003DF6", +"E c #005AF8", +"F c #002AF4", +"G c #FF0100", +"H c #FF5600", +"I c #C3643C", +"J c #A73958", +"K c #FF3100", +"L c #0020F3", +"M c #002DF5", +"N c #0089FD", +"O c #0022F4", +"P c #0085FD", +"Q c #C36E3C", +"R c #BC3943", +"S c #FF1300", +"T c #007AFC", +"U c #FF2200", +"V c #C3693C", +"W c #FF4600", +"X c #C3563C", +"Y c #FF1100", +"Z c #BD6C42", +"` c #C12F3E", +" . c #B13B4E", +".. c #C32F3C", +"+. c #C0283F", +"@. c #C34D3C", +"#. c #FF2400", +"$. c #BC3E43", +"%. c #C36D3C", +"&. c #FF3400", +"*. c #FF0800", +"=. c #C36B3C", +"-. c #FF4E00", +";. c #C3523C", +">. c #FF3E00", +",. c #FF1C00", +"'. c #FF0200", +"). c #BF3240", +"!. c #FF1A00", +"~. c #B4624B", +"{. c #FF5900", +"]. c #FF1200", +"^. c #B82E47", +"/. c #FF4800", +"(. c #FF3A00", +"_. c #001EF4", +":. c #001DF4", +"<. c #7D4882", +"[. c #FF4F00", +"}. c #0076FB", +"|. c #000CF2", +"1. c #0276F9", +"2. c #FF3800", +"3. c #FF5D00", +"4. c #004CF7", +"5. c #004CF8", +"6. c #FB0104", +"7. c #FF5500", +"8. c #B53E4A", +"9. c #0055F8", +"0. c #0038F6", +"a. c #0028F4", +"b. c #0039F6", +"c. c #0254F6", +"d. c #C66E39", +"e. c #FF3500", +"f. c #248ADB", +"g. c #785587", +"h. c #DE3121", +"i. c #FF1E00", +"j. c #FF2800", +"k. c #FF5700", +"l. c #FF1B00", +" ", +" ", +" . + @ @ @ @ @ @ @ @ @ # $ . @ @ @ @ @ @ @ @ . ", +" . % & & * = = = - & & ; @ > & & & , ' & & & ) ", +" . . . . ! = = = ~ . . . . . . . { ] ^ . . . ", +" / ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( _ ", +" : < < < [ } | 1 2 3 < < < < 4 5 6 7 < < < < : ", +" 8 < < 9 0 a = b c d < < d e f g h < < i ", +" j k < l m n = = = o p q < < q r { ] s t < u v ", +" w < x . y = = ' z q < < q A % B C D < E ", +" 8 F G H = = I q < < q J K & ! L M ", +" N O P r = = Q q < < q R ' S T O N ", +" . U = Q q < < q V ] s ", +" . W Q q < < q X Y ", +" G Z q < < q ` ", +" .q < < q .. ", +" +.q < < q @.#. ", +" $.q < < q %.+ &. ", +" *.=.q < < q Q - Y ", +" A -.;.q < < q Q = >.,. ", +" '.; -.).q < < q Q = = U ~ ", +" !., Y q < < q ~.= = {.]. ", +" *., U q < < q ^., = = /.s ", +" A -.(.]. _.< < :.<.C = = = ~ ] ", +" '.; [.! }.|.< < |.1.. 2.= = 3.s ", +" !., Y 4.< < < < 5. 6.7.= = & ]. ", +" *., U 8.9.0.a.< < < < < < a.b.c.d.= = (.@ ", +" A -.e.# f. g.h.= = = i.j. ", +" . @ @ ,.y , Y ,.@ @ G '.@ ,.].* = = k.l.@ @ . ", +" . & & & & & & & & & ) ,.& & & & & & & & & & ) ", +" . . . . . . . . . . . . . . . . . . . . . . . ", +" "}; +/* XPM */ +static const char * const mini_xterm_48x48_xpm[] = { +"48 48 213 2", +" c None", +". c #FF0000", +"+ c #FF5300", +"@ c #FF5E00", +"# c #FF4800", +"$ c #FF4200", +"% c #FF4000", +"& c #FF4B00", +"* c #FF5200", +"= c #FF5400", +"- c #FF3500", +"; c #FF5100", +"> c #FF5C00", +", c #FF3000", +"' c #FF4500", +") c #FF2000", +"! c #FF0300", +"~ c #FF1600", +"{ c #FF5D00", +"] c #FF3800", +"^ c #FF0200", +"/ c #FF0900", +"( c #FF2B00", +"_ c #FF3300", +": c #FF1A00", +"< c #FF1300", +"[ c #FF1200", +"} c #FF5700", +"| c #4577BA", +"1 c #874E78", +"2 c #887577", +"3 c #887E77", +"4 c #887977", +"5 c #875078", +"6 c #566CA9", +"7 c #5E70A1", +"8 c #884E77", +"9 c #887677", +"0 c #7C5B83", +"a c #795686", +"b c #008DFE", +"c c #0012F3", +"d c #000BF2", +"e c #008FFE", +"f c #006CFA", +"g c #0000F1", +"h c #0001F1", +"i c #0020F4", +"j c #0040F6", +"k c #0959F0", +"l c #1158E8", +"m c #1159E8", +"n c #0058F9", +"o c #001DF4", +"p c #0023F4", +"q c #005BFA", +"r c #0060FA", +"s c #0E58EB", +"t c #0651F3", +"u c #0033F5", +"v c #000EF2", +"w c #006EFA", +"x c #0092FF", +"y c #001FF4", +"z c #000FF2", +"A c #0C51EC", +"B c #326AC9", +"C c #7A6583", +"D c #CA6234", +"E c #FC5F03", +"F c #FF5800", +"G c #FF0800", +"H c #F4060B", +"I c #007CFB", +"J c #0013F3", +"K c #007EFB", +"L c #FF1800", +"M c #F3590C", +"N c #AB6152", +"O c #4F4EAD", +"P c #175CE4", +"Q c #0036F5", +"R c #0022F4", +"S c #0095FD", +"T c #0084FD", +"U c #0004F1", +"V c #0051F8", +"W c #345AC7", +"X c #E61519", +"Y c #FF5900", +"Z c #FF4600", +"` c #FF0100", +" . c #446EB9", +".. c #0034F6", +"+. c #0032F5", +"@. c #FF2200", +"#. c #006FFA", +"$. c #002DF5", +"%. c #0086FD", +"&. c #0046F7", +"*. c #0015F3", +"=. c #0076FC", +"-. c #FF0400", +";. c #FF2300", +">. c #FF2900", +",. c #9E3E61", +"'. c #0039F6", +"). c #FF2A00", +"!. c #FF4300", +"~. c #0071FB", +"{. c #005EF9", +"]. c #004DF7", +"^. c #008CFE", +"/. c #0008F2", +"(. c #001DF3", +"_. c #007DFB", +":. c #FF4100", +"<. c #FF5B00", +"[. c #A3425C", +"}. c #994C66", +"|. c #FF1100", +"1. c #0072FB", +"2. c #000AF2", +"3. c #006EFC", +"4. c #0017F3", +"5. c #007FFB", +"6. c #FF0600", +"7. c #FF5600", +"8. c #A56A5A", +"9. c #A53B5A", +"0. c #FF4F00", +"a. c #0076FB", +"b. c #0076FA", +"c. c #0093FF", +"d. c #007DFC", +"e. c #FF1C00", +"f. c #A5765A", +"g. c #A55D5A", +"h. c #006FFB", +"i. c #002CF5", +"j. c #008AFD", +"k. c #006BF9", +"l. c #FF3A00", +"m. c #FF5000", +"n. c #007BFB", +"o. c #008BFD", +"p. c #A5755A", +"q. c #9A5565", +"r. c #A43A5B", +"s. c #FF4D00", +"t. c #80507F", +"u. c #FF0F00", +"v. c #7A5485", +"w. c #A5555A", +"x. c #FF0A00", +"y. c #A53D5A", +"z. c #A4515B", +"A. c #A5685A", +"B. c #A5735A", +"C. c #FF0700", +"D. c #FF2E00", +"E. c #FF1500", +"F. c #A3705C", +"G. c #FF0500", +"H. c #9A4965", +"I. c #FF0E00", +"J. c #FF3B00", +"K. c #FF2D00", +"L. c #A13C5E", +"M. c #FF4C00", +"N. c #62649D", +"O. c #FF0B00", +"P. c #FF4700", +"Q. c #FF1D00", +"R. c #A56D5A", +"S. c #FF2C00", +"T. c #A4465B", +"U. c #FF1400", +"V. c #A03E61", +"W. c #FF3100", +"X. c #FF1B00", +"Y. c #FF1000", +"Z. c #0029F5", +"`. c #0027F4", +" + c #4571BA", +".+ c #FF3900", +"++ c #FF3200", +"@+ c #008EFD", +"#+ c #0019F3", +"$+ c #0090FD", +"%+ c #FF0D00", +"&+ c #FF1E00", +"*+ c #FF4E00", +"=+ c #0088FC", +"-+ c #0087FC", +";+ c #FF1900", +">+ c #0036F6", +",+ c #FF2100", +"'+ c #0073FB", +")+ c #0062FA", +"!+ c #001AF3", +"~+ c #2463D8", +"{+ c #3E58BE", +"]+ c #2A7FD3", +"^+ c #807B7F", +"/+ c #008EFB", +"(+ c #006AFA", +"_+ c #004CF8", +":+ c #717B8D", +"<+ c #EE0B11", +"[+ c #F73E08", +"}+ c #FF1F00", +"|+ c #FF5500", +" ", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . # @ @ @ @ @ @ @ @ @ @ @ @ $ . ", +" . % & & & * @ @ @ @ @ = & & & & & . . - & & & & & ; @ > & & & & , . ", +" . . . . . . * @ @ @ @ ; . . . . . . . . . . . . . ' @ ) . . . . . . ", +" ! ~ { @ @ @ @ ] ^ / ( @ $ . ", +" ^ _ @ @ @ @ @ : ! < [ > } ^ . ", +" | 1 2 3 3 3 3 4 5 6 7 8 9 3 0 a ", +" b c d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d c e ", +" f g g g g g g h i j k l m n o g g g g g g p q r s t u v g g g g g g g w ", +" x y g g g g z A B C D E F G H I c g g g g J K L / M N O P Q h g g g g R S ", +" T g g g U V W X Y @ @ @ @ Z ` ...g g g g +. ` ' @ @.. #.$.g g g g %. ", +" &.g g *.=. -.;.@ @ @ @ @ >.,.'.g g g g '. / ).@ !.. ~.{.U g g ]. ", +" ^./.g (._. ` :.@ @ @ @ <.[.'.g g g g '.}.|.<.} ^ . 1.2.g d e ", +" 3.g 4.5. 6.7.@ @ @ @ 8.'.g g g g '.9.0.@ [ . a./.g b. ", +" c.R /.d. -.e.@ @ @ @ f.'.g g g g '.g.@ - . h.h i. ", +" j.k.%. ^ l.@ @ @ f.'.g g g g '.f.m.` n.f o. ", +" ! * @ @ f.'.g g g g '.p.G . ", +" ! ~ { @ f.'.g g g g '.q.. ", +" ^ _ @ f.'.g g g g '.r. ", +" ^ s.f.'.g g g g '.t. ", +" ^ u.p.'.g g g g '.v. ", +" ^ w.'.g g g g '.r. ", +" x.y.'.g g g g '.z.^ ", +" ` A.'.g g g g '.B.x.. ", +" C.D.f.'.g g g g '.f.# ` ", +" < E.{ F.'.g g g g '.f.@ ( ^ ", +" : G.; @ H.'.g g g g '.f.@ <.I.^ ", +" -.J.@ K.L.'.g g g g '.f.@ @ s.` ", +" I.) @ M.. N.'.g g g g '.f.@ @ @ _ ^ ", +" L O.F <.6.. '.g g g g '.f.@ @ @ { E.! ", +" ^ P.@ Q.. '.g g g g '.R.@ @ @ @ * ! ", +" G S.@ % . '.g g g g '.T.{ @ @ @ @ l.^ ", +" < U.> 7.^ ..g g g g u V.W.@ @ @ @ @ e.! ", +" X.-.m.@ Y.. Z.g g g g `. +` M.@ @ @ @ 7.6. ", +" -..+@ ++. @+#+g g g g #+$+^ %+<.@ @ @ @ :.` ", +" I.&+@ *+. =+h g g g g h -+ ! >.@ @ @ @ @ ;.^ ", +" ;+x.} > C.. >+g g g g g g >+ ` Z @ @ @ @ Y / . ", +" ` ' @ ,+. %.1.'+)+!+g g g g g g g g #+)+~+{+]+^+@ @ @ P.` ", +" / ).@ !.. /+(+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+(+:+@ @ @ @ ).^ ", +" I.[ > F . . <+[+@ @ @ @ <.I.` ", +" . . . . . . 0.@ }+. . . . . . . . . . . . . |+@ @ @ @ s.. . . . . . ", +" O.@ @ @ @ @ @ @ @ @ @ @ @ @ ^ ! $ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ $ . ", +" . & & & & & & & & & & & & & . . , & & & & & & & & & & & & & & & , . ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" "}; +static const XPM_DATA mini_xterm_xpms[] = { + { "mini.xterm_16x16", mini_xterm_16x16_xpm }, + { "mini.xterm_32x32", mini_xterm_32x32_xpm }, + { "mini.xterm_48x48", mini_xterm_48x48_xpm } +}; diff --git a/app/xterm/icons/mini.xterm_16x16.png b/app/xterm/icons/mini.xterm_16x16.png Binary files differnew file mode 100644 index 000000000..9c3f09867 --- /dev/null +++ b/app/xterm/icons/mini.xterm_16x16.png diff --git a/app/xterm/icons/mini.xterm_16x16.xpm b/app/xterm/icons/mini.xterm_16x16.xpm new file mode 100644 index 000000000..5e2926c05 --- /dev/null +++ b/app/xterm/icons/mini.xterm_16x16.xpm @@ -0,0 +1,103 @@ +/* XPM */ +static char * mini_xterm_16x16_xpm[] = { +"16 16 84 1", +" c None", +". c #FF3200", +"+ c #FF3C00", +"@ c #FF3F00", +"# c #FF3B00", +"$ c #FF3800", +"% c #FF2000", +"& c #FF1100", +"* c #FF3D00", +"= c #FF3900", +"- c #FF2200", +"; c #FF0A00", +"> c #FF5D00", +", c #FF1300", +"' c #FF0500", +") c #D0412F", +"! c #DD6722", +"~ c #DA3E25", +"{ c #D84727", +"] c #D03C2F", +"^ c #0023F3", +"/ c #000BF2", +"( c #0E21E6", +"_ c #4433B4", +": c #352EC3", +"< c #0010F2", +"[ c #0004F1", +"} c #2C33CB", +"| c #3E2ABA", +"1 c #011EF3", +"2 c #0012F3", +"3 c #022DF5", +"4 c #F2140D", +"5 c #FF5E00", +"6 c #052AF0", +"7 c #0013F3", +"8 c #DD4822", +"9 c #002CF5", +"0 c #004FF7", +"a c #003AF6", +"b c #1529E1", +"c c #D83827", +"d c #0037F7", +"e c #004CF8", +"f c #FF5900", +"g c #182EDE", +"h c #FF2100", +"i c #152CE1", +"j c #DD3B22", +"k c #FF2300", +"l c #FF2A00", +"m c #0C28E9", +"n c #E1571E", +"o c #FF2E00", +"p c #012AF4", +"q c #E1661E", +"r c #FF3600", +"s c #FF3500", +"t c #0028F4", +"u c #0011F2", +"v c #D64E29", +"w c #FF5C00", +"x c #FF2B00", +"y c #FF1D00", +"z c #FF2F00", +"A c #000EF2", +"B c #0003F1", +"C c #8C4072", +"D c #FF4C00", +"E c #FF2D00", +"F c #0360F6", +"G c #0031F6", +"H c #0016F3", +"I c #0827EE", +"J c #3D47BE", +"K c #E5631A", +"L c #FF4300", +"M c #FF3E00", +"N c #FF2400", +"O c #FF0700", +"P c #FF3400", +"Q c #FF5700", +"R c #FF5600", +"S c #FF3700", +" .+@#$% &$$*=- ", +" ;>#, '+ ", +" )!~ {] ", +" ^/(_:<[}|1/2 ", +" 2345=678 97 ", +" 0a =>b7c de ", +" fg7 ", +" hg7 ", +" $i7j ", +" klm7no ", +" # p7qr ", +" sk tuvwx ", +" yz ABCfDE ", +" = FGHHIJKr ", +" $LM$N O$PQRS- ", +" "}; diff --git a/app/xterm/icons/mini.xterm_256x256.png b/app/xterm/icons/mini.xterm_256x256.png Binary files differnew file mode 100644 index 000000000..480a1b334 --- /dev/null +++ b/app/xterm/icons/mini.xterm_256x256.png diff --git a/app/xterm/icons/mini.xterm_32x32.png b/app/xterm/icons/mini.xterm_32x32.png Binary files differnew file mode 100644 index 000000000..8fbdb1a13 --- /dev/null +++ b/app/xterm/icons/mini.xterm_32x32.png diff --git a/app/xterm/icons/mini.xterm_32x32.xpm b/app/xterm/icons/mini.xterm_32x32.xpm new file mode 100644 index 000000000..1c19ac01a --- /dev/null +++ b/app/xterm/icons/mini.xterm_32x32.xpm @@ -0,0 +1,178 @@ +/* XPM */ +static char * mini_xterm_32x32_xpm[] = { +"32 32 143 2", +" c None", +". c #FF0000", +"+ c #FF1900", +"@ c #FF1F00", +"# c #FF0B00", +"$ c #FF1D00", +"% c #FF4A00", +"& c #FF5100", +"* c #FF5B00", +"= c #FF5E00", +"- c #FF5300", +"; c #FF3600", +"> c #FF0C00", +", c #FF5A00", +"' c #FF5C00", +") c #FF0A00", +"! c #FF0D00", +"~ c #FF2E00", +"{ c #FF5800", +"] c #FF2700", +"^ c #FF0500", +"/ c #0073FB", +"( c #0041F7", +"_ c #0074FB", +": c #0059F9", +"< c #0000F1", +"[ c #0505EC", +"} c #3A44BE", +"| c #615A9A", +"1 c #784285", +"2 c #3466C8", +"3 c #004DF8", +"4 c #0053F8", +"5 c #006CF9", +"6 c #3C44BD", +"7 c #2729CF", +"8 c #002CF5", +"9 c #2D2EC9", +"0 c #8D6E71", +"a c #E96416", +"b c #FF4400", +"c c #FF1800", +"d c #0019F3", +"e c #FF1400", +"f c #D66729", +"g c #73498A", +"h c #091FEB", +"i c #002CF4", +"j c #006FFC", +"k c #0002F1", +"l c #0059F8", +"m c #AD3252", +"n c #FF1700", +"o c #FF2B00", +"p c #B84A47", +"q c #0026F4", +"r c #FF0700", +"s c #FF1600", +"t c #003FF6", +"u c #0003F1", +"v c #006FFA", +"w c #0058F9", +"x c #0055FA", +"y c #FF3D00", +"z c #C3363C", +"A c #FF0400", +"B c #FF3F00", +"C c #FF1000", +"D c #003DF6", +"E c #005AF8", +"F c #002AF4", +"G c #FF0100", +"H c #FF5600", +"I c #C3643C", +"J c #A73958", +"K c #FF3100", +"L c #0020F3", +"M c #002DF5", +"N c #0089FD", +"O c #0022F4", +"P c #0085FD", +"Q c #C36E3C", +"R c #BC3943", +"S c #FF1300", +"T c #007AFC", +"U c #FF2200", +"V c #C3693C", +"W c #FF4600", +"X c #C3563C", +"Y c #FF1100", +"Z c #BD6C42", +"` c #C12F3E", +" . c #B13B4E", +".. c #C32F3C", +"+. c #C0283F", +"@. c #C34D3C", +"#. c #FF2400", +"$. c #BC3E43", +"%. c #C36D3C", +"&. c #FF3400", +"*. c #FF0800", +"=. c #C36B3C", +"-. c #FF4E00", +";. c #C3523C", +">. c #FF3E00", +",. c #FF1C00", +"'. c #FF0200", +"). c #BF3240", +"!. c #FF1A00", +"~. c #B4624B", +"{. c #FF5900", +"]. c #FF1200", +"^. c #B82E47", +"/. c #FF4800", +"(. c #FF3A00", +"_. c #001EF4", +":. c #001DF4", +"<. c #7D4882", +"[. c #FF4F00", +"}. c #0076FB", +"|. c #000CF2", +"1. c #0276F9", +"2. c #FF3800", +"3. c #FF5D00", +"4. c #004CF7", +"5. c #004CF8", +"6. c #FB0104", +"7. c #FF5500", +"8. c #B53E4A", +"9. c #0055F8", +"0. c #0038F6", +"a. c #0028F4", +"b. c #0039F6", +"c. c #0254F6", +"d. c #C66E39", +"e. c #FF3500", +"f. c #248ADB", +"g. c #785587", +"h. c #DE3121", +"i. c #FF1E00", +"j. c #FF2800", +"k. c #FF5700", +"l. c #FF1B00", +" ", +" ", +" . + @ @ @ @ @ @ @ @ @ # $ . @ @ @ @ @ @ @ @ . ", +" . % & & * = = = - & & ; @ > & & & , ' & & & ) ", +" . . . . ! = = = ~ . . . . . . . { ] ^ . . . ", +" / ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( _ ", +" : < < < [ } | 1 2 3 < < < < 4 5 6 7 < < < < : ", +" 8 < < 9 0 a = b c d < < d e f g h < < i ", +" j k < l m n = = = o p q < < q r { ] s t < u v ", +" w < x . y = = ' z q < < q A % B C D < E ", +" 8 F G H = = I q < < q J K & ! L M ", +" N O P r = = Q q < < q R ' S T O N ", +" . U = Q q < < q V ] s ", +" . W Q q < < q X Y ", +" G Z q < < q ` ", +" .q < < q .. ", +" +.q < < q @.#. ", +" $.q < < q %.+ &. ", +" *.=.q < < q Q - Y ", +" A -.;.q < < q Q = >.,. ", +" '.; -.).q < < q Q = = U ~ ", +" !., Y q < < q ~.= = {.]. ", +" *., U q < < q ^., = = /.s ", +" A -.(.]. _.< < :.<.C = = = ~ ] ", +" '.; [.! }.|.< < |.1.. 2.= = 3.s ", +" !., Y 4.< < < < 5. 6.7.= = & ]. ", +" *., U 8.9.0.a.< < < < < < a.b.c.d.= = (.@ ", +" A -.e.# f. g.h.= = = i.j. ", +" . @ @ ,.y , Y ,.@ @ G '.@ ,.].* = = k.l.@ @ . ", +" . & & & & & & & & & ) ,.& & & & & & & & & & ) ", +" . . . . . . . . . . . . . . . . . . . . . . . ", +" "}; diff --git a/app/xterm/icons/mini.xterm_48x48.png b/app/xterm/icons/mini.xterm_48x48.png Binary files differnew file mode 100644 index 000000000..ed40e7cf5 --- /dev/null +++ b/app/xterm/icons/mini.xterm_48x48.png diff --git a/app/xterm/icons/mini.xterm_48x48.xpm b/app/xterm/icons/mini.xterm_48x48.xpm new file mode 100644 index 000000000..c4738f8ed --- /dev/null +++ b/app/xterm/icons/mini.xterm_48x48.xpm @@ -0,0 +1,264 @@ +/* XPM */ +static char * mini_xterm_48x48_xpm[] = { +"48 48 213 2", +" c None", +". c #FF0000", +"+ c #FF5300", +"@ c #FF5E00", +"# c #FF4800", +"$ c #FF4200", +"% c #FF4000", +"& c #FF4B00", +"* c #FF5200", +"= c #FF5400", +"- c #FF3500", +"; c #FF5100", +"> c #FF5C00", +", c #FF3000", +"' c #FF4500", +") c #FF2000", +"! c #FF0300", +"~ c #FF1600", +"{ c #FF5D00", +"] c #FF3800", +"^ c #FF0200", +"/ c #FF0900", +"( c #FF2B00", +"_ c #FF3300", +": c #FF1A00", +"< c #FF1300", +"[ c #FF1200", +"} c #FF5700", +"| c #4577BA", +"1 c #874E78", +"2 c #887577", +"3 c #887E77", +"4 c #887977", +"5 c #875078", +"6 c #566CA9", +"7 c #5E70A1", +"8 c #884E77", +"9 c #887677", +"0 c #7C5B83", +"a c #795686", +"b c #008DFE", +"c c #0012F3", +"d c #000BF2", +"e c #008FFE", +"f c #006CFA", +"g c #0000F1", +"h c #0001F1", +"i c #0020F4", +"j c #0040F6", +"k c #0959F0", +"l c #1158E8", +"m c #1159E8", +"n c #0058F9", +"o c #001DF4", +"p c #0023F4", +"q c #005BFA", +"r c #0060FA", +"s c #0E58EB", +"t c #0651F3", +"u c #0033F5", +"v c #000EF2", +"w c #006EFA", +"x c #0092FF", +"y c #001FF4", +"z c #000FF2", +"A c #0C51EC", +"B c #326AC9", +"C c #7A6583", +"D c #CA6234", +"E c #FC5F03", +"F c #FF5800", +"G c #FF0800", +"H c #F4060B", +"I c #007CFB", +"J c #0013F3", +"K c #007EFB", +"L c #FF1800", +"M c #F3590C", +"N c #AB6152", +"O c #4F4EAD", +"P c #175CE4", +"Q c #0036F5", +"R c #0022F4", +"S c #0095FD", +"T c #0084FD", +"U c #0004F1", +"V c #0051F8", +"W c #345AC7", +"X c #E61519", +"Y c #FF5900", +"Z c #FF4600", +"` c #FF0100", +" . c #446EB9", +".. c #0034F6", +"+. c #0032F5", +"@. c #FF2200", +"#. c #006FFA", +"$. c #002DF5", +"%. c #0086FD", +"&. c #0046F7", +"*. c #0015F3", +"=. c #0076FC", +"-. c #FF0400", +";. c #FF2300", +">. c #FF2900", +",. c #9E3E61", +"'. c #0039F6", +"). c #FF2A00", +"!. c #FF4300", +"~. c #0071FB", +"{. c #005EF9", +"]. c #004DF7", +"^. c #008CFE", +"/. c #0008F2", +"(. c #001DF3", +"_. c #007DFB", +":. c #FF4100", +"<. c #FF5B00", +"[. c #A3425C", +"}. c #994C66", +"|. c #FF1100", +"1. c #0072FB", +"2. c #000AF2", +"3. c #006EFC", +"4. c #0017F3", +"5. c #007FFB", +"6. c #FF0600", +"7. c #FF5600", +"8. c #A56A5A", +"9. c #A53B5A", +"0. c #FF4F00", +"a. c #0076FB", +"b. c #0076FA", +"c. c #0093FF", +"d. c #007DFC", +"e. c #FF1C00", +"f. c #A5765A", +"g. c #A55D5A", +"h. c #006FFB", +"i. c #002CF5", +"j. c #008AFD", +"k. c #006BF9", +"l. c #FF3A00", +"m. c #FF5000", +"n. c #007BFB", +"o. c #008BFD", +"p. c #A5755A", +"q. c #9A5565", +"r. c #A43A5B", +"s. c #FF4D00", +"t. c #80507F", +"u. c #FF0F00", +"v. c #7A5485", +"w. c #A5555A", +"x. c #FF0A00", +"y. c #A53D5A", +"z. c #A4515B", +"A. c #A5685A", +"B. c #A5735A", +"C. c #FF0700", +"D. c #FF2E00", +"E. c #FF1500", +"F. c #A3705C", +"G. c #FF0500", +"H. c #9A4965", +"I. c #FF0E00", +"J. c #FF3B00", +"K. c #FF2D00", +"L. c #A13C5E", +"M. c #FF4C00", +"N. c #62649D", +"O. c #FF0B00", +"P. c #FF4700", +"Q. c #FF1D00", +"R. c #A56D5A", +"S. c #FF2C00", +"T. c #A4465B", +"U. c #FF1400", +"V. c #A03E61", +"W. c #FF3100", +"X. c #FF1B00", +"Y. c #FF1000", +"Z. c #0029F5", +"`. c #0027F4", +" + c #4571BA", +".+ c #FF3900", +"++ c #FF3200", +"@+ c #008EFD", +"#+ c #0019F3", +"$+ c #0090FD", +"%+ c #FF0D00", +"&+ c #FF1E00", +"*+ c #FF4E00", +"=+ c #0088FC", +"-+ c #0087FC", +";+ c #FF1900", +">+ c #0036F6", +",+ c #FF2100", +"'+ c #0073FB", +")+ c #0062FA", +"!+ c #001AF3", +"~+ c #2463D8", +"{+ c #3E58BE", +"]+ c #2A7FD3", +"^+ c #807B7F", +"/+ c #008EFB", +"(+ c #006AFA", +"_+ c #004CF8", +":+ c #717B8D", +"<+ c #EE0B11", +"[+ c #F73E08", +"}+ c #FF1F00", +"|+ c #FF5500", +" ", +" ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" . + @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ . . # @ @ @ @ @ @ @ @ @ @ @ @ $ . ", +" . % & & & * @ @ @ @ @ = & & & & & . . - & & & & & ; @ > & & & & , . ", +" . . . . . . * @ @ @ @ ; . . . . . . . . . . . . . ' @ ) . . . . . . ", +" ! ~ { @ @ @ @ ] ^ / ( @ $ . ", +" ^ _ @ @ @ @ @ : ! < [ > } ^ . ", +" | 1 2 3 3 3 3 4 5 6 7 8 9 3 0 a ", +" b c d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d c e ", +" f g g g g g g h i j k l m n o g g g g g g p q r s t u v g g g g g g g w ", +" x y g g g g z A B C D E F G H I c g g g g J K L / M N O P Q h g g g g R S ", +" T g g g U V W X Y @ @ @ @ Z ` ...g g g g +. ` ' @ @.. #.$.g g g g %. ", +" &.g g *.=. -.;.@ @ @ @ @ >.,.'.g g g g '. / ).@ !.. ~.{.U g g ]. ", +" ^./.g (._. ` :.@ @ @ @ <.[.'.g g g g '.}.|.<.} ^ . 1.2.g d e ", +" 3.g 4.5. 6.7.@ @ @ @ 8.'.g g g g '.9.0.@ [ . a./.g b. ", +" c.R /.d. -.e.@ @ @ @ f.'.g g g g '.g.@ - . h.h i. ", +" j.k.%. ^ l.@ @ @ f.'.g g g g '.f.m.` n.f o. ", +" ! * @ @ f.'.g g g g '.p.G . ", +" ! ~ { @ f.'.g g g g '.q.. ", +" ^ _ @ f.'.g g g g '.r. ", +" ^ s.f.'.g g g g '.t. ", +" ^ u.p.'.g g g g '.v. ", +" ^ w.'.g g g g '.r. ", +" x.y.'.g g g g '.z.^ ", +" ` A.'.g g g g '.B.x.. ", +" C.D.f.'.g g g g '.f.# ` ", +" < E.{ F.'.g g g g '.f.@ ( ^ ", +" : G.; @ H.'.g g g g '.f.@ <.I.^ ", +" -.J.@ K.L.'.g g g g '.f.@ @ s.` ", +" I.) @ M.. N.'.g g g g '.f.@ @ @ _ ^ ", +" L O.F <.6.. '.g g g g '.f.@ @ @ { E.! ", +" ^ P.@ Q.. '.g g g g '.R.@ @ @ @ * ! ", +" G S.@ % . '.g g g g '.T.{ @ @ @ @ l.^ ", +" < U.> 7.^ ..g g g g u V.W.@ @ @ @ @ e.! ", +" X.-.m.@ Y.. Z.g g g g `. +` M.@ @ @ @ 7.6. ", +" -..+@ ++. @+#+g g g g #+$+^ %+<.@ @ @ @ :.` ", +" I.&+@ *+. =+h g g g g h -+ ! >.@ @ @ @ @ ;.^ ", +" ;+x.} > C.. >+g g g g g g >+ ` Z @ @ @ @ Y / . ", +" ` ' @ ,+. %.1.'+)+!+g g g g g g g g #+)+~+{+]+^+@ @ @ P.` ", +" / ).@ !.. /+(+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+(+:+@ @ @ @ ).^ ", +" I.[ > F . . <+[+@ @ @ @ <.I.` ", +" . . . . . . 0.@ }+. . . . . . . . . . . . . |+@ @ @ @ s.. . . . . . ", +" O.@ @ @ @ @ @ @ @ @ @ @ @ @ ^ ! $ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ $ . ", +" . & & & & & & & & & & & & & . . , & & & & & & & & & & & & & & & , . ", +" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +" ", +" "}; diff --git a/app/xterm/icons/terminal_48x48.svg b/app/xterm/icons/terminal_48x48.svg new file mode 100644 index 000000000..8f11627c3 --- /dev/null +++ b/app/xterm/icons/terminal_48x48.svg @@ -0,0 +1,643 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg2985" + version="1.1" + inkscape:version="0.46" + sodipodi:docname="terminal_48x48.svg" + sodipodi:version="0.32" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + enable-background="new"> + <title + id="title2983">terminal</title> + <defs + id="defs2987"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective11" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="9.8994949" + inkscape:cx="33.357908" + inkscape:cy="21.429765" + inkscape:current-layer="layer2" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="961" + inkscape:window-height="767" + inkscape:window-x="67" + inkscape:window-y="34" + inkscape:window-maximized="0" + objecttolerance="2"> + <inkscape:grid + type="xygrid" + id="grid2988" + empspacing="5" + visible="false" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata2990"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>terminal</dc:title> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> + <dc:creator> + <cc:Agent> + <dc:title>Thomas E. Dickey</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>MIT-X11</dc:title> + </cc:Agent> + </dc:rights> + <dc:description>Translated from the X11 bitmaps/terminal file through stages to svg.</dc:description> + <dc:date>June 14, 2012</dc:date> + <dc:source>http://invisible-island.net/xterm/</dc:source> + <dc:identifier>http://invisible-island.net/xterm/terminal_48x48</dc:identifier> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by/3.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer" + style="opacity:0.27927928;display:none"> + <image + y="0" + x="0" + id="image3012" + xlink:href="data:image/PNG;base64, iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAABIAAAASABGyWs+AAAACX ZwQWcAAAAwAAAAMADO7oxXAAABK0lEQVRo3u2awQ6EIAxEt8b//2X2gAcTgzMFVArzTmRDWPpocNfW UkoppZ8osDOTzMzMvt5qH7wJAQRlNTNl2fmwmbioDLr/mpEpKcifM8fvFhQrp+53y2jaZlVzVVA3xy FobkqaJAggQQAJAkgQQIIAEgSQIIAEASQIIEEACQJIEECCABIEkCCABAEkCCBBAAk6KL1xlyCABP26 lX3WZGlBTKXPIYgpwo1Ge7HTXXqOpamkhhdX2bwQqwDdAmUxSr4weI82WDPC+yz9FGNYrgXvTIdLOm JPEBMRP9/dQBV3XCm0/ZdCFM4R8dFRGTTC+b+fO8c6V4tz5443xo1ZOu64g9w6r1FoyZ3Mfr90Ho// B/W6w15Xh/tWj0LdMwsI+jqop2g5+Kmy5gn+Hkw5UVLJA/8AAAAASUVORK5CYII= " + height="48" + width="48" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Layer" + style="opacity:1;display:inline"> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 6.3639611,36.585276 L 41.51727,36.484261 L 41.51727,42.444161 L 37.47666,46.484771 L 1.4142136,46.484771 L 1.4142136,45.474619 L 6.3639611,36.585276 z" + id="path2386" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 36.5,46.5 L 36.5,45.5 L 41,36.5" + id="path2388" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 4.5,44.5 L 5.5,44.5" + id="path2398" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,44.5 L 32.5,44.5" + id="path2400" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 34.5,44.5 L 35.5,44.5" + id="path2402" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,5.5 L 7.5,29.5 L 9.5,31.5 L 36.5,31.5 L 38.5,29.5 L 38.5,5.5 L 36.5,3.5 L 9.5,3.5 L 7.5,5.5 z" + id="path2406" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 5.5,32.5 L 6.5,33.5 L 39.5,33.5 L 40.5,32.5 L 40.5,2.5 L 39.5,1.5 L 6.5,1.5 L 5.5,2.5 L 5.5,32.5 z" + id="path2408" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 40.5,32.5 L 41.5,32.5 L 45.5,24.5 L 45.5,6.5 L 41.5,2.5 L 40.5,2.5 L 40.5,32.5 z" + id="path2410" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,38.5 L 7.5,38.5 z" + id="path2395" /> + <path + sodipodi:type="arc" + id="path2413" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8.0256367,38.403549 A 0.5,0.5 0 1 1 7.0256367,38.403549 A 0.5,0.5 0 1 1 8.0256367,38.403549 z" /> + <path + sodipodi:type="arc" + id="path2415" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10.045941,38.45406 A 0.5,0.5 0 1 1 9.0459414,38.45406 A 0.5,0.5 0 1 1 10.045941,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2419" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 11.965231,38.45406 A 0.5,0.5 0 1 1 10.965231,38.45406 A 0.5,0.5 0 1 1 11.965231,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2421" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 13.935029,38.45406 A 0.5,0.5 0 1 1 12.935029,38.45406 A 0.5,0.5 0 1 1 13.935029,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2423" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 15.904826,38.504566 A 0.5,0.5 0 1 1 14.904826,38.504566 A 0.5,0.5 0 1 1 15.904826,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2425" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 17.975639,38.45406 A 0.5,0.5 0 1 1 16.975639,38.45406 A 0.5,0.5 0 1 1 17.975639,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2427" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 19.89493,38.504566 A 0.5,0.5 0 1 1 18.89493,38.504566 A 0.5,0.5 0 1 1 19.89493,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2429" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 21.915234,38.45406 A 0.5,0.5 0 1 1 20.915234,38.45406 A 0.5,0.5 0 1 1 21.915234,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2431" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 23.986048,38.504566 A 0.5,0.5 0 1 1 22.986048,38.504566 A 0.5,0.5 0 1 1 23.986048,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2433" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26.006351,38.504566 A 0.5,0.5 0 1 1 25.006351,38.504566 A 0.5,0.5 0 1 1 26.006351,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2435" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 27.925642,38.45406 A 0.5,0.5 0 1 1 26.925642,38.45406 A 0.5,0.5 0 1 1 27.925642,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2437" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 29.895439,38.504566 A 0.5,0.5 0 1 1 28.895439,38.504566 A 0.5,0.5 0 1 1 29.895439,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2439" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 31.966251,38.45406 A 0.5,0.5 0 1 1 30.966251,38.45406 A 0.5,0.5 0 1 1 31.966251,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2441" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33.93605,38.45406 A 0.5,0.5 0 1 1 32.93605,38.45406 A 0.5,0.5 0 1 1 33.93605,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2443" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35.956352,38.504566 A 0.5,0.5 0 1 1 34.956352,38.504566 A 0.5,0.5 0 1 1 35.956352,38.504566 z" /> + <path + sodipodi:type="arc" + id="path2445" + style="fill:#000000;stroke:none" + sodipodi:cx="37.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 37.976662,38.45406 A 0.5,0.5 0 1 1 36.976662,38.45406 A 0.5,0.5 0 1 1 37.976662,38.45406 z" /> + <path + sodipodi:type="arc" + id="path2447" + style="fill:#000000;stroke:none" + sodipodi:cx="6.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 7.0154839,40.524872 A 0.5,0.5 0 1 1 6.0154839,40.524872 A 0.5,0.5 0 1 1 7.0154839,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2449" + style="fill:#000000;stroke:none" + sodipodi:cx="8.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8.9347734,40.524872 A 0.5,0.5 0 1 1 7.9347734,40.524872 A 0.5,0.5 0 1 1 8.9347734,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2451" + style="fill:#000000;stroke:none" + sodipodi:cx="10.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10.904571,40.524872 A 0.5,0.5 0 1 1 9.9045706,40.524872 A 0.5,0.5 0 1 1 10.904571,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2453" + style="fill:#000000;stroke:none" + sodipodi:cx="12.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 13.076399,40.524872 A 0.5,0.5 0 1 1 12.076399,40.524872 A 0.5,0.5 0 1 1 13.076399,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2455" + style="fill:#000000;stroke:none" + sodipodi:cx="14.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 14.995689,40.524872 A 0.5,0.5 0 1 1 13.995689,40.524872 A 0.5,0.5 0 1 1 14.995689,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2457" + style="fill:#000000;stroke:none" + sodipodi:cx="16.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 16.965487,40.524872 A 0.5,0.5 0 1 1 15.965487,40.524872 A 0.5,0.5 0 1 1 16.965487,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2461" + style="fill:#000000;stroke:none" + sodipodi:cx="18.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 18.985792,40.524872 A 0.5,0.5 0 1 1 17.985792,40.524872 A 0.5,0.5 0 1 1 18.985792,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2463" + style="fill:#000000;stroke:none" + sodipodi:cx="20.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 21.006098,40.524872 A 0.5,0.5 0 1 1 20.006098,40.524872 A 0.5,0.5 0 1 1 21.006098,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2465" + style="fill:#000000;stroke:none" + sodipodi:cx="22.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 23.076908,40.474365 A 0.5,0.5 0 1 1 22.076908,40.474365 A 0.5,0.5 0 1 1 23.076908,40.474365 z" /> + <path + sodipodi:type="arc" + id="path2467" + style="fill:#000000;stroke:none" + sodipodi:cx="24.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 24.996199,40.524872 A 0.5,0.5 0 1 1 23.996199,40.524872 A 0.5,0.5 0 1 1 24.996199,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2469" + style="fill:#000000;stroke:none" + sodipodi:cx="26.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26.965998,40.524872 A 0.5,0.5 0 1 1 25.965998,40.524872 A 0.5,0.5 0 1 1 26.965998,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2471" + style="fill:#000000;stroke:none" + sodipodi:cx="28.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28.986301,40.474365 A 0.5,0.5 0 1 1 27.986301,40.474365 A 0.5,0.5 0 1 1 28.986301,40.474365 z" /> + <path + sodipodi:type="arc" + id="path2473" + style="fill:#000000;stroke:none" + sodipodi:cx="30.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 30.956099,40.474365 A 0.5,0.5 0 1 1 29.956099,40.474365 A 0.5,0.5 0 1 1 30.956099,40.474365 z" /> + <path + sodipodi:type="arc" + id="path2475" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 32.925896,40.474365 A 0.5,0.5 0 1 1 31.925896,40.474365 A 0.5,0.5 0 1 1 32.925896,40.474365 z" /> + <path + sodipodi:type="arc" + id="path2477" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34.946201,40.474365 A 0.5,0.5 0 1 1 33.946201,40.474365 A 0.5,0.5 0 1 1 34.946201,40.474365 z" /> + <path + sodipodi:type="arc" + id="path2479" + style="fill:#000000;stroke:none" + sodipodi:cx="36.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36.916,40.524872 A 0.5,0.5 0 1 1 35.916,40.524872 A 0.5,0.5 0 1 1 36.916,40.524872 z" /> + <path + sodipodi:type="arc" + id="path2481" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6.0053315,42.494671 A 0.5,0.5 0 1 1 5.0053315,42.494671 A 0.5,0.5 0 1 1 6.0053315,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2483" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 7.9246211,42.545177 A 0.5,0.5 0 1 1 6.9246211,42.545177 A 0.5,0.5 0 1 1 7.9246211,42.545177 z" /> + <path + sodipodi:type="arc" + id="path2485" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 9.9449263,42.494671 A 0.5,0.5 0 1 1 8.9449263,42.494671 A 0.5,0.5 0 1 1 9.9449263,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2487" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 11.914724,42.494671 A 0.5,0.5 0 1 1 10.914724,42.494671 A 0.5,0.5 0 1 1 11.914724,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2489" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 13.935029,42.494671 A 0.5,0.5 0 1 1 12.935029,42.494671 A 0.5,0.5 0 1 1 13.935029,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2491" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 15.955334,42.44416 A 0.5,0.5 0 1 1 14.955334,42.44416 A 0.5,0.5 0 1 1 15.955334,42.44416 z" /> + <path + sodipodi:type="arc" + id="path2493" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 17.975639,42.44416 A 0.5,0.5 0 1 1 16.975639,42.44416 A 0.5,0.5 0 1 1 17.975639,42.44416 z" /> + <path + sodipodi:type="arc" + id="path2495" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 19.945436,42.545177 A 0.5,0.5 0 1 1 18.945436,42.545177 A 0.5,0.5 0 1 1 19.945436,42.545177 z" /> + <path + sodipodi:type="arc" + id="path2497" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 21.965742,42.494671 A 0.5,0.5 0 1 1 20.965742,42.494671 A 0.5,0.5 0 1 1 21.965742,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2499" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 23.935539,42.494671 A 0.5,0.5 0 1 1 22.935539,42.494671 A 0.5,0.5 0 1 1 23.935539,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2501" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 25.955845,42.44416 A 0.5,0.5 0 1 1 24.955845,42.44416 A 0.5,0.5 0 1 1 25.955845,42.44416 z" /> + <path + sodipodi:type="arc" + id="path2503" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28.026657,42.44416 A 0.5,0.5 0 1 1 27.026657,42.44416 A 0.5,0.5 0 1 1 28.026657,42.44416 z" /> + <path + sodipodi:type="arc" + id="path2505" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 29.996454,42.494671 A 0.5,0.5 0 1 1 28.996454,42.494671 A 0.5,0.5 0 1 1 29.996454,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2507" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 31.966251,42.494671 A 0.5,0.5 0 1 1 30.966251,42.494671 A 0.5,0.5 0 1 1 31.966251,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2509" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33.986557,42.494671 A 0.5,0.5 0 1 1 32.986557,42.494671 A 0.5,0.5 0 1 1 33.986557,42.494671 z" /> + <path + sodipodi:type="arc" + id="path2511" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36.057369,42.44416 A 0.5,0.5 0 1 1 35.057369,42.44416 A 0.5,0.5 0 1 1 36.057369,42.44416 z" /> + <path + sodipodi:type="arc" + id="path2513" + style="fill:#000000;stroke:none" + sodipodi:cx="4.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 4.8571429,44.57143 A 0.5,0.5 0 1 1 3.8571429,44.57143 A 0.5,0.5 0 1 1 4.8571429,44.57143 z" /> + <path + sodipodi:type="arc" + id="path2517" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6.1063466,44.514973 A 0.5,0.5 0 1 1 5.1063466,44.514973 A 0.5,0.5 0 1 1 6.1063466,44.514973 z" /> + <path + sodipodi:type="arc" + id="path2519" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34.744171,44.514973 A 0.5,0.5 0 1 1 33.744171,44.514973 A 0.5,0.5 0 1 1 34.744171,44.514973 z" /> + <path + sodipodi:type="arc" + id="path2521" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35.956352,44.464466 A 0.5,0.5 0 1 1 34.956352,44.464466 A 0.5,0.5 0 1 1 35.956352,44.464466 z" /> + <path + sodipodi:type="arc" + id="path2523" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 7.8741136,44.666496 A 0.5,0.5 0 1 1 6.8741136,44.666496 A 0.5,0.5 0 1 1 7.8741136,44.666496 z" /> + <path + sodipodi:type="arc" + id="path2529" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33.127926,44.565479 A 0.5,0.5 0 1 1 32.127926,44.565479 A 0.5,0.5 0 1 1 33.127926,44.565479 z" /> + </g> +</svg> diff --git a/app/xterm/icons/terminal_48x48.xpm b/app/xterm/icons/terminal_48x48.xpm new file mode 100644 index 000000000..d48284415 --- /dev/null +++ b/app/xterm/icons/terminal_48x48.xpm @@ -0,0 +1,53 @@ +/* XPM */ +static char * terminal_48x48_xpm[] = { +"48 48 2 1", +" c #000000", +". c #FFFFFF", +"................................................", +"...... ........", +"..... .................................. ......", +"..... ... ... . .....", +"..... .. ............................ .. .. ....", +"..... . .............................. . ... ...", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . .... ..", +"..... . .............................. . ... ...", +"..... . .............................. . ... ...", +"..... . .............................. . .. ....", +"..... . .............................. . .. ....", +"..... . .............................. . . .....", +"..... .. ............................ .. . .....", +"..... ... ... ......", +"..... .................................. ......", +"...... ........", +"................................................", +"................................................", +"...... ......", +"..... .................................. ......", +"..... . . . . . . . . . . . . . . . . .. ......", +".... .................................. . ......", +".... . . . . . . . . . . . . . . . . .. . ......", +"... .................................. .. ......", +"... . . . . . . . . . . . . . . . . .. .. ......", +".. .................................. .. .......", +".. . . . . . ........", +". .................................. . .........", +". ..........", +"................................................"}; diff --git a/app/xterm/icons/xterm-color.png b/app/xterm/icons/xterm-color.png Binary files differnew file mode 100644 index 000000000..310d80f09 --- /dev/null +++ b/app/xterm/icons/xterm-color.png diff --git a/app/xterm/icons/xterm-color.svg b/app/xterm/icons/xterm-color.svg new file mode 100644 index 000000000..24d48eee9 --- /dev/null +++ b/app/xterm/icons/xterm-color.svg @@ -0,0 +1,792 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg2985" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="xterm-color.svg" + sodipodi:version="0.32" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + enable-background="new"> + <title + id="title2983">terminal</title> + <defs + id="defs2987"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective11" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="11.313708" + inkscape:cx="23.637681" + inkscape:cy="25.479115" + inkscape:current-layer="layer3" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="1258" + inkscape:window-height="786" + inkscape:window-x="3" + inkscape:window-y="44" + inkscape:window-maximized="0" + objecttolerance="2"> + <inkscape:grid + type="xygrid" + id="grid2988" + empspacing="5" + visible="true" + enabled="false" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata2990"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>xterm</dc:title> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> + <dc:creator> + <cc:Agent> + <dc:title>Thomas E. Dickey</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>MIT-X11</dc:title> + </cc:Agent> + </dc:rights> + <dc:description>XTerm icon, in SVG format.</dc:description> + <dc:date>June 14, 2012</dc:date> + <dc:source>http://invisible-island.net/xterm/</dc:source> + <dc:identifier>http://invisible-island.net/xterm/xterm</dc:identifier> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by/3.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="background" + style="display:inline;opacity:0" + sodipodi:insensitive="true"> + <rect + style="fill:#555500;fill-opacity:1" + id="rect3381" + width="47.982246" + height="48.303047" + x="0.10101525" + y="0" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Image" + style="display:inline;opacity:1" + sodipodi:insensitive="true"> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 6.3639611,36.585276 35.1533089,-0.101015 0,5.9599 -4.04061,4.04061 -36.0624464,0 0,-1.010152 4.9497475,-8.889343 z" + id="path2386" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 36.5,46.5 0,-1 4.5,-9" + id="path2388" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 4.5,44.5 1,0" + id="path2398" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 7.5,44.5 25,0" + id="path2400" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 34.5,44.5 1,0" + id="path2402" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 7.5,5.5 0,24 2,2 27,0 2,-2 0,-24 -2,-2 -27,0 -2,2 z" + id="path2406" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 5.5,32.5 1,1 33,0 1,-1 0,-30 -1,-1 -33,0 -1,1 0,30 z" + id="path2408" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 40.5,32.5 1,0 4,-8 0,-18 -4,-4 -1,0 0,30 z" + id="path2410" + inkscape:connector-curvature="0" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 7.5,38.5 0,0 z" + id="path2395" + inkscape:connector-curvature="0" /> + <path + sodipodi:type="arc" + id="path2413" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 8,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2415" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 10,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2419" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 12,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2421" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 14,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2423" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 16,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2425" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 18,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2427" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 20,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2429" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 22,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2431" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 24,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2433" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 26,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2435" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 28,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2437" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 30,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2439" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 32,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2441" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 34,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2443" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 36,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2445" + style="fill:#000000;stroke:none" + sodipodi:cx="37.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 38,38.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2447" + style="fill:#000000;stroke:none" + sodipodi:cx="6.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 7,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2449" + style="fill:#000000;stroke:none" + sodipodi:cx="8.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 9,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2451" + style="fill:#000000;stroke:none" + sodipodi:cx="10.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 11,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2453" + style="fill:#000000;stroke:none" + sodipodi:cx="12.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 13,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2455" + style="fill:#000000;stroke:none" + sodipodi:cx="14.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 15,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2457" + style="fill:#000000;stroke:none" + sodipodi:cx="16.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 17,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2461" + style="fill:#000000;stroke:none" + sodipodi:cx="18.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 19,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2463" + style="fill:#000000;stroke:none" + sodipodi:cx="20.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 21,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2465" + style="fill:#000000;stroke:none" + sodipodi:cx="22.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 23,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2467" + style="fill:#000000;stroke:none" + sodipodi:cx="24.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 25,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2469" + style="fill:#000000;stroke:none" + sodipodi:cx="26.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 27,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2471" + style="fill:#000000;stroke:none" + sodipodi:cx="28.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 29,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2473" + style="fill:#000000;stroke:none" + sodipodi:cx="30.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 31,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2475" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 33,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2477" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 35,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2479" + style="fill:#000000;stroke:none" + sodipodi:cx="36.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 37,40.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2481" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 6,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2483" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 8,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2485" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 10,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2487" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 12,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2489" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 14,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2491" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 16,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2493" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 18,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2495" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 20,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2497" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 22,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2499" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 24,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2501" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 26,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2503" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 28,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2505" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 30,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2507" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 32,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2509" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 34,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2511" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 36,42.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2513" + style="fill:#000000;stroke:none" + sodipodi:cx="4.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 5,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2517" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 6,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2519" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 35,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2521" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 36,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2523" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 8,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + sodipodi:type="arc" + id="path2529" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="m 33,44.5 a 0.5,0.5 0 1 1 -1,0 0.5,0.5 0 1 1 1,0 z" /> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 6.3400078,32.572667 -0.3228619,-0.333108 0,-14.748856 0,-14.7488567 0.3331089,-0.322861 0.3331079,-0.3228619 16.3145933,0 16.314593,0 0.322861,0.3331089 0.322862,0.3331079 0,14.7488568 0,14.748856 -0.333109,0.322861 -0.333108,0.322862 -16.314593,0 -16.3145933,0 -0.3228609,-0.333109 z m 31.5711272,-1.710803 1.137999,-1.134773 0,-12.226074 0,-12.2260698 -1.188445,-1.1853504 -1.188447,-1.1853513 -13.67669,0 -13.6766892,0 -1.1962883,1.1815542 -1.1962913,1.1815582 0,12.2266371 0,12.226641 1.134775,1.138003 1.1347731,1.138 13.7886497,0 13.788647,0 1.138007,-1.134775 z" + id="path3407" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 41.074933,17.526204 c -0.003,-7.986519 0.02906,-14.5209433 0.07129,-14.5209433 0.04223,0 0.905912,0.8300363 1.91929,1.8445254 l 1.842504,1.8445255 -0.0055,8.8883444 -0.0055,8.888346 -1.90831,3.788072 -1.908309,3.788072 -0.0055,-14.520942 z" + id="path3409" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 1.9765357,45.766718 c 0,-0.09351 1.0530274,-2.063459 2.3400618,-4.37766 l 2.3400628,-4.207637 8.3928087,-0.06694 c 9.908659,-0.07903 25.009818,-0.08875 25.009818,-0.01609 0,0.02804 -0.931866,1.914288 -2.070813,4.191652 -1.138947,2.277365 -2.070813,4.254522 -2.070813,4.393683 l 0,0.253019 -16.970563,0 c -15.8383308,0 -16.9705623,-0.01134 -16.9705623,-0.170024 l 0,-2e-6 z M 5.8584065,44.86887 c 0.087307,-0.08731 0.1587394,-0.266558 0.1587394,-0.398334 0,-0.356174 -0.3608275,-0.554097 -1.0101526,-0.554097 -0.6769749,0 -1.0101525,0.195132 -1.0101525,0.591616 0,0.42885 0.1698006,0.519552 0.9726324,0.519552 0.529128,0 0.7739072,-0.04371 0.8889343,-0.158739 l -1e-6,2e-6 z m 27.0007445,0.03247 c 0.230126,-0.297405 0.225095,-0.493994 -0.01888,-0.73797 l -0.246932,-0.246929 -12.523902,0 c -7.411,0 -12.6240556,0.03808 -12.7692156,0.09327 -0.3115846,0.118465 -0.4132251,0.488328 -0.2166403,0.788354 l 0.1504067,0.229549 12.7637312,0 c 10.091535,0 12.784187,-0.02644 12.861436,-0.126269 l -3e-6,0 z m 3.000789,-0.03247 c 0.08731,-0.08731 0.158737,-0.266558 0.158737,-0.398334 0,-0.356174 -0.360828,-0.554097 -1.010153,-0.554097 -0.676975,0 -1.010153,0.195132 -1.010153,0.591616 0,0.42885 0.169801,0.519552 0.972633,0.519552 0.529131,0 0.773907,-0.04371 0.888934,-0.158739 l 2e-6,2e-6 z M 5.8959266,42.886082 c 0.066671,-0.06667 0.1212193,-0.239405 0.1212193,-0.383857 0,-0.144451 -0.054548,-0.317188 -0.1212183,-0.383858 -0.066669,-0.06667 -0.2394062,-0.121218 -0.383858,-0.121218 -0.1444518,0 -0.3171879,0.05455 -0.383858,0.121218 -0.066671,0.06667 -0.1212183,0.239407 -0.1212183,0.383858 0,0.144452 0.054548,0.317188 0.1212183,0.383858 0.066669,0.06667 0.2394062,0.121219 0.383858,0.121219 0.1444518,0 0.3171879,-0.05455 0.383858,-0.121219 l -1e-6,-10e-7 z m 2.0588888,-0.131319 c 0.1762595,-0.386847 -0.028278,-0.757614 -0.4179465,-0.757614 -0.2116058,0 -0.3527483,0.0761 -0.4683522,0.252538 -0.1532826,0.233938 -0.1532816,0.271138 0,0.505076 0.1156029,0.176434 0.2567464,0.252539 0.4683522,0.252539 0.2250478,0 0.3324523,-0.0649 0.4179465,-0.252539 z m 1.9442013,0.0938 c 0.3249143,-0.324915 0.079511,-0.851416 -0.3968445,-0.851416 -0.2852853,0 -0.5555839,0.245726 -0.5555839,0.505076 0,0.259351 0.2702986,0.505077 0.5555839,0.505077 0.1309592,0 0.30954,-0.07143 0.3968455,-0.158739 l -10e-7,2e-6 z m 2.0368103,-0.0938 c 0.153282,-0.233938 0.153282,-0.271138 1e-6,-0.505076 -0.378662,-0.577912 -1.173391,-0.125019 -0.886299,0.505076 0.08549,0.187641 0.192899,0.252539 0.417946,0.252539 0.211606,0 0.352749,-0.07611 0.468353,-0.252539 l -1e-6,0 z m 1.940305,0.131319 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121219,0.239407 -0.121219,0.383858 0,0.144452 0.05455,0.317188 0.121219,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -10e-7,-10e-7 z m 2.020305,0 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239407 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -10e-7,-10e-7 z m 2.058889,-0.131319 c 0.176259,-0.386847 -0.02828,-0.757614 -0.417947,-0.757614 -0.211606,0 -0.352748,0.0761 -0.468352,0.252538 -0.153283,0.233938 -0.153282,0.271138 0,0.505076 0.115603,0.176434 0.256746,0.252539 0.468352,0.252539 0.225048,0 0.332452,-0.0649 0.417947,-0.252539 z m 1.944201,0.0938 c 0.324914,-0.324915 0.07951,-0.851416 -0.396845,-0.851416 -0.285285,0 -0.555584,0.245726 -0.555584,0.505076 0,0.259351 0.270299,0.505077 0.555584,0.505077 0.13096,0 0.30954,-0.07143 0.396846,-0.158739 l -1e-6,2e-6 z m 2.03681,-0.0938 c 0.153282,-0.233938 0.153282,-0.271138 10e-7,-0.505076 -0.378662,-0.577912 -1.17339,-0.125019 -0.886299,0.505076 0.08549,0.187641 0.192899,0.252539 0.417947,0.252539 0.211605,0 0.352748,-0.07611 0.468352,-0.252539 l -10e-7,0 z m 1.940305,0.131319 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239407 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -1e-6,-10e-7 z m 2.020305,0 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239407 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -10e-7,-10e-7 z m 1.982785,-0.03752 c 0.08731,-0.08731 0.158739,-0.226667 0.158739,-0.309688 0,-0.555521 -0.664483,-0.753841 -0.968934,-0.28919 -0.153282,0.233938 -0.153281,0.271138 0,0.505076 0.190254,0.290366 0.5697,0.334296 0.810196,0.0938 l -1e-6,2e-6 z m 2.020305,0 c 0.324915,-0.324915 0.07951,-0.851416 -0.396844,-0.851416 -0.285286,0 -0.555584,0.245726 -0.555584,0.505076 0,0.259351 0.270298,0.505077 0.555584,0.505077 0.130959,0 0.30954,-0.07143 0.396845,-0.158739 l -10e-7,2e-6 z m 2.036813,-0.0938 c 0.15328,-0.233938 0.15328,-0.271138 -2e-6,-0.505076 -0.378665,-0.577912 -1.17339,-0.125019 -0.886299,0.505076 0.08549,0.187641 0.192899,0.252539 0.417947,0.252539 0.211606,0 0.352748,-0.07611 0.468352,-0.252539 l 2e-6,0 z m 1.940302,0.131319 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239407 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -10e-7,-1e-6 z m 2.020305,0 c 0.06667,-0.06667 0.12122,-0.239405 0.12122,-0.383857 0,-0.144451 -0.05455,-0.317188 -0.121219,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239407 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -10e-7,-1e-6 z M 6.9615749,40.765563 c 0.1616153,-0.256215 -0.00928,-0.677327 -0.3050035,-0.751547 -0.3169485,-0.07955 -0.5381244,0.03961 -0.6537616,0.352202 -0.1210153,0.327133 0.3079814,0.756129 0.6351142,0.635115 0.1254953,-0.04642 0.2711371,-0.152519 0.3236489,-0.235767 l 2e-6,-3e-6 z m 1.9597596,0.03649 c 0.1715127,-0.212868 0.1587293,-0.47527 -0.032469,-0.666469 -0.2386414,-0.23864 -0.619876,-0.196665 -0.8069553,0.08885 -0.3863611,0.589662 0.3959707,1.127992 0.8394247,0.577615 z m 2.0684415,-0.07748 c 0.234712,-0.515135 -0.472034,-0.991256 -0.874297,-0.588993 -0.1912126,0.191214 -0.2039082,0.452801 -0.03247,0.668965 0.26616,0.335594 0.736313,0.294132 0.906765,-0.07997 l 10e-7,-3e-6 z m 1.988568,-0.02408 c 0.143319,-0.267791 -0.08887,-0.6663 -0.410101,-0.703879 -0.56663,-0.06629 -0.803803,0.703689 -0.294549,0.95625 0.277612,0.13768 0.547666,0.04096 0.704651,-0.252372 l -10e-7,1e-6 z m 3.923196,0.157435 c 0.175617,-0.135883 0.157809,-0.532068 -0.03247,-0.722346 -0.388321,-0.388319 -1.11051,0.06424 -0.857355,0.537269 0.206071,0.385042 0.541287,0.454768 0.889825,0.18508 l 0,-3e-6 z m 2.020305,-0.05588 c 0.428733,-0.532106 -0.369599,-1.135644 -0.829692,-0.627246 -0.229367,0.253446 -0.134102,0.687969 0.176115,0.803291 0.264481,0.09832 0.47909,0.04051 0.653577,-0.176045 z m 2.068442,-0.07748 c 0.234712,-0.515135 -0.472035,-0.991256 -0.874298,-0.588993 -0.191212,0.191214 -0.203908,0.452801 -0.03247,0.668965 0.26616,0.335594 0.736313,0.294132 0.906766,-0.07997 l 1e-6,-3e-6 z m 1.988568,-0.02408 c 0.143318,-0.267791 -0.08886,-0.6663 -0.410102,-0.703879 -0.56663,-0.06629 -0.803803,0.703689 -0.294548,0.95625 0.277611,0.13768 0.547665,0.04096 0.704651,-0.252372 l -1e-6,10e-7 z m 3.923195,0.157435 c 0.175617,-0.135883 0.157809,-0.532068 -0.03247,-0.722346 -0.38832,-0.388319 -1.11051,0.06424 -0.857354,0.537269 0.20607,0.385042 0.541286,0.454768 0.889824,0.18508 l 0,-3e-6 z m 2.020305,-0.05588 c 0.428733,-0.532106 -0.369599,-1.135644 -0.829692,-0.627246 -0.229367,0.253446 -0.134102,0.687969 0.176115,0.803291 0.264481,0.09832 0.47909,0.04051 0.653577,-0.176045 z m 2.068439,-0.07748 c 0.234715,-0.515135 -0.472031,-0.991256 -0.874294,-0.588993 -0.191213,0.191214 -0.203909,0.452801 -0.03247,0.668965 0.26616,0.335594 0.736314,0.294132 0.906766,-0.07997 l -2e-6,-3e-6 z m 1.988571,-0.02408 c 0.143318,-0.267791 -0.08886,-0.6663 -0.410102,-0.703879 -0.56663,-0.06629 -0.803802,0.703689 -0.294548,0.95625 0.277614,0.13768 0.547665,0.04096 0.704651,-0.252372 l -10e-7,10e-7 z m 3.923195,0.157435 c 0.175617,-0.135883 0.157809,-0.532068 -0.03247,-0.722346 -0.388324,-0.388319 -1.11051,0.06424 -0.857355,0.537269 0.206073,0.385042 0.541286,0.454768 0.889824,0.18508 l 0,-3e-6 z m -22.016276,0.0078 c 0.06667,-0.06667 0.12122,-0.239405 0.12122,-0.383857 0,-0.144452 -0.05455,-0.317188 -0.121219,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121218,0.239406 -0.121218,0.383858 0,0.144452 0.05455,0.317188 0.121218,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -1e-6,-10e-7 z m 10.00051,0 c 0.06667,-0.06667 0.12122,-0.239405 0.12122,-0.383857 0,-0.144452 -0.05455,-0.317188 -0.121219,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383857,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121219,0.239406 -0.121219,0.383858 0,0.144452 0.05455,0.317188 0.121219,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144451,0 0.317187,-0.05455 0.383857,-0.121219 l -1e-6,-10e-7 z m 10.000511,0 c 0.06667,-0.06667 0.121219,-0.239405 0.121219,-0.383857 0,-0.144452 -0.05455,-0.317188 -0.121218,-0.383858 -0.06667,-0.06667 -0.239406,-0.121218 -0.383858,-0.121218 -0.144452,0 -0.317188,0.05455 -0.383858,0.121218 -0.06667,0.06667 -0.121219,0.239406 -0.121219,0.383858 0,0.144452 0.05455,0.317188 0.121219,0.383858 0.06667,0.06667 0.239406,0.121219 0.383858,0.121219 0.144452,0 0.317188,-0.05455 0.383858,-0.121219 l -1e-6,-10e-7 z M 7.8129446,38.910456 c 0.2658479,-0.186207 0.2901249,-0.511948 0.057327,-0.769186 -0.2272964,-0.251161 -0.5960152,-0.232519 -0.7867381,0.03978 -0.2078257,0.296711 -0.1983556,0.441495 0.04478,0.68463 0.2431356,0.243136 0.3879167,0.252606 0.6846299,0.04478 l 1e-6,0 z m 2.042781,-0.04478 c 0.1111167,-0.111117 0.2020304,-0.260101 0.2020304,-0.331076 0,-0.236734 -0.311832,-0.578061 -0.5281036,-0.578061 -0.2714381,0 -0.5830641,0.278311 -0.5830641,0.520733 0,0.224351 0.3444761,0.590435 0.5555839,0.590435 0.083338,0 0.2424366,-0.09091 0.3535534,-0.202031 z m 1.8682584,0.13775 c 0.277467,-0.106478 0.384167,-0.531351 0.20291,-0.807984 -0.182588,-0.278662 -0.512841,-0.309218 -0.77527,-0.07172 -0.25116,0.2273 -0.232519,0.596015 0.03978,0.786738 0.251829,0.176387 0.295379,0.183989 0.532584,0.09297 l -1e-6,3e-6 z m 2.088636,-0.102897 c 0.378572,-0.342604 0.15114,-0.94399 -0.356997,-0.94399 -0.446199,0 -0.62234,0.688859 -0.243917,0.953917 0.28365,0.198675 0.372023,0.197215 0.600914,-0.0099 l 0,2e-6 z m 1.98053,0.0099 c 0.378422,-0.265058 0.20228,-0.953917 -0.243919,-0.953917 -0.494587,0 -0.735732,0.599686 -0.382989,0.952429 0.199729,0.199729 0.343388,0.200072 0.626907,0.0015 l 1e-6,0 z m 2.020305,0 c 0.265848,-0.186207 0.290125,-0.511948 0.05733,-0.769186 -0.227296,-0.251161 -0.596015,-0.232519 -0.786738,0.03978 -0.207826,0.296711 -0.198356,0.441495 0.04478,0.68463 0.243136,0.243136 0.387917,0.252606 0.68463,0.04478 l 1e-6,0 z m 2.042781,-0.04478 c 0.111117,-0.111117 0.20203,-0.260101 0.20203,-0.331076 0,-0.236734 -0.311832,-0.578061 -0.528103,-0.578061 -0.271439,0 -0.583065,0.278311 -0.583065,0.520733 0,0.224351 0.344477,0.590435 0.555584,0.590435 0.08334,0 0.242437,-0.09091 0.353554,-0.202031 z m 1.868258,0.13775 c 0.277467,-0.106478 0.384167,-0.531351 0.20291,-0.807984 -0.182588,-0.278662 -0.512841,-0.309218 -0.77527,-0.07172 -0.25116,0.2273 -0.232519,0.596015 0.03978,0.786738 0.251829,0.176387 0.29538,0.183989 0.532584,0.09297 l -1e-6,3e-6 z m 2.088637,-0.102897 c 0.378571,-0.342604 0.15114,-0.94399 -0.356997,-0.94399 -0.4462,0 -0.622341,0.688859 -0.243918,0.953917 0.28365,0.198675 0.372023,0.197215 0.600915,-0.0099 l 0,2e-6 z m 1.980529,0.0099 c 0.378422,-0.265058 0.20228,-0.953917 -0.243919,-0.953917 -0.494586,0 -0.735732,0.599686 -0.382989,0.952429 0.19973,0.199729 0.343388,0.200072 0.626907,0.0015 l 10e-7,0 z m 2.020305,0 c 0.265848,-0.186207 0.290125,-0.511948 0.05733,-0.769186 -0.227296,-0.251161 -0.596015,-0.232519 -0.786738,0.03978 -0.207826,0.296711 -0.198355,0.441495 0.04478,0.68463 0.243136,0.243136 0.387917,0.252606 0.68463,0.04478 l 10e-7,0 z m 2.042781,-0.04478 c 0.111117,-0.111117 0.202031,-0.260101 0.202031,-0.331076 0,-0.236734 -0.311833,-0.578061 -0.528104,-0.578061 -0.271438,0 -0.583064,0.278311 -0.583064,0.520733 0,0.224351 0.344476,0.590435 0.555584,0.590435 0.08334,0 0.242436,-0.09091 0.353553,-0.202031 z m 1.96312,0.06788 c 0.361833,-0.264579 0.160921,-0.977019 -0.275529,-0.977019 -0.519424,0 -0.764681,0.664805 -0.351916,0.953917 0.274347,0.192161 0.390399,0.196435 0.627442,0.0231 l 3e-6,-1e-6 z m 1.993775,-0.03303 c 0.378572,-0.342604 0.15114,-0.94399 -0.356997,-0.94399 -0.446197,0 -0.622341,0.688859 -0.243918,0.953917 0.283647,0.198675 0.372023,0.197215 0.600915,-0.0099 l 0,2e-6 z m 1.980526,0.0099 c 0.378425,-0.265058 0.202283,-0.953917 -0.243915,-0.953917 -0.49459,0 -0.735733,0.599686 -0.38299,0.952429 0.199733,0.199729 0.343389,0.200072 0.626907,0.0015 l -2e-6,0 z m 2.020305,0 c 0.265851,-0.186207 0.290128,-0.511948 0.05733,-0.769186 -0.227299,-0.251161 -0.596015,-0.232519 -0.786738,0.03978 -0.207825,0.296711 -0.198355,0.441495 0.04478,0.68463 0.243136,0.243136 0.387917,0.252606 0.68463,0.04478 l -2e-6,0 z" + id="path3411" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 37.012075,45.803409 c 0.0018,-0.151094 0.220218,-0.605048 1.99803,-4.151786 l 1.996061,-3.982143 0.002,2.267984 0.002,2.267984 -1.884053,1.883802 c -1.714429,1.714198 -1.894494,1.883802 -2.000001,1.883802 -0.114789,0 -0.115927,-0.0017 -0.113976,-0.169643 l 0,0 z" + id="path3421" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff" + d="m 23.713837,22.627229 0,-1.285714 0.723214,6.2e-4 c 0.944496,8.1e-4 1.242652,0.06124 1.544643,0.313058 0.272931,0.227587 0.390803,0.566409 0.367912,1.057553 -0.02478,0.531572 -0.222549,0.851167 -0.643679,1.040159 -0.187062,0.08395 -0.295146,0.104658 -0.670065,0.128388 -0.245863,0.01556 -0.6439,0.02905 -0.884525,0.02997 l -0.4375,0.0017 0,-1.285715 0,-1.9e-5 z" + id="path3065" + inkscape:connector-curvature="0" /> + <path + style="fill:#000000;fill-opacity:1;stroke:#ff0000;stroke-width:0.05303301000000000;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 8.8623257,30.066226 -0.860128,-0.863368 0,-11.711533 0,-11.7115332 0.8633677,-0.8601282 0.8633677,-0.860128 13.2583289,0 13.258329,0 0.860128,0.8633677 0.860129,0.8633677 0,11.711533 0,11.711533 -0.863368,0.860128 -0.863368,0.860128 -13.258329,0 -13.2583291,0 -0.8601282,-0.863367 0,0 z" + id="path3102" /> + </g> + <g + style="display:inline;opacity:1" + inkscape:label="Text" + id="g2910" + inkscape:groupmode="layer" + sodipodi:insensitive="true"> + <text + sodipodi:linespacing="125%" + id="text3038" + y="17.392376" + x="9.3944197" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif" + xml:space="preserve"><tspan + y="17.392376" + x="9.3944197" + id="tspan3040" + sodipodi:role="line">X</tspan></text> + <text + sodipodi:linespacing="125%" + id="text3042" + y="27.796949" + x="9.2934036" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans" + xml:space="preserve"><tspan + y="27.796949" + x="9.2934036" + id="tspan3044" + sodipodi:role="line">TERM</tspan></text> + <path + inkscape:connector-curvature="0" + id="path3046" + d="m 9.5526798,17.051422 c 0,-0.291414 0.012672,-0.298674 0.5730382,-0.3283 l 0.573038,-0.03029 1.447267,-2.112707 c 0.795996,-1.161989 1.447267,-2.150845 1.447267,-2.197458 0,-0.04661 -0.666403,-1.084633 -1.480896,-2.30671 l -1.480897,-2.2219601 -0.539409,0 c -0.5319987,0 -0.5394082,-0.00416 -0.5394082,-0.3030457 l 0,-0.3030458 1.9697972,0 1.969798,0 0,0.3030458 c 0,0.3004678 -0.0048,0.3030457 -0.562991,0.3030457 -0.426254,0 -0.555058,0.033744 -0.53033,0.1389354 0.05701,0.2425275 2.048506,3.1903677 2.153981,3.1883587 0.08662,-0.0017 2.161602,-2.9773449 2.256007,-3.2352914 0.01852,-0.0506 -0.265585,-0.092003 -0.631345,-0.092003 l -0.665017,0 0,-0.3030457 0,-0.3030458 1.616244,0 1.616244,0 0,0.3030458 c 0,0.2987657 -0.0076,0.3030457 -0.537745,0.3030457 l -0.537743,0 -1.356292,1.9811789 c -0.745961,1.0896465 -1.344823,2.0218295 -1.330804,2.0715155 0.01402,0.04969 0.737262,1.158258 1.607206,2.463493 l 1.581716,2.373155 0.539369,0 c 0.531956,0 0.539369,0.0042 0.539369,0.303046 l 0,0.303046 -1.969797,0 -1.969798,0 0,-0.298224 c 0,-0.293799 0.009,-0.298674 0.605837,-0.328301 l 0.605837,-0.03007 -1.229884,-1.847219 c -0.991603,-1.489336 -1.254301,-1.822041 -1.35592,-1.71726 -0.06932,0.07148 -0.655072,0.902727 -1.301671,1.847219 l -1.175634,1.71726 0.663027,0.02987 c 0.660334,0.02975 0.663027,0.03108 0.663027,0.328301 l 0,0.29843 -1.616244,0 -1.6162442,0 0,-0.298005 z" + style="fill:#ff0000;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3048" + d="m 11.876031,24.52151 0,-3.232488 -1.262691,0 -1.2626907,0 0,-0.353554 0,-0.353553 3.0304577,0 3.030458,0 0,0.353553 0,0.353554 -1.313199,0 -1.313198,0 0,3.232488 0,3.232488 -0.454569,0 -0.454568,0 0,-3.232488 z" + style="fill:#ff0000;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3050" + d="m 22.785678,24.167957 0,-3.586042 1.452021,0 c 1.046692,0 1.574606,0.04325 1.89116,0.154937 0.857806,0.30265 1.202506,0.846629 1.202506,1.897693 0,0.757275 -0.245354,1.214999 -0.816694,1.523596 l -0.35587,0.192215 0.450339,0.464384 c 0.281556,0.290335 0.686542,0.928171 1.080554,1.701821 l 0.630213,1.237437 -0.469017,-0.0018 -0.469018,-0.0018 -0.659768,-1.28423 c -0.832765,-1.620966 -0.985152,-1.742574 -2.183597,-1.742574 l -0.843692,0 0,1.515228 0,1.515229 -0.454568,0 -0.454569,0 0,-3.586041 z m 3.043433,-0.41077 c 0.541512,-0.280028 0.749304,-1.148845 0.433788,-1.813748 -0.231345,-0.487521 -0.664757,-0.654417 -1.699466,-0.654417 l -0.868618,0 0,1.313198 0,1.313198 0.914153,0 c 0.632237,0 1.008518,-0.0488 1.220142,-0.158232 l 1e-6,10e-7 z" + style="fill:#e5ff2e;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3052" + d="m 29.755731,24.167957 0,-3.586042 0.681853,7.98e-4 0.681853,7.96e-4 0.80232,2.145778 c 0.441279,1.180177 0.866212,2.302721 0.9443,2.494543 l 0.141978,0.348765 0.935149,-2.470086 0.93515,-2.470086 0.721694,-0.02968 0.721694,-0.02968 0,3.590466 0,3.590468 -0.45315,0 -0.45315,0 -0.02667,-3.207234 -0.02667,-3.207235 -0.94872,2.500128 -0.948719,2.500128 -0.466277,0 -0.466276,0 -0.894982,-2.399113 c -0.492238,-1.319511 -0.93509,-2.442296 -0.984114,-2.495077 -0.05165,-0.0556 -0.08914,1.250775 -0.08914,3.10622 l 0,3.202183 -0.404061,0 -0.404061,0 0,-3.586041 z" + style="fill:#00ffff;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3054" + d="m 16.421717,24.167957 0,-3.586042 2.272843,0 2.272844,0 0,0.353553 0,0.353554 -1.818275,0 -1.818275,0 0,1.111168 0,1.111167 1.71726,0 1.717259,0 0,0.404061 0,0.404061 -1.717259,0 -1.71726,0 0,1.363706 0,1.363706 1.868783,0 1.868782,0 0,0.353554 0,0.353553 -2.323351,0 -2.323351,0 0,-3.586041 z" + style="fill:#ff0000;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3056" + d="m 11.876031,24.52151 0,-3.232488 -1.262691,0 -1.2626907,0 0,-0.353554 0,-0.353553 3.0304577,0 3.030458,0 0,0.353553 0,0.353554 -1.313199,0 -1.313198,0 0,3.232488 0,3.232488 -0.454569,0 -0.454568,0 0,-3.232488 z" + style="fill:#ff00ff;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3078" + d="m 11.971738,24.496693 0,-3.232488 -1.262691,0 -1.2626908,0 0,-0.303046 0,-0.303045 2.9799498,0 2.97995,0 0,0.303045 0,0.303046 -1.313198,0 -1.313198,0 0,3.232488 0,3.232488 -0.404061,0 -0.404061,0 0,-3.232488 0,0 z" + style="fill:#ffffff" /> + <path + inkscape:connector-curvature="0" + id="path3080" + d="m 16.517424,24.193648 0,-3.535534 2.222336,0 2.222335,0 0,0.303045 0,0.303046 -1.818274,0 -1.818275,0 0,1.161676 0,1.161675 1.717259,0 1.71726,0 0,0.353553 0,0.353554 -1.71726,0 -1.717259,0 0,1.414213 0,1.414214 1.868782,0 1.868782,0 0,0.303046 0,0.303045 -2.272843,0 -2.272843,0 0,-3.535533 0,0 z" + style="fill:#ff2a2a" /> + <path + inkscape:connector-curvature="0" + id="path3082" + d="m 16.517424,24.193648 0,-3.535534 2.222336,0 2.222335,0 0,0.303045 0,0.303046 -1.818274,0 -1.818275,0 0,1.161676 0,1.161675 1.717259,0 1.71726,0 0,0.353553 0,0.353554 -1.71726,0 -1.717259,0 0,1.414213 0,1.414214 1.868782,0 1.868782,0 0,0.303046 0,0.303045 -2.272843,0 -2.272843,0 0,-3.535533 0,0 z" + style="fill:#a0892c" /> + <path + inkscape:connector-curvature="0" + id="path3084" + d="m 16.556963,24.193648 0,-3.535534 2.171828,0 2.171828,0 0,0.303045 0,0.303046 -1.818275,0 -1.818274,0 0,1.161676 0,1.161675 1.717259,0 1.717259,0 0,0.353553 0,0.353554 -1.717259,0 -1.717259,0 0,1.414213 0,1.414214 1.868782,0 1.868782,0 0,0.303046 0,0.303045 -2.222335,0 -2.222336,0 0,-3.535533 0,0 z" + style="fill:#c8ab37" /> + <path + inkscape:connector-curvature="0" + id="path3088" + d="m 29.789961,24.193648 0,-3.535534 0.647757,0 0.647757,0 0.297145,0.782868 c 0.163429,0.430577 0.583286,1.546596 0.933015,2.480041 0.349728,0.933446 0.671885,1.660755 0.715904,1.616244 0.04402,-0.04451 0.48491,-1.149165 0.979759,-2.454787 l 0.899725,-2.373859 0.671958,-0.02987 0.671957,-0.02987 0,3.540149 0,3.540149 -0.404061,0 -0.404061,0 0,-3.252691 c 0,-1.903764 -0.03726,-3.212893 -0.08986,-3.156726 -0.04942,0.05278 -0.47753,1.118744 -0.951352,2.368807 -0.473822,1.250064 -0.892819,2.352393 -0.931103,2.44962 -0.05086,0.129165 -0.182327,0.17631 -0.488116,0.175044 l -0.418507,-0.0017 -0.729866,-1.95387 c -0.401426,-1.074628 -0.82958,-2.176177 -0.951454,-2.447886 l -0.221587,-0.494017 -0.07647,0.454569 c -0.04206,0.250012 -0.07983,1.670539 -0.08395,3.156726 l -0.0075,2.702158 -0.353553,0 -0.353554,0 0,-3.535533 1.7e-5,-3.2e-5 z" + style="fill:#87decd" /> + <path + inkscape:connector-curvature="0" + id="path3090" + d="m 29.789961,24.188827 0,-3.540354 0.624241,0.03007 0.624241,0.03007 0.180474,0.454569 c 0.09926,0.250013 0.49978,1.290351 0.890044,2.311862 0.390263,1.021512 0.763264,1.921992 0.82889,2.001068 0.127897,0.154106 0.464622,-0.604185 1.466622,-3.302778 0.257864,-0.694479 0.495603,-1.291139 0.528309,-1.325909 0.03271,-0.03477 0.34357,-0.08728 0.69081,-0.11669 l 0.631346,-0.05347 0,3.525955 0,3.525954 -0.404061,0 -0.404061,0 0,-3.252691 c 0,-2.03656 -0.0356,-3.216811 -0.0952,-3.156726 -0.05236,0.05278 -0.484802,1.096015 -0.960982,2.3183 -0.476179,1.222284 -0.903901,2.290521 -0.950493,2.373858 -0.103394,0.184938 -0.922767,0.270672 -0.922767,0.09655 0,-0.130846 -1.580732,-4.274854 -1.751516,-4.591731 -0.101579,-0.188472 -0.113449,-0.181693 -0.176886,0.101016 -0.0374,0.166675 -0.07338,1.60993 -0.07995,3.207234 l -0.01195,2.904188 -0.353553,0 -0.353554,0 0,-3.540354 -4e-6,9e-6 z" + style="fill:#87decd" /> + <path + inkscape:connector-curvature="0" + id="path3092" + d="m 29.789961,24.188827 0,-3.540354 0.630129,0.03007 0.630128,0.03007 0.728934,1.91929 c 0.782964,2.061552 1.136476,2.878935 1.245118,2.878935 0.05389,0 1.304263,-3.086591 1.810758,-4.469925 0.08915,-0.243497 0.155021,-0.277962 0.533526,-0.279171 0.237498,-7.59e-4 0.534093,-0.02879 0.659099,-0.06229 l 0.227285,-0.06091 0,3.547315 0,3.547315 -0.404061,0 -0.404061,0 0,-3.114637 c 0,-1.71305 -0.03036,-3.144996 -0.06747,-3.182103 -0.0758,-0.0758 -0.586377,1.10733 -1.361346,3.154589 -0.286143,0.755911 -0.564581,1.431206 -0.618752,1.500654 -0.114679,0.147019 -0.881878,0.172722 -0.881878,0.02954 0,-0.184893 -1.747697,-4.650992 -1.82005,-4.650992 -0.150565,0 -0.198064,0.837254 -0.199143,3.51028 l -0.0011,2.752665 -0.353553,0 -0.353554,0 0,-3.540354 -9e-6,1.3e-5 z" + style="fill:#87decd" /> + <path + inkscape:connector-curvature="0" + id="path3094" + d="m 29.789961,24.188827 0,-3.540354 0.626288,0.03007 0.626288,0.03007 0.867281,2.222336 c 1.104685,2.830663 1.037804,2.71583 1.290072,2.215015 0.109915,-0.218207 0.530929,-1.260421 0.935588,-2.31603 0.404658,-1.05561 0.762973,-1.947529 0.796255,-1.982044 0.03328,-0.03451 0.344619,-0.09064 0.691859,-0.12472 l 0.631346,-0.06197 0,3.533985 0,3.533985 -0.404061,0 -0.404061,0 0,-3.075003 c 0,-1.753747 -0.03977,-3.099583 -0.09256,-3.132208 -0.05091,-0.03146 -0.490998,0.954541 -0.977979,2.19112 -0.486981,1.236578 -0.928193,2.305146 -0.98047,2.374594 -0.05228,0.06945 -0.259948,0.126191 -0.461489,0.126095 L 32.56788,26.213595 31.873242,24.37024 c -0.382051,-1.013845 -0.809889,-2.093368 -0.950751,-2.398939 l -0.256114,-0.555584 -0.07717,0.454569 c -0.04244,0.250012 -0.08054,1.670539 -0.08465,3.156726 l -0.0075,2.702158 -0.353553,0 -0.353554,0 0,-3.540354 1.1e-5,1.1e-5 z" + style="fill:#3dc1ff;fill-opacity:1;fill-rule:nonzero" /> + <path + inkscape:connector-curvature="0" + id="path3096" + d="m 16.556963,24.193648 0,-3.535534 2.171828,0 2.171828,0 0,0.303045 0,0.303046 -1.818275,0 -1.818274,0 0,1.161676 0,1.161675 1.717259,0 1.717259,0 0,0.353553 0,0.353554 -1.717259,0 -1.717259,0 0,1.414213 0,1.414214 1.868782,0 1.868782,0 0,0.303046 0,0.303045 -2.222335,0 -2.222336,0 0,-3.535533 0,0 z" + style="fill:#07ff01;fill-opacity:1" /> + <path + inkscape:connector-curvature="0" + id="path3098" + d="m 9.6051385,17.097326 c 0.027178,-0.191365 0.1245446,-0.243249 0.6160905,-0.3283 l 0.583811,-0.101015 1.413575,-2.118147 c 0.812805,-1.217935 1.390021,-2.179526 1.358155,-2.262568 -0.03048,-0.07943 -0.696041,-1.115004 -1.479023,-2.3012707 l -1.423603,-2.156849 -0.383832,0 c -0.5142392,0 -0.7034016,-0.084403 -0.7034016,-0.3138533 0,-0.1809354 0.1036338,-0.191223 1.9263156,-0.191223 l 1.926315,0 -0.03228,0.2272843 c -0.02648,0.1864639 -0.104849,0.2324548 -0.436341,0.2560728 -0.645727,0.046007 -0.685649,0.076693 -0.518724,0.3987116 0.210656,0.4063792 1.666263,2.5643773 1.904847,2.8240163 l 0.203134,0.221059 0.228259,-0.271566 c 0.483598,-0.57535 2.063712,-2.9804807 2.012521,-3.063309 -0.02964,-0.047956 -0.323946,-0.087193 -0.654018,-0.087193 -0.572795,0 -0.60013,-0.011503 -0.60013,-0.2525382 l 0,-0.2525381 1.565737,0 c 1.468896,0 1.565736,0.011827 1.565736,0.191223 0,0.2290799 -0.189137,0.3138533 -0.700237,0.3138533 l -0.380668,0 -1.338989,2.0135806 c -0.736444,1.1074694 -1.322828,2.0553304 -1.303076,2.1063574 0.01975,0.05103 0.740495,1.167439 1.60165,2.480915 l 1.565736,2.388138 0.53033,6.87e-4 c 0.49816,6.39e-4 0.530331,0.016 0.530331,0.253218 l 0,0.252538 -1.926316,0 -1.926316,0 0.03228,-0.227284 c 0.02719,-0.191457 0.124495,-0.243208 0.617277,-0.3283 l 0.584997,-0.101015 -1.191089,-1.766507 c -0.655099,-0.971579 -1.259274,-1.777991 -1.342611,-1.792027 -0.09572,-0.01612 -0.608384,0.634391 -1.392156,1.766507 l -1.240633,1.792027 0.659795,0.08757 c 0.603305,0.08008 0.659795,0.108185 0.659795,0.3283 l 0,0.240725 -1.572762,0 -1.572762,0 0.03228,-0.227284 5e-7,4e-6 z" + style="fill:#ff7600;fill-opacity:1" /> + </g> +</svg> diff --git a/app/xterm/icons/xterm-color.xpms b/app/xterm/icons/xterm-color.xpms new file mode 100644 index 000000000..073681334 --- /dev/null +++ b/app/xterm/icons/xterm-color.xpms @@ -0,0 +1,263 @@ +/* $XTermId: xterm-color.xpms,v 1.3 2012/10/09 10:48:48 tom Exp $ */ +/* generated by ./make-xpms */ +/* vile:xpmmode */ +/* XPM */ +static const char * const xterm_color_16x16_xpm[] = { +"16 16 80 1", +". c None", +" c #555500", +"+ c #545400", +"@ c #3A3A00", +"# c #222200", +"$ c #2A2A00", +"% c #2B2B00", +"& c #151500", +"* c #5E5E00", +"= c #5A5A00", +"- c #909098", +"; c #3E3E3E", +"> c #000000", +", c #F2F2F2", +"' c #2E2E36", +") c #343400", +"! c #4C0000", +"~ c #140000", +"{ c #7C0000", +"] c #7F7F7F", +"^ c #858588", +"/ c #EA0000", +"( c #0B0000", +"_ c #460000", +": c #8E0000", +"< c #A80000", +"[ c #474747", +"} c #868686", +"| c #404548", +"1 c #8F3400", +"2 c #451200", +"3 c #299000", +"4 c #1F6C00", +"5 c #192E48", +"6 c #1B3448", +"7 c #888888", +"8 c #CF4C00", +"9 c #3B0700", +"0 c #39C700", +"a c #42E800", +"b c #2D5181", +"c c #55A3E3", +"d c #305C81", +"e c #989898", +"f c #D84F00", +"g c #3A0600", +"h c #258100", +"i c #376599", +"j c #396D99", +"k c #7E7E7E", +"l c #010100", +"m c #000101", +"n c #9A9A9A", +"o c #101000", +"p c #5B5B00", +"q c #3D3D00", +"r c #272700", +"s c #2F2F00", +"t c #303000", +"u c #1A1A00", +"v c #464636", +"w c #7A7A7F", +"x c #8B8B90", +"y c #1B1B00", +"z c #0F0F00", +"A c #FFFFFF", +"B c #5B5B5B", +"C c #C9C9C9", +"D c #BFBFBF", +"E c #B5B5B5", +"F c #5C5C5C", +"G c #79797F", +"H c #7F7F88", +"I c #484835", +"J c #3C3C00", +"K c #1E1E00", +"L c #909090", +"M c #333336", +"N c #464600", +"O c #575700", +".+@#$$$$$$$$%&*+", +".=-;>>>>>>>>>,')", +".=>!~{>>>>>>>>]^", +".=>>/(>>>>>>>>]]", +".=>_:<>>>>>>>>]]", +".=>>>>>>>>>>>>]]", +".=>[}|12345>6>]]", +".=>>7>890abcd>]]", +".=>>e>fgh0i>j>k^", +".=>>>l>>>>>m>>no", +".=-;>>>>>>>>>,>p", +".+qrsssssssstu*.", +".pvwwwwwwwwwwxy.", +"+zABABCDDDEAFG*.", +"*HBABAEDDDCBAIJ.", +"KL]]]]]]]]]]MNO."}; +/* XPM */ +static const char * const xterm_color_32x32_xpm[] = { +"32 32 60 1", +". c None", +" c #FFFFFF", +"+ c #000000", +"@ c #EFEFEF", +"# c #FEFEFE", +"$ c #FBFBFB", +"% c #F3F3F3", +"& c #ADADAD", +"* c #909090", +"= c #737373", +"- c #D2D2D2", +"; c #646464", +"> c #9A9A9A", +", c #8D8D8D", +"' c #D3D3D3", +") c #0E0E0E", +"! c #F6F6F6", +"~ c #5E5E5E", +"{ c #B1B1B1", +"] c #777777", +"^ c #949494", +"/ c #757575", +"( c #C4C4C4", +"_ c #E7E7E7", +": c #F1F1F1", +"< c #F8F8F8", +"[ c #EEEEEE", +"} c #F0F0F0", +"| c #FAFAFA", +"1 c #7B7B7B", +"2 c #3D3D3D", +"3 c #868686", +"4 c #4F4F4F", +"5 c #ABABAB", +"6 c #545454", +"7 c #5B5B5B", +"8 c #AFAFAF", +"9 c #292929", +"0 c #181818", +"a c #C7C7C7", +"b c #CFCFCF", +"c c #7F7F7F", +"d c #A3A3A3", +"e c #4D4D4D", +"f c #6A6A6A", +"g c #A1A1A1", +"h c #8E8E8E", +"i c #696969", +"j c #474747", +"k c #5A5A5A", +"l c #959595", +"m c #767676", +"n c #8B8B8B", +"o c #BCBCBC", +"p c #BFBFBF", +"q c #D7D7D7", +"r c #404040", +"s c #636363", +"t c #989898", +"u c #8A8A8A", +"................................", +".....+++++++++++++++++++++++....", +"....+..+++++++++++++++++++..++..", +"....+.+...................+.+.+.", +"....++.@#.$%................+..+", +"....++.&*.=-................+..+", +"....++..;>,.................+..+", +"....++..')!.................+..+", +"....++.#~{].................+..+", +"....++.^{./(................+..+", +"....++......................+..+", +"....++......................+..+", +"....++.____:___<_[..<}..[|..+..+", +"....++.1;21341156]7.89$:0a..+..+", +"....++..bc.8^__8d.e.8fghia..+..+", +"....++..bc.84115jkl.887mna..+..+", +"....++..bc.8d..8dof.88pqna..+..+", +"....++..bc.8rss5d.tu88..na..+...", +"....++......................+.+.", +"....++......................+.+.", +"....+.+...................+.++..", +"....+..+++++++++++++++++++..+...", +".....+++++++++++++++++++++++....", +"................................", +".....++++++++++++++++++++++++...", +"....+.......................+...", +"...+.......................+....", +"...+..++..++.++..++..+..++.+....", +"....++..++..+..++..++.++........", +"..+.......................+.+...", +".+.......................+......", +".++++++++++++++++++++++++++....."}; +/* XPM */ +static const char * const xterm_color_48x48_xpm[] = { +"48 48 10 1", +". c None", +" c #555500", +"+ c #000000", +"@ c #FFFFFF", +"# c #FF0000", +"$ c #070700", +"% c #0B0B00", +"& c #FF8400", +"* c #49FF00", +"= c #60B7FF", +"................................................", +"......++++++++++++++++++++++++++++++++++........", +".....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@++......", +".....+@@@++++++++++++++++++++++++++++@@@+@+.....", +".....+@@++++++++++++++++++++++++++++++@@+@@+....", +".....+@++++++++++++++++++++++++++++++++@+@@@+...", +".....+@++###++++###++++++++++++++++++++@+@@@@+..", +".....+@+++##++++##+++++++++++++++++++++@+@@@@+..", +".....+@++++##++##++++++++++++++++++++++@+@@@@+..", +".....+@++++##++##++++++++++++++++++++++@+@@@@+..", +".....+@+++++####+++++++++++++++++++++++@+@@@@+..", +".....+@+++++####+++++++++++++++++++++++@+@@@@+..", +".....+@++++++##++++++++++++++++++++++++@+@@@@+..", +".....+@+++++####+++++++++++++++++++++++@+@@@@+..", +".....+@+++++####+++++++++++++++++++++++@+@@@@+..", +".....+@++++##++##++++++++++++++++++++++@+@@@@+..", +".....+@++++##++##++++++++++++++++++++++@+@@@@+..", +".....+@+++##++++##+++++++++++++++++++++@+@@@@+..", +".....+@++###++++###++++++++++++++++++++@+@@@@+..", +".....+@++++++++++++++++++++++++++++++++@+@@@@+..", +".....+@$+++++++++++++++++++++++++++++++@+@@@@+..", +".....+@%@@@@@@@+&&&&&++****+++==+++==++@+@@@@+..", +".....+@++++@++++&++++++*+++*++==+++==++@+@@@@+..", +".....+@++++@++++&++++++*+++*++=+=+=+=++@+@@@@+..", +".....+@++++@++++&&&&+++****+++=+=+=+=++@+@@@@+..", +".....+@++++@++++&++++++*+*++++=++=++=++@+@@@+...", +".....+@++++@++++&++++++*++*+++=++=++=++@+@@@+...", +".....+@++++@++++&&&&&++*+++*++=+++++=++@+@@+....", +".....+@++++++++++++++++++++++++++++++++@+@@+....", +".....+@++++++++++++++++++++++++++++++++@+@+.....", +".....+@@++++++++++++++++++++++++++++++@@+@+.....", +".....+@@@++++++++++++++++++++++++++++@@@++......", +".....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@++......", +"......++++++++++++++++++++++++++++++++++........", +"................................................", +"................................................", +"......++++++++++++++++++++++++++++++++++++......", +".....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@++......", +".....+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@@++......", +"....+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@+......", +"....+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@@+@+......", +"...+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@@+......", +"...+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@+@@+@@+......", +"..+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@@+.......", +"..+@++@++++++++++++++++++++++++++@++@+@+........", +".+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+@+.........", +".+++++++++++++++++++++++++++++++++++++..........", +"................................................"}; +static const XPM_DATA xterm_color_xpms[] = { + { "xterm-color_16x16", xterm_color_16x16_xpm }, + { "xterm-color_32x32", xterm_color_32x32_xpm }, + { "xterm-color_48x48", xterm_color_48x48_xpm } +}; diff --git a/app/xterm/icons/xterm-color_16x16.xpm b/app/xterm/icons/xterm-color_16x16.xpm new file mode 100644 index 000000000..d5b3c7a99 --- /dev/null +++ b/app/xterm/icons/xterm-color_16x16.xpm @@ -0,0 +1,99 @@ +/* XPM */ +static char * xterm_color_16x16_xpm[] = { +"16 16 80 1", +". c None", +" c #555500", +"+ c #545400", +"@ c #3A3A00", +"# c #222200", +"$ c #2A2A00", +"% c #2B2B00", +"& c #151500", +"* c #5E5E00", +"= c #5A5A00", +"- c #909098", +"; c #3E3E3E", +"> c #000000", +", c #F2F2F2", +"' c #2E2E36", +") c #343400", +"! c #4C0000", +"~ c #140000", +"{ c #7C0000", +"] c #7F7F7F", +"^ c #858588", +"/ c #EA0000", +"( c #0B0000", +"_ c #460000", +": c #8E0000", +"< c #A80000", +"[ c #474747", +"} c #868686", +"| c #404548", +"1 c #8F3400", +"2 c #451200", +"3 c #299000", +"4 c #1F6C00", +"5 c #192E48", +"6 c #1B3448", +"7 c #888888", +"8 c #CF4C00", +"9 c #3B0700", +"0 c #39C700", +"a c #42E800", +"b c #2D5181", +"c c #55A3E3", +"d c #305C81", +"e c #989898", +"f c #D84F00", +"g c #3A0600", +"h c #258100", +"i c #376599", +"j c #396D99", +"k c #7E7E7E", +"l c #010100", +"m c #000101", +"n c #9A9A9A", +"o c #101000", +"p c #5B5B00", +"q c #3D3D00", +"r c #272700", +"s c #2F2F00", +"t c #303000", +"u c #1A1A00", +"v c #464636", +"w c #7A7A7F", +"x c #8B8B90", +"y c #1B1B00", +"z c #0F0F00", +"A c #FFFFFF", +"B c #5B5B5B", +"C c #C9C9C9", +"D c #BFBFBF", +"E c #B5B5B5", +"F c #5C5C5C", +"G c #79797F", +"H c #7F7F88", +"I c #484835", +"J c #3C3C00", +"K c #1E1E00", +"L c #909090", +"M c #333336", +"N c #464600", +"O c #575700", +".+@#$$$$$$$$%&*+", +".=-;>>>>>>>>>,')", +".=>!~{>>>>>>>>]^", +".=>>/(>>>>>>>>]]", +".=>_:<>>>>>>>>]]", +".=>>>>>>>>>>>>]]", +".=>[}|12345>6>]]", +".=>>7>890abcd>]]", +".=>>e>fgh0i>j>k^", +".=>>>l>>>>>m>>no", +".=-;>>>>>>>>>,>p", +".+qrsssssssstu*.", +".pvwwwwwwwwwwxy.", +"+zABABCDDDEAFG*.", +"*HBABAEDDDCBAIJ.", +"KL]]]]]]]]]]MNO."}; diff --git a/app/xterm/icons/xterm-color_32x32.xpm b/app/xterm/icons/xterm-color_32x32.xpm index 7824f6c99..7feaadc28 100644 --- a/app/xterm/icons/xterm-color_32x32.xpm +++ b/app/xterm/icons/xterm-color_32x32.xpm @@ -1,46 +1,95 @@ /* XPM */ static char * xterm_color_32x32_xpm[] = { -"32 32 11 1", -" c None", -". c #555500", +"32 32 60 1", +". c None", +" c #FFFFFF", "+ c #000000", -"@ c #FFFFFF", -"# c #FF0000", -"$ c #980000", -"% c #FF5E00", -"& c #49FF00", -"* c #2FA300", -"= c #60B7FF", -"- c #3A709B", +"@ c #EFEFEF", +"# c #FEFEFE", +"$ c #FBFBFB", +"% c #F3F3F3", +"& c #ADADAD", +"* c #909090", +"= c #737373", +"- c #D2D2D2", +"; c #646464", +"> c #9A9A9A", +", c #8D8D8D", +"' c #D3D3D3", +") c #0E0E0E", +"! c #F6F6F6", +"~ c #5E5E5E", +"{ c #B1B1B1", +"] c #777777", +"^ c #949494", +"/ c #757575", +"( c #C4C4C4", +"_ c #E7E7E7", +": c #F1F1F1", +"< c #F8F8F8", +"[ c #EEEEEE", +"} c #F0F0F0", +"| c #FAFAFA", +"1 c #7B7B7B", +"2 c #3D3D3D", +"3 c #868686", +"4 c #4F4F4F", +"5 c #ABABAB", +"6 c #545454", +"7 c #5B5B5B", +"8 c #AFAFAF", +"9 c #292929", +"0 c #181818", +"a c #C7C7C7", +"b c #CFCFCF", +"c c #7F7F7F", +"d c #A3A3A3", +"e c #4D4D4D", +"f c #6A6A6A", +"g c #A1A1A1", +"h c #8E8E8E", +"i c #696969", +"j c #474747", +"k c #5A5A5A", +"l c #959595", +"m c #767676", +"n c #8B8B8B", +"o c #BCBCBC", +"p c #BFBFBF", +"q c #D7D7D7", +"r c #404040", +"s c #636363", +"t c #989898", +"u c #8A8A8A", "................................", ".....+++++++++++++++++++++++....", -"....+@@+++++++++++++++++++@@++..", -"....+@+++++++++++++++++++++@+@+.", -"....+++++++++++++++++++++++++@@+", -"....+++#$+$#+++++++++++++++++@@+", -"....++++$#$++++++++++++++++++@@+", -"....++++$#+++++++++++++++++++@@+", -"....++++$#$++++++++++++++++++@@+", -"....+++#$+$#+++++++++++++++++@@+", -"....+++++++++++++++++++++++++@@+", -"....+++++++++++++++++++++++++@@+", -"....+++++++++++++++++++++++++@@+", -"....+++@@@@+%%%+&&&*+=++=++++@@+", -"....+++++@++%+++&+&*+=-==++++@@+", -"....+++++@++%%%+&&&*+==-=++++@@+", -"....+++++@++%+++&+&++=++=++++@@+", -"....+++++@++%%%+&+*&+=++=++++@@+", -"....+++++++++++++++++++++++++@+.", -"....+++++++++++++++++++++++++@+.", -"....+@+++++++++++++++++++++@++..", -"....+@@+++++++++++++++++++@@+...", +"....+..+++++++++++++++++++..++..", +"....+.+...................+.+.+.", +"....++.@#.$%................+..+", +"....++.&*.=-................+..+", +"....++..;>,.................+..+", +"....++..')!.................+..+", +"....++.#~{].................+..+", +"....++.^{./(................+..+", +"....++......................+..+", +"....++......................+..+", +"....++.____:___<_[..<}..[|..+..+", +"....++.1;21341156]7.89$:0a..+..+", +"....++..bc.8^__8d.e.8fghia..+..+", +"....++..bc.84115jkl.887mna..+..+", +"....++..bc.8d..8dof.88pqna..+..+", +"....++..bc.8rss5d.tu88..na..+...", +"....++......................+.+.", +"....++......................+.+.", +"....+.+...................+.++..", +"....+..+++++++++++++++++++..+...", ".....+++++++++++++++++++++++....", "................................", ".....++++++++++++++++++++++++...", -"....+@@@@@@@@@@@@@@@@@@@@@@@+...", -"...+@@@@@@@@@@@@@@@@@@@@@@@+....", -"...+@@++@@++@++@@++@@+@@++@+....", -"..+@++@@++@@+@@++@@++@++@@@+....", -"..+@@@@@@@@@@@@@@@@@@@@@@@+.+...", -".+@@@@@@@@@@@@@@@@@@@@@@@+......", +"....+.......................+...", +"...+.......................+....", +"...+..++..++.++..++..+..++.+....", +"....++..++..+..++..++.++........", +"..+.......................+.+...", +".+.......................+......", ".++++++++++++++++++++++++++....."}; diff --git a/app/xterm/icons/xterm-color_48x48.xpm b/app/xterm/icons/xterm-color_48x48.xpm index 126e454ec..d8a501f5d 100644 --- a/app/xterm/icons/xterm-color_48x48.xpm +++ b/app/xterm/icons/xterm-color_48x48.xpm @@ -1,8 +1,8 @@ /* XPM */ static char * xterm_color_48x48_xpm[] = { "48 48 10 1", -" c None", -". c #555500", +". c None", +" c #555500", "+ c #000000", "@ c #FFFFFF", "# c #FF0000", diff --git a/app/xterm/icons/xterm.png b/app/xterm/icons/xterm.png Binary files differnew file mode 100644 index 000000000..a2fcf1b33 --- /dev/null +++ b/app/xterm/icons/xterm.png diff --git a/app/xterm/icons/xterm.svg b/app/xterm/icons/xterm.svg new file mode 100644 index 000000000..0f9641a09 --- /dev/null +++ b/app/xterm/icons/xterm.svg @@ -0,0 +1,652 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48px" + height="48px" + id="svg2985" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="xterm.svg" + sodipodi:version="0.32" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + enable-background="new"> + <title + id="title2983">terminal</title> + <defs + id="defs2987"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective11" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#000000" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="9.8994949" + inkscape:cx="10.099708" + inkscape:cy="22.28651" + inkscape:current-layer="layer2" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="961" + inkscape:window-height="767" + inkscape:window-x="28" + inkscape:window-y="33" + inkscape:window-maximized="0" + objecttolerance="2"> + <inkscape:grid + type="xygrid" + id="grid2988" + empspacing="5" + visible="true" + enabled="false" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata2990"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>xterm</dc:title> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by/3.0/" /> + <dc:creator> + <cc:Agent> + <dc:title>Thomas E. Dickey</dc:title> + </cc:Agent> + </dc:creator> + <dc:rights> + <cc:Agent> + <dc:title>MIT-X11</dc:title> + </cc:Agent> + </dc:rights> + <dc:description>XTerm icon, in SVG format.</dc:description> + <dc:date>June 14, 2012</dc:date> + <dc:source>http://invisible-island.net/xterm/</dc:source> + <dc:identifier>http://invisible-island.net/xterm/xterm</dc:identifier> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by/3.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="Layer" + style="opacity:1;display:inline"> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 6.3639611,36.585276 L 41.51727,36.484261 L 41.51727,42.444161 L 37.47666,46.484771 L 1.4142136,46.484771 L 1.4142136,45.474619 L 6.3639611,36.585276 z" + id="path2386" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 36.5,46.5 L 36.5,45.5 L 41,36.5" + id="path2388" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 4.5,44.5 L 5.5,44.5" + id="path2398" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,44.5 L 32.5,44.5" + id="path2400" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 34.5,44.5 L 35.5,44.5" + id="path2402" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,5.5 L 7.5,29.5 L 9.5,31.5 L 36.5,31.5 L 38.5,29.5 L 38.5,5.5 L 36.5,3.5 L 9.5,3.5 L 7.5,5.5 z" + id="path2406" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 5.5,32.5 L 6.5,33.5 L 39.5,33.5 L 40.5,32.5 L 40.5,2.5 L 39.5,1.5 L 6.5,1.5 L 5.5,2.5 L 5.5,32.5 z" + id="path2408" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 40.5,32.5 L 41.5,32.5 L 45.5,24.5 L 45.5,6.5 L 41.5,2.5 L 40.5,2.5 L 40.5,32.5 z" + id="path2410" /> + <path + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="M 7.5,38.5 L 7.5,38.5 z" + id="path2395" /> + <path + sodipodi:type="arc" + id="path2413" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,38.5 A 0.5,0.5 0 1 1 7,38.5 A 0.5,0.5 0 1 1 8,38.5 z" /> + <path + sodipodi:type="arc" + id="path2415" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10,38.5 A 0.5,0.5 0 1 1 9,38.5 A 0.5,0.5 0 1 1 10,38.5 z" /> + <path + sodipodi:type="arc" + id="path2419" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 12,38.5 A 0.5,0.5 0 1 1 11,38.5 A 0.5,0.5 0 1 1 12,38.5 z" /> + <path + sodipodi:type="arc" + id="path2421" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 14,38.5 A 0.5,0.5 0 1 1 13,38.5 A 0.5,0.5 0 1 1 14,38.5 z" /> + <path + sodipodi:type="arc" + id="path2423" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 16,38.5 A 0.5,0.5 0 1 1 15,38.5 A 0.5,0.5 0 1 1 16,38.5 z" /> + <path + sodipodi:type="arc" + id="path2425" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 18,38.5 A 0.5,0.5 0 1 1 17,38.5 A 0.5,0.5 0 1 1 18,38.5 z" /> + <path + sodipodi:type="arc" + id="path2427" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 20,38.5 A 0.5,0.5 0 1 1 19,38.5 A 0.5,0.5 0 1 1 20,38.5 z" /> + <path + sodipodi:type="arc" + id="path2429" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 22,38.5 A 0.5,0.5 0 1 1 21,38.5 A 0.5,0.5 0 1 1 22,38.5 z" /> + <path + sodipodi:type="arc" + id="path2431" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 24,38.5 A 0.5,0.5 0 1 1 23,38.5 A 0.5,0.5 0 1 1 24,38.5 z" /> + <path + sodipodi:type="arc" + id="path2433" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26,38.5 A 0.5,0.5 0 1 1 25,38.5 A 0.5,0.5 0 1 1 26,38.5 z" /> + <path + sodipodi:type="arc" + id="path2435" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28,38.5 A 0.5,0.5 0 1 1 27,38.5 A 0.5,0.5 0 1 1 28,38.5 z" /> + <path + sodipodi:type="arc" + id="path2437" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 30,38.5 A 0.5,0.5 0 1 1 29,38.5 A 0.5,0.5 0 1 1 30,38.5 z" /> + <path + sodipodi:type="arc" + id="path2439" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 32,38.5 A 0.5,0.5 0 1 1 31,38.5 A 0.5,0.5 0 1 1 32,38.5 z" /> + <path + sodipodi:type="arc" + id="path2441" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34,38.5 A 0.5,0.5 0 1 1 33,38.5 A 0.5,0.5 0 1 1 34,38.5 z" /> + <path + sodipodi:type="arc" + id="path2443" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,38.5 A 0.5,0.5 0 1 1 35,38.5 A 0.5,0.5 0 1 1 36,38.5 z" /> + <path + sodipodi:type="arc" + id="path2445" + style="fill:#000000;stroke:none" + sodipodi:cx="37.5" + sodipodi:cy="38.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 38,38.5 A 0.5,0.5 0 1 1 37,38.5 A 0.5,0.5 0 1 1 38,38.5 z" /> + <path + sodipodi:type="arc" + id="path2447" + style="fill:#000000;stroke:none" + sodipodi:cx="6.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 7,40.5 A 0.5,0.5 0 1 1 6,40.5 A 0.5,0.5 0 1 1 7,40.5 z" /> + <path + sodipodi:type="arc" + id="path2449" + style="fill:#000000;stroke:none" + sodipodi:cx="8.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 9,40.5 A 0.5,0.5 0 1 1 8,40.5 A 0.5,0.5 0 1 1 9,40.5 z" /> + <path + sodipodi:type="arc" + id="path2451" + style="fill:#000000;stroke:none" + sodipodi:cx="10.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 11,40.5 A 0.5,0.5 0 1 1 10,40.5 A 0.5,0.5 0 1 1 11,40.5 z" /> + <path + sodipodi:type="arc" + id="path2453" + style="fill:#000000;stroke:none" + sodipodi:cx="12.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 13,40.5 A 0.5,0.5 0 1 1 12,40.5 A 0.5,0.5 0 1 1 13,40.5 z" /> + <path + sodipodi:type="arc" + id="path2455" + style="fill:#000000;stroke:none" + sodipodi:cx="14.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 15,40.5 A 0.5,0.5 0 1 1 14,40.5 A 0.5,0.5 0 1 1 15,40.5 z" /> + <path + sodipodi:type="arc" + id="path2457" + style="fill:#000000;stroke:none" + sodipodi:cx="16.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 17,40.5 A 0.5,0.5 0 1 1 16,40.5 A 0.5,0.5 0 1 1 17,40.5 z" /> + <path + sodipodi:type="arc" + id="path2461" + style="fill:#000000;stroke:none" + sodipodi:cx="18.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 19,40.5 A 0.5,0.5 0 1 1 18,40.5 A 0.5,0.5 0 1 1 19,40.5 z" /> + <path + sodipodi:type="arc" + id="path2463" + style="fill:#000000;stroke:none" + sodipodi:cx="20.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 21,40.5 A 0.5,0.5 0 1 1 20,40.5 A 0.5,0.5 0 1 1 21,40.5 z" /> + <path + sodipodi:type="arc" + id="path2465" + style="fill:#000000;stroke:none" + sodipodi:cx="22.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 23,40.5 A 0.5,0.5 0 1 1 22,40.5 A 0.5,0.5 0 1 1 23,40.5 z" /> + <path + sodipodi:type="arc" + id="path2467" + style="fill:#000000;stroke:none" + sodipodi:cx="24.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 25,40.5 A 0.5,0.5 0 1 1 24,40.5 A 0.5,0.5 0 1 1 25,40.5 z" /> + <path + sodipodi:type="arc" + id="path2469" + style="fill:#000000;stroke:none" + sodipodi:cx="26.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 27,40.5 A 0.5,0.5 0 1 1 26,40.5 A 0.5,0.5 0 1 1 27,40.5 z" /> + <path + sodipodi:type="arc" + id="path2471" + style="fill:#000000;stroke:none" + sodipodi:cx="28.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 29,40.5 A 0.5,0.5 0 1 1 28,40.5 A 0.5,0.5 0 1 1 29,40.5 z" /> + <path + sodipodi:type="arc" + id="path2473" + style="fill:#000000;stroke:none" + sodipodi:cx="30.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 31,40.5 A 0.5,0.5 0 1 1 30,40.5 A 0.5,0.5 0 1 1 31,40.5 z" /> + <path + sodipodi:type="arc" + id="path2475" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33,40.5 A 0.5,0.5 0 1 1 32,40.5 A 0.5,0.5 0 1 1 33,40.5 z" /> + <path + sodipodi:type="arc" + id="path2477" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35,40.5 A 0.5,0.5 0 1 1 34,40.5 A 0.5,0.5 0 1 1 35,40.5 z" /> + <path + sodipodi:type="arc" + id="path2479" + style="fill:#000000;stroke:none" + sodipodi:cx="36.5" + sodipodi:cy="40.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 37,40.5 A 0.5,0.5 0 1 1 36,40.5 A 0.5,0.5 0 1 1 37,40.5 z" /> + <path + sodipodi:type="arc" + id="path2481" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6,42.5 A 0.5,0.5 0 1 1 5,42.5 A 0.5,0.5 0 1 1 6,42.5 z" /> + <path + sodipodi:type="arc" + id="path2483" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,42.5 A 0.5,0.5 0 1 1 7,42.5 A 0.5,0.5 0 1 1 8,42.5 z" /> + <path + sodipodi:type="arc" + id="path2485" + style="fill:#000000;stroke:none" + sodipodi:cx="9.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 10,42.5 A 0.5,0.5 0 1 1 9,42.5 A 0.5,0.5 0 1 1 10,42.5 z" /> + <path + sodipodi:type="arc" + id="path2487" + style="fill:#000000;stroke:none" + sodipodi:cx="11.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 12,42.5 A 0.5,0.5 0 1 1 11,42.5 A 0.5,0.5 0 1 1 12,42.5 z" /> + <path + sodipodi:type="arc" + id="path2489" + style="fill:#000000;stroke:none" + sodipodi:cx="13.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 14,42.5 A 0.5,0.5 0 1 1 13,42.5 A 0.5,0.5 0 1 1 14,42.5 z" /> + <path + sodipodi:type="arc" + id="path2491" + style="fill:#000000;stroke:none" + sodipodi:cx="15.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 16,42.5 A 0.5,0.5 0 1 1 15,42.5 A 0.5,0.5 0 1 1 16,42.5 z" /> + <path + sodipodi:type="arc" + id="path2493" + style="fill:#000000;stroke:none" + sodipodi:cx="17.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 18,42.5 A 0.5,0.5 0 1 1 17,42.5 A 0.5,0.5 0 1 1 18,42.5 z" /> + <path + sodipodi:type="arc" + id="path2495" + style="fill:#000000;stroke:none" + sodipodi:cx="19.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 20,42.5 A 0.5,0.5 0 1 1 19,42.5 A 0.5,0.5 0 1 1 20,42.5 z" /> + <path + sodipodi:type="arc" + id="path2497" + style="fill:#000000;stroke:none" + sodipodi:cx="21.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 22,42.5 A 0.5,0.5 0 1 1 21,42.5 A 0.5,0.5 0 1 1 22,42.5 z" /> + <path + sodipodi:type="arc" + id="path2499" + style="fill:#000000;stroke:none" + sodipodi:cx="23.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 24,42.5 A 0.5,0.5 0 1 1 23,42.5 A 0.5,0.5 0 1 1 24,42.5 z" /> + <path + sodipodi:type="arc" + id="path2501" + style="fill:#000000;stroke:none" + sodipodi:cx="25.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 26,42.5 A 0.5,0.5 0 1 1 25,42.5 A 0.5,0.5 0 1 1 26,42.5 z" /> + <path + sodipodi:type="arc" + id="path2503" + style="fill:#000000;stroke:none" + sodipodi:cx="27.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 28,42.5 A 0.5,0.5 0 1 1 27,42.5 A 0.5,0.5 0 1 1 28,42.5 z" /> + <path + sodipodi:type="arc" + id="path2505" + style="fill:#000000;stroke:none" + sodipodi:cx="29.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 30,42.5 A 0.5,0.5 0 1 1 29,42.5 A 0.5,0.5 0 1 1 30,42.5 z" /> + <path + sodipodi:type="arc" + id="path2507" + style="fill:#000000;stroke:none" + sodipodi:cx="31.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 32,42.5 A 0.5,0.5 0 1 1 31,42.5 A 0.5,0.5 0 1 1 32,42.5 z" /> + <path + sodipodi:type="arc" + id="path2509" + style="fill:#000000;stroke:none" + sodipodi:cx="33.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 34,42.5 A 0.5,0.5 0 1 1 33,42.5 A 0.5,0.5 0 1 1 34,42.5 z" /> + <path + sodipodi:type="arc" + id="path2511" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="42.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,42.5 A 0.5,0.5 0 1 1 35,42.5 A 0.5,0.5 0 1 1 36,42.5 z" /> + <path + sodipodi:type="arc" + id="path2513" + style="fill:#000000;stroke:none" + sodipodi:cx="4.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 5,44.5 A 0.5,0.5 0 1 1 4,44.5 A 0.5,0.5 0 1 1 5,44.5 z" /> + <path + sodipodi:type="arc" + id="path2517" + style="fill:#000000;stroke:none" + sodipodi:cx="5.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 6,44.5 A 0.5,0.5 0 1 1 5,44.5 A 0.5,0.5 0 1 1 6,44.5 z" /> + <path + sodipodi:type="arc" + id="path2519" + style="fill:#000000;stroke:none" + sodipodi:cx="34.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 35,44.5 A 0.5,0.5 0 1 1 34,44.5 A 0.5,0.5 0 1 1 35,44.5 z" /> + <path + sodipodi:type="arc" + id="path2521" + style="fill:#000000;stroke:none" + sodipodi:cx="35.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 36,44.5 A 0.5,0.5 0 1 1 35,44.5 A 0.5,0.5 0 1 1 36,44.5 z" /> + <path + sodipodi:type="arc" + id="path2523" + style="fill:#000000;stroke:none" + sodipodi:cx="7.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 8,44.5 A 0.5,0.5 0 1 1 7,44.5 A 0.5,0.5 0 1 1 8,44.5 z" /> + <path + sodipodi:type="arc" + id="path2529" + style="fill:#000000;stroke:none" + sodipodi:cx="32.5" + sodipodi:cy="44.5" + sodipodi:rx="0.5" + sodipodi:ry="0.5" + d="M 33,44.5 A 0.5,0.5 0 1 1 32,44.5 A 0.5,0.5 0 1 1 33,44.5 z" /> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Serif;-inkscape-font-specification:Serif" + x="9.3944197" + y="17.392376" + id="text2446" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2448" + x="9.3944197" + y="17.392376">X</tspan></text> + <text + xml:space="preserve" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans" + x="9.2934036" + y="27.796949" + id="text2450" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan2452" + x="9.2934036" + y="27.796949">TERM</tspan></text> + </g> +</svg> diff --git a/app/xterm/icons/xterm.xpms b/app/xterm/icons/xterm.xpms new file mode 100644 index 000000000..bb3450470 --- /dev/null +++ b/app/xterm/icons/xterm.xpms @@ -0,0 +1,119 @@ +/* $XTermId: xterm.xpms,v 1.3 2012/10/07 22:58:01 tom Exp $ */ +/* generated by ./make-xpms */ +/* vile:xpmmode */ +/* XPM */ +static const char * const xterm_16x16_xpm[] = { +"16 16 2 1", +" c None", +". c #000000", +" ", +" . ", +" .... . ", +" .. . ", +" .. . ", +" .. . . ", +" . ", +" .... .. . ", +" . . . .. . ", +" . . ", +" . . ", +" . ", +" . ", +" ", +" ", +" . "}; +/* XPM */ +static const char * const xterm_32x32_xpm[] = { +"32 32 2 1", +" c None", +". c #000000", +" ", +" . .. ", +" . ................... ... ", +" . . ... . ", +" . ... . ", +" . .. ... ... . ", +" . . . ... . ", +" . .. ... . ", +" . .. ... . ", +" . .. ... . ", +" . . . ... . ", +" . ... .. ... . ", +" . ... . ", +" . ... . ", +" . ........ ... .. ..... . ", +" . . . . . ........ . ", +" . . ... .. . . .... . ", +" . . . . . . . .... . ", +" . . ... . .. . .... . ", +" . . .... ", +" . . . ... ", +" . .. ", +" ....................... ", +" ", +" ........................ ", +" . .. ", +" .. ", +" . . . ", +" . . ", +" . . ................. .. . ", +" . .. ", +" "}; +/* XPM */ +static const char * const xterm_48x48_xpm[] = { +"48 48 2 1", +" c None", +". c #000000", +" ", +" .................................. ", +" . .. ", +" . ............................ . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . ... ... . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . .. . . . ", +" . . .. . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . ... ... . . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . ..... ..... .... . . . . . ", +" . . . . . . .. .. . . . ", +" . . . . . . .. .. . . . ", +" . . . ..... .... . . . . . . . ", +" . . . . . . . ... . . . .. ", +" . . . . . . . . . . . . ", +" . . . ..... . . . . . . .. ", +" . . . . . ", +" . . . . .. ", +" . . . . . ", +" . ............................ ... ", +" . .. ", +" .................................. ", +" ", +" ", +" .................................... ", +" . .. ", +" . . . . . . . . . . . . . . . . . ... ", +" . . . ", +" . . . . . . . . . . . . . . . . . .. . ", +" . . . ", +" .. . . . . . . . . . . . . . . . . .. . ", +" . . . ", +" .. .. .......................... .... . ", +" . . . ", +" ..................................... ", +" "}; +static const XPM_DATA xterm_xpms[] = { + { "xterm_16x16", xterm_16x16_xpm }, + { "xterm_32x32", xterm_32x32_xpm }, + { "xterm_48x48", xterm_48x48_xpm } +}; diff --git a/app/xterm/icons/xterm_16x16.xpm b/app/xterm/icons/xterm_16x16.xpm new file mode 100644 index 000000000..4dc551461 --- /dev/null +++ b/app/xterm/icons/xterm_16x16.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * xterm_16x16_xpm[] = { +"16 16 2 1", +" c None", +". c #000000", +" ", +" . ", +" .... . ", +" .. . ", +" .. . ", +" .. . . ", +" . ", +" .... .. . ", +" . . . .. . ", +" . . ", +" . . ", +" . ", +" . ", +" ", +" ", +" . "}; diff --git a/app/xterm/icons/xterm_32x32.xpm b/app/xterm/icons/xterm_32x32.xpm index 361093699..844a956d3 100644 --- a/app/xterm/icons/xterm_32x32.xpm +++ b/app/xterm/icons/xterm_32x32.xpm @@ -1,95 +1,37 @@ /* XPM */ static char * xterm_32x32_xpm[] = { -"32 32 60 1", +"32 32 2 1", " c None", -". c #FFFFFF", -"+ c #000000", -"@ c #EFEFEF", -"# c #FEFEFE", -"$ c #FBFBFB", -"% c #F3F3F3", -"& c #ADADAD", -"* c #909090", -"= c #737373", -"- c #D2D2D2", -"; c #646464", -"> c #9A9A9A", -", c #8D8D8D", -"' c #D3D3D3", -") c #0E0E0E", -"! c #F6F6F6", -"~ c #5E5E5E", -"{ c #B1B1B1", -"] c #777777", -"^ c #949494", -"/ c #757575", -"( c #C4C4C4", -"_ c #E7E7E7", -": c #F1F1F1", -"< c #F8F8F8", -"[ c #EEEEEE", -"} c #F0F0F0", -"| c #FAFAFA", -"1 c #7B7B7B", -"2 c #3D3D3D", -"3 c #868686", -"4 c #4F4F4F", -"5 c #ABABAB", -"6 c #545454", -"7 c #5B5B5B", -"8 c #AFAFAF", -"9 c #292929", -"0 c #181818", -"a c #C7C7C7", -"b c #CFCFCF", -"c c #7F7F7F", -"d c #A3A3A3", -"e c #4D4D4D", -"f c #6A6A6A", -"g c #A1A1A1", -"h c #8E8E8E", -"i c #696969", -"j c #474747", -"k c #5A5A5A", -"l c #959595", -"m c #767676", -"n c #8B8B8B", -"o c #BCBCBC", -"p c #BFBFBF", -"q c #D7D7D7", -"r c #404040", -"s c #636363", -"t c #989898", -"u c #8A8A8A", -"................................", -".....+++++++++++++++++++++++....", -"....+..+++++++++++++++++++..++..", -"....+.+...................+.+.+.", -"....++.@#.$%................+..+", -"....++.&*.=-................+..+", -"....++..;>,.................+..+", -"....++..')!.................+..+", -"....++.#~{].................+..+", -"....++.^{./(................+..+", -"....++......................+..+", -"....++......................+..+", -"....++.____:___<_[..<}..[|..+..+", -"....++.1;21341156]7.89$:0a..+..+", -"....++..bc.8^__8d.e.8fghia..+..+", -"....++..bc.84115jkl.887mna..+..+", -"....++..bc.8d..8dof.88pqna..+..+", -"....++..bc.8rss5d.tu88..na..+...", -"....++......................+.+.", -"....++......................+.+.", -"....+.+...................+.++..", -"....+..+++++++++++++++++++..+...", -".....+++++++++++++++++++++++....", -"................................", -".....++++++++++++++++++++++++...", -"....+.......................+...", -"...+.......................+....", -"...+..++..++.++..++..+..++.+....", -"....++..++..+..++..++.++........", -"..+.......................+.+...", -".+.......................+......", -".++++++++++++++++++++++++++....."}; +". c #000000", +" ", +" . .. ", +" . ................... ... ", +" . . ... . ", +" . ... . ", +" . .. ... ... . ", +" . . . ... . ", +" . .. ... . ", +" . .. ... . ", +" . .. ... . ", +" . . . ... . ", +" . ... .. ... . ", +" . ... . ", +" . ... . ", +" . ........ ... .. ..... . ", +" . . . . . ........ . ", +" . . ... .. . . .... . ", +" . . . . . . . .... . ", +" . . ... . .. . .... . ", +" . . .... ", +" . . . ... ", +" . .. ", +" ....................... ", +" ", +" ........................ ", +" . .. ", +" .. ", +" . . . ", +" . . ", +" . . ................. .. . ", +" . .. ", +" "}; diff --git a/app/xterm/icons/xterm_48x48.xpm b/app/xterm/icons/xterm_48x48.xpm index 44fb8109a..d197d752f 100644 --- a/app/xterm/icons/xterm_48x48.xpm +++ b/app/xterm/icons/xterm_48x48.xpm @@ -1,53 +1,53 @@ /* XPM */ static char * xterm_48x48_xpm[] = { "48 48 2 1", -" c #000000", -". c #FFFFFF", -"................................................", -"...... ........", -"..... .................................. ......", -"..... ... ... . .....", -"..... .. ............................ .. .. ....", -"..... . .............................. . ... ...", -"..... . . .... ................... . .... ..", -"..... . .. .... .................... . .... ..", -"..... . ... .. ..................... . .... ..", -"..... . ... .. ..................... . .... ..", -"..... . .... ...................... . .... ..", -"..... . .... ...................... . .... ..", -"..... . ..... ....................... . .... ..", -"..... . .... ...................... . .... ..", -"..... . .... ...................... . .... ..", -"..... . ... .. ..................... . .... ..", -"..... . ... .. ..................... . .... ..", -"..... . .. .... .................... . .... ..", -"..... . . .... ................... . .... ..", -"..... . .............................. . .... ..", -"..... . .............................. . .... ..", -"..... . . . .. ... ... . . .... ..", -"..... . ... .... ...... ... .. ... . . .... ..", -"..... . ... .... ...... ... .. . . . . . .... ..", -"..... . ... .... ... ... . . . . . .... ..", -"..... . ... .... ...... . .... .. .. . . ... ...", -"..... . ... .... ...... .. ... .. .. . . ... ...", -"..... . ... .... .. ... .. ..... . . .. ....", -"..... . .............................. . .. ....", -"..... . .............................. . . .....", -"..... .. ............................ .. . .....", -"..... ... ... ......", -"..... .................................. ......", -"...... ........", -"................................................", -"................................................", -"...... ......", -"..... .................................. ......", -"..... . . . . . . . . . . . . . . . . .. ......", -".... .................................. . ......", -".... . . . . . . . . . . . . . . . . .. . ......", -"... .................................. .. ......", -"... . . . . . . . . . . . . . . . . .. .. ......", -".. .................................. .. .......", -".. . . . . . ........", -". .................................. . .........", -". ..........", -"................................................"}; +" c None", +". c #000000", +" ", +" .................................. ", +" . .. ", +" . ............................ . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . ... ... . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . .. . . . ", +" . . .. . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . . . . . . ", +" . . ... ... . . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . . . . ", +" . . ..... ..... .... . . . . . ", +" . . . . . . .. .. . . . ", +" . . . . . . .. .. . . . ", +" . . . ..... .... . . . . . . . ", +" . . . . . . . ... . . . .. ", +" . . . . . . . . . . . . ", +" . . . ..... . . . . . . .. ", +" . . . . . ", +" . . . . .. ", +" . . . . . ", +" . ............................ ... ", +" . .. ", +" .................................. ", +" ", +" ", +" .................................... ", +" . .. ", +" . . . . . . . . . . . . . . . . . ... ", +" . . . ", +" . . . . . . . . . . . . . . . . . .. . ", +" . . . ", +" .. . . . . . . . . . . . . . . . . .. . ", +" . . . ", +" .. .. .......................... .... . ", +" . . . ", +" ..................................... ", +" "}; diff --git a/app/xterm/input.c b/app/xterm/input.c index fc4740eef..60258b6a7 100644 --- a/app/xterm/input.c +++ b/app/xterm/input.c @@ -1,4 +1,4 @@ -/* $XTermId: input.c,v 1.334 2012/03/15 00:01:30 tom Exp $ */ +/* $XTermId: input.c,v 1.344 2012/11/23 18:43:35 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -74,6 +74,10 @@ #include <X11/XF86keysym.h> #endif +#ifdef HAVE_XKBKEYCODETOKEYSYM +#include <X11/XKBlib.h> +#endif + #include <X11/Xutil.h> #include <stdio.h> #include <ctype.h> @@ -201,21 +205,60 @@ AdjustAfterInput(XtermWidget xw) /* * Return true if the key is on the editing keypad. This overlaps with - * IsCursorKey() and IsKeypadKey() and must be tested before those macro to + * IsCursorKey() and IsKeypadKey() and must be tested before those macros to * distinguish it from them. + * + * VT220 emulation uses the VT100 numeric keypad as well as a 6-key + * editing keypad. Here's a picture of the VT220 editing keypad: + * +--------+--------+--------+ + * | Find | Insert | Remove | + * +--------+--------+--------+ + * | Select | Prev | Next | + * +--------+--------+--------+ + * + * and the similar Sun and PC keypads: + * +--------+--------+--------+ + * | Insert | Home | PageUp | + * +--------+--------+--------+ + * | Delete | End | PageDn | + * +--------+--------+--------+ */ static Bool -IsEditFunctionKey(KeySym keysym) +IsEditKeypad(XtermWidget xw, KeySym keysym) { + Bool result; + switch (keysym) { - case XK_Prior: /* editing keypad */ - case XK_Next: /* editing keypad */ - case XK_Insert: /* editing keypad */ - case XK_Find: /* editing keypad */ - case XK_Select: /* editing keypad */ + case XK_Delete: + result = !xtermDeleteIsDEL(xw); + break; + case XK_Prior: + case XK_Next: + case XK_Insert: + case XK_Find: + case XK_Select: #ifdef DXK_Remove - case DXK_Remove: /* editing keypad */ + case DXK_Remove: #endif + result = True; + break; + default: + result = False; + break; + } + return result; +} + +/* + * Editing-keypad, plus other editing keys which are not included in the + * other macros. + */ +static Bool +IsEditFunctionKey(XtermWidget xw, KeySym keysym) +{ + Bool result; + + switch (keysym) { #ifdef XK_KP_Delete case XK_KP_Delete: /* editing key on numeric keypad */ case XK_KP_Insert: /* editing key on numeric keypad */ @@ -223,10 +266,13 @@ IsEditFunctionKey(KeySym keysym) #ifdef XK_ISO_Left_Tab case XK_ISO_Left_Tab: #endif - return True; + result = True; + break; default: - return False; + result = IsEditKeypad(xw, keysym); + break; } + return result; } #if OPT_MOD_FKEYS @@ -301,24 +347,44 @@ IsControlAlias(KEY_DATA * kd) * would be Home (XK_KP_Home). The other modifiers work, subject to the * usual window-manager assignments. */ +#if OPT_SUNPC_KBD +#define LegacyAllows(code) (!is_legacy || (code & xw->keyboard.modify_now.allow_keys) != 0) +#else +#define LegacyAllows(code) True +#endif + static Bool allowModifierParm(XtermWidget xw, KEY_DATA * kd) { TKeyboard *keyboard = &(xw->keyboard); TScreen *screen = TScreenOf(xw); int keypad_mode = ((keyboard->flags & MODE_DECKPAM) != 0); - + int is_legacy = (keyboard->type == keyboardIsLegacy); Bool result = False; - (void) screen; - if (!(IsKeypadKey(kd->keysym) && keypad_mode) #if OPT_SUNPC_KBD - && keyboard->type != keyboardIsVT220 + if (keyboard->type == keyboardIsVT220) + is_legacy = True; #endif + + (void) screen; #if OPT_VT52_MODE - && screen->vtXX_level != 0 + if (screen->vtXX_level != 0) #endif - ) { + { + if (IsCursorKey(kd->keysym) || IsEditFunctionKey(xw, kd->keysym)) { + result = LegacyAllows(2); + } else if (IsKeypadKey(kd->keysym)) { + if (keypad_mode) { + result = LegacyAllows(1); + } + } else if (IsFunctionKey(kd->keysym)) { + result = LegacyAllows(4); + } else if (IsMiscFunctionKey(kd->keysym)) { + result = LegacyAllows(8); + } + } + if (xw->keyboard.modify_now.other_keys != 0) { result = True; } return result; @@ -349,19 +415,15 @@ xtermParamToState(XtermWidget xw, unsigned param) { unsigned result = 0; #if OPT_NUM_LOCK - if (param > MOD_NONE - && ((ShiftMask - | ControlMask - | xw->misc.alt_mods - | xw->misc.meta_mods) & xw->misc.other_mods) == 0) { + if (param > MOD_NONE) { if ((param - MOD_NONE) & MOD_SHIFT) UIntSet(result, ShiftMask); if ((param - MOD_NONE) & MOD_CTRL) UIntSet(result, ControlMask); if ((param - MOD_NONE) & MOD_ALT) - UIntSet(result, xw->misc.alt_mods); + UIntSet(result, xw->work.alt_mods); if ((param - MOD_NONE) & MOD_META) - UIntSet(result, xw->misc.meta_mods); + UIntSet(result, xw->work.meta_mods); } #else (void) xw; @@ -383,23 +445,21 @@ xtermStateToParam(XtermWidget xw, unsigned state) TRACE(("xtermStateToParam %#x\n", state)); #if OPT_NUM_LOCK - if ((state & xw->misc.other_mods) == 0) { - if (state & ShiftMask) { - modify_parm += MOD_SHIFT; - UIntClr(state, ShiftMask); - } - if (state & ControlMask) { - modify_parm += MOD_CTRL; - UIntClr(state, ControlMask); - } - if ((state & xw->misc.alt_mods) != 0) { - modify_parm += MOD_ALT; - UIntClr(state, xw->misc.alt_mods); - } - if ((state & xw->misc.meta_mods) != 0) { - modify_parm += MOD_META; - UIntClr(state, xw->misc.meta_mods); - } + if (state & ShiftMask) { + modify_parm += MOD_SHIFT; + UIntClr(state, ShiftMask); + } + if (state & ControlMask) { + modify_parm += MOD_CTRL; + UIntClr(state, ControlMask); + } + if ((state & xw->work.alt_mods) != 0) { + modify_parm += MOD_ALT; + UIntClr(state, xw->work.alt_mods); + } + if ((state & xw->work.meta_mods) != 0) { + modify_parm += MOD_META; + UIntClr(state, xw->work.meta_mods); } if (modify_parm == MOD_NONE) modify_parm = 0; @@ -463,7 +523,7 @@ static unsigned allowedCharModifiers(XtermWidget xw, unsigned state, KEY_DATA * kd) { #if OPT_NUM_LOCK - unsigned a_or_m = (state & (xw->misc.meta_mods | xw->misc.alt_mods)); + unsigned a_or_m = (state & (xw->work.meta_mods | xw->work.alt_mods)); #else unsigned a_or_m = 0; #endif @@ -500,11 +560,11 @@ allowedCharModifiers(XtermWidget xw, unsigned state, KEY_DATA * kd) } #if OPT_NUM_LOCK result = filterAltMeta(result, - xw->misc.meta_mods, + xw->work.meta_mods, TScreenOf(xw)->meta_sends_esc, kd); if (TScreenOf(xw)->alt_is_not_meta) { result = filterAltMeta(result, - xw->misc.alt_mods, + xw->work.alt_mods, TScreenOf(xw)->alt_sends_esc, kd); } #endif @@ -534,16 +594,12 @@ ModifyOtherKeys(XtermWidget xw, * Exclude the keys already covered by a modifier. */ if (kd->is_fkey - || IsEditFunctionKey(kd->keysym) + || IsEditFunctionKey(xw, kd->keysym) || IsKeypadKey(kd->keysym) || IsCursorKey(kd->keysym) || IsPFKey(kd->keysym) || IsMiscFunctionKey(kd->keysym) - || IsPrivateKeypadKey(kd->keysym) -#if OPT_NUM_LOCK - || (state & xw->misc.other_mods) != 0 -#endif - ) { + || IsPrivateKeypadKey(kd->keysym)) { result = False; } else if (modify_parm != 0) { if (IsBackarrowToggle(keyboard, kd->keysym, state)) { @@ -790,73 +846,58 @@ xtermDeleteIsDEL(XtermWidget xw) return result; } -void -Input(XtermWidget xw, - XKeyEvent * event, - Bool eightbit) +static Boolean +lookupKeyData(KEY_DATA * kd, XtermWidget xw, XKeyEvent * event) { - Char *string; - - TKeyboard *keyboard = &(xw->keyboard); TScreen *screen = TScreenOf(xw); + TKeyboard *keyboard = &(xw->keyboard); + Boolean result = True; - int j; - int key = False; - ANSI reply; - int dec_code; - unsigned modify_parm = 0; - int keypad_mode = ((keyboard->flags & MODE_DECKPAM) != 0); - unsigned evt_state = event->state; - unsigned mod_state; - KEY_DATA kd; - - /* Ignore characters typed at the keyboard */ - if (keyboard->flags & MODE_KAM) - return; + TRACE(("%s %#x\n", visibleEventType(event->type), event->keycode)); - kd.keysym = 0; - kd.is_fkey = False; + kd->keysym = 0; + kd->is_fkey = False; #if OPT_TCAP_QUERY if (screen->tc_query_code >= 0) { - kd.keysym = (KeySym) screen->tc_query_code; - kd.is_fkey = screen->tc_query_fkey; - if (kd.keysym != XK_BackSpace) { - kd.nbytes = 0; - kd.strbuf[0] = 0; + kd->keysym = (KeySym) screen->tc_query_code; + kd->is_fkey = screen->tc_query_fkey; + if (kd->keysym != XK_BackSpace) { + kd->nbytes = 0; + kd->strbuf[0] = 0; } else { - kd.nbytes = 1; - kd.strbuf[0] = 8; + kd->nbytes = 1; + kd->strbuf[0] = 8; } } else #endif { #if OPT_I18N_SUPPORT && OPT_INPUT_METHOD TInput *input = lookupTInput(xw, (Widget) xw); - if (input->xic) { + if (input && input->xic) { Status status_return; #if OPT_WIDE_CHARS if (screen->utf8_mode) { - kd.nbytes = Xutf8LookupString(input->xic, event, - kd.strbuf, (int) sizeof(kd.strbuf), - &kd.keysym, &status_return); + kd->nbytes = Xutf8LookupString(input->xic, event, + kd->strbuf, (int) sizeof(kd->strbuf), + &(kd->keysym), &status_return); } else #endif { - kd.nbytes = XmbLookupString(input->xic, event, - kd.strbuf, (int) sizeof(kd.strbuf), - &kd.keysym, &status_return); + kd->nbytes = XmbLookupString(input->xic, event, + kd->strbuf, (int) sizeof(kd->strbuf), + &(kd->keysym), &status_return); } #if OPT_MOD_FKEYS /* * Fill-in some code useful with IsControlAlias(): */ if (status_return == XLookupBoth - && kd.nbytes <= 1 - && !IsPredefinedKey(kd.keysym) + && kd->nbytes <= 1 + && !IsPredefinedKey(kd->keysym) && (keyboard->modify_now.other_keys > 1) - && !IsControlInput(&kd)) { - kd.nbytes = 1; - kd.strbuf[0] = (char) kd.keysym; + && !IsControlInput(kd)) { + kd->nbytes = 1; + kd->strbuf[0] = (char) kd->keysym; } #endif /* OPT_MOD_FKEYS */ } else @@ -864,11 +905,40 @@ Input(XtermWidget xw, { static XComposeStatus compose_status = {NULL, 0}; - kd.nbytes = XLookupString(event, kd.strbuf, (int) sizeof(kd.strbuf), - &kd.keysym, &compose_status); + kd->nbytes = XLookupString(event, + kd->strbuf, (int) sizeof(kd->strbuf), + &(kd->keysym), &compose_status); } - kd.is_fkey = IsFunctionKey(kd.keysym); + kd->is_fkey = IsFunctionKey(kd->keysym); } + return result; +} + +void +Input(XtermWidget xw, + XKeyEvent * event, + Bool eightbit) +{ + Char *string; + + TKeyboard *keyboard = &(xw->keyboard); + TScreen *screen = TScreenOf(xw); + + int j; + int key = False; + ANSI reply; + int dec_code; + unsigned modify_parm = 0; + int keypad_mode = ((keyboard->flags & MODE_DECKPAM) != 0); + unsigned evt_state = event->state; + unsigned mod_state; + KEY_DATA kd; + + /* Ignore characters typed at the keyboard */ + if (keyboard->flags & MODE_KAM) + return; + + lookupKeyData(&kd, xw, event); memset(&reply, 0, sizeof(reply)); @@ -888,7 +958,7 @@ Input(XtermWidget xw, IsPFKey(kd.keysym) ? " PFKey" : "", kd.is_fkey ? " FKey" : "", IsMiscFunctionKey(kd.keysym) ? " MiscFKey" : "", - IsEditFunctionKey(kd.keysym) ? " EditFkey" : "")); + IsEditFunctionKey(xw, kd.keysym) ? " EditFkey" : "")); #if OPT_SUNPC_KBD /* @@ -934,7 +1004,7 @@ Input(XtermWidget xw, if (kd.nbytes == 1 && IsKeypadKey(kd.keysym) && xw->misc.real_NumLock - && (xw->misc.num_lock & evt_state) != 0) { + && (xw->work.num_lock & evt_state) != 0) { keypad_mode = 0; TRACE(("...Input num_lock, force keypad_mode off\n")); } @@ -1093,7 +1163,7 @@ Input(XtermWidget xw, modifyCursorKey(&reply, ((kd.is_fkey || IsMiscFunctionKey(kd.keysym) - || IsEditFunctionKey(kd.keysym)) + || IsEditFunctionKey(xw, kd.keysym)) ? keyboard->modify_now.function_keys : keyboard->modify_now.cursor_keys), &modify_parm); @@ -1101,7 +1171,7 @@ Input(XtermWidget xw, unparseseq(xw, &reply); } else if (((kd.is_fkey || IsMiscFunctionKey(kd.keysym) - || IsEditFunctionKey(kd.keysym)) + || IsEditFunctionKey(xw, kd.keysym)) #if OPT_MOD_FKEYS && !ModifyOtherKeys(xw, evt_state, &kd, modify_parm) #endif @@ -1247,9 +1317,9 @@ Input(XtermWidget xw, */ if (kd.nbytes != 0) { if (screen->meta_sends_esc - && (evt_state & xw->misc.meta_mods) != 0) { + && (evt_state & xw->work.meta_mods) != 0) { TRACE(("...input-char is modified by META\n")); - UIntClr(evt_state, xw->misc.meta_mods); + UIntClr(evt_state, xw->work.meta_mods); eightbit = False; prefix = ANSI_ESC; } else if (eightbit) { @@ -1257,8 +1327,8 @@ Input(XtermWidget xw, TRACE(("...input-char is shifted by META\n")); } if (screen->alt_is_not_meta - && (evt_state & xw->misc.alt_mods) != 0) { - UIntClr(evt_state, xw->misc.alt_mods); + && (evt_state & xw->work.alt_mods) != 0) { + UIntClr(evt_state, xw->work.alt_mods); if (screen->alt_sends_esc) { TRACE(("...input-char is modified by ALT\n")); eightbit = False; @@ -1924,10 +1994,10 @@ addTranslation(XtermWidget xw, const char *fromString, const char *toString) } #endif -#define SaveMask(name) xw->misc.name |= (unsigned) mask;\ - TRACE(("SaveMask(%s) %#x (%#x is%s modifier)\n", \ - #name, \ - xw->misc.name, (unsigned) mask, \ +#define SaveMask(name) xw->work.name |= (unsigned) mask;\ + TRACE(("SaveMask(%#x -> %s) %#x (%#x is%s modifier)\n", \ + (unsigned) keysym, #name, \ + xw->work.name, (unsigned) mask, \ ModifierName((unsigned) mask))); /* * Determine which modifier mask (if any) applies to the Num_Lock keysym. @@ -1996,7 +2066,11 @@ VTInitModifiers(XtermWidget xw) continue; for (l = 0; l < keysyms_per_keycode; ++l) { +#ifdef HAVE_XKBKEYCODETOKEYSYM + keysym = XkbKeycodeToKeysym(dpy, code, 0, l); +#else keysym = XKeycodeToKeysym(dpy, code, l); +#endif if (keysym == NoSymbol) { /* EMPTY */ ; } else if (keysym == XK_Num_Lock) { @@ -2005,23 +2079,6 @@ VTInitModifiers(XtermWidget xw) SaveMask(alt_mods); } else if (keysym == XK_Meta_L || keysym == XK_Meta_R) { SaveMask(meta_mods); - } else if (mask == ShiftMask - && (keysym == XK_Shift_L - || keysym == XK_Shift_R)) { - /* EMPTY */ ; - } else if (mask == ControlMask - && (keysym == XK_Control_L - || keysym == XK_Control_R)) { - /* EMPTY */ ; - } else if (mask == LockMask - && (keysym == XK_Caps_Lock)) { - /* EMPTY */ ; - } else if (keysym == XK_Mode_switch -#ifdef XK_ISO_Level3_Shift - || keysym == XK_ISO_Level3_Shift -#endif - ) { - SaveMask(other_mods); } } } @@ -2048,20 +2105,20 @@ VTInitModifiers(XtermWidget xw) * If the Alt modifier is used in translations, we would rather not * use it to modify function-keys when NumLock is active. */ - if ((xw->misc.alt_mods != 0) + if ((xw->work.alt_mods != 0) && xtermHasTranslation(xw, "alt", True)) { TRACE(("ALT is used as a modifier in translations (ignore mask)\n")); - xw->misc.alt_mods = 0; + xw->work.alt_mods = 0; } /* * If the Meta modifier is used in translations, we would rather not * use it to modify function-keys. */ - if ((xw->misc.meta_mods != 0) + if ((xw->work.meta_mods != 0) && xtermHasTranslation(xw, "meta", True)) { TRACE(("META is used as a modifier in translations\n")); - xw->misc.meta_mods = 0; + xw->work.meta_mods = 0; } } diff --git a/app/xterm/koi8rxterm.man b/app/xterm/koi8rxterm.man index a48c74e2b..ad060b7b6 100644 --- a/app/xterm/koi8rxterm.man +++ b/app/xterm/koi8rxterm.man @@ -1,4 +1,4 @@ -.\" $XTermId: koi8rxterm.man,v 1.4 2011/08/16 09:44:32 tom Exp $ +.\" $XTermId: koi8rxterm.man,v 1.5 2012/10/23 23:27:24 tom Exp $ .\" .\" Copyright 2004 Branden Robinson .\" @@ -19,7 +19,7 @@ .\" 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. -.TH koi8rxterm 1 "2004-12-19" "Debian Project" +.TH KOI8RXTERM 1 "__app_date__" "__app_version__" "X Window System" .SH NAME koi8rxterm \- X terminal emulator for KOI8-R environments .SH SYNOPSIS diff --git a/app/xterm/linedata.c b/app/xterm/linedata.c index fed072f41..ada5f76be 100644 --- a/app/xterm/linedata.c +++ b/app/xterm/linedata.c @@ -1,4 +1,4 @@ -/* $XTermId: linedata.c,v 1.80 2011/09/11 14:59:39 tom Exp $ */ +/* $XTermId: linedata.c,v 1.81 2012/09/21 20:40:21 tom Exp $ */ /* * Copyright 2009-2010,2011 by Thomas E. Dickey @@ -64,7 +64,6 @@ getLineData(TScreen * screen, int row) result = (LineData *) scrnHeadAddr(screen, buffer, (unsigned) row); if (result != 0) { #if 1 /* FIXME - these should be done in setupLineData, etc. */ - result->lineSize = (Dimension) MaxCols(screen); #if OPT_WIDE_CHARS if (screen->wide_chars) { result->combSize = (Char) screen->max_combining; diff --git a/app/xterm/main.c b/app/xterm/main.c index 663e31720..1faf8deab 100644 --- a/app/xterm/main.c +++ b/app/xterm/main.c @@ -1,4 +1,4 @@ -/* $XTermId: main.c,v 1.684 2012/05/07 23:30:42 tom Exp $ */ +/* $XTermId: main.c,v 1.689 2012/11/19 10:33:33 tom Exp $ */ /* * Copyright 2002-2011,2012 by Thomas E. Dickey @@ -832,6 +832,7 @@ static XtResource application_resources[] = { Sres("iconGeometry", "IconGeometry", icon_geometry, NULL), Sres(XtNtitle, XtCTitle, title, NULL), + Sres(XtNiconHint, XtCIconHint, icon_hint, NULL), Sres(XtNiconName, XtCIconName, icon_name, NULL), Sres("termName", "TermName", term_name, NULL), Sres("ttyModes", "TtyModes", tty_modes, NULL), @@ -868,13 +869,8 @@ static XtResource application_resources[] = Bres("tcapFunctionKeys", "TcapFunctionKeys", termcapKeys, False), #endif #if OPT_INITIAL_ERASE -#ifndef __OpenBSD__ Bres("ptyInitialErase", "PtyInitialErase", ptyInitialErase, DEF_INITIAL_ERASE), Bres("backarrowKeyIsErase", "BackarrowKeyIsErase", backarrow_is_erase, DEF_BACKARO_ERASE), -#else - Bres("ptyInitialErase", "PtyInitialErase", ptyInitialErase, DEF_INITIAL_ERASE), - Bres("backarrowKeyIsErase", "BackarrowKeyIsErase", backarrow_is_erase, DEF_BACKARO_ERASE), -#endif #endif Bres("useInsertMode", "UseInsertMode", useInsertMode, False), #if OPT_ZICONBEEP @@ -1525,26 +1521,31 @@ parseArg(int *num, char **argv, char **valuep) *valuep = 0; if (atbest >= 0) { - if (!exact && ambiguous1 >= 0 && ambiguous2 >= 0) { - xtermWarning( - "ambiguous option \"%s\" vs \"%s\"\n", - ITEM(ambiguous1)->option, - ITEM(ambiguous2)->option); - } result = ITEM(atbest); - TRACE(("...result %s\n", result->option)); - /* expand abbreviations */ - if (result->argKind != XrmoptionStickyArg - && strcmp(argv[*num], x_strdup(result->option))) { - argv[*num] = x_strdup(result->option); + if (!exact) { + if (ambiguous1 >= 0 && ambiguous2 >= 0) { + xtermWarning("ambiguous option \"%s\" vs \"%s\"\n", + ITEM(ambiguous1)->option, + ITEM(ambiguous2)->option); + } else if (strlen(option) > strlen(result->option)) { + result = 0; + } } + if (result != 0) { + TRACE(("...result %s\n", result->option)); + /* expand abbreviations */ + if (result->argKind != XrmoptionStickyArg + && strcmp(argv[*num], x_strdup(result->option))) { + argv[*num] = x_strdup(result->option); + } - /* adjust (*num) to skip option value */ - (*num) += countArg(result); - TRACE(("...next %s\n", NonNull(argv[*num]))); - if (result->argKind == XrmoptionSkipArg) { - *valuep = argv[*num]; - TRACE(("...parameter %s\n", NonNull(*valuep))); + /* adjust (*num) to skip option value */ + (*num) += countArg(result); + TRACE(("...next %s\n", NonNull(argv[*num]))); + if (result->argKind == XrmoptionSkipArg) { + *valuep = argv[*num]; + TRACE(("...parameter %s\n", NonNull(*valuep))); + } } } #undef ITEM @@ -1853,7 +1854,7 @@ posix_signal(int signo, sigfunc func) return (oact.sa_handler); } -#endif /* linux && _POSIX_SOURCE */ +#endif /* USE_POSIX_SIGNALS */ #if defined(DISABLE_SETUID) || defined(USE_UTMP_SETGID) static void @@ -2387,9 +2388,10 @@ main(int argc, char *argv[]ENVP_ARG) XtSetArg(args[0], XtNtitle, resource.title); XtSetArg(args[1], XtNiconName, resource.icon_name); - TRACE(("setting:\n\ttitle \"%s\"\n\ticon \"%s\"\n\tbased on command \"%s\"\n", + TRACE(("setting:\n\ttitle \"%s\"\n\ticon \"%s\"\n\thint \"%s\"\n\tbased on command \"%s\"\n", resource.title, resource.icon_name, + NonNull(resource.icon_hint), *command_to_exec)); XtSetValues(toplevel, args, 2); @@ -4041,6 +4043,14 @@ spawnXTerm(XtermWidget xw) xtermCopyEnv(environ); + /* + * standards.freedesktop.org/startup-notification-spec/ + * notes that this variable is used when a "reliable" mechanism is + * not available; in practice it must be unset to avoid confusing + * GTK applications. + */ + xtermUnsetenv("DESKTOP_STARTUP_ID"); + xtermSetenv("TERM", resource.term_name); if (!resource.term_name) *get_tcap_buffer(xw) = 0; @@ -5026,7 +5036,9 @@ remove_termcap_entry(char *buf, const char *str) if (*buf != 0) buf++; } - while ((*first++ = *buf++) != 0) ; + while ((*first++ = *buf++) != 0) { + ; + } TRACE(("...removed_termcap_entry('%s', '%s')\n", str, base)); return; } else if (*buf == '\\') { diff --git a/app/xterm/main.h b/app/xterm/main.h index 41dc8a9a4..17c31c3ff 100644 --- a/app/xterm/main.h +++ b/app/xterm/main.h @@ -1,7 +1,7 @@ -/* $XTermId: main.h,v 1.57 2011/12/14 22:43:02 tom Exp $ */ +/* $XTermId: main.h,v 1.58 2012/06/05 00:37:22 tom Exp $ */ /* - * Copyright 2000-2010,2011 by Thomas E. Dickey + * Copyright 2000-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -145,6 +145,18 @@ #define DEF_BACKARO_ERASE False #endif +#ifndef DEF_BACKARO_DEL +#define DEF_BACKARO_DEL True +#endif + +#ifndef DEF_ALT_SENDS_ESC +#define DEF_ALT_SENDS_ESC False +#endif + +#ifndef DEF_META_SENDS_ESC +#define DEF_META_SENDS_ESC False +#endif + #ifndef DEF_8BIT_META #define DEF_8BIT_META "true" /* eightBitMeta */ #endif @@ -166,7 +178,7 @@ #endif #ifndef DEF_POINTER_MODE -#define DEF_POINTER_MODE pNever +#define DEF_POINTER_MODE pNoMouse #endif #ifndef DEF_PTY_STTY_SIZE diff --git a/app/xterm/menu.c b/app/xterm/menu.c index 4cc3e2ece..118ec282b 100644 --- a/app/xterm/menu.c +++ b/app/xterm/menu.c @@ -1,7 +1,7 @@ -/* $XTermId: menu.c,v 1.301 2011/12/14 01:21:57 tom Exp $ */ +/* $XTermId: menu.c,v 1.310 2012/09/22 14:53:45 tom Exp $ */ /* - * Copyright 1999-2010,2011 by Thomas E. Dickey + * Copyright 1999-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -967,45 +967,6 @@ SetItemSensitivity(Widget mi, Bool val) * action routines */ -#if OPT_MAXIMIZE -static void -do_fullscreen(Widget gw GCC_UNUSED, - XtPointer closure GCC_UNUSED, - XtPointer data GCC_UNUSED) -{ - XtermWidget xw = term; - TScreen *screen = TScreenOf(xw); - - if (resource.fullscreen != esNever) - FullScreen(xw, !screen->fullscreen); -} - -/* ARGSUSED */ -void -HandleFullscreen(Widget w, - XEvent * event GCC_UNUSED, - String * params GCC_UNUSED, - Cardinal *param_count GCC_UNUSED) -{ - do_fullscreen(w, (XtPointer) 0, (XtPointer) 0); -} - -void -update_fullscreen(void) -{ - if (resource.fullscreen <= 1) { - UpdateCheckbox("update_fullscreen", - mainMenuEntries, - mainMenu_fullscreen, - TScreenOf(term)->fullscreen); - } else { - SetItemSensitivity(mainMenuEntries[mainMenu_fullscreen].widget, - False); - } -} - -#endif /* OPT_MAXIMIZE */ - static void do_securekbd(Widget gw GCC_UNUSED, XtPointer closure GCC_UNUSED, @@ -1613,9 +1574,9 @@ do_activeicon(Widget gw GCC_UNUSED, if (screen->iconVwin.window) { Widget shell = XtParent(term); - ToggleFlag(term->misc.active_icon); + ToggleFlag(term->work.active_icon); XtVaSetValues(shell, XtNiconWindow, - term->misc.active_icon ? screen->iconVwin.window : None, + term->work.active_icon ? screen->iconVwin.window : None, (XtPointer) 0); update_activeicon(); } @@ -1747,7 +1708,7 @@ do_font_renderfont(Widget gw GCC_UNUSED, String name = TScreenOf(xw)->MenuFontName(fontnum); DefaultRenderFont(xw); - ToggleFlag(xw->misc.render_font); + ToggleFlag(xw->work.render_font); update_font_renderfont(); xtermLoadFont(xw, xtermFontName(name), True, fontnum); ScrnRefresh(term, 0, 0, @@ -1950,50 +1911,57 @@ do_tekhide(Widget gw GCC_UNUSED, /* * public handler routines */ - -static void -handle_toggle(void (*proc) PROTO_XT_CALLBACK_ARGS, - int var, - String * params, - Cardinal nparams, - Widget w, - XtPointer closure, - XtPointer data) +int +decodeToggle(XtermWidget xw, String * params, Cardinal nparams) { - XtermWidget xw = term; - int dir = -2; + int dir = toggleErr; switch (nparams) { case 0: - dir = -1; + dir = toggleAll; break; case 1: if (XmuCompareISOLatin1(params[0], "on") == 0) - dir = 1; + dir = toggleOn; else if (XmuCompareISOLatin1(params[0], "off") == 0) - dir = 0; + dir = toggleOff; else if (XmuCompareISOLatin1(params[0], "toggle") == 0) - dir = -1; + dir = toggleAll; break; } - switch (dir) { - case -2: + if (dir == toggleErr) { Bell(xw, XkbBI_MinorError, 0); - break; + } + + return dir; +} - case -1: +static void +handle_toggle(void (*proc) PROTO_XT_CALLBACK_ARGS, + int var, + String * params, + Cardinal nparams, + Widget w, + XtPointer closure, + XtPointer data) +{ + XtermWidget xw = term; + + switch (decodeToggle(xw, params, nparams)) { + + case toggleAll: (*proc) (w, closure, data); break; - case 0: + case toggleOff: if (var) (*proc) (w, closure, data); else Bell(xw, XkbBI_MinorError, 0); break; - case 1: + case toggleOn: if (!var) (*proc) (w, closure, data); else @@ -2186,6 +2154,56 @@ HandleBackarrow(Widget w, params, *param_count, w); } +#if OPT_MAXIMIZE +#if OPT_TEK4014 +#define WhichEWMH (TEK4014_ACTIVE(xw) != 0) +#else +#define WhichEWMH 0 +#endif +static void +do_fullscreen(Widget gw GCC_UNUSED, + XtPointer closure GCC_UNUSED, + XtPointer data GCC_UNUSED) +{ + XtermWidget xw = term; + + if (resource.fullscreen != esNever) + FullScreen(xw, !xw->work.ewmh[WhichEWMH].mode); +} + +/* ARGSUSED */ +void +HandleFullscreen(Widget w, + XEvent * event GCC_UNUSED, + String * params GCC_UNUSED, + Cardinal *param_count GCC_UNUSED) +{ + XtermWidget xw = term; + + if (resource.fullscreen != esNever) { + handle_vt_toggle(do_fullscreen, xw->work.ewmh[WhichEWMH].mode, + params, *param_count, w); + } +} + +void +update_fullscreen(void) +{ + XtermWidget xw = term; + + if (resource.fullscreen <= 1) { + UpdateCheckbox("update_fullscreen", + mainMenuEntries, + mainMenu_fullscreen, + xw->work.ewmh[WhichEWMH].mode); + } else { + SetItemSensitivity(mainMenuEntries[mainMenu_fullscreen].widget, + False); + } +} + +#endif /* OPT_MAXIMIZE */ + #if OPT_SUN_FUNC_KEYS void HandleSunFunctionKeys(Widget w, @@ -2573,7 +2591,7 @@ update_fontmenu(XtermWidget xw) int n; for (n = 0; n <= fontMenu_lastBuiltin; ++n) { - Boolean active = (Boolean) (xw->misc.render_font || + Boolean active = (Boolean) (xw->work.render_font || (screen->menu_font_sizes[n] >= 0)); SetItemSensitivity(fontMenuEntries[n].widget, active); } @@ -2589,7 +2607,7 @@ HandleRenderFont(Widget w, DefaultRenderFont(xw); - handle_vt_toggle(do_font_renderfont, xw->misc.render_font, + handle_vt_toggle(do_font_renderfont, xw->work.render_font, params, *param_count, w); update_fontmenu(xw); @@ -2839,7 +2857,7 @@ SetupMenus(Widget shell, Widget *forms, Widget *menus, Dimension * menu_high) if (shell == toplevel) { XawSimpleMenuAddGlobalActions(app_con); XtRegisterGrabAction(HandlePopupMenu, True, - (ButtonPressMask | ButtonReleaseMask), + (unsigned) (ButtonPressMask | ButtonReleaseMask), GrabModeAsync, GrabModeAsync); } #if OPT_TOOLBAR @@ -3465,7 +3483,7 @@ update_activeicon(void) UpdateCheckbox("update_activeicon", vtMenuEntries, vtMenu_activeicon, - term->misc.active_icon); + term->work.active_icon); } #endif /* NO_ACTIVE_ICON */ @@ -3531,7 +3549,7 @@ update_font_renderfont(void) UpdateCheckbox("update_font_renderfont", fontMenuEntries, fontMenu_render_font, - (term->misc.render_font == True)); + (term->work.render_font == True)); SetItemSensitivity(fontMenuEntries[fontMenu_render_font].widget, !IsEmpty(term->misc.face_name)); update_fontmenu(term); @@ -3769,15 +3787,18 @@ update_tekshow(void) void update_vttekmode(void) { - if (!(TScreenOf(term)->inhibit & I_TEK)) { + XtermWidget xw = term; + + if (!(TScreenOf(xw)->inhibit & I_TEK)) { UpdateCheckbox("update_vtmode", vtMenuEntries, vtMenu_tekmode, - TEK4014_ACTIVE(term)); + TEK4014_ACTIVE(xw)); UpdateCheckbox("update_tekmode", tekMenuEntries, tekMenu_vtmode, - !TEK4014_ACTIVE(term)); + !TEK4014_ACTIVE(xw)); + update_fullscreen(); } } diff --git a/app/xterm/menu.h b/app/xterm/menu.h index 5f5ad95f0..30c991eb8 100644 --- a/app/xterm/menu.h +++ b/app/xterm/menu.h @@ -1,4 +1,4 @@ -/* $XTermId: menu.h,v 1.126 2011/08/28 21:15:40 tom Exp $ */ +/* $XTermId: menu.h,v 1.128 2012/09/21 10:39:10 tom Exp $ */ /* * Copyright 1999-2010,2011 by Thomas E. Dickey @@ -340,6 +340,15 @@ typedef enum { extern void SetItemSensitivity(Widget mi, Bool val); +typedef enum { + toggleErr = -2, + toggleAll = -1, + toggleOff = 0, + toggleOn = 1 +} ToggleEnum; + +extern int decodeToggle(XtermWidget /* xw */, String * /* params */, Cardinal /* nparams */); + /* * there should be one of each of the following for each checkable item */ diff --git a/app/xterm/minstall.in b/app/xterm/minstall.in index e0f7f1641..928520adc 100644 --- a/app/xterm/minstall.in +++ b/app/xterm/minstall.in @@ -1,9 +1,9 @@ #!/bin/sh -# $XTermId: minstall.in,v 1.5 2011/08/16 09:50:03 tom Exp $ +# $XTermId: minstall.in,v 1.15 2012/10/29 09:23:22 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 2001-2010,2011 by Thomas E. Dickey +# Copyright 2001-2011,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -41,6 +41,8 @@ # $3 = final installed-path # $4 = app-defaults directory # $5 = app-defaults class +# $6 = application name, normally "xterm" +# $7 = pixmap directory # # Other values correspond to definitions in xtermcfg.h, and cannot be directly # modified using "make". They are substituted directly into this script. @@ -69,6 +71,8 @@ OLD_FILE="$2" END_FILE="$3" APPS_DIR="$4" APP_TYPE="$5" +APP_name="$6" +XPMS_DIR="$7" suffix=`echo "$END_FILE" | sed -e 's%^.*\.%%'` NEW_FILE=temp$$ @@ -114,13 +118,32 @@ WTMP_PATH=$WTMP_PATH/$WTMP_NAME X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'` test -z "$X_MANSECT" && X_MANSECT=$suffix +VERSION_H=`echo "$OLD_FILE" | sed -e 's,/[^/]*$,/version.h,' -e s',^[^/]*$,version.h,'` +PATCH_NUM=`fgrep XTERM_PATCH $VERSION_H|sed -e 's/[^0-9]*//g'` +PATCH_YMD=`fgrep XTERM_DATE $VERSION_H|sed -e 's,[^0-9/.-]*,,g'` + +# Provide for renaming in test-builds: +APP_Name=`echo "$APP_name" | sed -e s/xterm/Xterm/` +APP_NAME=`echo "$APP_name" | tr '[a-z]' '[A-Z]'` + sed -e 's%__vendorversion__%"X Window System"%' \ + -e 's%__app_version__%Patch\ \#'$PATCH_NUM% \ + -e 's%__app_date__%'$PATCH_YMD% \ + -e "s%^\.TH [^ ][^ ]*%.TH $APP_NAME%" \ + -e "s%^\.ds N Xterm%.ds N $APP_Name%" \ + -e "s%^\.ds n xterm%.ds n $APP_name%" \ -e s%__default_termname__%@default_TERM@% \ -e s%__default_termid__%@default_termid@% \ + -e s%__alt_sends_esc__%@alt_sends_esc@% \ + -e s%__meta_sends_esc__%@meta_sends_esc@% \ + -e s%__backarrow_key_is_del__%@backarrow_is_del@% \ + -e s%__backarrow_key_erase__%@backarrow_is_erase@% \ + -e s%__delete_is_del__%@delete_is_del@% \ -e s%__default_class__%$APP_TYPE% \ -e s%__apploaddir__%$APPS_DIR% \ -e s%__mansuffix__%$MY_MANSECT%g \ -e s%__miscmansuffix__%$X_MANSECT%g \ + -e s%__pixmapsdir__%$XPMS_DIR% \ -e s%fIutmp'\\%fI'$UTMP_NAME'\\%g' \ -e s%/etc/utmp%$UTMP_PATH%g \ -e s%fIwtmp'\\%fI'$WTMP_NAME'\\%g' \ diff --git a/app/xterm/misc.c b/app/xterm/misc.c index 49ec15306..84487ca1b 100644 --- a/app/xterm/misc.c +++ b/app/xterm/misc.c @@ -1,4 +1,4 @@ -/* $XTermId: misc.c,v 1.588 2012/05/07 23:35:34 tom Exp $ */ +/* $XTermId: misc.c,v 1.631 2012/11/25 16:05:51 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -77,6 +77,10 @@ #include <X11/Sunkeysym.h> #endif +#ifdef HAVE_LIBXPM +#include <X11/xpm.h> +#endif + #ifdef HAVE_LANGINFO_CODESET #include <langinfo.h> #endif @@ -180,7 +184,7 @@ selectwindow(XtermWidget xw, int flag) { #if OPT_I18N_SUPPORT && OPT_INPUT_METHOD TInput *input = lookupTInput(xw, (Widget) xw); - if (input->xic) + if (input && input->xic) XSetICFocus(input->xic); #endif @@ -200,7 +204,7 @@ unselectwindow(XtermWidget xw, int flag) TRACE(("unselectwindow(%d) flag=%d\n", screen->select, flag)); - if (screen->hide_pointer) { + if (screen->hide_pointer && screen->pointer_mode < pFocused) { screen->hide_pointer = False; xtermDisplayCursor(xw); } @@ -218,7 +222,7 @@ unselectwindow(XtermWidget xw, int flag) { #if OPT_I18N_SUPPORT && OPT_INPUT_METHOD TInput *input = lookupTInput(xw, (Widget) xw); - if (input->xic) + if (input && input->xic) XUnsetICFocus(input->xic); #endif @@ -340,6 +344,7 @@ xtermShowPointer(XtermWidget xw, Bool enable) enable = True; break; case pAlways: + case pFocused: break; } } @@ -614,20 +619,28 @@ xevents(void) * mouse pointer back on. */ if (screen->hide_pointer) { - switch (event.xany.type) { - case KeyPress: - case KeyRelease: - case ButtonPress: - case ButtonRelease: - /* also these... */ - case Expose: - case NoExpose: - case PropertyNotify: - case ClientMessage: - break; - default: - xtermShowPointer(xw, True); - break; + if (screen->pointer_mode >= pFocused) { + switch (event.xany.type) { + case MotionNotify: + xtermShowPointer(xw, True); + break; + } + } else { + switch (event.xany.type) { + case KeyPress: + case KeyRelease: + case ButtonPress: + case ButtonRelease: + /* also these... */ + case Expose: + case NoExpose: + case PropertyNotify: + case ClientMessage: + break; + default: + xtermShowPointer(xw, True); + break; + } } } @@ -821,7 +834,7 @@ HandleSpawnTerminal(Widget w GCC_UNUSED, myargv[n++] = child_exe; while (n < myargc) { - myargv[n++] = *params++; + myargv[n++] = (char *) *params++; } myargv[n] = 0; @@ -911,15 +924,22 @@ HandleFocusChange(Widget w GCC_UNUSED, XtermWidget xw = term; TScreen *screen = TScreenOf(xw); - TRACE(("HandleFocusChange type=%s, mode=%d, detail=%d\n", + TRACE(("HandleFocusChange type=%s, mode=%s, detail=%s\n", visibleEventType(event->type), - event->mode, - event->detail)); + visibleNotifyMode(event->mode), + visibleNotifyDetail(event->detail))); TRACE_FOCUS(xw, event); if (screen->quiet_grab && (event->mode == NotifyGrab || event->mode == NotifyUngrab)) { /* EMPTY */ ; + } else if ((event->type == FocusIn || event->type == FocusOut) + && event->detail == NotifyPointer) { + /* + * NotifyPointer is sent to the window where the pointer is, and is + * in addition to events sent to the old/new focus-windows. + */ + /* EMPTY */ ; } else if (event->type == FocusIn) { setXUrgency(xw, False); @@ -1161,6 +1181,7 @@ HandleBellPropertyChange(Widget w GCC_UNUSED, void xtermWarning(const char *fmt,...) { + int save_err = errno; va_list ap; fprintf(stderr, "%s: ", ProgramName); @@ -1169,11 +1190,13 @@ xtermWarning(const char *fmt,...) (void) fflush(stderr); va_end(ap); + errno = save_err; } void xtermPerror(const char *fmt,...) { + int save_err = errno; char *msg = strerror(errno); va_list ap; @@ -1184,6 +1207,7 @@ xtermPerror(const char *fmt,...) (void) fflush(stderr); va_end(ap); + errno = save_err; } Window @@ -1443,6 +1467,7 @@ QueryMaximize(XtermWidget xw, unsigned *width, unsigned *height) int root_y = -1; unsigned root_border; unsigned root_depth; + int code; if (XGetGeometry(screen->display, RootWindowOfScreen(XtScreen(xw)), @@ -1479,9 +1504,13 @@ QueryMaximize(XtermWidget xw, unsigned *width, unsigned *height) if ((unsigned) hints.max_height < *height) *height = (unsigned) hints.max_height; } - return 1; + code = 1; + } else { + *width = 0; + *height = 0; + code = 0; } - return 0; + return code; } void @@ -1490,67 +1519,88 @@ RequestMaximize(XtermWidget xw, int maximize) TScreen *screen = TScreenOf(xw); XWindowAttributes wm_attrs, vshell_attrs; unsigned root_width, root_height; + Boolean success = False; - TRACE(("RequestMaximize %s\n", maximize ? "maximize" : "restore")); - - if (maximize) { - - if (QueryMaximize(xw, &root_width, &root_height)) { - - if (XGetWindowAttributes(screen->display, - WMFrameWindow(xw), - &wm_attrs)) { - - if (XGetWindowAttributes(screen->display, - VShellWindow(xw), - &vshell_attrs)) { - - if (screen->restore_data != True - || screen->restore_width != root_width - || screen->restore_height != root_height) { - screen->restore_data = True; - screen->restore_x = wm_attrs.x + wm_attrs.border_width; - screen->restore_y = wm_attrs.y + wm_attrs.border_width; - screen->restore_width = (unsigned) vshell_attrs.width; - screen->restore_height = (unsigned) vshell_attrs.height; - TRACE(("HandleMaximize: save window position %d,%d size %d,%d\n", - screen->restore_x, - screen->restore_y, - screen->restore_width, - screen->restore_height)); - } + TRACE(("RequestMaximize %d:%s\n", + maximize, + (maximize + ? "maximize" + : "restore"))); - /* subtract wm decoration dimensions */ - root_width -= - (unsigned) ((wm_attrs.width - vshell_attrs.width) - + (wm_attrs.border_width * 2)); - root_height -= - (unsigned) ((wm_attrs.height - vshell_attrs.height) - + (wm_attrs.border_width * 2)); - - XMoveResizeWindow(screen->display, VShellWindow(xw), - 0 + wm_attrs.border_width, /* x */ - 0 + wm_attrs.border_width, /* y */ - root_width, - root_height); - } - } - } - } else { - if (screen->restore_data) { - TRACE(("HandleRestoreSize: position %d,%d size %d,%d\n", + /* + * Before any maximize, ensure that we can capture the current screensize + * as well as the estimated root-window size. + */ + if (maximize + && QueryMaximize(xw, &root_width, &root_height) + && xtermGetWinAttrs(screen->display, + WMFrameWindow(xw), + &wm_attrs) + && xtermGetWinAttrs(screen->display, + VShellWindow(xw), + &vshell_attrs)) { + + if (screen->restore_data != True + || screen->restore_width != root_width + || screen->restore_height != root_height) { + screen->restore_data = True; + screen->restore_x = wm_attrs.x + wm_attrs.border_width; + screen->restore_y = wm_attrs.y + wm_attrs.border_width; + screen->restore_width = (unsigned) vshell_attrs.width; + screen->restore_height = (unsigned) vshell_attrs.height; + TRACE(("RequestMaximize: save window position %d,%d size %d,%d\n", screen->restore_x, screen->restore_y, screen->restore_width, screen->restore_height)); - screen->restore_data = False; + } - XMoveResizeWindow(screen->display, - VShellWindow(xw), - screen->restore_x, - screen->restore_y, - screen->restore_width, - screen->restore_height); + /* subtract wm decoration dimensions */ + root_width -= (unsigned) ((wm_attrs.width - vshell_attrs.width) + + (wm_attrs.border_width * 2)); + root_height -= (unsigned) ((wm_attrs.height - vshell_attrs.height) + + (wm_attrs.border_width * 2)); + success = True; + } else if (screen->restore_data) { + success = True; + } + + if (success) { + switch (maximize) { + case 3: + FullScreen(xw, 3); /* depends on EWMH */ + break; + case 2: + FullScreen(xw, 2); /* depends on EWMH */ + break; + case 1: + FullScreen(xw, 0); /* overrides any EWMH hint */ + XMoveResizeWindow(screen->display, VShellWindow(xw), + 0 + wm_attrs.border_width, /* x */ + 0 + wm_attrs.border_width, /* y */ + root_width, + root_height); + break; + + default: + FullScreen(xw, 0); /* reset any EWMH hint */ + if (screen->restore_data) { + screen->restore_data = False; + + TRACE(("HandleRestoreSize: position %d,%d size %d,%d\n", + screen->restore_x, + screen->restore_y, + screen->restore_width, + screen->restore_height)); + + XMoveResizeWindow(screen->display, + VShellWindow(xw), + screen->restore_x, + screen->restore_y, + screen->restore_width, + screen->restore_height); + } + break; } } } @@ -2369,8 +2419,15 @@ AllocateAnsiColor(XtermWidget xw, } else { result = 1; SET_COLOR_RES(res, def.pixel); - TRACE(("AllocateAnsiColor[%d] %s (pixel 0x%06lx)\n", - (int) (res - TScreenOf(xw)->Acolors), spec, def.pixel)); + res->red = def.red; + res->green = def.green; + res->blue = def.blue; + TRACE(("AllocateAnsiColor[%d] %s (rgb:%04x/%04x/%04x, pixel 0x%06lx)\n", + (int) (res - TScreenOf(xw)->Acolors), spec, + def.red, + def.green, + def.blue, + def.pixel)); #if OPT_COLOR_RES if (!res->mode) result = 0; @@ -2567,6 +2624,60 @@ xtermAllocColor(XtermWidget xw, XColor * def, const char *spec) return result; } +/* + * This provides an approximation (the closest color from xterm's palette) + * rather than the "exact" color (whatever the display could provide, actually) + * because of the context in which it is used. + */ +#define ColorDiff(given,cache) ((long) ((cache) >> 8) - (long) (given)) +int +xtermClosestColor(XtermWidget xw, int find_red, int find_green, int find_blue) +{ + int result = -1; +#if OPT_COLOR_RES && OPT_ISO_COLORS + int n; + int best_index = -1; + unsigned long best_value = 0; + unsigned long this_value; + long diff_red, diff_green, diff_blue; + + TRACE(("xtermClosestColor(%x/%x/%x)\n", find_red, find_green, find_blue)); + + for (n = NUM_ANSI_COLORS - 1; n >= 0; --n) { + ColorRes *res = &(TScreenOf(xw)->Acolors[n]); + + /* ensure that we have a value for each of the colors */ + if (!res->mode) { + (void) AllocateAnsiColor(xw, res, res->resource); + } + + /* find the closest match */ + if (res->mode == True) { + TRACE2(("...lookup %lx -> %x/%x/%x\n", + res->value, res->red, res->green, res->blue)); + diff_red = ColorDiff(find_red, res->red); + diff_green = ColorDiff(find_green, res->green); + diff_blue = ColorDiff(find_blue, res->blue); + this_value = (unsigned long) ((diff_red * diff_red) + + (diff_green * diff_green) + + (diff_blue * diff_blue)); + if (best_index < 0 || this_value < best_value) { + best_index = n; + best_value = this_value; + } + } + } + TRACE(("...best match at %d with diff %lx\n", best_index, best_value)); + result = best_index; +#else + (void) xw; + (void) find_red; + (void) find_green; + (void) find_blue; +#endif + return result; +} + #if OPT_PASTE64 static void ManipulateSelectionData(XtermWidget xw, TScreen * screen, char *buf, int final) @@ -3212,6 +3323,27 @@ do_osc(XtermWidget xw, Char * oscbuf, size_t len, int final) } /* + * Check if the palette changed and there are no more immediate changes + * that could be deferred to the next repaint. + */ + if (xw->misc.palette_changed) { + switch (mode) { + case 3: /* change X property */ + case 30: /* Konsole (unused) */ + case 31: /* Konsole (unused) */ + case 50: /* font operations */ + case 51: /* Emacs (unused) */ +#if OPT_PASTE64 + case 52: /* selection data */ +#endif + TRACE(("forced repaint after palette changed\n")); + xw->misc.palette_changed = False; + xtermRepaint(xw); + break; + } + } + + /* * Most OSC controls other than resets require data. Handle the others as * a special case. */ @@ -3280,14 +3412,14 @@ do_osc(XtermWidget xw, Char * oscbuf, size_t len, int final) /* FALLTHRU */ case 4: if (ChangeAnsiColorRequest(xw, buf, ansi_colors, final)) - xtermRepaint(xw); + xw->misc.palette_changed = True; break; case OSC_Reset(5): ansi_colors = NUM_ANSI_COLORS; /* FALLTHRU */ case OSC_Reset(4): if (ResetAnsiColorRequest(xw, buf, ansi_colors)) - xtermRepaint(xw); + xw->misc.palette_changed = True; break; #endif case OSC_TEXT_FG: @@ -3658,7 +3790,7 @@ do_dcs(XtermWidget xw, Char * dcsbuf, size_t dcslen) screen->top_marg + 1, screen->bot_marg + 1); } else if (!strcmp(cp, "s")) { /* DECSLRM */ - if (screen->terminal_id >= 400) { /* VT420 */ + if (screen->vtXX_level >= 4) { /* VT420 */ sprintf(reply, "%d;%ds", screen->lft_marg + 1, screen->rgt_marg + 1); @@ -3722,14 +3854,16 @@ do_dcs(XtermWidget xw, Char * dcsbuf, size_t dcslen) #endif strcat(reply, "m"); } else if (!strcmp(cp, " q")) { /* DECSCUSR */ - int code = 0; - if (screen->cursor_underline != 0) - code |= 2; + int code = STEADY_BLOCK; + if (isCursorUnderline(screen)) + code = STEADY_UNDERLINE; + else if (isCursorBar(screen)) + code = STEADY_BAR; #if OPT_BLINK_CURS if (screen->cursor_blink_esc == 0) - code |= 1; + code -= 1; #endif - sprintf(reply, "%d%s", code + 1, cp); + sprintf(reply, "%d%s", code, cp); } else okay = False; @@ -3818,7 +3952,7 @@ do_dcs(XtermWidget xw, Char * dcsbuf, size_t dcslen) break; #endif default: - if (screen->terminal_id >= 200) { /* VT220 */ + if (screen->vtXX_level >= 2) { /* VT220 */ parse_ansi_params(¶ms, &cp); switch (params.a_final) { case '|': /* DECUDK */ @@ -3930,7 +4064,7 @@ do_decrpm(XtermWidget xw, int nparams, int *params) break; case 2: /* DECANM - ANSI/VT52 mode */ #if OPT_VT52_MODE - result = MdBool(screen->terminal_id >= 100); + result = MdBool(screen->vtXX_level >= 1); #else result = mdMaybeSet; #endif @@ -4053,6 +4187,9 @@ do_decrpm(XtermWidget xw, int nparams, int *params) case SET_URXVT_EXT_MODE_MOUSE: result = MdBool(screen->extend_coords == params[0]); break; + case SET_ALTERNATE_SCROLL: + result = MdBool(screen->alternateScroll); + break; case 1010: /* rxvt */ result = MdBool(screen->scrollttyoutput); break; @@ -4164,6 +4301,237 @@ udk_lookup(int keycode, int *len) return 0; } +#ifdef HAVE_LIBXPM + +#ifndef PIXMAP_ROOTDIR +#define PIXMAP_ROOTDIR "/usr/share/pixmaps/" +#endif + +typedef struct { + const char *name; + const char *const *data; +} XPM_DATA; + +static char * +x_find_icon(char **work, int *state, const char *suffix) +{ + const char *filename = resource.icon_hint; + const char *prefix = PIXMAP_ROOTDIR; + const char *larger = "_48x48"; + char *result = 0; + size_t length; + + if (*state >= 0) { + if ((*state & 1) == 0) + suffix = ""; + if ((*state & 2) == 0) + larger = ""; + if ((*state & 4) == 0) { + prefix = ""; + } else if (!strncmp(filename, "/", (size_t) 1) || + !strncmp(filename, "./", (size_t) 2) || + !strncmp(filename, "../", (size_t) 3)) { + *state = -1; + } else if (*state >= 8) { + *state = -1; + } + } + + if (*state >= 0) { + if (*work) { + free(*work); + *work = 0; + } + length = 3 + strlen(prefix) + strlen(filename) + strlen(larger) + + strlen(suffix); + if ((result = malloc(length)) != 0) { + sprintf(result, "%s%s%s%s", prefix, filename, larger, suffix); + *work = result; + } + *state += 1; + TRACE(("x_find_icon %d:%s\n", *state, result)); + } + return result; +} + +#if OPT_BUILTIN_XPMS +static const XPM_DATA * +BuiltInXPM(const XPM_DATA * table, Cardinal length) +{ + const char *find = resource.icon_hint; + const XPM_DATA *result = 0; + if (!IsEmpty(find)) { + Cardinal n; + for (n = 0; n < length; ++n) { + if (!x_strcasecmp(find, table[n].name)) { + result = table + n; + break; + } + } + + /* + * As a fallback, check if the icon name matches without the lengths, + * which are all _HHxWW format. + */ + if (result == 0) { + const char *base = table[0].name; + const char *last = strchr(base, '_'); + if (last != 0 + && !x_strncasecmp(find, base, (unsigned) (last - base))) { + result = table + length - 1; + } + } + } + return result; +} +#endif /* OPT_BUILTIN_XPMS */ + +typedef enum { + eHintDefault = 0 /* use the largest builtin-icon */ + ,eHintNone + ,eHintSearch +} ICON_HINT; + +static ICON_HINT +which_icon_hint(void) +{ + ICON_HINT result = eHintDefault; + if (!IsEmpty(resource.icon_hint)) { + if (!x_strcasecmp(resource.icon_hint, "none")) { + result = eHintNone; + } else { + result = eHintSearch; + } + } + return result; +} +#endif /* HAVE_LIBXPM */ + +int +getVisualDepth(XtermWidget xw) +{ + Display *display = TScreenOf(xw)->display; + XVisualInfo myTemplate, *visInfoPtr; + int numFound; + int result = 0; + + myTemplate.visualid = XVisualIDFromVisual(DefaultVisual(display, + XDefaultScreen(display))); + visInfoPtr = XGetVisualInfo(display, (long) VisualIDMask, + &myTemplate, &numFound); + if (visInfoPtr != 0) { + if (numFound != 0) { + result = visInfoPtr->depth; + } + XFree(visInfoPtr); + } + return result; +} + +/* + * WM_ICON_SIZE should be honored if possible. + */ +void +xtermLoadIcon(XtermWidget xw) +{ +#ifdef HAVE_LIBXPM + Display *dpy = XtDisplay(xw); + Pixmap myIcon = 0; + Pixmap myMask = 0; + char *workname = 0; + ICON_HINT hint = which_icon_hint(); +#if OPT_BUILTIN_XPMS +#include <icons/mini.xterm.xpms> +#include <icons/filled-xterm.xpms> +#include <icons/xterm.xpms> +#include <icons/xterm-color.xpms> +#else +#include <icons/mini.xterm_48x48.xpm> +#endif + + TRACE(("xtermLoadIcon %p:%s\n", (void *) xw, NonNull(resource.icon_hint))); + + if (hint == eHintSearch) { + int state = 0; + while (x_find_icon(&workname, &state, ".xpm") != 0) { + Pixmap resIcon = 0; + Pixmap shapemask = 0; + XpmAttributes attributes; + + attributes.depth = (unsigned) getVisualDepth(xw); + attributes.valuemask = XpmDepth; + + if (XpmReadFileToPixmap(dpy, + DefaultRootWindow(dpy), + workname, + &resIcon, + &shapemask, + &attributes) == XpmSuccess) { + myIcon = resIcon; + myMask = shapemask; + TRACE(("...success\n")); + break; + } + } + } + + /* + * If no external file was found, look for the name in the built-in table. + * If that fails, just use the biggest mini-icon. + */ + if (myIcon == 0 && hint != eHintNone) { + char **data; +#if OPT_BUILTIN_XPMS + const XPM_DATA *myData = 0; + myData = BuiltInXPM(mini_xterm_xpms, XtNumber(mini_xterm_xpms)); + if (myData == 0) + myData = BuiltInXPM(filled_xterm_xpms, XtNumber(filled_xterm_xpms)); + if (myData == 0) + myData = BuiltInXPM(xterm_color_xpms, XtNumber(xterm_color_xpms)); + if (myData == 0) + myData = BuiltInXPM(xterm_xpms, XtNumber(xterm_xpms)); + if (myData == 0) + myData = &mini_xterm_xpms[XtNumber(mini_xterm_xpms) - 1]; + data = (char **) myData->data, +#else + data = (char **) &mini_xterm_48x48_xpm; +#endif + if (XpmCreatePixmapFromData(dpy, + DefaultRootWindow(dpy), + data, + &myIcon, &myMask, 0) != 0) { + myIcon = 0; + myMask = 0; + } + } + + if (myIcon != 0) { + XWMHints *hints = XGetWMHints(dpy, VShellWindow(xw)); + if (!hints) + hints = XAllocWMHints(); + + if (hints) { + hints->flags |= IconPixmapHint; + hints->icon_pixmap = myIcon; + if (myMask) { + hints->flags |= IconMaskHint; + hints->icon_mask = myMask; + } + + XSetWMHints(dpy, VShellWindow(xw), hints); + XFree(hints); + TRACE(("...loaded icon\n")); + } + } + + if (workname != 0) + free(workname); + +#else + (void) xw; +#endif +} + void ChangeGroup(XtermWidget xw, const char *attribute, char *value) { @@ -4500,7 +4868,6 @@ SysReasonMsg(int code) { ERROR_SCALLOC, "Alloc: calloc() failed on base" }, { ERROR_SCALLOC2, "Alloc: calloc() failed on rows" }, { ERROR_SAVE_PTR, "ScrnPointers: malloc/realloc() failed" }, - { ERROR_MMALLOC, "my_memmove: malloc/realloc failed" }, }; /* *INDENT-ON* */ @@ -5374,12 +5741,13 @@ catch_x11_error(Display * display, XErrorEvent * error_event) return 0; } -static Boolean -validWindow(Display * dpy, Window win, XWindowAttributes * attrs) +Boolean +xtermGetWinAttrs(Display * dpy, Window win, XWindowAttributes * attrs) { Boolean result = False; Status code; + memset(attrs, 0, sizeof(*attrs)); if (win != None) { XErrorHandler save = XSetErrorHandler(catch_x11_error); x11_errors = 0; @@ -5395,6 +5763,44 @@ validWindow(Display * dpy, Window win, XWindowAttributes * attrs) return result; } +Boolean +xtermGetWinProp(Display * display, + Window win, + Atom property, + long long_offset, + long long_length, + Atom req_type, + Atom * actual_type_return, + int *actual_format_return, + unsigned long *nitems_return, + unsigned long *bytes_after_return, + unsigned char **prop_return) +{ + Boolean result = True; + + if (win != None) { + XErrorHandler save = XSetErrorHandler(catch_x11_error); + x11_errors = 0; + if (XGetWindowProperty(display, + win, + property, + long_offset, + long_length, + False, + req_type, + actual_type_return, + actual_format_return, + nitems_return, + bytes_after_return, + prop_return) == Success + && x11_errors == 0) { + result = True; + } + XSetErrorHandler(save); + } + return result; +} + void xtermEmbedWindow(Window winToEmbedInto) { @@ -5402,7 +5808,7 @@ xtermEmbedWindow(Window winToEmbedInto) XWindowAttributes attrs; TRACE(("checking winToEmbedInto %#lx\n", winToEmbedInto)); - if (validWindow(dpy, winToEmbedInto, &attrs)) { + if (xtermGetWinAttrs(dpy, winToEmbedInto, &attrs)) { XtermWidget xw = term; TScreen *screen = TScreenOf(xw); diff --git a/app/xterm/os2main.c b/app/xterm/os2main.c index 684b6447b..44b6f904c 100644 --- a/app/xterm/os2main.c +++ b/app/xterm/os2main.c @@ -1,4 +1,4 @@ -/* $XTermId: os2main.c,v 1.276 2012/03/27 23:09:20 tom Exp $ */ +/* $XTermId: os2main.c,v 1.277 2012/10/14 18:55:18 tom Exp $ */ /* removed all foreign stuff to get the code more clear (hv) * and did some rewrite for the obscure OS/2 environment @@ -264,6 +264,7 @@ static XtResource application_resources[] = { Sres("iconGeometry", "IconGeometry", icon_geometry, NULL), Sres(XtNtitle, XtCTitle, title, NULL), + Sres(XtNiconHint, XtCIconHint, icon_hint, NULL), Sres(XtNiconName, XtCIconName, icon_name, NULL), Sres("termName", "TermName", term_name, NULL), Sres("ttyModes", "TtyModes", tty_modes, NULL), @@ -1243,9 +1244,10 @@ main(int argc, char **argv ENVP_ARG) XtSetArg(args[0], XtNtitle, resource.title); XtSetArg(args[1], XtNiconName, resource.icon_name); - TRACE(("setting:\n\ttitle \"%s\"\n\ticon \"%s\"\n\tbased on command \"%s\"\n", + TRACE(("setting:\n\ttitle \"%s\"\n\ticon \"%s\"\n\thint \"%s\"\n\tbased on command \"%s\"\n", resource.title, resource.icon_name, + NonNull(resource.icon_hint), *command_to_exec)); XtSetValues(toplevel, args, 2); diff --git a/app/xterm/package/debian/changelog b/app/xterm/package/debian/changelog index 8cae16cec..0b88f1881 100644 --- a/app/xterm/package/debian/changelog +++ b/app/xterm/package/debian/changelog @@ -1,3 +1,55 @@ +xterm-dev (287) unstable; urgency=low + + * Miscellaneous fixes. + * Redhat #874327, #875305. + + -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 19 Nov 2012 04:53:39 -0500 + +xterm-dev (286) unstable; urgency=low + + * Redhat #869959 + + -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 25 Oct 2012 06:56:35 -0400 + +xterm-dev (285) unstable; urgency=low + + * Miscellaneous fixes. + + -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 15 Oct 2012 06:57:38 -0400 + +xterm-dev (284) unstable; urgency=low + + * fix documentation errata + * fix regression in --enable-regex + + -- Thomas E. Dickey <dickey@invisible-island.net> Wed, 10 Oct 2012 18:17:35 -0400 + +xterm-dev (283) unstable; urgency=low + + * Miscellaneous fixes. + + -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 01 Oct 2012 20:45:50 -0400 + +xterm-dev (282) unstable; urgency=low + + * Miscellaneous fixes. + + -- Thomas E. Dickey <dickey@invisible-island.net> Mon, 20 Aug 2012 17:55:32 -0400 + +xterm-dev (281) unstable; urgency=low + + * fix regression in keyboard configuration. + + -- Thomas E. Dickey <dickey@invisible-island.net> Tue, 26 Jun 2012 04:36:36 -0400 + +xterm-dev (280) unstable; urgency=low + + * Add Debian menu-file. + * modify to support icon-theme + * Miscellaneous fixes. + + -- Thomas E. Dickey <dickey@invisible-island.net> Fri, 25 May 2012 05:36:50 -0400 + xterm-dev (279) unstable; urgency=low * Miscellaneous fixes. diff --git a/app/xterm/package/debian/rules b/app/xterm/package/debian/rules index b3c358f43..f47960e7c 100644 --- a/app/xterm/package/debian/rules +++ b/app/xterm/package/debian/rules @@ -77,11 +77,14 @@ configure-stamp: --enable-wide-chars \ --enable-xmc-glitch \ --with-app-defaults=$(PKG_APPDEFAULTS) \ - --with-icondir=\$${prefix}/share/pixmaps \ + --with-icondir=\$${prefix}/share/icons \ + --with-pixmapdir=\$${prefix}/share/pixmaps \ --with-own-terminfo=\$${prefix}/share/terminfo \ + --with-icon-theme \ --with-terminal-type=xterm-new \ --with-utempter \ - ${DEBOP} + --with-icon-name=mini.xterm \ + --with-xpm ${DEBOP} touch configure-stamp @@ -161,6 +164,8 @@ binary-indep: build install done' ; \ exit 0 ) + dh_icons + # Build architecture-dependent files here. binary-arch: build install dh_testdir diff --git a/app/xterm/package/debian/xterm-dev.menu b/app/xterm/package/debian/xterm-dev.menu new file mode 100644 index 000000000..8f3752cac --- /dev/null +++ b/app/xterm/package/debian/xterm-dev.menu @@ -0,0 +1,14 @@ +?package(xterm-dev):\ + needs="x11"\ + section="Applications/Terminal Emulators"\ + longtitle="XTerm: terminal emulator for X (development)"\ + title="XTermDev"\ + icon="/usr/share/pixmaps/xterm-dev-color_32x32.xpm"\ + command="xterm" +?package(xterm-dev):\ + needs="x11"\ + section="Applications/Terminal Emulators"\ + longtitle="XTerm: terminal emulator for X with Unicode support (development)"\ + title="XTermDev (Unicode)"\ + icon="/usr/share/pixmaps/xterm-dev-color_32x32.xpm"\ + command="uxterm" diff --git a/app/xterm/package/debian/xterm-xres.sed b/app/xterm/package/debian/xterm-xres.sed index 745cb5842..68a651ab0 100644 --- a/app/xterm/package/debian/xterm-xres.sed +++ b/app/xterm/package/debian/xterm-xres.sed @@ -4,5 +4,4 @@ *backarrowKeyIsErase: true\ *ptyInitialErase: true /!*allowWindowOps: false/a\ -*allowWindowOps: true\ -*activeIcon: true +*allowWindowOps: true diff --git a/app/xterm/package/freebsd/Makefile b/app/xterm/package/freebsd/Makefile new file mode 100644 index 000000000..303eba2f6 --- /dev/null +++ b/app/xterm/package/freebsd/Makefile @@ -0,0 +1,98 @@ +# $FreeBSD$ +# This is adapted from the FreeBSD port, installing as "xterm-dev" with +# separate resource- and manpage files. +# copy "xterm-${PORTVERSION}.tgz to the port's distfiles directory +# and "make makesum". + +PORTNAME= xterm +PORTVERSION= 286 +CATEGORIES= x11 +MASTER_SITES= ftp://invisible-island.net/xterm/ \ + CRITICAL +PKGNAMESUFFIX= -dev +EXTRACT_SUFX= .tgz + +MAINTAINER= dickey@invisible-island.net +COMMENT= Terminal emulator for the X Window System (development) + +CONFLICTS= x11iraf-[0-9]* + +USE_XORG= xaw xft +WANT_GNOME= desktopfileutils +GNU_CONFIGURE= yes + +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --with-utempter --enable-narrowproto --enable-256-color + +CPPFLAGS+= -I${LOCALBASE}/include + +OPTIONS_DEFINE= WCHAR LUIT DECTERM PCRE GNOME DABBREV TOOLBAR + +TOOLBAR_DESC= Enable support menu/toolbar +DABBREV_DESC= Enable support for dabbrev-expand +DECTERM_DESC= Enable DECterm Locator support +LUIT_DESC= Use LUIT for locale convertion from/to UTF-8 +WCHAR_DESC= Enable wide-character support + +PKG_CLASS= XTermDev + +.include <bsd.port.options.mk> + +CONFIGURE_ARGS+= --program-suffix=${PKGNAMESUFFIX} --with-app-class=${PKG_CLASS} --without-xterm-symlink + +.if ${PORT_OPTIONS:MLUIT} +CONFIGURE_ARGS+= --enable-luit +BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit +.endif + +.if ${PORT_OPTIONS:MWCHAR} +CONFIGURE_ARGS+= --enable-wide-chars +.endif + +.if ${PORT_OPTIONS:MDECTERM} +CONFIGURE_ARGS+= --enable-dec-locator +.endif + +.if ${PORT_OPTIONS:MPCRE} +CONFIGURE_ARGS+= --with-pcre +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +.endif + +.if ${PORT_OPTIONS:MDABBREV} +CONFIGURE_ARGS+= --enable-dabbrev +.endif + +.if ${PORT_OPTIONS:MTOOLBAR} +CONFIGURE_ARGS+= --enable-toolbar +.endif + +.if ${PORT_OPTIONS:MGNOME} +USE_GNOME= desktopfileutils +PLIST_SUB+= GNOME="" +.else +PLIST_SUB+= GNOME="@comment " +.endif + +MAN1= resize${PKGNAMESUFFIX}.1 koi8rxterm${PKGNAMESUFFIX}.1 uxterm${PKGNAMESUFFIX}.1 xterm${PKGNAMESUFFIX}.1 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900004 +LIB_DEPENDS+= utempter:${PORTSDIR}/sysutils/libutempter +.endif + +post-install: +.for f in koi8rxterm resize uxterm xterm + @${CHMOD} ${BINMODE} ${PREFIX}/bin/${f} +.endfor +.if ${PORT_OPTIONS:MGNOME} + @${MKDIR} ${PREFIX}/share/applications/ + @${INSTALL_DATA} ${WRKSRC}/xterm.desktop ${PREFIX}/share/applications/ + @-update-desktop-database +.endif + +.if ${PORT_OPTIONS:MWCHAR} + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.post.mk> diff --git a/app/xterm/package/freebsd/pkg-descr b/app/xterm/package/freebsd/pkg-descr new file mode 100644 index 000000000..66017470a --- /dev/null +++ b/app/xterm/package/freebsd/pkg-descr @@ -0,0 +1,10 @@ +The xterm program is the standard terminal emulator for the X +Window System. It provides DEC VT102/VT220 and Tektronix 4014 +compatible terminals for programs that can't use the window +system directly. If the underlying operating system supports +terminal resizing capabilities (for example, the SIGWINCH +signal in systems derived from 4.3bsd), xterm will use the +facilities to notify programs running in the window whenever it +is resized. + +WWW: http://invisible-island.net/xterm/ diff --git a/app/xterm/package/freebsd/pkg-message b/app/xterm/package/freebsd/pkg-message new file mode 100644 index 000000000..1de1a06ed --- /dev/null +++ b/app/xterm/package/freebsd/pkg-message @@ -0,0 +1,10 @@ +================================================================================ +You installed xterm with wide chars support. This introduces some limitations +comparing to the plain single chars version: this version of xterm will use +UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless +you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to +work as before, use "eightBitSelectTypes" XTerm resource setting. + +For further information refer to the SELECT/PASTE section of xterm(1) manual +page. +================================================================================ diff --git a/app/xterm/package/freebsd/pkg-plist b/app/xterm/package/freebsd/pkg-plist new file mode 100644 index 000000000..7cb21f6aa --- /dev/null +++ b/app/xterm/package/freebsd/pkg-plist @@ -0,0 +1,22 @@ +bin/koi8rxterm-dev +bin/resize-dev +bin/uxterm-dev +bin/xterm-dev +lib/X11/app-defaults/KOI8RXTermDev +lib/X11/app-defaults/KOI8RXTermDev-color +lib/X11/app-defaults/UXTermDev +lib/X11/app-defaults/UXTermDev-color +lib/X11/app-defaults/XTermDev +lib/X11/app-defaults/XTermDev-color +share/applications/xterm-dev.desktop +share/pixmaps/filled-xterm-dev_32x32.xpm +share/pixmaps/filled-xterm-dev_48x48.xpm +share/pixmaps/mini.xterm-dev_32x32.xpm +share/pixmaps/mini.xterm-dev_48x48.xpm +share/pixmaps/xterm-dev-color_32x32.xpm +share/pixmaps/xterm-dev-color_48x48.xpm +share/pixmaps/xterm-dev_32x32.xpm +share/pixmaps/xterm-dev_48x48.xpm +@dirrmtry share/applications +%%GNOME%%@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +%%GNOME%%@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true diff --git a/app/xterm/package/xterm.spec b/app/xterm/package/xterm.spec index ec69b1898..5a9314be3 100644 --- a/app/xterm/package/xterm.spec +++ b/app/xterm/package/xterm.spec @@ -1,10 +1,10 @@ -# $XTermId: xterm.spec,v 1.21 2012/03/15 00:32:52 tom Exp $ -Summary: A text-based Web browser +# $XTermId: xterm.spec,v 1.40 2012/11/19 09:53:15 tom Exp $ +Summary: X terminal emulator (development version) Name: xterm-dev -Version: 279 +Version: 287 Release: 1 License: X11 -Group: Applications/Internet +Group: User Interface/X Source: xterm-%{version}.tgz # URL: http://invisible-island.net/xterm/ Provides: x-terminal-emulator @@ -41,8 +41,9 @@ and its resource class, to avoid conflict with other packages. %define my_class XTermDev %define desktop_vendor dickey -%define desktop_utils %(if which desktop-file-install 2>&1 >/dev/null ; then echo "yes" ; fi) +%define desktop_utils %(if which desktop-file-install 2>&1 >/dev/null ; then echo 1 || echo 0 ; fi) +%define icon_theme %(test -d /usr/share/icons/hicolor && echo 1 || echo 0) %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) @@ -56,6 +57,9 @@ and its resource class, to avoid conflict with other packages. %define _pixmapsdir %{_datadir}/pixmaps %define my_docdir %{_datadir}/doc/xterm%{my_suffix} +# no need for debugging symbols... +%define debug_package %{nil} + %setup -q -n xterm-%{version} %build @@ -70,6 +74,10 @@ CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \ --program-suffix=%{my_suffix} \ --without-xterm-symlink \ %endif +%if "%{icon_theme}" + --with-icon-theme \ + --with-icondir=%{_iconsdir} \ +%endif --with-app-class=%{my_class} \ --enable-256-color \ --enable-88-color \ @@ -82,7 +90,6 @@ CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \ --enable-logging \ --enable-mini-luit \ --enable-paste64 \ - --enable-rectangles \ --enable-sco-fkeys \ --enable-tcap-fkeys \ --enable-tcap-query \ @@ -90,10 +97,12 @@ CPPFLAGS="-DMISC_EXP -DEXP_HTTP_HEADERS" \ --enable-wide-chars \ --enable-xmc-glitch \ --with-app-defaults=%{_xresdir} \ - --with-icondir=%{_pixmapsdir} \ + --with-pixmapdir=%{_pixmapsdir} \ --with-own-terminfo=%{_datadir}/terminfo \ --with-terminal-type=xterm-new \ - --with-utempter + --with-utempter \ + --with-xpm + copy config.status /tmp/ make chmod u+w XTerm.ad @@ -129,7 +138,7 @@ make install-bin install-man install-app install-icon \ # know that they do not depend on Perl packages. chmod 644 $RPM_BUILD_ROOT%{my_docdir}/vttests/* -%if "%{desktop_utils}" == "yes" +%if "%{desktop_utils}" make install-desktop \ DESKTOP_FLAGS="--vendor='%{desktop_vendor}' --dir $RPM_BUILD_ROOT%{_datadir}/applications" @@ -142,6 +151,22 @@ test -n "%{my_suffix}" && \ ) %endif +%post +%if "%{icon_theme}" +touch --no-create %{_iconsdir}/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache %{_iconsdir}/hicolor || : +fi +%endif + +%postun +%if "%{icon_theme}" +touch --no-create %{_iconsdir}/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache %{_iconsdir}/hicolor || : +fi +%endif + %clean rm -rf $RPM_BUILD_ROOT @@ -153,19 +178,30 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/resize%{my_suffix} %{_mandir}/*/* %{my_docdir}/* -%{_pixmapsdir}/xterm*.xpm %{_xresdir}/*XTerm* %if "%{install_ti}" == "yes" %{_datadir}/terminfo/* %endif -%if "%{desktop_utils}" == "yes" +%if "%{desktop_utils}" %config(missingok) %{_datadir}/applications/%{desktop_vendor}-xterm%{my_suffix}.desktop %config(missingok) %{_datadir}/applications/%{desktop_vendor}-uxterm%{my_suffix}.desktop %endif +%if "%{icon_theme}" +%{_iconsdir}/hicolor/48x48/apps/xterm*.png +%{_iconsdir}/hicolor/scalable/apps/xterm*.svg +%endif +%{_pixmapsdir}/*xterm*.xpm + %changelog +* Mon Oct 08 2012 Thomas E. Dickey +- added to pixmapsdir + +* Fri Jun 15 2012 Thomas E. Dickey +- modify to support icon theme + * Fri Oct 22 2010 Thomas E. Dickey - initial version. diff --git a/app/xterm/print.c b/app/xterm/print.c index 54b5960ee..4de06a7b6 100644 --- a/app/xterm/print.c +++ b/app/xterm/print.c @@ -1,7 +1,7 @@ -/* $XTermId: print.c,v 1.139 2011/09/11 14:59:36 tom Exp $ */ +/* $XTermId: print.c,v 1.147 2012/10/29 10:41:53 tom Exp $ */ /* - * Copyright 1997-2010,2011 by Thomas E. Dickey + * Copyright 1997-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -74,7 +74,7 @@ static void send_SGR(XtermWidget /* xw */ , static void stringToPrinter(XtermWidget /* xw */ , const char * /*str */ ); -void +static void closePrinter(XtermWidget xw GCC_UNUSED) { if (xtermHasPrinter(xw) != 0) { @@ -87,16 +87,15 @@ closePrinter(XtermWidget xw GCC_UNUSED) #endif if (SPS.fp != 0) { - fclose(SPS.fp); + pclose(SPS.fp); TRACE(("closed printer, waiting...\n")); #ifdef VMS /* This is a quick hack, really should use spawn and check status or system services and go straight to the queue */ (void) system(pcommand); #else /* VMS */ - while (nonblocking_wait() > 0) + while (nonblocking_wait() > 0) ; #endif /* VMS */ - ; SPS.fp = 0; SPS.isOpen = False; TRACE(("closed printer\n")); @@ -438,6 +437,7 @@ charToPrinter(XtermWidget xw, unsigned chr) if (my_pid == 0) { TRACE_CLOSE(); + (void) signal(SIGCHLD, SIG_DFL); /* no reapchild! */ close(my_pipe[1]); /* printer is silent */ close(screen->respond); @@ -454,13 +454,18 @@ charToPrinter(XtermWidget xw, unsigned chr) exit(1); SPS.fp = popen(SPS.printer_command, "w"); - input = fdopen(my_pipe[0], "r"); - while ((c = fgetc(input)) != EOF) { - fputc(c, SPS.fp); - if (isForm(c)) - fflush(SPS.fp); + if (SPS.fp != 0) { + input = fdopen(my_pipe[0], "r"); + clearerr(input); + while (!ferror(input) && !feof(input)) { + if ((c = fgetc(input)) == EOF) + break; + fputc(c, SPS.fp); + if (isForm(c)) + fflush(SPS.fp); + } + pclose(SPS.fp); } - pclose(SPS.fp); exit(0); } else { close(my_pipe[0]); /* won't read from printer */ @@ -641,13 +646,32 @@ xtermPrinterControl(XtermWidget xw, int chr) /* * If there is no printer command, we will ignore printer controls. + * + * If we do have a printer command, we still have to verify that it will + * (perhaps) work if we pass it to popen(). At a minimum, the program + * must exist and be executable. If not, warn and disable the feature. */ Bool xtermHasPrinter(XtermWidget xw) { TScreen *screen = TScreenOf(xw); + Bool result = SPS.printer_checked; + + if (strlen(SPS.printer_command) != 0 && !result) { + char **argv = x_splitargs(SPS.printer_command); + if (argv && argv[0]) { + if (xtermFindShell(argv[0], False) == 0) { + xtermWarning("No program found for printerCommand: %s\n", SPS.printer_command); + SPS.printer_command = x_strdup(""); + } else { + SPS.printer_checked = True; + result = True; + } + } + TRACE(("xtermHasPrinter:%d\n", result)); + } - return (strlen(SPS.printer_command) != 0); + return result; } #define showPrinterControlMode(mode) \ diff --git a/app/xterm/ptyx.h b/app/xterm/ptyx.h index e3ae4f7c6..62312aba2 100644 --- a/app/xterm/ptyx.h +++ b/app/xterm/ptyx.h @@ -1,4 +1,4 @@ -/* $XTermId: ptyx.h,v 1.730 2012/05/09 00:09:32 tom Exp $ */ +/* $XTermId: ptyx.h,v 1.759 2012/11/25 16:05:51 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -67,7 +67,11 @@ #include <X11/Shell.h> /* for XtNdieCallback, etc. */ #include <X11/StringDefs.h> /* for standard resource names */ #include <X11/Xmu/Misc.h> /* For Max() and Min(). */ + +#undef bcopy +#undef bzero #include <X11/Xfuncs.h> + #include <X11/Xosdefs.h> #include <X11/Xmu/Converters.h> #ifdef XRENDERFONT @@ -364,7 +368,7 @@ typedef struct { #define MAX_DECID 525 /* ...through VT525 */ #ifndef DFT_DECID -#define DFT_DECID "vt100" /* default VT100 */ +#define DFT_DECID "vt420" /* default VT420 */ #endif #ifndef DFT_KBD_DIALECT @@ -387,12 +391,19 @@ typedef struct { String desc; } OptionHelp; +typedef struct { + int count; /* number of values in params[] */ + int has_subparams; /* true if there are any sub's */ + int is_sub[NPARAM]; /* true for subparam */ + int params[NPARAM]; /* parameter value */ +} PARAMS; + typedef short ParmType; typedef struct { Char a_type; /* CSI, etc., see unparseq() */ Char a_pintro; /* private-mode char, if any */ - char * a_delim; /* between parameters (;) */ + const char * a_delim; /* between parameters (;) */ Char a_inters; /* special (before final-char) */ Char a_final; /* final-char */ ParmType a_nparam; /* # of parameters */ @@ -462,6 +473,10 @@ typedef struct { #define OPT_BOX_CHARS 1 /* true if xterm can simulate box-characters */ #endif +#ifndef OPT_BUILTIN_XPMS +#define OPT_BUILTIN_XPMS 0 /* true if all xpm data is compiled-in */ +#endif + #ifndef OPT_BROKEN_OSC #ifdef linux #define OPT_BROKEN_OSC 1 /* man console_codes, 1st paragraph - cf: ECMA-48 */ @@ -510,6 +525,10 @@ typedef struct { #define OPT_DEC_SOFTFONT 0 /* true if xterm is configured for VT220 softfonts */ #endif +#ifndef OPT_DOUBLE_BUFFER +#define OPT_DOUBLE_BUFFER 0 /* true if using double-buffering */ +#endif + #ifndef OPT_EBCDIC #ifdef __MVS__ #define OPT_EBCDIC 1 @@ -906,6 +925,15 @@ typedef enum { , esNever } FullscreenOps; +#ifndef NO_ACTIVE_ICON +typedef enum { + eiFalse = 0 + , eiTrue + , eiDefault + , eiLAST +} AIconOps; +#endif + typedef enum { etSetTcap = 1 , etGetTcap @@ -913,7 +941,7 @@ typedef enum { } TcapOps; typedef enum { - /* 1-21 are chosen to be the same as the control-sequence coding */ + /* 1-23 are chosen to be the same as the control-sequence coding */ ewRestoreWin = 1 , ewMinimizeWin = 2 , ewSetWinPosition = 3 @@ -1336,7 +1364,7 @@ typedef struct { * of widths. */ typedef struct { - Bool mixed; + Bool mixed; Dimension min_width; /* nominal cell width for 0..255 */ Dimension max_width; /* maximum cell width */ } FontMap; @@ -1359,8 +1387,8 @@ typedef enum { } RenderFont; #define DefaultRenderFont(xw) \ - if ((xw)->misc.render_font == erDefault) \ - (xw)->misc.render_font = erFalse + if ((xw)->work.render_font == erDefault) \ + (xw)->work.render_font = erFalse typedef struct { XftFont * font; @@ -1377,6 +1405,7 @@ typedef struct { /* indices into save_modes[] */ typedef enum { + DP_ALTERNATE_SCROLL, DP_ALT_SENDS_ESC, DP_BELL_IS_URGENT, DP_CRS_VISIBLE, @@ -1465,6 +1494,7 @@ typedef enum { typedef struct { String resource; Pixel value; + unsigned short red, green, blue; int mode; /* -1=invalid, 0=unset, 1=set */ } ColorRes; #else @@ -1484,6 +1514,7 @@ typedef struct { FILE * fp; /* output file/pipe used */ Boolean isOpen; /* output was opened/tried */ Boolean toFile; /* true when directly to file */ + Boolean printer_checked; /* printer_command is checked */ String printer_command; /* pipe/shell command string */ Boolean printer_autoclose; /* close printer when offline */ Boolean printer_extent; /* print complete page */ @@ -1518,7 +1549,7 @@ typedef struct { } SavedCursor; typedef struct _SaveTitle { - struct _SaveTitle *next; + struct _SaveTitle *next; char *iconName; char *windowName; } SaveTitle; @@ -1556,6 +1587,9 @@ typedef struct { int f_ascent; /* ascent of font in pixels */ int f_descent; /* descent of font in pixels */ SbInfo sb_info; +#if OPT_DOUBLE_BUFFER + Drawable drawable; /* X drawable id */ +#endif #if OPT_TOOLBAR Boolean active; /* true if toolbars are used */ TbInfo tb_info; /* toolbar information */ @@ -1594,6 +1628,26 @@ typedef struct { } TInput; #endif +typedef enum { + CURSOR_BLOCK = 2 + , CURSOR_UNDERLINE = 4 + , CURSOR_BAR = 6 +} XtCursorShape; + +#define isCursorBlock(s) ((s)->cursor_shape == CURSOR_BLOCK) +#define isCursorUnderline(s) ((s)->cursor_shape == CURSOR_UNDERLINE) +#define isCursorBar(s) ((s)->cursor_shape == CURSOR_BAR) + +typedef enum { + DEFAULT_STYLE = 0 + , BLINK_BLOCK + , STEADY_BLOCK + , BLINK_UNDERLINE + , STEADY_UNDERLINE + , BLINK_BAR + , STEADY_BAR +} XtCursorStyle; + typedef struct { /* These parameters apply to both windows */ Display *display; /* X display for screen */ @@ -1655,6 +1709,7 @@ typedef struct { int unicode_font; /* font uses unicode encoding */ int utf_count; /* state of utf_char */ IChar utf_char; /* in-progress character */ + Boolean char_was_written; int last_written_col; int last_written_row; TypedBuffer(XChar2b); @@ -1743,9 +1798,6 @@ typedef struct { Boolean awaitInput; /* select-timeout mode */ Boolean grabbedKbd; /* keyboard is grabbed */ -#if OPT_MAXIMIZE - Boolean fullscreen; /* window is fullscreen */ -#endif #ifdef ALLOWLOGGING int logging; /* logging mode */ int logfd; /* file descriptor of log */ @@ -1757,6 +1809,7 @@ typedef struct { /* VT window parameters */ Boolean Vshow; /* VT window showing */ VTwin fullVwin; + int needSwap; #ifndef NO_ACTIVE_ICON VTwin iconVwin; VTwin *whichVwin; @@ -1779,7 +1832,7 @@ typedef struct { Boolean fnt_boxes; /* true if font has box-chars */ Boolean force_packed; /* true to override proportional */ #if OPT_BOX_CHARS - Boolean force_box_chars;/* true if we assume that */ + Boolean force_box_chars;/* true if we assume no boxchars */ Boolean force_all_chars;/* true to outline missing chars */ Boolean allow_packing; /* true to allow packed-fonts */ #endif @@ -1800,6 +1853,7 @@ typedef struct { int cursor_state; /* ON, OFF, or BLINKED_OFF */ int cursor_busy; /* do not redraw... */ Boolean cursor_underline; /* true if cursor is in underline mode */ + XtCursorShape cursor_shape; #if OPT_BLINK_CURS Boolean cursor_blink; /* cursor blink enable */ Boolean cursor_blink_res; /* initial cursor blink value */ @@ -1843,6 +1897,7 @@ typedef struct { * Working variables for getLineData(). */ size_t lineExtra; /* extra space for combining chars */ + Dimension widestLine; /* length of longest LineData */ /* * Pointer to the current visible buffer. */ @@ -1867,6 +1922,7 @@ typedef struct { size_t save_len; /* ...and its length */ int scrolllines; /* number of lines to button scroll */ + Boolean alternateScroll; /* scroll-actions become keys */ Boolean scrollttyoutput; /* scroll to bottom on tty output */ Boolean scrollkey; /* scroll to bottom on key */ Boolean cursor_moved; /* scrolling makes cursor move */ @@ -2129,6 +2185,20 @@ typedef struct _TekScreen { #define SCREEN_FLAG(screenp,f) (0) #endif +/* + * After screen-updates, reset the flag that tells us we should do wrapping. + * Likewise, reset (in wide-character mode) the flag that tells us where the + * "previous" character was written. + */ +#if OPT_WIDE_CHARS +#define ResetWrap(screen) \ + (screen)->do_wrap = \ + (screen)->char_was_written = False +#else +#define ResetWrap(screen) \ + (screen)->do_wrap = False +#endif + /* meaning of bits in screen.select flag */ #define INWINDOW 01 /* the mouse is in one of the windows */ #define FOCUS 02 /* one of the windows is the focus window */ @@ -2157,9 +2227,10 @@ typedef enum { } xtermKeyboardType; typedef enum { /* legal values for screen.pointer_mode */ - pNever = 0, - pNoMouse = 1, - pAlways = 2 + pNever = 0 + , pNoMouse = 1 + , pAlways = 2 + , pFocused = 3 } pointerModeTypes; typedef enum { /* legal values for screen.utf8_mode */ @@ -2222,6 +2293,7 @@ extern const char * visibleKeyboardType(xtermKeyboardType); typedef struct { + int allow_keys; /* how to handle legacy/vt220 keyboard */ int cursor_keys; /* how to handle cursor-key modifiers */ int function_keys; /* how to handle function-key modifiers */ int keypad_keys; /* how to handle keypad key-modifiers */ @@ -2271,6 +2343,7 @@ typedef struct _Misc { Boolean log_on; #endif Boolean login_shell; + Boolean palette_changed; Boolean re_verse; Boolean re_verse0; /* initial value of "-rv" */ XtGravity resizeGravity; @@ -2289,7 +2362,8 @@ typedef struct _Misc { Boolean useRight; #endif Boolean titeInhibit; - Boolean tiXtraScroll; + Boolean tiXtraScroll; /* scroll on ti/te */ + Boolean cdXtraScroll; /* scroll on cd (clear-display) */ Boolean appcursorDefault; Boolean appkeypadDefault; #if OPT_INPUT_METHOD @@ -2304,9 +2378,8 @@ typedef struct _Misc { TInput inputs[NINPUTWIDGETS]; #endif Boolean dynamicColors; - Boolean shared_ic; #ifndef NO_ACTIVE_ICON - Boolean active_icon; /* use application icon window */ + char *active_icon_s; /* use application icon window */ unsigned icon_border_width; Pixel icon_border_pixel; #endif /* NO_ACTIVE_ICON */ @@ -2322,20 +2395,39 @@ typedef struct _Misc { #if OPT_NUM_LOCK Boolean real_NumLock; /* true if we treat NumLock key specially */ Boolean alwaysUseMods; /* true if we always want f-key modifiers */ - unsigned num_lock; /* modifier for Num_Lock */ - unsigned alt_mods; /* modifier for Alt_L or Alt_R */ - unsigned meta_mods; /* modifier for Meta_L or Meta_R */ - unsigned other_mods; /* conflicting modifiers, e.g., Mode_Switch */ #endif #if OPT_RENDERFONT char *face_name; char *face_wide_name; float face_size[NMENUFONTS]; char *render_font_s; - Boolean render_font; #endif } Misc; +typedef struct _Work { + int dummy; +#ifndef NO_ACTIVE_ICON + int active_icon; /* use application icon window */ +#endif /* NO_ACTIVE_ICON */ +#if OPT_MAXIMIZE +#define MAX_EWMH_MODE 3 +#define MAX_EWMH_DATA (1 + OPT_TEK4014) + struct { + int mode; /* fullscreen, etc. */ + Boolean checked[MAX_EWMH_MODE]; + Boolean allowed[MAX_EWMH_MODE]; + } ewmh[MAX_EWMH_DATA]; +#endif +#if OPT_NUM_LOCK + unsigned num_lock; /* modifier for Num_Lock */ + unsigned alt_mods; /* modifier for Alt_L or Alt_R */ + unsigned meta_mods; /* modifier for Meta_L or Meta_R */ +#endif +#if OPT_RENDERFONT + Boolean render_font; +#endif +} Work; + typedef struct {int foo;} XtermClassPart, TekClassPart; typedef struct _XtermClassRec { @@ -2397,6 +2489,7 @@ typedef struct _XtermWidgetRec { unsigned initflags; /* initial mode flags */ Tabs tabs; /* tabstops of the terminal */ Misc misc; /* miscellaneous parameters */ + Work work; /* workspace (no resources) */ } XtermWidgetRec, *XtermWidget; #if OPT_TEK4014 @@ -2539,8 +2632,8 @@ typedef struct _TekWidgetRec { #define CursorX2(screen,col,fw) ((col) * (int)(fw) + OriginX(screen)) #define CursorX(screen,col) CursorX2(screen, col, FontWidth(screen)) -#define CursorY(screen,row) ((INX2ROW(screen, row) * FontHeight(screen)) \ - + screen->border) +#define CursorY2(screen,row) (((row) * FontHeight(screen)) + screen->border) +#define CursorY(screen,row) CursorY2(screen, INX2ROW(screen, row)) /* * These definitions depend on whether xterm supports active-icon. @@ -2575,7 +2668,7 @@ typedef struct _TekWidgetRec { /* * Macro to check if we are iconified; do not use render for that case. */ -#define UsingRenderFont(xw) (((xw)->misc.render_font == True) && !IsIcon(TScreenOf(xw))) +#define UsingRenderFont(xw) (((xw)->work.render_font == True) && !IsIcon(TScreenOf(xw))) /* * These definitions do not depend on whether xterm supports active-icon. @@ -2585,6 +2678,12 @@ typedef struct _TekWidgetRec { #define TWindow(screen) WhichTWin(screen)->window #define TShellWindow XtWindow(SHELL_OF(tekWidget)) +#if OPT_DOUBLE_BUFFER +#define VDrawable(screen) (((screen)->needSwap=1), WhichVWin(screen)->drawable) +#else +#define VDrawable(screen) VWindow(screen) +#endif + #define Width(screen) WhichVWin(screen)->width #define Height(screen) WhichVWin(screen)->height #define FullWidth(screen) WhichVWin(screen)->fullwidth diff --git a/app/xterm/resize.man b/app/xterm/resize.man index 5b356d369..5b8c64c9e 100644 --- a/app/xterm/resize.man +++ b/app/xterm/resize.man @@ -1,4 +1,4 @@ -.\" $XTermId: resize.man,v 1.20 2011/09/11 19:28:54 tom Exp $ +.\" $XTermId: resize.man,v 1.21 2012/10/23 23:26:20 tom Exp $ .\" .\" updated by Thomas E. Dickey for XFree86, 1998-2006. .\" @@ -9,7 +9,7 @@ .el .ds `` `` .ie \n(.g .ds '' \(rq .el .ds '' '' -.TH RESIZE 1 __vendorversion__ +.TH RESIZE 1 "__app_date__" "__app_version__" "X Window System" .SH NAME resize \- set environment and terminal settings to current xterm window size .SH SYNOPSIS diff --git a/app/xterm/screen.c b/app/xterm/screen.c index dc56dc476..352cd25ea 100644 --- a/app/xterm/screen.c +++ b/app/xterm/screen.c @@ -1,4 +1,4 @@ -/* $XTermId: screen.c,v 1.452 2012/05/08 08:36:43 tom Exp $ */ +/* $XTermId: screen.c,v 1.469 2012/10/25 23:12:20 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -442,6 +442,10 @@ Reallocate(XtermWidget xw, return 0; } + if (screen->widestLine < ncol) + screen->widestLine = (Dimension) ncol; + ncol = screen->widestLine; + oldBufData = *sbufaddr; TRACE(("Reallocate %dx%d -> %dx%d\n", oldrow, MaxCols(screen), nrow, ncol)); @@ -541,6 +545,10 @@ ReallocateBufOffsets(XtermWidget xw, assert(nrow != 0); assert(ncol != 0); + if (screen->widestLine < ncol) + screen->widestLine = (Dimension) ncol; + ncol = screen->widestLine; + oldBufData = *sbufaddr; oldBufHead = *sbuf; @@ -1343,7 +1351,7 @@ ShowWrapMarks(XtermWidget xw, int row, LineData * ld) TRACE2(("ShowWrapMarks %d:%s\n", row, BtoS(set))); - XFillRectangle(screen->display, VWindow(screen), + XFillRectangle(screen->display, VDrawable(screen), getCgsGC(xw, currentWin, cgsId), x, y, (unsigned) screen->border, @@ -1805,7 +1813,6 @@ ScreenResize(XtermWidget xw, #ifdef TTYSIZE_STRUCT TTYSIZE_STRUCT ts; #endif - Window tw = VWindow(screen); TRACE(("ScreenResize %dx%d border %d font %dx%d\n", height, width, border, @@ -1818,16 +1825,30 @@ ScreenResize(XtermWidget xw, /* clear the right and bottom internal border because of NorthWest gravity might have left junk on the right and bottom edges */ if (width >= (int) FullWidth(screen)) { - XClearArea(screen->display, tw, +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, VDrawable(screen), + ReverseGC(xw, screen), + FullWidth(screen), 0, + width - FullWidth(screen), height); +#else + XClearArea(screen->display, VDrawable(screen), FullWidth(screen), 0, /* right edge */ 0, (unsigned) height, /* from top to bottom */ False); +#endif } if (height >= (int) FullHeight(screen)) { - XClearArea(screen->display, tw, +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, VDrawable(screen), + ReverseGC(xw, screen), + 0, FullHeight(screen), + width, height - FullHeight(screen)); +#else + XClearArea(screen->display, VDrawable(screen), 0, FullHeight(screen), /* bottom */ (unsigned) width, 0, /* all across the bottom */ False); +#endif } } @@ -2382,6 +2403,9 @@ ScrnCopyRectangle(XtermWidget xw, XTermRect * source, int nparam, int *params) TRACE(("copying rectangle\n")); + if (nparam > 4) + nparam = 4; + if (validRect(xw, source)) { XTermRect target; xtermParseRect(xw, @@ -2676,6 +2700,27 @@ xtermCheckRect(XtermWidget xw, #if OPT_MAXIMIZE +static _Xconst char * +ewmhProperty(int mode) +{ + _Xconst char *result; + switch (mode) { + default: + result = 0; + break; + case 1: + result = "_NET_WM_STATE_FULLSCREEN"; + break; + case 2: + result = "_NET_WM_STATE_MAXIMIZED_VERT"; + break; + case 3: + result = "_NET_WM_STATE_MAXIMIZED_HORZ"; + break; + } + return result; +} + static void set_resize_increments(XtermWidget xw) { @@ -2723,13 +2768,10 @@ unset_resize_increments(XtermWidget xw) } static void -netwm_fullscreen(XtermWidget xw, int operation) +set_ewmh_hint(Display * dpy, Window window, int operation, _Xconst char *prop) { - TScreen *screen = TScreenOf(xw); XEvent e; - Display *dpy = screen->display; - Window window = VShellWindow(xw); - Atom atom_fullscreen = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False); + Atom atom_fullscreen = XInternAtom(dpy, prop, False); Atom atom_state = XInternAtom(dpy, "_NET_WM_STATE", False); memset(&e, 0, sizeof(e)); @@ -2746,7 +2788,8 @@ netwm_fullscreen(XtermWidget xw, int operation) } /* - * Check if the "fullscreen" property is supported on the root window. + * Check if the given property is supported on the root window. + * * The XGetWindowProperty function returns a list of Atom's which corresponds * to the output of xprop. The actual list (ignore the manpage, which refers * to an array of 32-bit values) is constructed by _XRead32, which uses long @@ -2756,11 +2799,9 @@ netwm_fullscreen(XtermWidget xw, int operation) * window. */ static Boolean -probe_netwm_fullscreen_capability(XtermWidget xw) +probe_netwm(Display * dpy, _Xconst char *propname) { - TScreen *screen = TScreenOf(xw); - Display *dpy = screen->display; - Atom atom_fullscreen = XInternAtom(dpy, "_NET_WM_STATE_FULLSCREEN", False); + Atom atom_fullscreen = XInternAtom(dpy, propname, False); Atom atom_supported = XInternAtom(dpy, "_NET_SUPPORTED", False); Atom actual_type; int actual_format; @@ -2770,37 +2811,36 @@ probe_netwm_fullscreen_capability(XtermWidget xw) unsigned long nitems, bytes_after; unsigned char *args; long *ldata; - Boolean netwm_fullscreen_capability = False; - int rc; - - while (!netwm_fullscreen_capability) { - rc = XGetWindowProperty(dpy, - DefaultRootWindow(dpy), - atom_supported, - long_offset, - long_length, - False, /* do not delete */ - AnyPropertyType, /* req_type */ - &actual_type, /* actual_type_return */ - &actual_format, /* actual_format_return */ - &nitems, /* nitems_return */ - &bytes_after, /* bytes_after_return */ - &args /* prop_return */ + Boolean has_capability = False; + Boolean rc; + + while (!has_capability) { + rc = xtermGetWinProp(dpy, + DefaultRootWindow(dpy), + atom_supported, + long_offset, + long_length, + AnyPropertyType, /* req_type */ + &actual_type, /* actual_type_return */ + &actual_format, /* actual_format_return */ + &nitems, /* nitems_return */ + &bytes_after, /* bytes_after_return */ + &args /* prop_return */ ); - if (rc != Success + if (!rc || actual_type != XA_ATOM) { break; } ldata = (long *) (void *) args; for (i = 0; i < nitems; i++) { if ((Atom) ldata[i] == atom_fullscreen) { - netwm_fullscreen_capability = True; + has_capability = True; break; } } XFree(ldata); - if (!netwm_fullscreen_capability) { + if (!has_capability) { if (bytes_after != 0) { long remaining = (long) (bytes_after / sizeof(long)); if (long_length > remaining) @@ -2812,40 +2852,61 @@ probe_netwm_fullscreen_capability(XtermWidget xw) } } - return netwm_fullscreen_capability; + TRACE(("probe_netwm(%s) ->%d\n", propname, has_capability)); + return has_capability; } /* - * Enable/disable fullscreen mode for the xterm widget, if the window manager - * supports that feature. + * Alter fullscreen mode for the xterm widget, if the window manager supports + * that feature. */ void -FullScreen(XtermWidget xw, Bool enabled) +FullScreen(XtermWidget xw, int new_ewmh_mode) { TScreen *screen = TScreenOf(xw); + Display *dpy = screen->display; + _Xconst char *oldprop = ewmhProperty(xw->work.ewmh[0].mode); + _Xconst char *newprop = ewmhProperty(new_ewmh_mode); - static Boolean initialized = False; - static Boolean netwm_fullscreen_capability = False; + int which = 0; + Window window; - TRACE(("FullScreen %s\n", BtoS(enabled))); +#if OPT_TEK4014 + if (TEK4014_ACTIVE(xw)) { + which = 1; + window = TShellWindow; + } else +#endif + window = VShellWindow(xw); + + TRACE(("FullScreen %d:%s\n", new_ewmh_mode, BtoS(new_ewmh_mode))); - if (resource.fullscreen == esNever) { - initialized = True; - netwm_fullscreen_capability = False; - } else if (!initialized) { - initialized = True; - netwm_fullscreen_capability = probe_netwm_fullscreen_capability(xw); + if (new_ewmh_mode < 0 || new_ewmh_mode > MAX_EWMH_MODE) { + TRACE(("BUG: FullScreen %d\n", new_ewmh_mode)); + return; + } else if (new_ewmh_mode == 0) { + xw->work.ewmh[which].checked[new_ewmh_mode] = True; + xw->work.ewmh[which].allowed[new_ewmh_mode] = True; + } else if (resource.fullscreen == esNever) { + xw->work.ewmh[which].checked[new_ewmh_mode] = True; + xw->work.ewmh[which].allowed[new_ewmh_mode] = False; + } else if (!xw->work.ewmh[which].checked[new_ewmh_mode]) { + xw->work.ewmh[which].checked[new_ewmh_mode] = True; + xw->work.ewmh[which].allowed[new_ewmh_mode] = probe_netwm(dpy, newprop); } - if (netwm_fullscreen_capability) { - if (enabled) { + if (xw->work.ewmh[which].allowed[new_ewmh_mode]) { + if (new_ewmh_mode && !xw->work.ewmh[which].mode) { unset_resize_increments(xw); - netwm_fullscreen(xw, 1); - } else { + set_ewmh_hint(dpy, window, _NET_WM_STATE_ADD, newprop); + } else if (xw->work.ewmh[which].mode && !new_ewmh_mode) { set_resize_increments(xw); - netwm_fullscreen(xw, 0); + set_ewmh_hint(dpy, window, _NET_WM_STATE_REMOVE, oldprop); + } else { + set_ewmh_hint(dpy, window, _NET_WM_STATE_REMOVE, oldprop); + set_ewmh_hint(dpy, window, _NET_WM_STATE_ADD, newprop); } - screen->fullscreen = (Boolean) enabled; + xw->work.ewmh[which].mode = new_ewmh_mode; update_fullscreen(); } else { Bell(xw, XkbBI_MinorError, 100); diff --git a/app/xterm/scrollbar.c b/app/xterm/scrollbar.c index 12e8a4a91..a1be6e34f 100644 --- a/app/xterm/scrollbar.c +++ b/app/xterm/scrollbar.c @@ -1,7 +1,7 @@ -/* $XTermId: scrollbar.c,v 1.182 2011/09/03 12:13:42 tom Exp $ */ +/* $XTermId: scrollbar.c,v 1.193 2012/09/28 21:04:50 tom Exp $ */ /* - * Copyright 2000-2010,2011 by Thomas E. Dickey + * Copyright 2000-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -66,11 +66,9 @@ #include <X11/XawPlus/Scrollbar.h> #endif -#if defined(HAVE_XKBQUERYEXTENSION) && defined(HAVE_X11_XKBLIB_H) && defined(HAVE_X11_EXTENSIONS_XKB_H) +#if defined(HAVE_XKBQUERYEXTENSION) #include <X11/extensions/XKB.h> #include <X11/XKBlib.h> -#else -#undef HAVE_XKBQUERYEXTENSION #endif #include <data.h> @@ -176,7 +174,7 @@ DoResizeScreen(XtermWidget xw) xw->hints.height = MaxRows(screen) * FontHeight(screen) + xw->hints.min_height; #if OPT_MAXIMIZE /* assure single-increment resize for fullscreen */ - if (screen->fullscreen) { + if (xw->work.ewmh[0].mode) { xw->hints.width_inc = 1; xw->hints.height_inc = 1; } @@ -190,7 +188,7 @@ DoResizeScreen(XtermWidget xw) #if OPT_MAXIMIZE /* compensate for fullscreen mode */ - if (screen->fullscreen) { + if (xw->work.ewmh[0].mode) { Screen *xscreen = DefaultScreenOfDisplay(xw->screen.display); reqWidth = (Dimension) WidthOfScreen(xscreen); reqHeight = (Dimension) HeightOfScreen(xscreen); @@ -400,14 +398,23 @@ WindowScroll(XtermWidget xw, int top, Bool always GCC_UNUSED) ScrollSelection(screen, i, True); - XClearArea( - screen->display, - VWindow(screen), - OriginX(screen), - OriginY(screen) + refreshtop * FontHeight(screen), - (unsigned) Width(screen), - (unsigned) (lines * FontHeight(screen)), - False); +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, + VDrawable(screen), + ReverseGC(xw, screen), + OriginX(screen), + OriginY(screen) + refreshtop * FontHeight(screen), + (unsigned) Width(screen), + (unsigned) (lines * FontHeight(screen))); +#else + XClearArea(screen->display, + VWindow(screen), + OriginX(screen), + OriginY(screen) + refreshtop * FontHeight(screen), + (unsigned) Width(screen), + (unsigned) (lines * FontHeight(screen)), + False); +#endif ScrnRefresh(xw, refreshtop, 0, lines, MaxCols(screen), False); #if OPT_BLINK_CURS || OPT_BLINK_TEXT @@ -657,12 +664,15 @@ params_to_pixels(TScreen * screen, String * params, Cardinal n) mult = FontHeight(screen); } mult *= atoi(params[0]); + TRACE(("params_to_pixels(%s,%s) = %d\n", params[0], params[1], mult)); break; case 1: mult = atoi(params[0]) * FontHeight(screen); /* lines */ + TRACE(("params_to_pixels(%s) = %d\n", params[0], mult)); break; default: mult = screen->scrolllines * FontHeight(screen); + TRACE(("params_to_pixels() = %d\n", mult)); break; } return mult; @@ -684,6 +694,32 @@ AmountToScroll(Widget w, String * params, Cardinal nparams) return result; } +static void +AlternateScroll(Widget w, long amount) +{ + XtermWidget xw = (XtermWidget) w; + TScreen *screen = TScreenOf(xw); + + if (screen->alternateScroll && screen->whichBuf) { + ANSI reply; + + amount /= FontHeight(screen); + memset(&reply, 0, sizeof(reply)); + reply.a_type = ANSI_CSI; + if (amount > 0) { + reply.a_final = 'B'; + } else { + amount = -amount; + reply.a_final = 'A'; + } + while (amount-- > 0) { + unparseseq(xw, &reply); + } + } else { + ScrollTextUpDownBy(w, (XtPointer) 0, (XtPointer) amount); + } +} + /*ARGSUSED*/ void HandleScrollForward( @@ -695,7 +731,7 @@ HandleScrollForward( long amount; if ((amount = AmountToScroll(xw, params, *nparams)) != 0) { - ScrollTextUpDownBy(xw, (XtPointer) 0, (XtPointer) amount); + AlternateScroll(xw, amount); } } @@ -710,7 +746,7 @@ HandleScrollBack( long amount; if ((amount = -AmountToScroll(xw, params, *nparams)) != 0) { - ScrollTextUpDownBy(xw, (XtPointer) 0, (XtPointer) amount); + AlternateScroll(xw, amount); } } @@ -916,6 +952,7 @@ SetScrollLock(TScreen * screen, Bool enable) { if (screen->allowScrollLock) { if (screen->scroll_lock != enable) { + TRACE(("SetScrollLock %s\n", BtoS(enable))); screen->scroll_lock = (Boolean) enable; ShowScrollLock(screen, enable); } @@ -935,19 +972,17 @@ HandleScrollLock(Widget w, TScreen *screen = TScreenOf(xw); if (screen->allowScrollLock) { - /* - * The default action (used with KeyRelease event) is to cycle the - * state on/off. - */ - if (*param_count == 0) { + + switch (decodeToggle(xw, params, *param_count)) { + case toggleOff: + SetScrollLock(screen, False); + break; + case toggleOn: + SetScrollLock(screen, True); + break; + case toggleAll: SetScrollLock(screen, !screen->scroll_lock); - TRACE(("HandleScrollLock ->%d\n", - screen->scroll_lock)); - } else { - SetScrollLock(screen, atoi(params[0])); - TRACE(("HandleScrollLock(%s) ->%d\n", - params[0], - screen->scroll_lock)); + break; } } } diff --git a/app/xterm/tabs.c b/app/xterm/tabs.c index a788da243..c962dc95b 100644 --- a/app/xterm/tabs.c +++ b/app/xterm/tabs.c @@ -1,7 +1,7 @@ -/* $XTermId: tabs.c,v 1.41 2012/05/02 14:14:36 tom Exp $ */ +/* $XTermId: tabs.c,v 1.43 2012/06/10 16:53:59 tom Exp $ */ /* - * Copyright 2000-2010,2011 by Thomas E. Dickey + * Copyright 2000-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -114,7 +114,7 @@ TabNext(XtermWidget xw, Tabs tabs, int col) xtermIndex(xw, 1); set_cur_col(screen, 0); col = 0; - screen->do_wrap = False; + ResetWrap(screen); } for (++col; col < MAX_TABS; ++col) if (TST_TAB(tabs, col)) diff --git a/app/xterm/termcap b/app/xterm/termcap index 1b6286126..525977e98 100644 --- a/app/xterm/termcap +++ b/app/xterm/termcap @@ -1,11 +1,11 @@ -# $XTermId: termcap,v 1.79 2011/08/16 23:24:17 tom Exp $ +# $XTermId: termcap,v 1.80 2012/06/10 14:30:37 tom Exp $ # # These are termcap entries that correspond to xterm's terminfo file. # The file is formatted using ncurses' "tic -CNx", but is not mechanically # derived from the terminfo. # #------------------------------------------------------------------------------ -# Copyright 1996-2009,2010 by Thomas E. Dickey +# Copyright 1996-2011,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -52,9 +52,9 @@ xf|xterm-new|modern xterm:\ :*6=\EOF:@7=\EOF:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ - :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kH=\EOF:kI=\E[2~:\ - :kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:\ - :tc=xterm-basic: + :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kB=\E[Z:kH=\EOF:\ + :kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:\ + :kr=\EOC:ku=\EOA:tc=xterm-basic: # # This chunk is used for building the VT220/Sun/PC keyboard variants. xb|xterm-basic|modern xterm common:\ @@ -82,8 +82,8 @@ xb|xterm-basic|modern xterm common:\ # + uses DEC-style control sequences for the application keypad. # vt|xterm-vt220|xterm emulating vt220:\ - :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kH=\E[4~:kh=\E[1~:\ - :tc=xterm-basic: + :*6=\E[4~:@7=\E[4~:K2=\EOu:Km=\E[M:kB=\E[Z:kH=\E[4~:\ + :kh=\E[1~:tc=xterm-basic: v1|xterm-24|xterms|vs100|24x80 xterm:\ :li#24:tc=xterm-old: diff --git a/app/xterm/terminfo b/app/xterm/terminfo index 9c365e6e9..6f6ebf141 100644 --- a/app/xterm/terminfo +++ b/app/xterm/terminfo @@ -1,12 +1,10 @@ -# $XTermId: terminfo,v 1.158 2011/08/16 22:27:46 tom Exp $ -# -# $XFree86: xc/programs/xterm/terminfo,v 3.59 2006/02/13 01:14:59 dickey Exp $ +# $XTermId: terminfo,v 1.161 2012/09/05 00:24:08 tom Exp $ # # Updates/notes/new entries (e.g., xterm-8bit, xterm-16color, xterm-256color) # - Thomas E. Dickey # #------------------------------------------------------------------------------ -# Copyright 1996-2007,2011 by Thomas E. Dickey +# Copyright 1996-2011,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -895,6 +893,7 @@ xterm-basic|modern xterm terminal emulator - common, msgr, xenl, AX, + XT, colors#8, cols#80, it#8, @@ -980,6 +979,7 @@ xterm-basic|modern xterm terminal emulator - common, u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, + E3=\E[3;J, use=xterm+kbs, # # The xterm-new description has all of the features, but is not completely @@ -1252,6 +1252,7 @@ xterm-65|xterm with tall window 65x80 (X Window System), lines#65, use=xterm-old, xterm-bold|xterm with bold instead of underline (X Window System), + sgr=%?%p9%t\016%e\017%;B\E[0%?%p6%t;1%;%?%p2%t;1%;%?%p1%p3%|%t;7%;m, smso=\E[7m, smul=\E[1m, use=xterm-old, @@ -1597,6 +1598,7 @@ xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System), npc, xenl, AX, + XT, colors#8, cols#80, it#8, @@ -1766,7 +1768,7 @@ xterm-xfree86|xterm terminal emulator (XFree86 4.4 Window System), # + added u6, u7, u8, u9 strings for Daniel Weaver's tack program. # + added kmous string for ncurses. # + added khome/kend strings (which conflict with kfnd/kslt, see note). -xterm-r6|xterm-old|xterm X11R6 version, +xterm-r6|xterm X11R6 version, OTbs, am, km, @@ -1858,6 +1860,8 @@ xterm-r6|xterm-old|xterm X11R6 version, u9=\E[c, use=xterm+kbs, use=xterm+decedit, +xterm-old|antique xterm version, + use=xterm-r6, # # Compatible with the R5 xterm, with the following changes: # + changed 'blink=@', to 'blink@' (the former meant that "@" would start diff --git a/app/xterm/trace.c b/app/xterm/trace.c index 43311c4af..420d2ead5 100644 --- a/app/xterm/trace.c +++ b/app/xterm/trace.c @@ -1,4 +1,4 @@ -/* $XTermId: trace.c,v 1.140 2012/05/06 18:01:58 tom Exp $ */ +/* $XTermId: trace.c,v 1.142 2012/11/22 20:19:54 tom Exp $ */ /* * Copyright 1997-2011,2012 by Thomas E. Dickey @@ -375,6 +375,19 @@ visibleEventType(int type) } const char * +visibleNotifyMode(int code) +{ + const char *result = "?"; + switch (code) { + CASETYPE(NotifyNormal); + CASETYPE(NotifyGrab); + CASETYPE(NotifyUngrab); + CASETYPE(NotifyWhileGrabbed); + } + return result; +} + +const char * visibleNotifyDetail(int code) { const char *result = "?"; @@ -585,7 +598,7 @@ TraceFocus(Widget w, XEvent * ev) { XFocusChangeEvent *event = (XFocusChangeEvent *) ev; TRACE(("\tdetail: %s\n", visibleNotifyDetail(event->detail))); - TRACE(("\tmode: %d\n", event->mode)); + TRACE(("\tmode: %s\n", visibleNotifyMode(event->mode))); TRACE(("\twindow: %#lx\n", event->window)); } break; @@ -594,7 +607,7 @@ TraceFocus(Widget w, XEvent * ev) { XCrossingEvent *event = (XCrossingEvent *) ev; TRACE(("\tdetail: %s\n", visibleNotifyDetail(event->detail))); - TRACE(("\tmode: %d\n", event->mode)); + TRACE(("\tmode: %s\n", visibleNotifyMode(event->mode))); TRACE(("\twindow: %#lx\n", event->window)); TRACE(("\tfocus: %d\n", event->focus)); TRACE(("\troot: %#lx\n", event->root)); @@ -796,6 +809,7 @@ TraceXtermResources(void) Trace("XTERM_RESOURCE settings:\n"); XRES_S(icon_geometry); XRES_S(title); + XRES_S(icon_hint); XRES_S(icon_name); XRES_S(term_name); XRES_S(tty_modes); diff --git a/app/xterm/trace.h b/app/xterm/trace.h index 75c807244..56e459218 100644 --- a/app/xterm/trace.h +++ b/app/xterm/trace.h @@ -1,7 +1,7 @@ -/* $XTermId: trace.h,v 1.65 2012/04/18 23:29:10 tom Exp $ */ +/* $XTermId: trace.h,v 1.67 2012/11/22 20:22:15 tom Exp $ */ /* - * Copyright 1997-2010,2011 by Thomas E. Dickey + * Copyright 1997-2011,2012 by Thomas E. Dickey * * All Rights Reserved * @@ -61,6 +61,7 @@ extern char * visibleIChars (IChar * /* buf */, unsigned /* len */); extern const char * visibleChrsetName(unsigned /* chrset */); extern const char * visibleEventType (int); extern const char * visibleNotifyDetail(int /* code */); +extern const char * visibleNotifyMode (int /* code */); extern const char * visibleSelectionTarget(Display * /* d */, Atom /* a */); extern const char * visibleXError (int /* code */); @@ -168,4 +169,4 @@ extern void TraceScreen(XtermWidget /* xw */, int /* whichBuf */); /* *INDENT-ON* */ -#endif /* included_trace_h */ +#endif /* included_trace_h */ diff --git a/app/xterm/util.c b/app/xterm/util.c index 7fabe1aa3..0e6636fee 100644 --- a/app/xterm/util.c +++ b/app/xterm/util.c @@ -1,4 +1,4 @@ -/* $XTermId: util.c,v 1.587 2012/05/10 11:06:37 tom Exp $ */ +/* $XTermId: util.c,v 1.598 2012/10/05 00:26:28 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -1137,7 +1137,7 @@ InsertLine(XtermWidget xw, int n) ScrnDisownSelection(xw); } - screen->do_wrap = False; + ResetWrap(screen); if (n > (i = screen->bot_marg - screen->cur_row + 1)) n = i; if (screen->jumpscroll) { @@ -1227,7 +1227,7 @@ DeleteLine(XtermWidget xw, int n) ScrnDisownSelection(xw); } - screen->do_wrap = False; + ResetWrap(screen); if (screen->jumpscroll) { if (screen->scroll_amt >= 0 && screen->cur_row == screen->top_marg) { if (screen->refresh_amt + n > MaxRows(screen)) @@ -1329,7 +1329,7 @@ InsertChar(XtermWidget xw, unsigned n) && ScrnIsRowInSelection(screen, row)) { ScrnDisownSelection(xw); } - screen->do_wrap = False; + ResetWrap(screen); limit = (unsigned) (right + 1 - screen->cur_col); @@ -1378,7 +1378,7 @@ InsertChar(XtermWidget xw, unsigned n) } ClearCurBackground(xw, - screen->cur_row, + INX2ROW(screen, screen->cur_row), screen->cur_col, 1, n, @@ -1412,7 +1412,7 @@ DeleteChar(XtermWidget xw, unsigned n) && ScrnIsRowInSelection(screen, row)) { ScrnDisownSelection(xw); } - screen->do_wrap = False; + ResetWrap(screen); limit = (unsigned) (right + 1 - screen->cur_col); @@ -1447,7 +1447,7 @@ DeleteChar(XtermWidget xw, unsigned n) -((int) n)); ClearCurBackground(xw, - screen->cur_row, + INX2ROW(screen, screen->cur_row), col, 1, n, @@ -1605,13 +1605,13 @@ ClearInLine2(XtermWidget xw, int flags, int row, int col, unsigned len) if (screen->cursor_state) HideCursor(); - screen->do_wrap = False; + ResetWrap(screen); if (AddToVisible(xw) && (ld = getLineData(screen, row)) != 0) { ClearCurBackground(xw, - row, + INX2ROW(screen, row), col, 1, len, @@ -1694,7 +1694,7 @@ ClearRight(XtermWidget xw, int n) if (screen->show_wrap_marks) { ShowWrapMarks(xw, screen->cur_row, ld); } - screen->do_wrap = False; + ResetWrap(screen); } /* @@ -1745,7 +1745,7 @@ ClearScreen(XtermWidget xw) HideCursor(); ScrnDisownSelection(xw); - screen->do_wrap = False; + ResetWrap(screen); if ((top = INX2ROW(screen, 0)) <= screen->max_row) { if (screen->scroll_amt) FlushScroll(xw); @@ -1859,9 +1859,67 @@ do_erase_display(XtermWidget xw, int param, int mode) screen->protected_mode = saved_mode; } +static Boolean +screen_has_data(XtermWidget xw) +{ + TScreen *screen = TScreenOf(xw); + Boolean result = False; + LineData *ld; + int row, col; + + for (row = 0; row < screen->max_row; ++row) { + if ((ld = getLineData(screen, row)) != 0) { + for (col = 0; col < screen->max_col; ++col) { + if (ld->attribs[col] & CHARDRAWN) { + result = True; + break; + } + } + } + if (result) + break; + } + return result; +} + +/* + * Like tiXtraScroll, perform a scroll up of the page contents. In this case, + * it happens for the special case when erasing the whole display starting from + * the upper-left corner of the screen. + */ +void +do_cd_xtra_scroll(XtermWidget xw) +{ + TScreen *screen = TScreenOf(xw); + + if (xw->misc.cdXtraScroll + && screen->cur_col == 0 + && screen->cur_row == 0 + && screen_has_data(xw)) { + xtermScroll(xw, screen->max_row); + } +} + +/* + * Scroll the page up (saving it). This is called when doing terminal + * initialization (ti) or exiting from that (te). + */ +void +do_ti_xtra_scroll(XtermWidget xw) +{ + TScreen *screen = TScreenOf(xw); + + if (xw->misc.tiXtraScroll) { + xtermScroll(xw, screen->max_row); + } +} + static void CopyWait(XtermWidget xw) { +#if OPT_DOUBLE_BUFFER + (void) xw; +#else /* !OPT_DOUBLE_BUFFER */ TScreen *screen = TScreenOf(xw); XEvent reply; XEvent *rep = &reply; @@ -1896,6 +1954,7 @@ CopyWait(XtermWidget xw) break; } } +#endif /* OPT_DOUBLE_BUFFER */ } /* @@ -1928,7 +1987,7 @@ copy_area(XtermWidget xw, screen->copy_dest_y = dest_y; XCopyArea(screen->display, - VWindow(screen), VWindow(screen), + VDrawable(screen), VDrawable(screen), NormalGC(xw, screen), src_x, src_y, width, height, dest_x, dest_y); } @@ -2109,11 +2168,20 @@ handle_translated_exposure(XtermWidget xw, x1 > Width(screen) || y1 > Height(screen))) { set_background(xw, -1); +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, VDrawable(screen), + ReverseGC(xw, screen), + rect_x, + rect_y, + (unsigned) rect_width, + (unsigned) rect_height); +#else XClearArea(screen->display, VWindow(screen), rect_x, rect_y, (unsigned) rect_width, (unsigned) rect_height, False); +#endif } toprow = y0 / FontHeight(screen); if (toprow < 0) @@ -2294,7 +2362,14 @@ xtermClear(XtermWidget xw) TScreen *screen = TScreenOf(xw); TRACE(("xtermClear\n")); +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, VDrawable(screen), + ReverseGC(xw, screen), + 0, 0, + FullWidth(screen), FullHeight(screen)); +#else XClearWindow(screen->display, VWindow(screen)); +#endif } void @@ -2777,7 +2852,7 @@ ucs_workaround(XtermWidget xw, IChar eqv = (IChar) AsciiEquivs(ch); if (eqv != (IChar) ch) { - int width = my_wcwidth((int) ch); + int width = my_wcwidth((wchar_t) ch); do { drawXtermText(xw, @@ -2886,7 +2961,7 @@ xtermFillCells(XtermWidget xw, setCgsFore(xw, currentWin, dstId, bg); setCgsBack(xw, currentWin, dstId, fg); - XFillRectangle(screen->display, VWindow(screen), + XFillRectangle(screen->display, VDrawable(screen), getCgsGC(xw, currentWin, dstId), x, y, len * (Cardinal) FontWidth(screen), @@ -2907,7 +2982,7 @@ xtermSetClipRectangles(Display * dpy, { #if 0 TScreen *screen = TScreenOf(term); - Drawable draw = VWindow(screen); + Drawable draw = VDrawable(screen); XSetClipMask(dpy, gc, None); XDrawRectangle(screen->display, draw, gc, @@ -3166,7 +3241,7 @@ drawXtermText(XtermWidget xw, if (!screen->renderDraw) { int scr; - Drawable draw = VWindow(screen); + Drawable draw = VDrawable(screen); Visual *visual; scr = DefaultScreen(dpy); @@ -3341,7 +3416,7 @@ drawXtermText(XtermWidget xw, if ((flags & UNDERLINE) && screen->underline && !did_ul) { if (FontDescent(screen) > 1) y++; - XDrawLine(screen->display, VWindow(screen), gc, + XDrawLine(screen->display, VDrawable(screen), gc, x, y, x + (int) underline_len * FontWidth(screen) - 1, y); @@ -3430,7 +3505,7 @@ drawXtermText(XtermWidget xw, drewBoxes = True; continue; } - ch_width = my_wcwidth((int) ch); + ch_width = my_wcwidth((wchar_t) ch); isMissing = IsXtermMissingChar(screen, ch, ((on_wide || ch_width > 1) @@ -3529,6 +3604,7 @@ drawXtermText(XtermWidget xw, Bool needWide = False; int ascent_adjust = 0; int src, dst; + Bool useBoldFont; BumpTypedBuffer(XChar2b, len); buffer = BfBuf(XChar2b); @@ -3541,7 +3617,7 @@ drawXtermText(XtermWidget xw, if (!needWide && !IsIcon(screen) - && ((on_wide || my_wcwidth((int) ch) > 1) + && ((on_wide || my_wcwidth((wchar_t) ch) > 1) && okFont(NormalWFont(screen)))) { needWide = True; } @@ -3588,6 +3664,47 @@ drawXtermText(XtermWidget xw, #endif /* OPT_MINI_LUIT */ ++dst; } + + /* + * Check for special case where the bold font lacks glyphs found in the + * normal font, and drop down to normal fonts with overstriking to help + * show the actual characters. + */ + useBoldFont = ((flags & BOLDATTR(screen)) != 0); + if ((flags & BOLDATTR(screen)) != 0) { + XTermFonts *norm = 0; + XTermFonts *bold = 0; + Bool noBold, noNorm; + + if (needWide && okFont(BoldWFont(screen))) { + norm = WhichVFontData(screen, fnts[fWide]); + bold = WhichVFontData(screen, fnts[fWBold]); + } else if (okFont(BoldFont(screen))) { + norm = WhichVFontData(screen, fnts[fNorm]); + bold = WhichVFontData(screen, fnts[fBold]); + } else { + useBoldFont = False; + } + + if (useBoldFont && FontIsIncomplete(bold)) { + for (src = 0; src < (int) len; src++) { + IChar ch = text[src]; + + if (ch == HIDDEN_CHAR) + continue; + + noBold = IsXtermMissingChar(screen, ch, bold); + if (noBold) { + noNorm = IsXtermMissingChar(screen, ch, norm); + if (!noNorm) { + useBoldFont = False; + break; + } + } + } + } + } + /* FIXME This is probably wrong. But it works. */ underline_len = len; @@ -3599,8 +3716,7 @@ drawXtermText(XtermWidget xw, Pixel fg = getCgsFore(xw, currentWin, gc); Pixel bg = getCgsBack(xw, currentWin, gc); - if (needWide - && (okFont(NormalWFont(screen)) || okFont(BoldWFont(screen)))) { + if (needWide && okFont(BoldWFont(screen))) { if ((flags & BOLDATTR(screen)) != 0 && okFont(BoldWFont(screen))) { fntId = fWBold; @@ -3610,7 +3726,8 @@ drawXtermText(XtermWidget xw, cgsId = gcWide; } } else if ((flags & BOLDATTR(screen)) != 0 - && okFont(BoldFont(screen))) { + && okFont(BoldFont(screen)) + && useBoldFont) { fntId = fBold; cgsId = gcBold; } else { @@ -3643,19 +3760,19 @@ drawXtermText(XtermWidget xw, if (flags & NOBACKGROUND) { XDrawString16(screen->display, - VWindow(screen), gc, + VDrawable(screen), gc, x, y + ascent_adjust, buffer, dst); } else { XDrawImageString16(screen->display, - VWindow(screen), gc, + VDrawable(screen), gc, x, y + ascent_adjust, buffer, dst); } - if ((flags & BOLDATTR(screen)) && screen->enbolden) { + if ((flags & BOLDATTR(screen)) && (screen->enbolden || !useBoldFont)) { beginClipping(screen, gc, (Cardinal) font_width, len); - XDrawString16(screen->display, VWindow(screen), gc, + XDrawString16(screen->display, VDrawable(screen), gc, x + 1, y + ascent_adjust, buffer, dst); @@ -3680,16 +3797,16 @@ drawXtermText(XtermWidget xw, #endif if (flags & NOBACKGROUND) { - XDrawString(screen->display, VWindow(screen), gc, + XDrawString(screen->display, VDrawable(screen), gc, x, y, buffer, length); } else { - XDrawImageString(screen->display, VWindow(screen), gc, + XDrawImageString(screen->display, VDrawable(screen), gc, x, y, buffer, length); } underline_len = (Cardinal) length; if ((flags & BOLDATTR(screen)) && screen->enbolden) { beginClipping(screen, gc, font_width, length); - XDrawString(screen->display, VWindow(screen), gc, + XDrawString(screen->display, VDrawable(screen), gc, x + 1, y, buffer, length); endClipping(screen, gc); } @@ -3698,7 +3815,7 @@ drawXtermText(XtermWidget xw, if ((flags & UNDERLINE) && screen->underline && !did_ul) { if (FontDescent(screen) > 1) y++; - XDrawLine(screen->display, VWindow(screen), gc, + XDrawLine(screen->display, VDrawable(screen), gc, x, y, (x + (int) underline_len * font_width - 1), y); } @@ -3978,12 +4095,21 @@ ClearCurBackground(XtermWidget xw, if (VWindow(screen)) { set_background(xw, xw->cur_background); +#if OPT_DOUBLE_BUFFER + XFillRectangle(screen->display, VDrawable(screen), + ReverseGC(xw, screen), + CursorX2(screen, left, fw), + CursorY(screen, top), + (width * fw), + (height * (unsigned) FontHeight(screen))); +#else XClearArea(screen->display, VWindow(screen), CursorX2(screen, left, fw), - CursorY(screen, top), + CursorY2(screen, top), (width * fw), (height * (unsigned) FontHeight(screen)), False); +#endif set_background(xw, -1); } @@ -4055,51 +4181,6 @@ getXtermCombining(TScreen * screen, int row, int col, int off) } #endif -#ifdef HAVE_CONFIG_H -#ifdef USE_MY_MEMMOVE -void * -my_memmove(void *s1, void *s2, size_t n) -{ - if (n != 0) { - char *p1 = (char *) s1; - char *p2 = (char *) s2; - - if ((p1 + n > p2) && (p2 + n > p1)) { - static char *bfr; - static size_t length; - size_t j; - if (length < n) { - length = (n * 3) / 2; - bfr = ((bfr != 0) - ? TypeRealloc(char, length, bfr) - : TypeMallocN(char, length)); - if (bfr == NULL) - SysError(ERROR_MMALLOC); - } - for (j = 0; j < n; j++) - bfr[j] = p2[j]; - p2 = bfr; - } - while (n-- != 0) - p1[n] = p2[n]; - } - return s1; -} -#endif /* USE_MY_MEMMOVE */ - -#ifndef HAVE_STRERROR -char * -my_strerror(int n) -{ - extern char *sys_errlist[]; - extern int sys_nerr; - if (n > 0 && n < sys_nerr) - return sys_errlist[n]; - return "?"; -} -#endif -#endif - void update_keyboard_type(void) { @@ -4254,7 +4335,7 @@ systemWcwidthOk(int samplesize, int samplepass) int oops = 0; for (n = 21; n <= 25; ++n) { - int code = (int) dec2ucs((unsigned) n); + wchar_t code = (wchar_t) dec2ucs((unsigned) n); int system_code = wcwidth(code); int intern_code = mk_wcwidth(code); diff --git a/app/xterm/uxterm.desktop b/app/xterm/uxterm.desktop index 6937f2184..a59e414a3 100644 --- a/app/xterm/uxterm.desktop +++ b/app/xterm/uxterm.desktop @@ -1,8 +1,8 @@ -# $XTermId: uxterm.desktop,v 1.9 2010/06/15 10:58:13 tom Exp $ +# $XTermId: uxterm.desktop,v 1.13 2012/06/24 22:20:29 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 2006-2007,2010 by Thomas E. Dickey +# Copyright 2006-2010,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -32,6 +32,7 @@ # ----------------------------------------------------------------------------- [Desktop Entry] Name=UXTerm +#GenericName=Terminal Comment=standard terminal emulator for the X window system Exec=uxterm Terminal=false diff --git a/app/xterm/uxterm.man b/app/xterm/uxterm.man index 3b5cd33fe..b3e95089d 100644 --- a/app/xterm/uxterm.man +++ b/app/xterm/uxterm.man @@ -1,4 +1,4 @@ -.\" $XTermId: uxterm.man,v 1.4 2011/08/16 09:44:32 tom Exp $ +.\" $XTermId: uxterm.man,v 1.5 2012/10/23 23:25:53 tom Exp $ .\" .\" Copyright 2001, 2004 Branden Robinson .\" @@ -19,7 +19,7 @@ .\" 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. -.TH uxterm 1 "2004-12-19" "Debian Project" +.TH UXTERM 1 "__app_date__" "__app_version__" "X Window System" .SH NAME uxterm \- X terminal emulator for Unicode (UTF-8) environments .SH SYNOPSIS diff --git a/app/xterm/version.h b/app/xterm/version.h index 456550050..02e36cf74 100644 --- a/app/xterm/version.h +++ b/app/xterm/version.h @@ -1,4 +1,4 @@ -/* $XTermId: version.h,v 1.339 2012/03/15 00:00:22 tom Exp $ */ +/* $XTermId: version.h,v 1.352 2012/11/26 01:07:33 tom Exp $ */ /* * Copyright 1998-2011,2012 by Thomas E. Dickey @@ -36,7 +36,8 @@ * 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 279 +#define XTERM_PATCH 287 +#define XTERM_DATE 2012-11-25 #ifndef __vendorversion__ #define __vendorversion__ "XTerm/OpenBSD" diff --git a/app/xterm/vttests/256colors2.pl b/app/xterm/vttests/256colors2.pl index 2a880bdc8..af8d5b7d0 100644 --- a/app/xterm/vttests/256colors2.pl +++ b/app/xterm/vttests/256colors2.pl @@ -1,9 +1,9 @@ #!/usr/bin/perl -# $XTermId: 256colors2.pl,v 1.10 2009/10/10 14:45:26 tom Exp $ +# $XTermId: 256colors2.pl,v 1.15 2012/09/19 23:32:48 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 1999-2007,2009 by Thomas E. Dickey +# Copyright 1999-2009,2012 by Thomas E. Dickey # Copyright 2002 by Steve Wall # Copyright 1999 by Todd Larason # @@ -41,18 +41,28 @@ use strict; use Getopt::Std; +use Encode 'encode_utf8'; -our ($opt_h, $opt_q, $opt_r); -&getopts('hqr') || die("Usage: $0 [-q] [-r]"); +our ($opt_8, $opt_c, $opt_d, $opt_h, $opt_q, $opt_r, $opt_u); +&getopts('8cdhqru') || die("Usage: $0 [options]"); die("Usage: $0 [options]\n Options: + -8 use 8-bit controls + -c use colons for separating parameter values in SGR 38/48 + -d use rgb values rather than palette index -h display this message -q quieter output by merging all palette initialization -r display the reverse of the usual palette + -u use UTF-8 when emitting 8-bit controls ") if ( $opt_h); +our $cube = 6; +our (@steps); our ($red, $green, $blue); our ($gray, $level, $color); +our ($csi, $osc, $sep, $st); + +our @rgb; sub map_cube($) { my $value = $_[0]; @@ -66,18 +76,61 @@ sub map_gray($) { return $value; } -printf("\x1b]4") if ($opt_q); +sub define_color($$$$) { + my $index = $_[0]; + my $r = $_[1]; + my $g = $_[2]; + my $b = $_[3]; + + printf("%s4", $osc) unless ($opt_q); + printf(";%d;rgb:%2.2x/%2.2x/%2.2x", $index, $r, $g, $b); + printf("%s", $st) unless ($opt_q); + + $rgb[$index] = sprintf "%d%s%d%s%d", $r, $sep, $g, $sep, $b; +} + +sub select_color($) { + my $index = $_[0]; + if ( $opt_d and defined($rgb[$index]) ) { + printf "%s48;2%s%sm ", $csi, $sep, $rgb[$index]; + } else { + printf "%s48;5%s%sm ", $csi, $sep, $index; + } +} + +if ( $opt_8 ) { + $csi = "\x9b"; + $osc = "\x9d"; + $st = "\x9c"; +} else { + $csi = "\x1b["; + $osc = "\x1b]"; + $st = "\x1b\\"; +} + +if ( $opt_c ) { + $sep = ":"; +} else { + $sep = ";"; +} + +if ( $opt_8 and $opt_u ) { + my $lc_ctype=`locale 2>/dev/null | fgrep LC_CTYPE | sed -e 's/^.*=//'`; + if ( $lc_ctype =~ /utf.?8/i ) { + binmode(STDOUT, ":utf8"); + } +} +@steps=(0,95,135,175,215,255); # colors 16-231 are a 6x6x6 color cube -for ($red = 0; $red < 6; $red++) { - for ($green = 0; $green < 6; $green++) { - for ($blue = 0; $blue < 6; $blue++) { - printf("\x1b]4") unless ($opt_q); - printf(";%d;rgb:%2.2x/%2.2x/%2.2x", - 16 + (map_cube($red) * 36) + (map_cube($green) * 6) + map_cube($blue), - ($red ? ($red * 40 + 55) : 0), - ($green ? ($green * 40 + 55) : 0), - ($blue ? ($blue * 40 + 55) : 0)); - printf("\x1b\\") unless ($opt_q); +printf("%s4", $osc) if ($opt_q); +for ($red = 0; $red < $cube; $red++) { + for ($green = 0; $green < $cube; $green++) { + for ($blue = 0; $blue < $cube; $blue++) { + &define_color( + 16 + (map_cube($red) * $cube * $cube) + (map_cube($green) * $cube) + map_cube($blue), + int (@steps[$red]), + int (@steps[$green]), + int (@steps[$blue])); } } } @@ -86,12 +139,9 @@ for ($red = 0; $red < 6; $red++) { # black and white for ($gray = 0; $gray < 24; $gray++) { $level = (map_gray($gray) * 10) + 8; - printf("\x1b]4") unless ($opt_q); - printf(";%d;rgb:%2.2x/%2.2x/%2.2x", - 232 + $gray, $level, $level, $level); - printf("\x1b\\") unless ($opt_q); + &define_color(232 + $gray, $level, $level, $level); } -printf("\x1b\\") if ($opt_q); +printf("%s", $st) if ($opt_q); # display the colors @@ -99,23 +149,23 @@ printf("\x1b\\") if ($opt_q); # first the system ones: print "System colors:\n"; for ($color = 0; $color < 8; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n"; +printf "%s0m\n", $csi; for ($color = 8; $color < 16; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n\n"; +printf "%s0m\n\n", $csi; # now the color cube -print "Color cube, 6x6x6:\n"; -for ($green = 0; $green < 6; $green++) { - for ($red = 0; $red < 6; $red++) { - for ($blue = 0; $blue < 6; $blue++) { - $color = 16 + ($red * 36) + ($green * 6) + $blue; - print "\x1b[48;5;${color}m "; +print "Color cube, ${cube}x${cube}x${cube}:\n"; +for ($green = 0; $green < $cube; $green++) { + for ($red = 0; $red < $cube; $red++) { + for ($blue = 0; $blue < $cube; $blue++) { + $color = 16 + ($red * $cube * $cube) + ($green * $cube) + $blue; + &select_color($color); } - print "\x1b[0m "; + printf "%s0m ", $csi; } print "\n"; } @@ -124,6 +174,6 @@ for ($green = 0; $green < 6; $green++) { # now the grayscale ramp print "Grayscale ramp:\n"; for ($color = 232; $color < 256; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n"; +printf "%s0m\n", $csi; diff --git a/app/xterm/vttests/88colors2.pl b/app/xterm/vttests/88colors2.pl index 9c63b8cac..a96747fc2 100644 --- a/app/xterm/vttests/88colors2.pl +++ b/app/xterm/vttests/88colors2.pl @@ -1,9 +1,9 @@ #!/usr/bin/perl -# $XTermId: 88colors2.pl,v 1.7 2009/10/10 14:57:12 tom Exp $ +# $XTermId: 88colors2.pl,v 1.11 2012/09/19 23:31:56 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 1999-2007,2009 by Thomas E. Dickey +# Copyright 1999-2009,2012 by Thomas E. Dickey # Copyright 1999 by Steve Wall # # All Rights Reserved @@ -42,19 +42,28 @@ use strict; use Getopt::Std; +use Encode 'encode_utf8'; -our ($opt_h, $opt_q, $opt_r); -&getopts('hqr') || die("Usage: $0 [-q] [-r]"); +our ($opt_8, $opt_c, $opt_d, $opt_h, $opt_q, $opt_r, $opt_u); +&getopts('8cdhqru') || die("Usage: $0 [options]"); die("Usage: $0 [options]\n Options: + -8 use 8-bit controls + -c use colons for separating parameter values in SGR 38/48 + -d use rgb values rather than palette index -h display this message -q quieter output by merging all palette initialization -r display the reverse of the usual palette + -u use UTF-8 when emitting 8-bit controls ") if ( $opt_h); +our $cube = 4; our (@steps); our ($red, $green, $blue); our ($gray, $level, $color); +our ($csi, $osc, $sep, $st); + +our @rgb; sub map_cube($) { my $value = $_[0]; @@ -68,19 +77,61 @@ sub map_gray($) { return $value; } +sub define_color($$$$) { + my $index = $_[0]; + my $r = $_[1]; + my $g = $_[2]; + my $b = $_[3]; + + printf("%s4", $osc) unless ($opt_q); + printf(";%d;rgb:%2.2x/%2.2x/%2.2x", $index, $r, $g, $b); + printf("%s", $st) unless ($opt_q); + + $rgb[$index] = sprintf "%d%s%d%s%d", $r, $sep, $g, $sep, $b; +} + +sub select_color($) { + my $index = $_[0]; + if ( $opt_d and defined($rgb[$index]) ) { + printf "%s48;2%s%sm ", $csi, $sep, $rgb[$index]; + } else { + printf "%s48;5%s%sm ", $csi, $sep, $index; + } +} + +if ( $opt_8 ) { + $csi = "\x9b"; + $osc = "\x9d"; + $st = "\x9c"; +} else { + $csi = "\x1b["; + $osc = "\x1b]"; + $st = "\x1b\\"; +} + +if ( $opt_c ) { + $sep = ":"; +} else { + $sep = ";"; +} + +if ( $opt_8 and $opt_u ) { + my $lc_ctype=`locale 2>/dev/null | fgrep LC_CTYPE | sed -e 's/^.*=//'`; + if ( $lc_ctype =~ /utf.?8/i ) { + binmode(STDOUT, ":utf8"); + } +} # colors 16-79 are a 4x4x4 color cube @steps=(0,139,205,255); -printf("\x1b]4") if ($opt_q); -for ($red = 0; $red < 4; $red++) { - for ($green = 0; $green < 4; $green++) { - for ($blue = 0; $blue < 4; $blue++) { - printf("\x1b]4") unless ($opt_q); - printf(";%d;rgb:%2.2x/%2.2x/%2.2x", - 16 + (map_cube($red) * 16) + (map_cube($green) * 4) + map_cube($blue), +printf("%s4", $osc) if ($opt_q); +for ($red = 0; $red < $cube; $red++) { + for ($green = 0; $green < $cube; $green++) { + for ($blue = 0; $blue < $cube; $blue++) { + &define_color( + 16 + (map_cube($red) * $cube * $cube) + (map_cube($green) * $cube) + map_cube($blue), int (@steps[$red]), int (@steps[$green]), int (@steps[$blue])); - printf("\x1b\\") unless ($opt_q); } } } @@ -90,12 +141,9 @@ for ($red = 0; $red < 4; $red++) { for ($gray = 0; $gray < 8; $gray++) { $level = (map_gray($gray) * 23.18181818) + 46.36363636; if( $gray > 0 ) { $level += 23.18181818; } - printf("\x1b]4") unless ($opt_q); - printf(";%d;rgb:%2.2x/%2.2x/%2.2x", - 80 + $gray, int($level), int($level), int($level)); - printf("\x1b\\") unless ($opt_q); + &define_color(80 + $gray, int($level), int($level), int($level)); } -printf("\x1b\\") if ($opt_q); +printf("%s", $st) if ($opt_q); # display the colors @@ -103,23 +151,23 @@ printf("\x1b\\") if ($opt_q); # first the system ones: print "System colors:\n"; for ($color = 0; $color < 8; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n"; +printf "%s0m\n", $csi; for ($color = 8; $color < 16; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n\n"; +printf "%s0m\n\n", $csi; # now the color cube -print "Color cube, 4x4x4:\n"; -for ($green = 0; $green < 4; $green++) { - for ($red = 0; $red < 4; $red++) { - for ($blue = 0; $blue < 4; $blue++) { - $color = 16 + ($red * 16) + ($green * 4) + $blue; - print "\x1b[48;5;${color}m "; +print "Color cube, ${cube}x${cube}x${cube}:\n"; +for ($green = 0; $green < $cube; $green++) { + for ($red = 0; $red < $cube; $red++) { + for ($blue = 0; $blue < $cube; $blue++) { + $color = 16 + ($red * $cube * $cube) + ($green * $cube) + $blue; + &select_color($color); } - print "\x1b[0m "; + printf "%s0m ", $csi; } print "\n"; } @@ -128,6 +176,6 @@ for ($green = 0; $green < 4; $green++) { # now the grayscale ramp print "Grayscale ramp:\n"; for ($color = 80; $color < 88; $color++) { - print "\x1b[48;5;${color}m "; + &select_color($color); } -print "\x1b[0m\n"; +printf "%s0m\n", $csi; diff --git a/app/xterm/vttests/query-color.pl b/app/xterm/vttests/query-color.pl new file mode 100644 index 000000000..be3d495bd --- /dev/null +++ b/app/xterm/vttests/query-color.pl @@ -0,0 +1,168 @@ +#!/usr/bin/perl -w +# $XTermId: query-color.pl,v 1.3 2012/10/22 11:45:58 tom Exp $ +# ----------------------------------------------------------------------------- +# this file is part of xterm +# +# Copyright 2012 by Thomas E. Dickey +# +# 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. +# ----------------------------------------------------------------------------- +# Test the color-query features of xterm using OSC 4. + +# TODO: extend to the OSC 5 colors +# TODO: show result in #rrggbb format. + +use strict; + +use Getopt::Std; +use IO::Handle; + +our ( $opt_s ); +&getopts('s') || die( + "Usage: $0 [options] [color1[-color2]]\n +Options:\n + -s use ^G rather than ST +" +); + +our $ST = $opt_s ? "\007" : "\x1b\\"; + +sub no_reply($) { + open TTY, "+</dev/tty" or die("Cannot open /dev/tty\n"); + autoflush TTY 1; + my $old = `stty -g`; + system "stty raw -echo min 0 time 5"; + + print TTY @_; + close TTY; + system "stty $old"; +} + +sub get_reply($) { + open TTY, "+</dev/tty" or die("Cannot open /dev/tty\n"); + autoflush TTY 1; + my $old = `stty -g`; + system "stty raw -echo min 0 time 5"; + + print TTY @_; + my $reply = <TTY>; + close TTY; + system "stty $old"; + if ( defined $reply ) { + die("^C received\n") if ( "$reply" eq "\003" ); + } + return $reply; +} + +sub visible($) { + my $reply = $_[0]; + my $n; + my $result = ""; + for ( $n = 0 ; $n < length($reply) ; ) { + my $c = substr( $reply, $n, 1 ); + if ( $c =~ /[[:print:]]/ ) { + $result .= $c; + } + else { + my $k = ord substr( $reply, $n, 1 ); + if ( ord $k == 0x1b ) { + $result .= "\\E"; + } + elsif ( $k == 0x7f ) { + $result .= "^?"; + } + elsif ( $k == 32 ) { + $result .= "\\s"; + } + elsif ( $k < 32 ) { + $result .= sprintf( "^%c", $k + 64 ); + } + elsif ( $k > 128 ) { + $result .= sprintf( "\\%03o", $k ); + } + else { + $result .= chr($k); + } + } + $n += 1; + } + + return $result; +} + +sub query_color($) { + my $param = $_[0]; + my $reply; + my $n; + my $st = $opt_s ? qr/\007/ : qr/\x1b\\/; + my $op = 4; + my $osc = qr/\x1b]$op/; + my $match = qr/${osc}.*${st}/; + + $reply = get_reply( "\x1b]$op;" . $param . ";?" . $ST ); + + printf "query{%s}%*s", &visible($param), 3 - length($param), " "; + + if ( defined $reply ) { + printf "%2d ", length($reply); + if ( $reply =~ /${match}/ ) { + + $reply =~ s/^${osc}//; + $reply =~ s/^;//; + $reply =~ s/${st}$//; + } + else { + printf "? "; + } + + printf "{%s}", visible($reply); + } + printf "\n"; +} + +sub query_colors($$) { + my $lo = $_[0]; + my $hi = $_[1]; + my $n; + for ( $n = $lo ; $n <= $hi ; ++$n ) { + query_color($n); + } +} + +if ( $#ARGV >= 0 ) { + while ( $#ARGV >= 0 ) { + if ( $ARGV[0] =~ /-/ ) { + my @args = split /-/, $ARGV[0]; + &query_colors ( $args[0], $args[1] ); + } else { + &query_colors ( $ARGV[0], $ARGV[0] ); + } + shift @ARGV; + } +} else { + &query_colors(0,7); +} diff --git a/app/xterm/xcharmouse.h b/app/xterm/xcharmouse.h index ed3d2b438..aed0678e7 100644 --- a/app/xterm/xcharmouse.h +++ b/app/xterm/xcharmouse.h @@ -1,4 +1,4 @@ -/* $XTermId: xcharmouse.h,v 1.15 2011/12/08 21:54:12 tom Exp $ */ +/* $XTermId: xcharmouse.h,v 1.17 2012/09/26 00:39:14 tom Exp $ */ /************************************************************ @@ -30,10 +30,12 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* *INDENT-OFF* */ /* - * Macros for dpmodes + * Macros for dpmodes (Thomas Dickey and others): * J. Bacon, acadix@execpc.com, June 1998 * Steve Wall, September 1999 * Ilya Zakharevich, August 2002 + * Ryan Johnson, August 2010 + * Egmont Koblinger, December 2011 */ /* DECSET arguments for turning on mouse reporting modes */ @@ -52,6 +54,8 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define SET_SGR_EXT_MODE_MOUSE 1006 #define SET_URXVT_EXT_MODE_MOUSE 1015 +#define SET_ALTERNATE_SCROLL 1007 /* wheel mouse may send cursor-keys */ + #define SET_BUTTON1_MOVE_POINT 2001 /* click1 emit Esc seq to move point*/ #define SET_BUTTON2_MOVE_POINT 2002 /* press2 emit Esc seq to move point*/ #define SET_DBUTTON3_DELETE 2003 /* Double click-3 deletes */ diff --git a/app/xterm/xterm.desktop b/app/xterm/xterm.desktop index 82e1927c2..ea23c9b73 100644 --- a/app/xterm/xterm.desktop +++ b/app/xterm/xterm.desktop @@ -1,8 +1,8 @@ -# $XTermId: xterm.desktop,v 1.10 2010/06/15 10:58:13 tom Exp $ +# $XTermId: xterm.desktop,v 1.14 2012/06/24 22:20:29 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 2006-2007,2010 by Thomas E. Dickey +# Copyright 2006-2010,2012 by Thomas E. Dickey # # All Rights Reserved # @@ -32,6 +32,7 @@ # ----------------------------------------------------------------------------- [Desktop Entry] Name=XTerm +#GenericName=Terminal Comment=standard terminal emulator for the X window system Exec=xterm Terminal=false diff --git a/app/xterm/xterm.h b/app/xterm/xterm.h index 36b279992..cf5dbd258 100644 --- a/app/xterm/xterm.h +++ b/app/xterm/xterm.h @@ -1,4 +1,4 @@ -/* $XTermId: xterm.h,v 1.694 2012/05/09 10:47:22 tom Exp $ */ +/* $XTermId: xterm.h,v 1.710 2012/10/25 23:18:58 tom Exp $ */ /* * Copyright 1999-2011,2012 by Thomas E. Dickey @@ -63,6 +63,7 @@ #define IGNORE_RC(func) (void) func #endif /* gcc workarounds */ +#undef bcopy #include <X11/Xos.h> #ifndef HAVE_CONFIG_H @@ -165,10 +166,10 @@ #if defined(__OpenBSD__) #define USE_UTMP_SETGID True -#define USE_OPENPTY True #define DEFDELETE_DEL True #define DEF_BACKARO_ERASE True #define DEF_INITIAL_ERASE True +#define SIG_ATOMIC_T volatile sig_atomic_t #endif #if defined(__SCO__) || defined(__UNIXWARE__) @@ -176,10 +177,6 @@ #define OPT_SCO_FUNC_KEYS 1 #endif -#if defined(__OpenBSD__) -#define DEFDELETE_DEL TRUE -#endif - #if defined(__SCO__) || defined(SVR4) || defined(_POSIX_SOURCE) || defined(__QNX__) || defined(__hpux) || (defined(BSD) && (BSD >= 199103)) || defined(__CYGWIN__) #define USE_POSIX_WAIT #endif @@ -355,6 +352,7 @@ extern char **environ; #define XtNallowWindowOps "allowWindowOps" #define XtNaltIsNotMeta "altIsNotMeta" #define XtNaltSendsEscape "altSendsEscape" +#define XtNalternateScroll "alternateScroll" #define XtNalwaysBoldMode "alwaysBoldMode" #define XtNalwaysHighlight "alwaysHighlight" #define XtNalwaysUseMods "alwaysUseMods" @@ -375,6 +373,7 @@ extern char **environ; #define XtNbrokenStringTerm "brokenStringTerm" #define XtNc132 "c132" #define XtNcacheDoublesize "cacheDoublesize" +#define XtNcdXtraScroll "cdXtraScroll" #define XtNcharClass "charClass" #define XtNcjkWidth "cjkWidth" #define XtNcolorAttrMode "colorAttrMode" @@ -431,6 +430,7 @@ extern char **environ; #define XtNhighlightTextColor "highlightTextColor" #define XtNhpLowerleftBugCompat "hpLowerleftBugCompat" #define XtNi18nSelections "i18nSelections" +#define XtNiconHint "iconHint" #define XtNinitialFont "initialFont" #define XtNinternalBorder "internalBorder" #define XtNitalicULMode "italicULMode" @@ -454,6 +454,7 @@ extern char **environ; #define XtNmkWidth "mkWidth" #define XtNmodifyCursorKeys "modifyCursorKeys" #define XtNmodifyFunctionKeys "modifyFunctionKeys" +#define XtNmodifyKeyboard "modifyKeyboard" #define XtNmodifyKeypadKeys "modifyKeypadKeys" #define XtNmodifyOtherKeys "modifyOtherKeys" #define XtNmodifyStringKeys "modifyStringKeys" @@ -555,6 +556,7 @@ extern char **environ; #define XtCBrokenStringTerm "BrokenStringTerm" #define XtCC132 "C132" #define XtCCacheDoublesize "CacheDoublesize" +#define XtCCdXtraScroll "CdXtraScroll" #define XtCCharClass "CharClass" #define XtCCjkWidth "CjkWidth" #define XtCColorAttrMode "ColorAttrMode" @@ -605,6 +607,7 @@ extern char **environ; #define XtCHighlightSelection "HighlightSelection" #define XtCHpLowerleftBugCompat "HpLowerleftBugCompat" #define XtCI18nSelections "I18nSelections" +#define XtCIconHint "IconHint" #define XtCInitialFont "InitialFont" #define XtCJumpScroll "JumpScroll" #define XtCKeepSelection "KeepSelection" @@ -626,6 +629,7 @@ extern char **environ; #define XtCMkWidth "MkWidth" #define XtCModifyCursorKeys "ModifyCursorKeys" #define XtCModifyFunctionKeys "ModifyFunctionKeys" +#define XtCModifyKeyboard "ModifyKeyboard" #define XtCModifyKeypadKeys "ModifyKeypadKeys" #define XtCModifyOtherKeys "ModifyOtherKeys" #define XtCModifyStringKeys "ModifyStringKeys" @@ -954,7 +958,7 @@ extern SIGNAL_T Exit (int /* n */) GCC_NORETURN; #endif #ifndef SIG_ATOMIC_T -#define SIG_ATOMIC_T volatile sig_atomic_t +#define SIG_ATOMIC_T int #endif #if OPT_WIDE_CHARS @@ -972,27 +976,31 @@ extern void show_8bit_control (Bool /* value */); #define TIMESTAMP_LEN 20 /* length of TIMESTAMP_FMT */ extern Bool AllocateTermColor(XtermWidget, ScrnColors *, int, const char *, Bool); +extern Boolean xtermGetWinAttrs(Display * /* dpy */, Window /* win */, XWindowAttributes * /* attrs */); +extern Boolean xtermGetWinProp(Display * /* dpy */, Window /* win */, Atom /* property */, long /* long_offset */, long /* long_length */, Atom /* req_type */, Atom * /* actual_type_return */, int * /* actual_format_return */, unsigned long * /* nitems_return */, unsigned long * /* bytes_after_return */, unsigned char ** /* prop_return */); extern Cursor make_colored_cursor (unsigned /* cursorindex */, unsigned long /* fg */, unsigned long /* bg */); extern OptionHelp * sortedOpts(OptionHelp *, XrmOptionDescRec *, Cardinal); extern String xtermEnvLocale (void); -extern Widget xtermOpenApplication(XtAppContext * /* app_context_return */, String /* application_class */, XrmOptionDescRec */* options */, Cardinal /* num_options */, int * /* argc_in_out */, String */* argv_in_out */, String * /* fallback_resources */, WidgetClass /* widget_class */, ArgList /* args */, Cardinal /* num_args */); -extern Window WMFrameWindow(XtermWidget /* termw */); +extern Widget xtermOpenApplication (XtAppContext * /* app_context_return */, String /* application_class */, XrmOptionDescRec */* options */, Cardinal /* num_options */, int * /* argc_in_out */, String */* argv_in_out */, String * /* fallback_resources */, WidgetClass /* widget_class */, ArgList /* args */, Cardinal /* num_args */); +extern Window WMFrameWindow (XtermWidget /* termw */); extern XtInputMask xtermAppPending (void); -extern XrmOptionDescRec * sortedOptDescs(XrmOptionDescRec *, Cardinal); -extern XtermWidget getXtermWidget(Widget /* w */); +extern XrmOptionDescRec * sortedOptDescs (XrmOptionDescRec *, Cardinal); +extern XtermWidget getXtermWidget (Widget /* w */); extern char *udk_lookup (int /* keycode */, int * /* len */); extern char *xtermEnvEncoding (void); -extern char *xtermFindShell(char * /* leaf */, Bool /* warning */); -extern char *xtermVersion(void); +extern char *xtermFindShell (char * /* leaf */, Bool /* warning */); +extern char *xtermVersion (void); extern const char *SysErrorMsg (int /* n */); extern const char *SysReasonMsg (int /* n */); -extern int ResetAnsiColorRequest(XtermWidget, char *, int); +extern int ResetAnsiColorRequest (XtermWidget, char *, int); extern int XStrCmp (char * /* s1 */, char * /* s2 */); extern int creat_as (uid_t /* uid */, gid_t /* gid */, Bool /* append */, char * /* pathname */, unsigned /* mode */); +extern int getVisualDepth (XtermWidget /* xw */); extern int open_userfile (uid_t /* uid */, gid_t /* gid */, char * /* path */, Bool /* append */); extern int xerror (Display * /* d */, XErrorEvent * /* ev */); extern int xioerror (Display * /* dpy */); -extern int xtermResetIds(TScreen * /* screen */); +extern int xtermClosestColor (XtermWidget /* xw */, int /* red */, int /* green */, int /* blue */); +extern int xtermResetIds (TScreen * /* screen */); extern void Bell (XtermWidget /* xw */, int /* which */, int /* percent */); extern void ChangeGroup(XtermWidget /* xw */, const char * /* attribute */, char * /* value */); extern void ChangeIconName (XtermWidget /* xw */, char * /* name */); @@ -1010,7 +1018,6 @@ extern void HandleSpawnTerminal PROTO_XT_ACTIONS_ARGS; extern void HandleStringEvent PROTO_XT_ACTIONS_ARGS; extern void Panic (const char * /* s */, int /* a */); extern void Redraw (void); -extern void ice_error (IceConn /* iceConn */); extern void ReverseOldColors (void); extern void SysError (int /* i */) GCC_NORETURN; extern void VisualBell (void); @@ -1023,6 +1030,7 @@ extern void end_tek_mode (void); extern void end_vt_mode (void); extern void hide_tek_window (void); extern void hide_vt_window (void); +extern void ice_error (IceConn /* iceConn */); extern void reset_decudk (void); extern void set_tek_visibility (Bool /* on */); extern void set_vt_visibility (Bool /* on */); @@ -1033,7 +1041,8 @@ extern void xt_error (String /* message */); extern void xtermBell(XtermWidget /* xw */, int /* which */, int /* percent */); extern void xtermCopyEnv (char ** /* oldenv */); extern void xtermDisplayCursor (XtermWidget /* xw */); -extern void xtermEmbedWindow(Window /* winToEmbedInfo */); +extern void xtermEmbedWindow (Window /* winToEmbedInfo */); +extern void xtermLoadIcon (XtermWidget /* xw */); extern void xtermPerror (const char * /*fmt*/,...) GCC_PRINTFLIKE(1,2); extern void xtermSetenv (const char * /* var */, const char * /* value */); extern void xtermShowPointer (XtermWidget /* xw */, Bool /* enable */); @@ -1099,7 +1108,6 @@ extern void FlushLog (XtermWidget /* xw */); extern Bool xtermHasPrinter (XtermWidget /* xw */); extern PrinterFlags *getPrinterFlags (XtermWidget /* xw */, String * /* params */, Cardinal * /* param_count */); extern int xtermPrinterControl (XtermWidget /* xw */, int /* chr */); -extern void closePrinter (XtermWidget /* xw */); extern void setPrinterControlMode (XtermWidget /* xw */, int /* mode */); extern void xtermAutoPrint (XtermWidget /* xw */, unsigned /* chr */); extern void xtermMediaControl (XtermWidget /* xw */, int /* param */, int /* private_seq */); @@ -1149,6 +1157,14 @@ extern void writePtyData (int /* f */, IChar * /* d */, unsigned /* len */); #endif /* screen.c */ + +/* + * See http://standards.freedesktop.org/wm-spec/wm-spec-latest.html + */ +#define _NET_WM_STATE_REMOVE 0 /* remove/unset property */ +#define _NET_WM_STATE_ADD 1 /* add/set property */ +#define _NET_WM_STATE_TOGGLE 2 /* toggle property */ + extern Bool non_blank_line (TScreen */* screen */, int /* row */, int /* col */, int /* len */); extern Char * allocScrnData (TScreen * /* screen */, unsigned /* nrow */, unsigned /* ncol */); extern ScrnBuf allocScrnBuf (XtermWidget /* xw */, unsigned /* nrow */, unsigned /* ncol */, ScrnPtr * /* addr */); @@ -1158,7 +1174,7 @@ extern size_t ScrnPointers (TScreen * /* screen */, size_t /* len */); extern void ClearBufRows (XtermWidget /* xw */, int /* first */, int /* last */); extern void ClearCells (XtermWidget /* xw */, int /* flags */, unsigned /* len */, int /* row */, int /* col */); extern void CopyCells (TScreen * /* screen */, LineData * /* src */, LineData * /* dst */, int /* col */, int /* len */); -extern void FullScreen (XtermWidget /* xw */, Bool /* enabled */); +extern void FullScreen (XtermWidget /* xw */, int /* mode */); extern void ScrnAllocBuf (XtermWidget /* xw */); extern void ScrnClearCells (XtermWidget /* xw */, int /* row */, int /* col */, unsigned /* len */); extern void ScrnDeleteChar (XtermWidget /* xw */, unsigned /* n */); @@ -1294,8 +1310,10 @@ extern void ReverseVideo (XtermWidget /* termw */); extern void WriteText (XtermWidget /* xw */, IChar * /* str */, Cardinal /* len */); extern void decode_keyboard_type (XtermWidget /* xw */, struct XTERM_RESOURCE * /* rp */); extern void decode_wcwidth (XtermWidget /* xw */); +extern void do_cd_xtra_scroll (XtermWidget /* xw */); extern void do_erase_display (XtermWidget /* xw */, int /* param */, int /* mode */); extern void do_erase_line (XtermWidget /* xw */, int /* param */, int /* mode */); +extern void do_ti_xtra_scroll (XtermWidget /* xw */); extern void getXtermSizeHints (XtermWidget /* xw */); extern void init_keyboard_type (XtermWidget /* xw */, xtermKeyboardType /* type */, Bool /* set */); extern void recolor_cursor (TScreen * /* screen */, Cursor /* cursor */, unsigned long /* fg */, unsigned long /* bg */); @@ -1375,7 +1393,7 @@ extern Pixel xtermGetColorRes(XtermWidget /* xw */, ColorRes * /* res */); #define ClearCurBackground(xw, top, left, height, width, fw) \ XClearArea (TScreenOf(xw)->display, \ - VWindow(TScreenOf(xw)), \ + VDrawable(TScreenOf(xw)), \ CursorX2(TScreenOf(xw), left, fw), \ CursorY(TScreenOf(xw), top), \ width * fw, \ diff --git a/app/xterm/xterm.log.html b/app/xterm/xterm.log.html index 7b7dbcadf..4f5c31007 100644 --- a/app/xterm/xterm.log.html +++ b/app/xterm/xterm.log.html @@ -31,9599 +31,12007 @@ * sale, use or other dealings in this Software without prior written * * authorization. * ***************************************************************************** - $XTermId: xterm.log.html,v 1.1167 2012/05/09 21:21:44 tom Exp $ + $XTermId: xterm.log.html,v 1.1282 2012/11/26 00:52:40 tom Exp $ --> -<HTML> -<HEAD> -<TITLE>XTERM - Change Log</TITLE> -<LINK REV=MADE HREF="mailto:dickey@invisible-island.net"> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -</HEAD> -<BODY> -<HR> -<a href= -"http://invisible-island.net/">http://invisible-island.net/</a><a href="http://invisible-island.net/xterm/">xterm/</a><br> -Copyright © 1997-2011,2012 by <A -HREF="mailto:dickey@invisible-island.net">Thomas E. Dickey</A> -<HR> -<H1>Contents</H1> -This file contains a list of the changes that I have made for xterm, -from the notes that I add when submitting a patch. -<P> -You should note that other changes have been made as well, by other people, -to fix bugs and correct ifdef's for portability. -Most of these are summarized in the XFree86 CHANGELOG -(found in the unbundled tree, xc/programs/Xserver/hw/xfree86). -<a href="http://invisible-island.net/xterm/xterm.log.html">Here</a> -is the latest version of this file. - -<UL> -<LI><A HREF="#xterm_279">Patch #279 - 2012/05/10</A> -<LI><A HREF="#xterm_278">Patch #278 - 2012/01/18</A> -<LI><A HREF="#xterm_277">Patch #277 - 2012/01/07</A> -<LI><A HREF="#xterm_276">Patch #276 - 2011/10/10</A> -<LI><A HREF="#xterm_275">Patch #275 - 2011/09/11</A> -<LI><A HREF="#xterm_274">Patch #274 - 2011/09/05</A> -<LI><A HREF="#xterm_273">Patch #273 - 2011/08/25</A> -<LI><A HREF="#xterm_272">Patch #272 - 2011/08/24</A> -<LI><A HREF="#xterm_271">Patch #271 - 2011/07/14</A> -<LI><A HREF="#xterm_270">Patch #270 - 2011/04/26</A> -<LI><A HREF="#xterm_269">Patch #269 - 2011/02/19</A> -<LI><A HREF="#xterm_268">Patch #268 - 2011/02/10</A> -<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> -<LI><A HREF="#xterm_261">Patch #261 - 2010/6/28</A> -<LI><A HREF="#xterm_260">Patch #260 - 2010/6/20</A> -<LI><A HREF="#xterm_259">Patch #259 - 2010/6/5</A> -<LI><A HREF="#xterm_258">Patch #258 - 2010/5/1</A> -<LI><A HREF="#xterm_257">Patch #257 - 2010/4/22</A> -<LI><A HREF="#xterm_256">Patch #256 - 2010/3/6</A> -<LI><A HREF="#xterm_255">Patch #255 - 2010/1/21</A> -<LI><A HREF="#xterm_254">Patch #254 - 2010/1/6</A> -<LI><A HREF="#xterm_253">Patch #253 - 2009/12/10</A> -<LI><A HREF="#xterm_252">Patch #252 - 2009/12/7</A> -<LI><A HREF="#xterm_251">Patch #251 - 2009/11/11</A> -<LI><A HREF="#xterm_250">Patch #250 - 2009/10/13</A> -<LI><A HREF="#xterm_249">Patch #249 - 2009/10/1</A> -<LI><A HREF="#xterm_248">Patch #248 - 2009/9/11</A> -<LI><A HREF="#xterm_247">Patch #247 - 2009/8/30</A> -<LI><A HREF="#xterm_246">Patch #246 - 2009/8/16</A> -<LI><A HREF="#xterm_245">Patch #245 - 2009/8/12</A> -<LI><A HREF="#xterm_244">Patch #244 - 2009/8/9</A> -<LI><A HREF="#xterm_243">Patch #243 - 2009/3/28</A> -<LI><A HREF="#xterm_242">Patch #242 - 2009/2/15</A> -<LI><A HREF="#xterm_241">Patch #241 - 2009/1/26</A> -<LI><A HREF="#xterm_240">Patch #240 - 2009/1/25</A> -<LI><A HREF="#xterm_239">Patch #239 - 2009/1/8</A> -<LI><A HREF="#xterm_238">Patch #238 - 2008/12/30</A> -<LI><A HREF="#xterm_237">Patch #237 - 2008/09/14</A> -<LI><A HREF="#xterm_236">Patch #236 - 2008/07/27</A> -<LI><A HREF="#xterm_235">Patch #235 - 2008/04/20</A> -<LI><A HREF="#xterm_234">Patch #234 - 2008/03/02</A> -<LI><A HREF="#xterm_233">Patch #233 - 2008/02/24</A> -<LI><A HREF="#xterm_232">Patch #232 - 2008/01/30</A> -<LI><A HREF="#xterm_231">Patch #231 - 2008/01/05</A> -<LI><A HREF="#xterm_230">Patch #230 - 2007/12/31</A> -<LI><A HREF="#xterm_229">Patch #229 - 2007/8/12</A> -<LI><A HREF="#xterm_228">Patch #228 - 2007/7/22</A> -<LI><A HREF="#xterm_227">Patch #227 - 2007/6/27</A> -<LI><A HREF="#xterm_226">Patch #226 - 2007/6/17</A> -<LI><A HREF="#xterm_225">Patch #225 - 2007/3/24</A> -<LI><A HREF="#xterm_224">Patch #224 - 2007/2/11</A> -<LI><A HREF="#xterm_223">Patch #223 - 2006/11/30</A> -<LI><A HREF="#xterm_222">Patch #222 - 2006/10/17</A> -<LI><A HREF="#xterm_221">Patch #221 - 2006/10/1</A> -<LI><A HREF="#xterm_220">Patch #220 - 2006/9/10</A> -<LI><A HREF="#xterm_219">Patch #219 - 2006/9/4</A> -<LI><A HREF="#xterm_218">Patch #218 - 2006/8/27</A> -<LI><A HREF="#xterm_217">Patch #217 - 2006/8/20</A> -<LI><A HREF="#xterm_216">Patch #216 - 2006/8/3</A> -<LI><A HREF="#xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A> -<LI><A HREF="#xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A> -<LI><A HREF="#xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A> -<LI><A HREF="#xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A> -<LI><A HREF="#xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A> -<LI><A HREF="#xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A> -<LI><A HREF="#xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A> -<LI><A HREF="#xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A> -<LI><A HREF="#xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A> -<LI><A HREF="#xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A> -<LI><A HREF="#xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A> -<LI><A HREF="#xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A> -<LI><A HREF="#xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A> -<LI><A HREF="#xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A> -<LI><A HREF="#xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A> -<LI><A HREF="#xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A> -<LI><A HREF="#xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A> -<LI><A HREF="#xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A> -<LI><A HREF="#xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A> -<LI><A HREF="#xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A> -<LI><A HREF="#xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A> -<LI><A HREF="#xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A> -<LI><A HREF="#xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A> -<LI><A HREF="#xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A> -<LI><A HREF="#xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A> -<LI><A HREF="#xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A> -<LI><A HREF="#xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A> -<LI><A HREF="#xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A> -<LI><A HREF="#xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A> -<LI><A HREF="#xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A> -<LI><A HREF="#xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A> -<LI><A HREF="#xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A> -<LI><A HREF="#xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A> -<LI><A HREF="#xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A> -<LI><A HREF="#xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A> -<LI><A HREF="#xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A> -<LI><A HREF="#xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A> -<LI><A HREF="#xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A> -<LI><A HREF="#xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A> -<LI><A HREF="#xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A> -<LI><A HREF="#xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A> -<LI><A HREF="#xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A> -<LI><A HREF="#xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A> -<LI><A HREF="#xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A> -<LI><A HREF="#xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A> -<LI><A HREF="#xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A> -<LI><A HREF="#xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A> -<LI><A HREF="#xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A> -<LI><A HREF="#xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A> -<LI><A HREF="#xterm_166">Patch #166 - 2002/3/25 - XFree86 4.2.0</A> -<LI><A HREF="#xterm_165">Patch #165 - 2002/1/5 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A> -<LI><A HREF="#xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A> -<LI><A HREF="#xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A> -<LI><A HREF="#xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A> -<LI><A HREF="#xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A> -<LI><A HREF="#xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A> -<LI><A HREF="#xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A> -<LI><A HREF="#xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A> -<LI><A HREF="#xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A> -<LI><A HREF="#xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A> -<LI><A HREF="#xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A> -<LI><A HREF="#xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A> -<LI><A HREF="#xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A> -<LI><A HREF="#xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A> -<LI><A HREF="#xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A> -<LI><A HREF="#xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A> -<LI><A HREF="#xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A> -<LI><A HREF="#xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A> -<LI><A HREF="#xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A> -<LI><A HREF="#xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A> -<LI><A HREF="#xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A> -<LI><A HREF="#xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A> -<LI><A HREF="#xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A> -<LI><A HREF="#xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A> -<LI><A HREF="#xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A> -<LI><A HREF="#xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A> -<LI><A HREF="#xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A> -<LI><A HREF="#xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A> -<LI><A HREF="#xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A> -<LI><A HREF="#xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A> -<LI><A HREF="#xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A> -<LI><A HREF="#xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A> -<LI><A HREF="#xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A> -<LI><A HREF="#xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A> -<LI><A HREF="#xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A> -<LI><A HREF="#xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A> -<LI><A HREF="#xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A> -<LI><A HREF="#xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A> -<LI><A HREF="#xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A> -<LI><A HREF="#xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A> -<LI><A HREF="#xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A> -<LI><A HREF="#xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A> -<LI><A HREF="#xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A> -<LI><A HREF="#xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A> -<LI><A HREF="#xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A> -<LI><A HREF="#xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A> -<LI><A HREF="#xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A> -<LI><A HREF="#xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A> -<LI><A HREF="#xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A> -<LI><A HREF="#xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A> -<LI><A HREF="#xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A> -<LI><A HREF="#xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A> -<LI><A HREF="#xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A> -<LI><A HREF="#xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A> -<LI><A HREF="#xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A> -<LI><A HREF="#xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A> -<LI><A HREF="#xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A> -<LI><A HREF="#xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A> -<LI><A HREF="#xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A> -<LI><A HREF="#xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A> -<LI><A HREF="#xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A> -<LI><A HREF="#xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A> -<LI><A HREF="#xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A> -<LI><A HREF="#xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A> -<LI><A HREF="#xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A> -<LI><A HREF="#xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A> -<LI><A HREF="#xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A> -<LI><A HREF="#xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A> -<LI><A HREF="#xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A> -<LI><A HREF="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A> -<LI><A HREF="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A> -<LI><A HREF="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A> -<LI><A HREF="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A> -<LI><A HREF="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni and 3.3.2e</A> -<LI><A HREF="#sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A> -<LI><A HREF="#xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A> -<LI><A HREF="#xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A> -<LI><A HREF="#xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A> -<LI><A HREF="#xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A> -<LI><A HREF="#xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A> -<LI><A HREF="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A> -<LI><A HREF="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A> -<LI><A HREF="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A> -<LI><A HREF="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A> -<LI><A HREF="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A> -<LI><A HREF="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A> -<LI><A HREF="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A> -<LI><A HREF="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A> -<LI><A HREF="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A> -<LI><A HREF="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A> -<LI><A HREF="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A> -<LI><A HREF="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A> -<LI><A HREF="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A> -<LI><A HREF="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A> -<LI><A HREF="#xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A> -<LI><A HREF="#xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A> -<LI><A HREF="#xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A> -<LI><A HREF="#xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A> -<LI><A HREF="#xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A> -<LI><A HREF="#xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A> -<LI><A HREF="#xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A> -<LI><A HREF="#xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A> -<LI><A HREF="#xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A> -<LI><A HREF="#xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A> -<LI><A HREF="#xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A> -<LI><A HREF="#xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A> -<LI><A HREF="#xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A> -<LI><A HREF="#xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A> -<LI><A HREF="#xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A> -<LI><A HREF="#xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A> -<LI><A HREF="#xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A> -<LI><A HREF="#xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A> -<LI><A HREF="#xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A> -<LI><A HREF="#xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A> -<LI><A HREF="#xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A> -<LI><A HREF="#xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A> -<LI><A HREF="#xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A> -<LI><A HREF="#xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A> -<LI><A HREF="#xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A> -<LI><A HREF="#xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A> -<LI><A HREF="#xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A> -<LI><A HREF="#xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A> -<LI><A HREF="#xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A> -<LI><A HREF="#xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A> -<LI><A HREF="#xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A> -<LI><A HREF="#xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A> -<LI><A HREF="#xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A> -<LI><A HREF="#xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A> -<LI><A HREF="#xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A> -<LI><A HREF="#xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A> -<LI><A HREF="#xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A> -<LI><A HREF="#xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A> -<LI><A HREF="#xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A> -<LI><A HREF="#xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A> -<LI><A HREF="#xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A> -<LI><A HREF="#xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A> -<LI><A HREF="#xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A> -<LI><A HREF="#xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A> -<LI><A HREF="#xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A> -<LI><A HREF="#xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A> -<LI><A HREF="#xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A> -<LI><A HREF="#xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A> -<LI><A HREF="#xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A> -<LI><A HREF="#xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A> -<LI><A HREF="#xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A> -<LI><A HREF="#xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A> -<LI><A HREF="#xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A> -<LI><A HREF="#xterm_06">Patch #6 - 1996/1/8</A> -<LI><A HREF="#xterm_05">Patch #5 - 1996/1/7</A> -<LI><A HREF="#xterm_04">Patch #4 - 1996/1/7</A> -<LI><A HREF="#xterm_03">Patch #3 - 1996/1/7</A> -<LI><A HREF="#xterm_02">Patch #2 - 1996/1/7</A> -<LI><A HREF="#xterm_01">Patch #1 - 1996/1/6</A> -</UL> - -<H1><A NAME="xterm_279">Patch #279 - 2012/05/10</A></H1> -<ul> - <li>fill in missing cases in the save/restore modes feature - (report by Thomas Wolff). - - <li>add check to ensure that combining characters are precomposed in - the order given (report/analysis by Andries E Brouwer). - - <li>improve workability check for posix_openpt(), to take into account - BSD systems which do not complete initialization until both sides - of the pseudoterminal are opened (report by Christian Weisgerber). - - <li>amend fix for Debian #650291 in - <a href="#xterm_277">patch #277</a> changes to account for - different data returned by vnc4server - (Debian #670638). - - <li>add check in DECCRA operation to make copies of blinking text also - blink by updating a line-level flag. - - <li>modify rectangle operations to work with DECOM. - - <li>modify DECSERA to use the current protected state rather than - preserving it. - - <li>add <code>precompose</code> resource to allow storing character - data in Normalized Form D as described in - <a href="http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a> - (report/discussion with Andries E Brouwer). - - <li>modify CBT, other ISO-6429 controls which are used by VT520 to - work with DECOM. - - <li>add HPR and VPR controls, ISO 6429 cursor movement used in VT520. - - <li>remove "linux" restriction for IUTF8 ifdef in main.c (prompted by - Matthew Dempsky posting on mailing.openbsd.tech). - - <li>implement the remaining VT420-level device status reports. - - <li>change DECXCPR to return page 1, rather than 0. - - <li>improve VT-level checks on reporting functions, such as DECXCPR. - - <li>change limit on <code>decTerminalID</code> to 525. - - <li>fixes to improve vttest vt52 screen when running as a VT420: - <ul> - <li>add checks for some VT2xx and up controls for consistency: - DECSCL, S1C8T, S1C7T. - <li>modify DECRQSS return for DECSCL to only return that when - running as VT2xx and up. - <li>when exiting from VT52-mode, resume in VT100 level rather - than the level before starting VT52-mode. - </ul> - - <li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by discussions - with Ailin Nemui and Paul LeoNerd Evans). This modifies several - controls to obey top/bottom and left/right margins. - - <li>correct macro definition used for testing modes used in ANSI/DEC - request-mode controls introduced - in <a href="#xterm_262">patch #262</a>. - - <li>modify <code>x_getlogin</code> to check $LOGNAME and $USER before - fallback to <code>getlogin</code>, so that user's choice for these - variables can be carried forward to the xterm process - (Debian #611487). - - <li>document DECSCUSR response for DECRQSS in ctlseqs.ms - - <li>add <code>zIconTitleFormat</code> resource to allow customizing - the "*** " prefixed to the icon title when the - <code>zIconBeep</code> feature is activated - (request by Thomas Adam). - - <li>modify DECSCUSR to update the same internal variable as RM/SM 12, - and document in manpage the two variables used for controlling - blinking cursor (report by Paul LeoNerd Evans). - - <li>correct response data for DECSCUSR in reply for DECRQSS response, - which had inverted the blink-value - (reports by Ailin Nemui, Paul LeoNerd Evans). - - <li>add a null-pointer check in <code>OkPasswd</code> macro - to fix a problem in <code>resize</code> with Fedora 17 - and a serial console (report/patch by Daniel Drake). - - <li>add workaround for Mac OS X, which loses the window size of - a pseudo-terminal when the tty device is opened (report/analysis - by Egmont Koblinger). - - <li>updated configure check for workable <code>posix_openpt</code> - versus <code>grantpt</code>, from <code>luit</code> fixes. - - <li>modify DECIC/DECDC/DECBI/DECFI - implemented in <a href="#xterm_277">patch #277</a> - to enable them only in VT4xx mode and up (report by Ailin Nemui). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_278">Patch #278 - 2012/01/18</A></H1> -<ul> - <li>correct initialization for <code>eightBitMeta</code> resource - (FreeBSD #164101). - - <li>make special check for Darwin 9 (and lower) to <em>not</em> - use <code>posix_openpt</code> (report by Christian Ebert). - - <li>minor fixes (adding ".ne" directives) to reduce the cases where - groff's utility for generating images for tables dumps core. - Most versions of groff (I've found 1.19.2 to be the most stable) - dump core when attempting to report that there are too few lines - on a page for a table to be shown. -</ul> - -<H1><A NAME="xterm_277">Patch #277 - 2012/01/07</A></H1> -<ul> - <li>remove special case for ISC pseudo-terminals which attempts to - open the pty in two different ways. - - <li>move call to <code>grantpt</code> before asking utempter to - add a record, to work with kFreeBSD which does not update the - terminal's ownership until this point (Debian #652907). - - <li>document limitation of XIM interface in manpage (Debian #230787). - - <li>cleanup error reporting with new xtermWarning function. - - <li>add configure option <code>--disable-selection-ops</code> to - make the new actions optional. - - <li>add four new actions for making the selection or data directly - copied from the screen (prompted by discussion in Debian #637001, - as well as report by Arjen van Tol): - <ul> - <li>exec-formatted - <li>exec-selectable - <li>insert-formatted - <li>insert-selectable - </ul> - - <li>add <code>visualBellLine</code> resource to allow - <code>visualBell</code> to flash only the current line (prompted by - patch by Gertjan Halkes). - - <li>add <code>eightBitMeta</code> resource to control the features - which modify or interpret the eighth bit of a key when the - meta modifier key is pressed (prompted by Debian #326200). - - <li>improve discussion of <code>eightBitInput</code> in the manpage - (prompted by Debian #326200). - - <li>correct logic for <code>alt-sends-escape</code> action, - overlooked when implementing <code>altSendsEscape</code> resource, - which still used <code>eightBitInput</code> resource value. - - <li>add a workaround for <code>XAllocColor()</code>, which does not - actually allocate "a read-only colormap entry corresponding to the - closest RGB value supported by the hardware", but rather a rough - approximation (Debian #650291). - - <li>undo parameter checks for <code>RequestResize()</code> added in - <a href="#xterm_251">patch #251</a> and amended in - <a href="#xterm_270">patch #270</a>, because zeros also are - special cases (report by John S Urban). - - <li>modify some test-scripts to use <code>/bin/echo</code> rather than - the shell's possibly-builtin <code>echo</code>, to work around - broken configuration on Mac OS X, i.e., neither honoring the option - nor flagging an error. - - <li>add SGR 1006, as a better technical solution than SGR 1015: - <ul> - <li>the responses will not be confused with line-deletion and - scrolling controls. - <li>the button encoding is a little simpler, since it does not - add an unnecessary 32 because the integer parameter does not - have to be represented as a printable character. - <li>the control responses for pressing and releasing a mouse - button differ, allowing an application to tell which button was - released. - </ul> - <p> - Besides these improvements, - in discussion, it was noted that urxvt's implementation of 1005 is - incorrect, relying upon a locale that provides UTF-8 encoding. In - contrast, vttest demonstrates a correct decoding, independent of - locale. - - <li>add support for urxvt SGR 1015 to address shortcoming of - SGR 1005 with luit (patch by Egmont Koblinger). - - <li>add ISO and DEC controls useful for left/right scrolling. - - <li>add some changes for OpenBSD and MirBSD (adapted from patch by - Thorsten Glaser): - <ul> - <li>disable search for non-Unix96 ptys. - <li>fix a gcc warning in <code>timestamp_filename</code> - <li>modify <code>Imakefile</code> to install xterm setgid to utmp. - </ul> - - <li>add/use/prefer <code>posix_openpt()</code> for opening - pseudo-terminal. - - <li>modify special errno handling case in ptydata.c from - <a href="#xterm_158">patch #158</a> - to allow for the possibility that any platform may have - special cases where "/dev/tty" is absent. - For example, this can happen in a FreeBSD jail - (patch by David Wolfskill). - - <li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab, which is - usually, not always, done by the X keyboard configuration. - - <li>portability fixes for some configure macros: - <code>CF_XOPEN_SOURCE</code> -</ul> - -<H1><A NAME="xterm_276">Patch #276 - 2011/10/10</A></H1> -<ul> - <li>modify clipping limits for TrueType fonts to account for the - <code>scaleHeight</code> resource setting, to work around another - problem due to recent FreeType changes. In this case, the - <code>DejaVu Sans Mono</code> set to pixelsize=13.5 - is truncated because the font descent is reduced by FreeType to - match an incorrect height metric (report by Adam Lee). - - <li>improve recovery when bitmap fonts are not installed, e.g., so - that switching font-sizes works for TrueType fonts. - - <li>modify lookup for <code>XTERM_SHELL</code> feature to allow - relative pathnames. - - <li>modify abbreviation disambiguation check - for command-line parameters to account for <code>-geometry</code>, - whose parameter may begin with "+" or "-" - (report by Scott Bertilson). -</ul> - -<H1><A NAME="xterm_275">Patch #275 - 2011/09/11</A></H1> -<ul> - <li>add <code>ash</code>, <code>zsh</code> to known shells for - <code>resize</code>. - - <li>modify <code>resize</code> - to reuse the logic from <code>xterm</code> - which determines the actual logon-user's shell - if <code>$SHELL</code> is not set. - - <li>revert the <code>unsetenv("SHELL")</code> added in - <a href="#xterm_272">patch #272</a>. - - <li>an <code>unsetenv("SHELL")</code> added in - <a href="#xterm_272">patch #272</a> to help ensure that - <code>luit</code> would get the user's shell consistently - did not work as expected for cases where multiple - names are in the password-file for a given uid. - That was because changes in <a href="#xterm_157">patch #157</a> - to handle this situation - did not take into account that repeated calls to - <code>getpwnam</code> and <code>getpwuid</code> - return a pointer to the same static buffer. - Fixed the older logic to work as intended, - by ensuring that the passwd-data from each call is stored - separately (report by Paul Keusemann). - - <li>adjust ifdef's for <code>putenv</code> and <code>unsetenv</code> - in case only one of those is provided on a given platform. - - <li>correct comparison used in <code>ExposeContains</code> macro from - <a href="#xterm_274">patch #274</a> - changes, to handle window-dragging (patch by Todd Eigenschink). -</ul> - -<H1><A NAME="xterm_274">Patch #274 - 2011/09/05</A></H1> -<ul> - <li>portability fixes for cygwin: do not define <code>SVR4</code>, - and work around nonstandard header location. - - <li>ifdef'd use of <code>unsetenv</code> - from <a href="#xterm_273">patch #273</a> - changes to work with Solaris 9 - (report by Waldemar Rachwal). - - <li>modify logic for <code>XtAppPending</code> to merge adjacent - <code>Expose</code> and <code>ConfigureNotify</code> events - which are redundant (report by Edward McGuire). - - <li>fix an unneeded warning message when <code>-r</code> option - is given. - - <li>remove a few redundant entries from table used for helping - abbreviation-checking of command-line options, makes - <code>-geom</code> work again after - <a href="#xterm_272">patch #272</a> changes - as an abbreviation of - <code>-geometry</code>. - - <li>add <code>scaleHeight</code> resource and - command-line option <code>-sh</code> - as workaround for some font-configurations broken by - changes in FreeType 2.4.6 (report by Miroslav Hodak). - - <li>portability fixes for some configure macros: - <code>CF_FUNC_TGETENT</code>, - <code>CF_XOPEN_SOURCE</code>, - <code>CF_X_ATHENA_LIBS</code>. - - <li>add configure option <code>--with-freetype-config</code> to - improve selection over the plethora of configuration options - which freetype has so far provided. - - <li>build-fix for configure <code>--enable-load-vt-fonts</code> when - <code>--enable-widec</code> is not specified. - - <li>build-fixes for suppressing various features, needed after changes - in patches 270, 271 and 272 (report by Brian Lindholm) -</ul> - -<H1><A NAME="xterm_273">Patch #273 - 2011/08/25</A></H1> -<ul> - <li>build-fix for out-of-tree "make docs" rule. - - <li>correct a typo in <code>x_strdup</code>, from - <a href="#xterm_198">patch #198</a> - changes. - - <li>correct initialization for <code>-e</code> option, broken in - <a href="#xterm_272">patch #272</a> - changes (report by Gabriele Balducci). - - <li>build-fix for out-of-tree builds to address <code>minstall</code> - script changes in - <a href="#xterm_272">patch #272</a> - (patch by Thierry Reding). -</ul> - -<H1><A NAME="xterm_272">Patch #272 - 2011/08/24</A></H1> -<ul> - <li>document limitation of <code>Gtk</code> in connection with xterm's - <code>-into</code> option, in the manpage (Ubuntu #806969). - - <li>improve <code>-into</code> by checking for and using the size - of the window within which xterm is embedded, overriding other - clues. - - <li>modify logic for <code>localeFilter</code> resource to allow that - to include command-line options of luit. - - <li>improve <code>-into</code> by checking for invalid window-id, - and allowing hexadecimal/decimal/octal values. - - <li>improve <code>keepSelection</code>, adding the case where the - highlighting is cleared, - overlooked in <a href="#xterm_230">patch #230</a> - (patch by Marco Peereboom). - - <li>improve command-line parsing to make abbreviate options work - consistently across xterm-specific versus standard X toolkit - options, and report cases where an abbreviated option happens - to be ambiguous. In particular, <code>-d</code> now works as - an abbreviation for <code>-display</code>. - - <li>fix regression in command-line parsing introduced in - <a href="#xterm_271">patch #271</a> changes - for Debian #629358, - (Debian #637910). - - <li>split-out new termcap/terminfo building block - <code>xterm+kbs</code> for configurability. - - <li>modify <code>terminfo</code> file to reflect changes in ncurses - for <code>xterm-16color</code> and <code>xterm-256color</code>. - <li>modify <code>minstall.sh</code>, etc., to reflect the default - default class, - <code>$TERM</code> and - <code>decTerminalID</code> values. +<html> +<head> + <meta name="generator" content= + "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> - <li>reword <code>resize</code> manpage to reflect the fact that - <code>$TERMCAP</code> is not set on all systems (patch by - Alan Coopersmith). + <title>XTERM - Change Log</title> + <link rev="MADE" href="mailto:dickey@invisible-island.net"> + <meta http-equiv="Content-Type" content= + "text/html; charset=us-ascii"> + <link rel="SHORTCUT ICON" href="images/mini.xterm_48.ico" type= + "image/x-icon"> +</head> - <li>work around combined Xaw6/Xaw7 package in DragonFlyBSD which - omits the usual symbolic link to the preferred library name. - - <li>further improve build-fix for termcap systems by checking for - some which are only partial implementations, e.g., termcap - 2.08 in CentOS 5.2 -</ul> - -<H1><A NAME="xterm_271">Patch #271 - 2011/07/14</A></H1> -<ul> - <li>omit permissions adjustments to pty on exit except for - pre-Unix98 ptys, since modern implementations handle this - (report by Sean C Farley). +<body> + <hr> + <a href= + "http://invisible-island.net/">http://invisible-island.net/</a><a href="http://invisible-island.net/xterm/">xterm/</a><br> - <li>modify logic for switching fonts between UTF-8 and non-UTF-8 - encoding to not merge the derivable bold-, wide- and widebold - values from the VT100 fonts. Also suppress warning when not - using UTF-8 fonts if wide- and widebold-fonts cannot be derived - or otherwise loaded (report by Werner Scheinast). + Copyright © 1997-2011,2012 by <a href= + "mailto:dickey@invisible-island.net">Thomas E. Dickey</a> + <hr> - <li>modify menu-creation to suppress entries which will never be used - in the current configuration, rather than simply disabling them. + <h1>Contents</h1> - <li>add resource <code>printModeImmediate</code> and menu item to - allow print of screen plus saved lines to a file. + <p>This file contains a list of the changes that I have made for + xterm, from the notes that I add when submitting a patch.</p> - <li>add menu item to allow runtime enable/disable of the - <code>printFileOnXError</code> feature. + <p>You should note that other changes have been made as well, by + other people, to fix bugs and correct ifdef's for portability. + Until mid-2006, most of these were summarized in the XFree86 + CHANGELOG (found in the unbundled tree, + xc/programs/Xserver/hw/xfree86). <a href= + "http://invisible-island.net/xterm/xterm.log.html">Here</a> is + the latest version of this file.</p> - <li>append a timestamp to filename used in - <code>printFileOnXError</code> feature, - and restrict its permissions - (request by Vincent Lefevre). + <ul> + <li><a href="#xterm_287">Patch #287 - 2012/11/25</a></li> - <li>add a check when cancelling cursor-blinking, in case the cursor - is blinked off. Fix so that the cursor is repainted without - waiting for other events, e.g., keypress (report by Ailin Nemui). + <li><a href="#xterm_286">Patch #286 - 2012/10/29</a></li> - <li>add configure <code>--with-app-class</code> option, to simplify - building "xterm-dev" packages with filenames that do not conflict - with conventional "xterm" packages. + <li><a href="#xterm_285">Patch #285 - 2012/10/23</a></li> - <li>corrected logic flow for DECSCL, which prevented the updated - operating level from being reported via DECRQSS (report by - Ailin Nemui). + <li><a href="#xterm_284">Patch #284 - 2012/10/14</a></li> - <li>corrected default for <code>brokenStringTerm</code> resource to - match manpage. - - <li>add vttests/dynamic.pl + <li><a href="#xterm_283">Patch #283 - 2012/10/09</a></li> - <li>add runtime check for locale not supported by X libraries, and - fallback to XA_STRING in this case (request by Bryan Henderson). + <li><a href="#xterm_282">Patch #282 - 2012/09/28</a></li> - <li>fix a special case in configure script after no FreeType libraries - are found. The script was proceeding to check for a usable - configuration. + <li><a href="#xterm_281">Patch #281 - 2012/06/26</a></li> - <li>add <code>xterm+tmux</code> building block to terminfo (adapted - from changes proposed by Ailin Nemui and Nicholas Marriott). - - <li>improve discussion of <code>faceName</code> resource in manpage - (adapted from suggestions by Jens Schweikhardt). - - <li>correct mapping of shifted up/down cursor-keys in termcap - function-keys mode, i.e., resource <code>tcapFunctionKeys</code> - (patch by Gertjan Halkes). - - <li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure macro to - add release 7.x. - - <li>modify ifdef's in <code>xterm_io.h</code> for <code>__hpux</code> - to force that to use the hacked SYSV support in that file. - This fixes a problem with a non-blocking socket call (patch - by Paul Lampert). - - <li>improve filtering of desktop category scanning, to exclude XFCE. - - <li>modify configure script to work with systems that have both - ncurses (or other terminfo) as well as a real termcap library, - e.g., Slackware (report by Andrew Watts). - - <li>modify configure script to work around special case where user's - environment adds compiler flags to the <code>CC</code> variable - (prompted by report by Paul Lampert). - - <li>amend change for Debian #110226 so that "-h" or "-v" options cause - an exit, rather than simply printing to stdout while the window is - displayed (Debian #629358). - - <li>add response for <code>DECRQSS</code> which gives the setting - for <code>DECSCUSR</code>. - - <li>modify AllocateTermColor() to handle - <code>XtDefaultForeground</code> and - <code>XtDefaultBackground</code>, - which are not recognized by <code>XParseColor</code>. - For example, this fixes the use of OSC 112 - when no explicit cursor color was set (report by Ailin Nemui). - - <li>handle special-case of <code>KeyPress</code> translated to - <code>popup-menu</code> action (Ubuntu #756273). -</ul> - -<H1><A NAME="xterm_270">Patch #270 - 2011/04/26</A></H1> -<ul> - <li>build-fix, e.g., for using <code>imake</code> on platforms which - use the termcap library. - - <li>modify <code>utf8</code> resource to accept a name. - - <li>mention default for <code>fontWarnings</code> in manpage - (report by Werner Scheinast). - - <li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8 Fonts" - (prompted by discussion with Werner Scheinast). - - <li>gray-out font-menu entries when a font fails to load, e.g., - a bitmap font is not installed. - - <li>improve behavior when there is no app-defaults file: - <ul> - <li>set the <code>toolBar</code> resource to false - <li>gray-out the font menu entries where no resource is found. - </ul> - - <li>add configure option <code>--with-desktop-category</code> - to allow customization of the ".desktop" files. - - <li>build-fix for the <code>install-desktop</code> makefile-rule, - when the source/build directories differ - (patch by Loïc Minier). - - <li>add menu entry and corresponding resource which can be used to - suppress all bold-fonts (discussion with Jan Engelhardt). - - <li>make internal line-size value consistent with allocated sizes of - character and related arrays to ensure that bulk copying of line - data, e.g., in scrolling, accounts for the padding used for pointer - alignment (adapted from patch by Rajesh Mandalemula, also reported - by Ali Bahar). - - <li>widen ifdef for screen-resizing logic - from - <a href="#xterm_176">patch #176</a> changes - to send - <code>SIGWINCH</code> to process group to include any - system supporting <code>ioctl(*,TIOCGPGRP,*)</code> - (prompted by linux-specific patch in OpenSUSE rpm package). - - <li>add - <code>printModeOnXError</code> and - <code>printFileOnXError</code> - resources, which allow the user to specify - that xterm will write the contents of its screen to - a file if it is exiting due to an X error - (Debian #280457). - - <li>restore logic that made reverse-video apply to the scrollbar's - foreground/background, broken in - <a href="#xterm_158">patch #158</a> - (report by Bryan Ischo). - - <li>amend some of the window operations parameter-checks added in - <a href="#xterm_251">patch #251</a> for the push/pop title feature, - to allow the parameters used for window resizing to be -1's, which - makes the corresponding values ignored rather than using the - window's maximum width/height (report by Noah Friedman). - - <li>correct order of initialization for <code>translations</code> vs - <code>fullscreen</code> - resources to enable a special case which omits - the Alt-Enter translation - when <code>fullscreen</code> is disabled (Debian #612978). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_269">Patch #269 - 2011/02/19</A></H1> -<ul> - <li>build-fixes for <code>imake</code> (report by Heiko Berges). - - <li>modify autoconf macro CF_PKG_CONFIG to work with cross-compile - environments (patch by Thierry Reding). - - <li>modify <code>MapToColorMode()</code> to favor bold over underline, - matching the precedence used before - <a href="#xterm_252">patch #252</a> - (report/analysis by Nicolas George). - - <li>add <code>omitTranslation</code> resource, which can be used to - suppress the default translations for these features: - <ul> - <li>fullscreen - <li>scroll-lock - <li>shift-fonts - <li>wheel-mouse - </ul> - - <li>make the fullscreen feature configurable (Debian #612978) - <ul> - <li>add it to the configurable list - <code>disallowedWindowOps</code>. - - <li>add command-line option <code>-fullscreen</code> to allow the - feature to be enabled at startup. - - <li>add resource <code>fullscreen</code> to control whether the - feature is active or may be enabled. - </ul> - - <li>modify <code>probe_netwm_fullscreen_capability</code> for 64-bit - machines. Contrary to <code>XGetWindowProperty</code> manpage, - that function returns 32-bit data packed as <code>long</code>'s. - - <li>eliminate copy of <code>name</code> resource, which was otherwise - used only to give the terminal-description name for the tcap-query - feature. Use the actual <code>$TERM</code> value instead, as - derived from <code>termName</code> resource, etc. - - <li>eliminate an old inconsistency with error messages, some used the - <code>-name</code> option, while others used <code>argv[0]</code>. - The latter is now used consistently. - - <li>improve configure check for rpath-hack, to improve builds on - systems where gcc will not search /usr/local/lib, etc. - - <li>build-fix for Xaw3d configuration (report by H Merijn Brand). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_268">Patch #268 - 2011/02/10</A></H1> -<ul> - <li>fix an inconsistency of the "Enable Reverse Video" checkbox in - the VT Options menu. - This also removes a special case - added in <a href="#xterm_217">patch #217</a> - which limited the effect of the <code>reverseVideo</code> resource - (Debian #603808). - - <li>amend decoding of misformed UTF-8 sequences to avoid absorbing - valid characters as documented in Unicode 6.0 section 3.9 - (report by Keith Winstein). - - <li>do not set urgency hint when window already has focus - (patch by Dimitrios Christidis). - - <li>amend extended mouse-coordinate mode from - <a href="#xterm_262">patch #262</a> changes to include - the <em>Cb</em> button-code, which also may be greater than 127 - (report by Ailin Nemui). - - <li>ensure that underline-cursor is visible when an application happens - to set the background color (report by Christian Weisgerber). - - <li>add feature for - <a href="http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch">full-screen toggling</a> - using either Alt-Enter - or a menu selection - (integrated patch by Dave Simmons). - - <li>add missing logic to handle reallocation of FIFO index for the - "UTF-8" menu entry (report by David Holland, NetBSD #44344). - - <li>add makefile rules <code>docs-ctlseqs</code>, - <code>docs-xterm</code>, etc. - - <li>correct typo in description of DECRPM in control sequences - document (report by Ailin Nemui). -</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 - <code>xtermOpenFont</code>, - to eliminate a warning message from - <a href="#xterm_263">patch #263</a> changes. - - <li>build-fix for <a href="#xterm_263">patch #263</a> when toolbar - is not configured - (patch by Chris Clayton) - (reports by Robby Workman, - David Wood). -</ul> - -<H1><A NAME="xterm_263">Patch #263 - 2010/10/13</A></H1> -<ul> - <li>corrected initialization of "misc" resource values, to ensure that - xterm has allocated a copy of strings which may not have been - malloc'd by the X library (Debian #600129). - - <li>modify handling of any-event/any-button mouse protocol; it - now is active with any combination of key-modifiers. - - <li>add debugging feature <code>showWrapMarks</code>, which marks - lines which xterm knows are wrapped, showing where a double-click - will select past the end of a line. - - <li>build-fix to address change in include-guards for - <code>Xlib.h</code> - in ongoing Xorg edits (patch by Jeremy Huddleston). - - <li>improve <code>pointerMode</code> by continuing to watch for motion - events after mouse tracking is disabled if the pointer is hidden - (Debian #594856). - - <li>further extend initialization for active-icon font to check if - the font was not loaded succesfully, - to retry with <code>font1</code>, - or as even (if TrueType fonts are used) to use a TrueType font. - The retries are to help with cases as in - <a href="#xterm_241">patch #241</a> where the bitmap fonts are - not available. - - <li>fix special case of active-icon used when TrueType font is - specified for the xterm window, - from <a href="#xterm_261">patch #261</a> change. - In that case, the default font's size was used for layout of the - active icon's window (Debian #591265). -</ul> - -<H1><A NAME="xterm_262">Patch #262 - 2010/8/30</A></H1> -<ul> - <li>fix a case where changing the cursor color via escape sequences - did not immediately update the screen (report by Andreas Wagner). - - <li>implement ANSI and DEC request-mode control sequences. The - latter includes the xterm-specific private modes such as the - mouse mode. The feature is ifdef'd with the rectangle operations - since its decoding overlaps that feature. - - <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by - Kevin Schoedel). - - <li>improve discussion of mouse tracking in ctlseqs.ms - - <li>increase an array limit used in reporting mouse events (report - by Ryan Johnson). - - <li>add extended mouse-coordinates mode, allowing up to 2015x2015 - windows, using UTF-8 encoding (patch by Ryan Johnson). - - <li>modify manpage hyphens to conform with - <a href="http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html">Debian</a>. -</ul> - -<H1><A NAME="xterm_261">Patch #261 - 2010/6/28</A></H1> -<ul> - <li>fix regression in <code>renderFont</code> logic, from - <a href="#xterm_260">patch #260</a> changes - (report by Joseph Quinsey). -</ul> - -<H1><A NAME="xterm_260">Patch #260 - 2010/6/20</A></H1> -<ul> - <li>modify <code>plink.sh</code> to work around problem linking to - recent PCRE libraries. - - <li>extend <code>renderFont</code> resource to allow deferred switch - to TrueType fonts without affecting existing resource settings - (Debian #585620). - - <li>modify configure macro CF_X_TOOLKIT to work around omission of - ICE library from ".pc" file (report by Miroslav Lichvar). - - <li>change configure script default for <code>--enable-broken-st</code> - i.e., the <code>brokenStringTerm</code> feature) - to normally enable it. - If the corresponding resource is enabled, - this feature eliminates an apparent freeze of xterm - when sending mis-encoded data to the screen (Debian #584801). - - <li>document in manpage some actions which were overlooked: - <ul> - <li>readline-button - <li>scroll-lock - <li>set-8-bit-control - </ul> - - <li>undo a change to limit-check in <code>ScrnRefresh</code> - in <a href="#xterm_257">patch #257</a>, - which broke <code>fastScroll</code> feature - (Debian #584841). - - <li>modify handling of - <code>brokenLinuxOSC</code> and - <code>brokenStringTerm</code> - to also sound the bell. - - <li>add control/D and control/Q to controls which will cause early - exit from control string per <code>brokenStringTerm</code> - resource. - - <li>improve documentation of <code>brokenStringTerm</code> resource - in manpage. -</ul> - -<H1><A NAME="xterm_259">Patch #259 - 2010/6/5</A></H1> -<ul> - <li>modify configure check for - <a href="http://invisible-island.net/luit/">luit</a> to include new - aliases for the program - (<code>xterm-filter</code> and - <code>bluit</code>). - - <li>add workaround in <code>xtermClearLEDs()</code> to account for - Xkb's override, making vttest's LED demo reset the scroll - lock. - - <li>filter out client-message events when deciding whether to hide - cursor, e.g., when using SCIM - (patch/report by anonymous user). - - <li>improve description of <code>-bd</code> option in manpage - (report by Guy Daniel Clotilde). - - <li>modify configure checks for PCRE and other libraries to use - <code>pkg-config</code>, if available. - - <li>amend change from <a href="#xterm_252">patch #252</a>, to take - <code>veryColorColors</code> resource into account when checking - <code>colorBDMode</code> resource for TrueType fonts - (report by anonymous user). - - <li>add <code>vttests/query-fonts.pl</code> script for - demonstrating the <code>OSC 50</code> font query. - - <li>improve manpage discussion of Scroll Lock feature. - - <li>improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS. - - <li>fix warnings for "clang --analyze". - - <li>change default for <code>allowScrollLock</code> resource to - <code>false</code>, noting that the supposedly unused key has - been useful for various rebindings (Debian #580946). -</ul> - -<H1><A NAME="xterm_258">Patch #258 - 2010/5/1</A></H1> -<ul> - <li>add pointer-checks in <code>ScrnRefresh</code> to fix a case in - rapid scrolling where an empty record is fetched from the - scrollback FIFO. -</ul> - -<H1><A NAME="xterm_257">Patch #257 - 2010/4/22</A></H1> -<ul> - <li>correct ctlseqs.ms description of OSC 17 and OSC 19 - (patch by Emanuele Giaquinta). - - <li>corrected logic for <code>menuLocale</code> resource; - the <code>setlocale</code> function returns the original locale - only when querying. - - <li>improve filtering of translations resource, narrowing the scope - of the <code>alwaysUseMods</code> to address only the translations - that would cause a key to be sent to the host (report by Andrew - Gaylard). - - <li>change default value of <code>menuLocale</code> resource to "C", - to work around - longstanding <a href="http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg bug</a>. - - <li>modify handling of <code>scrollKey</code> feature to ignore - XON/XOFF keys. - - <li>implement scroll-lock feature. - - <li>revise memory allocation in UTF8toLatin1() to fix an out-of-bounds - index (Mandriva #54531). - - <li>compute value for first wide-character rather than assuming it is - 256, fixes problem with <code>-cjk_width</code> introduced in - patches - <a href="#xterm_242">242</a> and - <a href="#xterm_249">249</a> - (report by Thomas Wolff). - - <li>improve configure script: - <ul> - <li>corrected check for <code>_XOPEN_SOURCE</code> for OpenSolaris. - - <li>when possible, add rpath option for libraries in unusual places + <li><a href="#xterm_280">Patch #280 - 2012/06/24</a></li> - <li>add configure option <code>--disable-rpath-hack</code> to - control whether the rpath option can be added. - </ul> + <li><a href="#xterm_279">Patch #279 - 2012/05/10</a></li> - <li>modify <code>AllocateTermColor()</code> to separate initialization - from control sequences, - fixing problem from <a href="#xterm_254">patch #254</a> changes - where enabling <code>allowSendEvents</code> - resource prevents setting cursor color on command-line - (Debian #572928). - - <li>amend logic from <a href="#xterm_185">patch #185</a> to not - reallocate cell-array if processing <code>ESC % G</code> - to switch from UTF-8 if already in ISO-8859-1 character set - (report by Michael Koehne). - - <li>fix to avoid calling <code>XmuInternStrings()</code> with zero - count (report by Johan Bockgård). + <li><a href="#xterm_278">Patch #278 - 2012/01/18</a></li> - <li>fix build when --disable-ansi-color configure option is used. + <li><a href="#xterm_277">Patch #277 - 2012/01/07</a></li> - <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is defined - (patch by Matthieu Herrb) -</ul> + <li><a href="#xterm_276">Patch #276 - 2011/10/10</a></li> -<H1><A NAME="xterm_256">Patch #256 - 2010/3/6</A></H1> -<ul> - <li>add TerminalEmulator to desktop category files. + <li><a href="#xterm_275">Patch #275 - 2011/09/11</a></li> - <li>modify <code>sinstall.sh</code> to ignore the "." appended to - permissions by selinux. + <li><a href="#xterm_274">Patch #274 - 2011/09/05</a></li> - <li>change app-defaults organization, installing UXTerm-color - and KOI8XTerm-color for consistent behavior regarding - <code>customization: color</code> (prompted by discussion - in Ubuntu #421261). - - <li>fix typo in <code>minstall.sh</code> from - <a href="#xterm_255">patch #255</a> changes, - and add case for - <code>/var/run</code> needed for full path of utmp - (report by Julien Cristau). - - <li>minor fix to xterm manpage, remove a comment stating that margin - bell can be changed via the VT Options menu. That was replaced in - <a href="#xterm_225">patch #225</a> - - <li>add a "docs" rule to makefile. - - <li>fix initialization of Atom used for <code>XkbBell</code> feature - from <a href="#xterm_243">patch 243</a> changes. - Unlike the other calls to <code>XInternAtom()</code>, - in this case the flag telling X to create the Atom was unset - (patch by Chris Adams). -</ul> - -<H1><A NAME="xterm_255">Patch #255 - 2010/1/21</A></H1> -<ul> - <li>rename <code>install.sh</code> to <code>install-sh</code> in case - suffix-rules might interfere. - - <li>extend range for <code>convertToUTF8</code> function to full - 31-bits, to use with printing, etc. - - <li>improve manpage by checking for actual locations of - utmp/wtmp files (Debian #562640). - - <li>modify configure macro CF_XOPEN_SOURCE to remove -D's before - adding the same name rather than relying on -U's, to reduce - redefinition warnings for some platforms that have conflicting - definitions in headers. - - <li>correct logic used to switch to alternate screen using FIFO-lines - configuration (Debian #565772). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_254">Patch #254 - 2010/1/6</A></H1> -<ul> - <li>add a configure-check to eliminate <code>install-ti</code> - rule from Makefile when the system has no tic (terminfo compiler) - program. This lets one use the <code>install-full</code> - rule more consistently. - - <li>amend change to WriteText() function in - <a href="#xterm_252">patch #252</a> to take into account the - <code>colorAttrMode</code> resource - (report by Krzysztof Kotlenga). - - <li>document <code>titleModes</code> resource in manpage, added in - <a href="#xterm_252">patch #252</a>. - - <li>modify tcap-query table entries for shifted up/down cursor keys - to match ncurses convention. - - <li>improve lookup of termcap-query data, allowing for duplicate - keycodes versus missing entries. - - <li>add control sequence which can be used to modify the terminal - data used for the termcap-keyboard. - - <li>improve portability of tcap-query feature, using terminfo functions - in preference to termcap on systems having terminfo. - - <li>improve font-setting/querying control (<code>OSC 50</code>): - <ul> - <li>when TrueType font is selected, the TrueType - <code>faceName</code> will be set, rather than the bitmap font. - <li>when TrueType font is selected, querying returns the name of - the TrueType font. - <li>querying a font recognizes the relative-font convention that - setting a font could use. - </ul> + <li><a href="#xterm_273">Patch #273 - 2011/08/25</a></li> - <li>add menu-entry for allowColorOps. + <li><a href="#xterm_272">Patch #272 - 2011/08/24</a></li> - <li>add new resources for fine-tuning menu entries: - <code>allowColorOps</code>, - <code>disallowedColorOps</code>, - <code>disallowedFontOps</code> and - <code>disallowedTcapOps</code>. + <li><a href="#xterm_271">Patch #271 - 2011/07/14</a></li> - <li>correct logic for disabling the "TrueType Fonts" menu item; it was - not ensuring that the <code>faceName</code> resource value was - non-empty. + <li><a href="#xterm_270">Patch #270 - 2011/04/26</a></li> - <li>implement VT520-style controls <code>DECSMBV</code> and - <code>DECSWBV</code> for setting the margin- and warning-bell - volume. + <li><a href="#xterm_269">Patch #269 - 2011/02/19</a></li> - <li>fix a minor error from <a href="#xterm_243">patch #243</a> which - made the zIconBeep feature use a minor-error tone rather than an - informational tone. + <li><a href="#xterm_268">Patch #268 - 2011/02/10</a></li> - <li>add a null-pointer check for the case where <code>renderFont</code> - resource is true, but <code>faceName</code> resource is unset, - used in logic to strip "xft:" prefix from - <a href="#xterm_251">patch #251</a> changes - (patch by Michael Riepe). + <li><a href="#xterm_267">Patch #267 - 2010/11/20</a></li> - <li>add special case to configure CF_XOPEN_SOURCE macro to use extensions - on Darwin (patch by Dennis Preiser). + <li><a href="#xterm_266">Patch #266 - 2010/10/24</a></li> - <li>improve configure checks for regular expressions header and - library + <li><a href="#xterm_265">Patch #265 - 2010/10/22</a></li> - <li>update config.guess, config.sub -</ul> + <li><a href="#xterm_264">Patch #264 - 2010/10/14</a></li> -<H1><A NAME="xterm_253">Patch #253 - 2009/12/10</A></H1> -<ul> - <li>add a null-pointer check in <code>getPrinterFlags()</code> - per changes in <a href="#xterm_252">patch #252</a>. + <li><a href="#xterm_263">Patch #263 - 2010/10/13</a></li> - <li>add a null-pointer check, needed in UTF-8 mode for Xft fonts after - changes in <a href="#xterm_252">patch #252</a> (patch by Alan - Coopersmith). + <li><a href="#xterm_262">Patch #262 - 2010/8/30</a></li> - <li>correct size when clearing struct for tek4014 (patch by Jochen - Voss). + <li><a href="#xterm_261">Patch #261 - 2010/6/28</a></li> - <li>parenthesize expression in <code>MoreRows</code> macro, fixing - a limit check added in <a href="#xterm_251">patch #251</a> - (Debian #560039). -</ul> + <li><a href="#xterm_260">Patch #260 - 2010/6/20</a></li> -<H1><A NAME="xterm_252">Patch #252 - 2009/12/7</A></H1> -<ul> - <li>modify title-querying logic to support retrieval of titles encoded - using UTF-8. + <li><a href="#xterm_259">Patch #259 - 2010/6/5</a></li> - <li>add new "title-modes" control sequence for controlling whether - window/icon titles can be set or queried using UTF-8, optionally - encoded in a hexadecimal string. + <li><a href="#xterm_258">Patch #258 - 2010/5/1</a></li> - <li>use <code>mkdir -p</code> rather than <code>mkdirs.sh</code> - (prompted by discussion of mawk by Aleksey Cheusov). + <li><a href="#xterm_257">Patch #257 - 2010/4/22</a></li> - <li>add appropriate copyright/license notices to the bulk of files - lacking same, and modify to use identical terms in others which - used different wording. The main exceptions are the files - contributed by Markus Kuhn, who appears to prefer public domain - distribution, noting that I have modified/improved several of these - without changing the terms of distribution (request by Jari Aalto). + <li><a href="#xterm_256">Patch #256 - 2010/3/6</a></li> - <li>add control sequences for resetting the "dynamic" colors to - their default values. + <li><a href="#xterm_255">Patch #255 - 2010/1/21</a></li> - <li>add control sequences for resetting the "special" colors to - their default values. + <li><a href="#xterm_254">Patch #254 - 2010/1/6</a></li> - <li>add control sequences for setting the "special" colors such as - <code>colorBD</code> (bold). + <li><a href="#xterm_253">Patch #253 - 2009/12/10</a></li> - <li>add overlooked case for setting highlight foreground color with - the dynamic-colors control. + <li><a href="#xterm_252">Patch #252 - 2009/12/7</a></li> - <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 colors to - default. + <li><a href="#xterm_251">Patch #251 - 2009/11/11</a></li> - <li>reset ANSI/16/88/256 colors to default in soft/hard reset functions. + <li><a href="#xterm_250">Patch #250 - 2009/10/13</a></li> - <li>strip "xft:" prefix from <code>faceName</code> and - <code>faceNameDoublesize</code> resource values, + <li><a href="#xterm_249">Patch #249 - 2009/10/1</a></li> - <li>add <code>DECSCUSR</code> (discussion with Andy Koppe). + <li><a href="#xterm_248">Patch #248 - 2009/9/11</a></li> - <li>add check/warning on failure to load font, to see if the name looks - like an Xft pattern rather than XLFD. This can happen if someone - happens to modify their X resource settings for programs that read - data from xterm's namespace. + <li><a href="#xterm_247">Patch #247 - 2009/8/30</a></li> - <li>modify handling of <code>print</code> and - <code>print-everything</code> - actions to allow the various printer flags to be overridden by - supplying parameters. + <li><a href="#xterm_246">Patch #246 - 2009/8/16</a></li> - <li>add resource <code>printerNewLine</code> (request by Ovidiu - Gheorghioiu). + <li><a href="#xterm_245">Patch #245 - 2009/8/12</a></li> - <li>minor cleanup, finish using <code>TScreenOf()</code> and - <code>TekScreenOf()</code> macros introduced in - <a href="#xterm_224">patch #224</a>. + <li><a href="#xterm_244">Patch #244 - 2009/8/9</a></li> - <li>improve checks in ShowCursor/HideCursor to get the background - color, particularly when <code>highlightReverse</code> resource - is used (reports by Jan Engelhardt, Christian Weisgerber). + <li><a href="#xterm_243">Patch #243 - 2009/3/28</a></li> - <li>correct <code>checkVeryBoldAttr</code> to omit comparison of - foreground color to special color values used for - <code>color<XX></code> resources (report by Jan Engelhardt). + <li><a href="#xterm_242">Patch #242 - 2009/2/15</a></li> - <li>make <code>colorBDMode</code> and <code>colorULMode</code> - resources work with TrueType configuration (report by Jan - Engelhardt). -</ul> + <li><a href="#xterm_241">Patch #241 - 2009/1/26</a></li> -<H1><A NAME="xterm_251">Patch #251 - 2009/11/11</A></H1> -<ul> - <li>add window-ops controls to push/pop icon and/or window labels on - a stack. + <li><a href="#xterm_240">Patch #240 - 2009/1/25</a></li> - <li>minor fixes to align termcap file with terminfo. + <li><a href="#xterm_239">Patch #239 - 2009/1/8</a></li> - <li>add resource <code>disallowedWindowOps</code>, to allow fine-tuning - of features to suppress with the <code>allowWindowOps</code> - resource (prompted by discussion with Bram Moolenaar). + <li><a href="#xterm_238">Patch #238 - 2008/12/30</a></li> - <li>add makefile rules for resize-manpage to pdf, etc. + <li><a href="#xterm_237">Patch #237 - 2008/09/14</a></li> - <li>further improve limit-checks in select/paste (Mandriva #54531). -</ul> + <li><a href="#xterm_236">Patch #236 - 2008/07/27</a></li> -<H1><A NAME="xterm_250">Patch #250 - 2009/10/13</A></H1> -<ul> - <li>add check and error-message for fonts that have no printable - values in the ISO-8859-1 range (Debian #542434). + <li><a href="#xterm_235">Patch #235 - 2008/04/20</a></li> - <li>some compiler-warning cleanup, in particular workaround for - defective implementation of gcc's attribute warn_unused_result - (report by Bram Moolenaar). + <li><a href="#xterm_234">Patch #234 - 2008/03/02</a></li> - <li>improve estimate of single-column width for packed TrueType - fonts by ignoring extents for codes 127 and 159. + <li><a href="#xterm_233">Patch #233 - 2008/02/24</a></li> - <li>improve line-drawing for TrueType fonts which happen to have - defined glyphs which are <em>not</em> line-drawing in 0..31 - by assuming they're not, and just checking the existence of - the Unicode codepoints. This makes it more likely that the - user can override a misconfigured font using the "Line-Drawing - Characters" menu entry. + <li><a href="#xterm_232">Patch #232 - 2008/01/30</a></li> - <li>limit minimum cell-width for packed font to maximum-advance - reported by Xft. Some fonts are wider than that, even in the - Latin-1 range (Debian #550497). + <li><a href="#xterm_231">Patch #231 - 2008/01/05</a></li> - <li>add list of direct-contributors in "THANKS" file. + <li><a href="#xterm_230">Patch #230 - 2007/12/31</a></li> - <li>stylistic changes to this file to help scripted extraction of - list of contributors. + <li><a href="#xterm_229">Patch #229 - 2007/8/12</a></li> - <li>correct off-by-one in <code>okPosition</code> fix from - <a href="#xterm_249">patch #249</a> limit-checks which - prevented double-click selection on the bottom line of the - screen (reports by Rajeev V. Pillai, Debian #550368). + <li><a href="#xterm_228">Patch #228 - 2007/7/22</a></li> - <li>add <code>-q</code> option to - <code>vttest/256colors2.pl</code> and - <code>vttest/88colors2.pl</code> - to demonstrate bulk initialization of color palette. + <li><a href="#xterm_227">Patch #227 - 2007/6/27</a></li> - <li>improve the workaround from patch #188 by enabling resources for - the 88-color model. + <li><a href="#xterm_226">Patch #226 - 2007/6/17</a></li> - <li>document in xterm manpage the limited availability of resources - <code>color16</code> to <code>color255</code> as noted in - <a href="#xterm_188">patch #188</a> (Ubuntu #438850). -</ul> - -<H1><A NAME="xterm_249">Patch #249 - 2009/10/1</A></H1> -<ul> - <li>change default for <code>allowWindowOps</code> resource to false. - <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode - leave most of the related functionality enabled ;-) --> - - <li>add limit-checks for result of visual_width() function, - needed from <a href="#xterm_242">patch #242</a> and - exposed by #244 changes (Debian #548321). - - <li>improve limit-checks in select/paste. - - <li>fix a remaining bug from - <a href="#xterm_230">patch #230</a> - changes for displaying multi-column - characters in a proportional font (report by Chris Jones). - - <li>add new resource forcePackedFont and menu entry "Packed Font" to - control whether to use the font's minimum (default) or maximum - width when those differ. The workaround which xterm uses to - accommodate proportional fonts is not necessary with certain - fonts such as unifont which happen to store a mixture of - multicolumn glyphs (report by Chris Jones). - - <li>fix an (old) bug which did not restart the timer for blinking text - if the only blinking text was temporarily scrolled out of view, - e.g., using the scrollbar. - - <li>fix an (old) flaw in the delete-line operation where the text which - is scrolled into view while the display is scrolled up was not - repainted. - - <li>improve delete-line and insert-line operations, retaining selection - when the selection does not intersect the deleted/inserted lines. - - <li>fix an (old) off-by-one error when an application cleared above the - cursor position while the display was scrolled up, that would leave - an extra line of text uncleared. - - <li>fix a similar problem where the double-size attribute would not be - reset when clearing the screen while the display was scrolled up. - - <li>fix an indexing error which would occur if an application cleared - a line while the display was scrolled up and was also in UTF-8 mode - (Redhat #524503). - The error was from <a href="#xterm_228">patch #228</a> - but more visible after - changes from <a href="#xterm_244">patch #244</a>. -</ul> - -<H1><A NAME="xterm_248">Patch #248 - 2009/9/11</A></H1> -<ul> - <li>fix an overlooked adjustment for selecting double-width characters - in the narrow-character configuration. - - <li>eliminate uses of <code>XTERM_CELL</code> and - <code>XTERM_CELLC</code> where an appropriate <code>LineData</code> - pointer is available. - - <li>correct expression in <code>okScrnRow</code> macro, making - selections give the length of lines below the visible screen - (report by Stuart Henderson). - - <li>correct logic used to improve performance of missing-glyph check, - which did not handle line-drawing characters (Debian #545220). -</ul> - -<H1><A NAME="xterm_247">Patch #247 - 2009/8/30</A></H1> -<ul> - <li>add ifdef's and check for openpty() on DragonFly (patch by - Alex Hornung). - - <li>correct calculation for size of line's data block, which was - sometimes off-by-one when configured - using <code>--enable-16bit-chars</code> - (report by H Merijn Brand). - - <li>fix indexing error in print-everything feature from - <a href="#xterm_246">patch #246</a> (patch by Ovidiu Gheorghioiu). -</ul> - -<H1><A NAME="xterm_246">Patch #246 - 2009/8/16</A></H1> -<ul> - <li>remove obsolete logic for saving/restoring wrapping flags, which - did not work on 64-bit platform. Wrapping flags (stored in the - line-index) are now copied with line-data (Debian #541160). - - <li>modify comments in app-defaults files to avoid problem with - C preprocessor used by <code>xrdb</code> (Debian #541603). - - <li>restore special case in <code>makeColorPair</code>, - needed for <code>colorBDMode</code> resource (Debian #541089). - - <li>correct <code>SetLineFlags()</code> macro, broken in - <a href="#xterm_244">patch #244</a> - when recoding to avoid gcc-specific bitfields (Debian #541236). - - <li>modify initialization of screen buffers to ensure that pointers - align to int-boundaries. - This fixes a problem introduced in - <a href="#xterm_244">patch #244</a> - where the color- and character-arrays - (stored after the video-attributes in each row) - might be misaligned (report by Rajeev V Pillai). - - <li>add limit-check in <code>ScrnRefresh</code> for handling - saved-lines from the circular buffer which are repainted on a - screen whose width has increased. To improve performance, circular - buffer entries are not resized (report by Rajeev V Pillai). - - <li>correct type for <code>CellColor</code> (a late change in - <a href="#xterm_244">patch #244</a> - to avoid gcc-specifc enums made that unsigned - rather than unsigned short, for the 256-color option). - - <li>fix typo in configure option --enable-16bit-chars (report by - Rajeev V. Pillai). -</ul> - -<H1><A NAME="xterm_245">Patch #245 - 2009/8/12</A></H1> -<ul> - <li>correct a special case in saving FIFO-lines from - <a href="#xterm_244">patch #244</a>. - If the screen was shrunk, xterm used the wrong amount for copying - to FIFO-lines, and then used this amount to adjust the current - row on the screen. That was both a visible defect (Debian #541109) - as well as a potential addressing error (Debian #541132, #541160, - and #541236). - - <li>add clarification in xterm manual about the - various <code>allow<em>XXX</em>Ops</code> resources, which - are disabled when the - <code>allowSendEvents</code> resource is active (patch by - Julien Cristau, Debian #531597). -</ul> - -<H1><A NAME="xterm_244">Patch #244 - 2009/8/9</A></H1> -<ul> - <li>refactored storage of saved-lines, providing a configure option - to manage them as a FIFO (actually a circular buffer), improving - performance. - Added configure option <code>--enable-fifo-lines</code> to - enable/disable the new feature (it is enabled by default). - - <li>added <code>fastScroll</code> resource, to amuse - people who measure terminal emulator performance by - <code>cat</code>'ing large files to the screen. - - <li>modify check in <code>readPtyData</code> from return values - to provide exit on zero-bytes read from pty for FreeBSD, or - eliminate high-CPU in "xterm-hold" processing - (discussion with Ulrich Spoerlein, FreeBSD ports/136686). - The check was originally modified to combine negative/zero - values in XFree86-3.1.2E, 1996/05/06. - - <li>add configure option <code>--enable-16bit-chars</code> to - provide wide-characters with 16-bits (rather than the default - 32-bits). - - <li>add <code>retryInputMethod</code> resource to allow configuring - out the retries xterm uses to connect to non-responsive XIM - server, to work around defective X configurations as noted in - <a href="http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html">NetBSD mailing list</a>. - - <li>make regular-expression selection work for VT100 double-sized - characters. - - <li>improve layout when drawing missing characters in a proportional - font, e.g., as boxes, to take into account whether they are - double-width (report by Guilbert Stabilo on comp.unix.shell). - - <li>add capability for keypad-center (kb2/KA2) to termcap entry for - xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 - (FreeBSD conf/136336). - - <li>change default for <code>keepSelection</code> resource to true - (prompted by discussion with David Muir Sharnoff). - - <li>remove a limit-check in ptydata.c, allowing Unicode values past - 64k to be displayed using TrueType fonts (Debian #458432). - - <li>remove a vt52-specific ifdef to allow mapping F1-F4 to PF1-PF4 - when vt52 support is not compiled (report by Olaf 'Rhialto' - Seibert). - - <li>save/restore line-wrapping flags when converting from ISO-8859-1 - encoding to UTF-8 encoding, as well as when resizing screen. - - <li>remove extra adjustment of position in fix for Debian #418324. - - <li>modify default check for <code>mkWidth</code> resource to check - for line-drawing characters, which are categorized as double-width - in Solaris 10 (report by Sebastian Kayser). - - <li>add "print-everything" action (patch by Ovidiu Gheorghioiu). - - <li>start refactoring scrollback data using new getLineData() function. - - <li>demote recent change to Debian #252873 fix to experimental, - ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141). - - <li>work around groff mapping of ASCII quotes using macros (requested - by Reuben Thomas based on Colin Watson advice, fixes Debian #378700). - - <li>correct symbol used for default of <code>allowWindowOps</code> - which was <code>DEF_ALLOW_FONT</code> - rather than <code>DEF_ALLOW_WINDOW</code> - (report by Matthieu Herrb). - - <li>amend fix for tek4014 from <a href="#xterm_243">patch #243</a> - to make it only apply to the Tek Options menu. -</ul> - -<H1><A NAME="xterm_243">Patch #243 - 2009/3/28</A></H1> -<ul> - <li>revert change to default for <code>allowTcapOps</code> (request by - Bram Moolenaar). - - <li>reallocate result returned by <code>xtermEnvLocale()</code> to - avoid reference to freed memory after handling - <code>menuLocale</code> resource. - - <li>fix an old (X11R5) bug in tek4014 for switching fontsizes. - - <li>add resource <code>defaultString</code> to make configurable the - use of "#" when pastes of UTF-8 text fail due to limitations in - the current locale settings. - - <li>make the set of selection target Atom's configurable by two new - resources <code>eightBitSelectTypes</code> and - <code>utf8SelectTypes</code>, e.g., to use the <code>TEXT</code> - Atom in preference to <code>UTF8_STRING</code> (discussion with - Stanislav Sedov regarding koi8rxterm and the FreeBSD port). - - <li>modify handling of <code>TARGETS</code> Atom by making it return - exactly the set of targets as those which xterm is currently - providing. - - <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly to - /bin/cat in <code>minstall.sh</code> to work around /etc/man.conf's - with those variables already set - (report by Марьясин - Семён). - <li>improve error-checking of tcap-query parser. - - <li>add check for keyboard <code>tcap</code>), which ensures that - terminal descriptions containing the same string for - shifted/unshifted keys will be seen by tcap-query as only the - unshifted key. (This would only happen with an incorrect terminal - description). - - <li>fix conversion for input event-state to modifier-parameter which - made tcap-query feature not work with <code>tcapFunctionKeys</code> - (keyboard type <code>tcap</code>). + <li><a href="#xterm_225">Patch #225 - 2007/3/24</a></li> - <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow - overriding the default compiled-in values for - "allow<em>xxx</em>" resources. - - <li>remove check on bell-percentage added in - <a href="#xterm_242">patch #242</a>, - which disallowed zero/negative values (Redhat Bugzilla #487829). -</ul> - -<H1><A NAME="xterm_242">Patch #242 - 2009/2/15</A></H1> -<ul> - <li>fix configure check for <code>XkbBell</code> and provide - appropriate parameter for it. - - <li>fix a caching problem with double-size fonts versus reverse video - that could cause core dump. - - <li>repair double-size fonts from workaround - used in <a href="#xterm_240">patch #240</a>. - - <li>add new section to the VT Fonts menu which allows enabling or - disabling the font, termcap (tcap-query), title and window - operations. - - <li>add <code>fontWarnings</code> resource, to control whether to show - warnings on failure to load a font. - - <li>improve warnings for unloadable fonts introduced in - <a href="#xterm_240">patch #240</a> - by limiting those to the cases where a font would be specified - directly by a resource setting rather than a derived fontname. - - <li>further amend fix for Debian #252873 - from <a href="#xterm_197">patch #197</a> to - treat a blank cell which does not have both foreground and background - colored as a non-colored cell. - This improves a special case where the cursor is on a blank - cell which had foreground color scrolled in - (report by Miroslav Lichvar). - <p> - Also add the same logic when hiding cursor, so the outline matches - the in-focus cursor. - - <li>modify internals to reduce places PAIRED_CHARS() is used, making - WriteText() and ScrnWriteText() accept IChar array, as well as - providing a wrapper for drawXtermText(). - - <li>change default XIM font from "*" to "fixed" to improve startup - time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930). - - <li>typo in #240 log (Slava Semushin) -</ul> - -<H1><A NAME="xterm_241">Patch #241 - 2009/1/26</A></H1> -<ul> - <li>improve checks for missing bitmap fonts, fallback to "fixed" as - needed to work around broken font-packages (report by Jacek - Luczak). - - <li>fix breakage from <a href="#xterm_240">patch #240</a> changes for - <code>xtermAddInput()</code> (patches by Jeff Chua, Julien Cristau). -</ul> - -<H1><A NAME="xterm_240">Patch #240 - 2009/1/25</A></H1> -<ul> - <li>use <code>plink.sh</code> for linking xterm (suggested by Larry - Doolittle). - - <li>add resource descriptions for input method to xterm manpage. - - <li>update configure script; consistently append to $CFLAGS rather - than prepend. - - <li>add <code>install-scripts</code> rule to makefile, to allow - koi8rxterm and uxterm scripts to be altered independently of - <code>install-bin</code> - - <li>add <code>-maximized</code> command-line option and corresponding - resource (prompted by alt.os.linux newsgroup comment). - - <li>modify translations of scrollbar widget using - <code>xtermAddInput()</code> - (see <a href="#xterm_181">patch #181</a>) to accept the actions - that the vt100 widget accepts, such as shift-insert to perform - a paste operation (request by Martin Zwickel). - - <li>change default for <code>allowTcapsOps</code> resource to false, - since it causes unexpected behavior for vim users with - <code>AltGr</code>. - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_239">Patch #239 - 2009/1/8</A></H1> -<ul> - <li>correct a cast in input.c, which broke translation of numeric - keypad codes to pageup, pagedown, etc., on 64-bit platform - (Debian #511138, report by Larry Doolittle). -</ul> - -<H1><A NAME="xterm_238">Patch #238 - 2008/12/30</A></H1> -<ul> - <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint - platforms. - - <li>reset the screen wrapping-flag at the end of - <code>ClearRight</code> to fix an occasional case where the last - character of a scrolled and wrapped line would be cleared (patch by - Joe Peterson). - - <li>modify to use POSIX coding for comparing resource settings such - as <code>locale</code>, to work with locales such as Turkish - (report by M Vefa Bicakci). - - <li>turn on configure <code>paste64</code> feature by default - (request by Jean-Philippe Bernardy). - It is runtime enabled/disabled with <code>allowWindowOps</code>. - - <li>turn on configure <code>tcap-query</code> feature by default, - add resource <code>allowTcapOps</code> - to make this runtime enabled/disabled. - - <li>make <code>OSC 3</code> (change X property, from - <a href="#xterm_110">patch #110</a>) - subject to <code>allowWindowOps</code> resource. - - <li>make VT220 <code>DSR</code> responses inactive in VT100-mode. - - <li>make <code>DECUDK</code> feature inactive in VT100-mode. - - <li>respond to incorrectly formatted <code>DECRQSS</code> with a - cancel. - - <li>add <code>allowFontOps</code> - resource to allow the fontsize-switching and font query/set - control sequences to be enabled/disabled - (prompted by Debian #510030). - - <li>some code cleanup based on gcc 4.x <code>-Wconversion</code> - warnings in button.c and charproc.c - - <li>modify <code>tcap-query</code> feature to not return data for - shifted cursor-keys when the keyboard type is set to vt220, - since returning the same string for shifted/unshifted keys may - confuse some applications (GenToo #212546). -</ul> - -<H1><A NAME="xterm_237">Patch #237 - 2008/09/14</A></H1> -<ul> - <li>improve usability of TrueType fonts by making the font-size - switching for shifted keypad plus/minus use the - <code>faceSize</code> resources to determine the order of fonts - (when TrueType fonts are used) rather than the bitmap fonts, since - their sizes may not be in the same order (report by H Merijn - Brand) - - <li>remove an optimization of <code>ConfigureNotify</code> events - from <a href="#xterm_236">patch #236</a> - which seems to interfere with passing <code>SIGWINCH</code> to - applications (GenToo #233836). - - <li>modify handling of <code>altSendsEscape</code> to reset the - <code>eightBitInput</code> mode, like <code>metaSendsEscape</code> - (patch by Ted Phelps). - - <li>add feature to show the text-cursor as an underline rather than a - box, plus command-line options <code>-uc</code> and - <code>+uc</code> and resource <code>cursorUnderLine</code> to - control the feature (patch by Paul Lampert). - - <li>update config.guess, config.sub -</ul> -<H1><A NAME="xterm_236">Patch #236 - 2008/07/27</A></H1> -<ul> - <li>correct memory reallocation when handling a paste of UTF-8 text - from <a href="#xterm_225">patch #225</a> changes - (report/patch by Max Mikhanosha). - - <li>correct allocation of temporary buffer in - <code>xtermFindShell</code> in case the user's <code>$PATH</code> - contains no ":" (report/analysis by Victor Stinner, - Freedesktop.Org Bugzilla #16790). - - <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix - new compile problem exposed by fix for fd_mask (patch by - Hasso Tepper). - - <li>add configure-check for ncurses <code>use_extended_names</code>, - (report by Martin Mokrejs). - - <li>correct computation for toolbar height; layout manager already - takes into account <code>borderWidth</code> resource. - - <li>implement VT320-style SCS (select character set) for ISO Latin-1 - supplemental. - - <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919). - - <li>fix to make <code>luit</code> work with xterm's <code>-ls</code> - option (report/patch by Marius Tolzmann). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_235">Patch #235 - 2008/04/20</A></H1> -<ul> - <li>add control sequences for some of the recent resource/menu - settings: - <ul> - <li><code>altSendsEscape</code> (private mode 1039) - <li><code>keepSelection</code> (private mode 1040) - <li><code>selectToClipboard</code> (private mode 1041) - <li><code>bellIsUrgent</code> (private mode 1042) - <li><code>popOnBell</code> (private mode 1043) - </ul> - - <li>add resource <code>formatOtherKeys</code> to provide an alternate - escape sequence format for the <code>modifyOtherKeys</code> - resource (request by Paul LeoNerd Evans). - - <li>adjust saved-cursor position if the window is resized while - displaying the alternate screen (Novell #196880, Debian #383384). - - <li>improve pointer-checks to fix a bug exposed by resizing during - initialization under StumpWM window manager - (Fedora Bugzilla #437928). - - <li>modify <code>unselectwindow()</code> to ensure that the mouse - pointer is not hidden after xterm loses focus (report by Jeremy - Huddleston). - - <li>add special check for fd_mask on Mac OS X (report by Jeremy - Huddleston). - - <li>add <code>dylib</code> to autoconf's suffix list used for checking - the result from <code>xmkmf</code>, to work with Mac OS X (report - by Jeremy Huddleston). - - <li>correct initialization of bold- and wide-, wide-bold fonts which - may be set via the <code>utf8Fonts</code> subresource (Debian - #347790). -</ul> - -<H1><A NAME="xterm_234">Patch #234 - 2008/03/02</A></H1> -<ul> - <li>modify <code>sinstall.sh</code> to use POSIX locale to - bypass GNU ls changes to date-format. - - <li>improved/refined changes for closing bitmap font (patch by - Andrea Odetti). - - <li>improve resize computation for situations where the negotiation - fails, by invoking the xterm widget's core-class resize method - (Debian #365602, patch by Jim Paris). - - <li>restore initialization of terminal's <code>VMIN</code> and - <code>VTIME</code> settings, - from <a href="#xterm_232">patch #232</a> changes - (patch by Matthieu Herrb). -</ul> - -<H1><A NAME="xterm_233">Patch #233 - 2008/02/24</A></H1> -<ul> - <li>add configure check for <code>ttydefaults.h</code>, include if - needed, e.g., for systems where defining - <code>_POSIX_C_SOURCE</code>, etc., - prevents it from being included via - <code>termios.h</code> (prompted by comments by Robert Delius Royar - and Jeremy Huddleston). - - <li>bug-fixes for bugs.opensolaris.org (patches from Alan Coopersmith) - <dl> - <dt>4029911 - <dd>fix a typo in manpage - <dt>4045962 - <dd>xterm doesn't properly set ut_syslen - <dt>4192572 - <dd>left-left-right misinterpreted as triple click - </dl> - - <li>minor optimization to tab-initialization (patch by - Németh Márton). - - <li>fix a case where an incorrect font was freed during initialization - from <a href="#xterm_232">patch #232</a> changes (patch by - Andrea Odetti). - - <li>improve comparison used in <code>SameFont</code> function for - GC-caching (Julien Cristau). - - <li>correct macro name used for default <code>CKILL</code> definition - to work with Mac OS X (report by Jeremy Huddleston). -</ul> - -<H1><A NAME="xterm_232">Patch #232 - 2008/01/30</A></H1> -<ul> - <li>corrected logic in a font-cache used for reverse-video (Debian - #404079). - - <li>add control sequence to alter <code>pointerMode</code> at runtime. - - <li>add limit-checks for rectangle operation parameters (report by - Martin Pirker). - - <li>modify <code>minstall.sh</code> to suppress <code>$MANPAGER</code> - and <code>$PAGER</code> environment variables, which may interfere - with redirecting output of <code>man</code> to a shell variable - (report/patch by Zdenek Sekera). - - <li>do not try to hide mouse pointer in the tek4014 window, fixes - broken "-t" option at startup from - <a href="#xterm_230">patch #230</a> changes - (report by Robert K. Nelson). - - <li>correct datatype used when drawing tek4014 data using xterm - compiled for wide-characters, on big-endian machines (reports - by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle - Reinhart). - - <li>modify to cache the font-names along with the bitmap font data, - to improve comparison of fonts. - - <li>modify to allow building with configure options - <code>--disable-ansi-color</code> and - <code>--disable-leaks</code> (Debian #459817, report/patch by Németh Márton). - - <li>modify to allow building with configure options - <code>--enable-wide-chars</code> and - <code>--disable-c1-print</code> (Debian #459816, report/patch by Németh Márton). - - <li>add <code>pointerMode</code> resource to control whether and - when the pointer cursor is hidden as the user types. - - <li>simplify initialization of ttyMode- and related characters using - a table. - - <li>modify initialization-logic for stty values that correspond to - ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt - flush, werase, lnext). These were reset to constants for both - termios and legacy interfaces immediately after asking the system - for the existing values since X11R6.1, rather than using them to - provide inherited values. While the legacy interface has some - constraints, e.g., on HPUX, the POSIX or termios interface should - not. Your shell may reset these anyway - (prompted by patch by Ed Schouten). - - <li>improve logic for hiding/displaying pointer-cursor (report by - Mark Brukhartz). - - <li>add limit-checks to tabs.c, increase maximum column for setting - tab-stops from 320 to 1024 (report by Németh Márton). - - <li>correct length, i.e., number of types of selection targets, - computed by <code>ConvertSelection()</code> when not handling - wide characters for the <code>XA_TARGETS()</code> case. - This leaves an extra Atom on the end of the list which is - not handled by - <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java applications</a>. - The problem was introduced in <a href="#xterm_151">patch #151</a> - (report by David Wood). -</ul> - -<H1><A NAME="xterm_231">Patch #231 - 2008/01/05</A></H1> -<ul> - <li>undo change to <code>getXtermCell()</code> from patch #230 - using <code>PACK_PAIR</code> macro (Debian #459014, analysis by - Caetano Jimenez Carezzato). - - <li>minor documentation fixes (patch by Slava Semushin) + <li><a href="#xterm_224">Patch #224 - 2007/2/11</a></li> - <li>add makefile actions to install KOI8RXTerm app-defaults file - (patch by Julien Cristau). -</ul> - -<H1><A NAME="xterm_230">Patch #230 - 2007/12/31</A></H1> -<ul> - <li>add <code>quietGrab</code> resource, which when true, suppresses - cursor repainting when <code>NotifyGrab</code> and - <code>NotifyUngrab</code> event types are received during - change of focus (request by Nicolas George). - - <li>do not treat Unicode BIDI control characters as combining - characters (Debian #457634). - - <li>add <code>koi8rxterm</code>, from Debian. - - <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu #128136, - Debian #438645) - - <li>remove ".xpm" suffixes from Icon filenames in desktop files since - it confuses some lookups following the - <a href="http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html">Icon Theme Specification</a> - (report by Slava Semushin) - - <li>correct width-calculation used for adjusting proportional fonts, - to work with wide-characters (Debian #441354). - - <li>fixes/improvements for double-size characters: - <ul> - <li>correct old clipping calculation which used total height of - glyphs where ascent was needed. - - <li>if bold font is unavailable, fall back to normal font - - <li>adjust to "work" with Xft (which does not support double-width - single-height characters). - - <li>restore reset of doublesize for a line when it is cleared, - broken in <a href="#xterm_228">patch #228</a>. - </ul> - - <li>modify logic for <code>forceBoxChars</code> resource when using - TrueType fonts to be consistent with bitmap fonts - - <li>modify logic for <code>forceBoxChars</code> resource to make the - "Line-Drawing Characters" menu entry use xterm's line-drawing - characters even asked to draw wide line-drawing characters which - are available in the font. - - <li>modify rectangle-support functions to preserve colors when - filling/erasing to match WRQ Reflection behavior - (request by Enzo Toscano). - - <li>add getopt-parsing to tcapquery.pl, including feature to test the - extended cursor/editing keys. - - <li>make missing double-width glyphs display as double-width - (Debian #456236). - - <li>change <code>tcap-fkeys</code> and <code>rectangles</code> - configure options to enable them by default. - - <li>hide the mouse pointer while user is typing (request by Rodolfo - Borges). - - <li>extend configure options - <code>--enable-tcap-query</code> and - <code>--enable-tcap-fkeys</code> to - send cursor- and editing-keypad keys modified according to the - keyboard (or termcap) selection for shift, alt, control, meta. - - <li>modify <code>kdch1</code> in termcap, e.g., <code>xterm-r6</code> - to match the terminfo file. - - <li>add <code>-hm</code> option to turn <code>highlightColorMode</code> - on or off. - - <li>add <code>highlightColorMode</code> resource to separate the - new (since <a href="#xterm_225">patch #225</a>) highlighting with both text- and - background-colors (prompted by report/example by Thomas Wolff). - - <li>add <em>Keep Selection</em> menu entry to turn the - <code>keepSelection</code> resource on/off at runtime. - - <li>add <code>keepSelection</code> resource, which when enabled, - tells xterm to retain the X selection even after it stops - highlighting it (patch by Sergey Vlasov). - - <li>extend the <code>CSI > n</code> sequence to allow - disabling all types of modified-keys that the - <code>CSI > m</code> sequence affects. - - <li>move include for <code><xtermcap.h></code> in - <code>resize.c</code> to avoid redefinition of <code>termios</code> - structure on OpenSolaris (report by Rahul Gopinathan Nair). - - <li>extend terminfo building blocks for modified editing keys to - include all six keys. - - <li>synchronize terminfo with ncurses (report by Stephane Chazelas) - <ul> - <li>equate <code>xterm-xfree86</code> - and <code>xterm-xf86-v44</code>. - <li>add ncurses extensions OTbs, AX, for termcap conversions. - <li>make old/legacy entries such as - <code>xterm-24</code>, <code>xterm-65</code> - and aliases <code>xterms</code>, <code>vs100</code> - inherit from <code>xterm-old</code>. - <li>make <code>xterm-r5</code> and <code>xterm-r6</code> the - same, ignoring historical errors in X Consortium's version. - </ul> - - <li>fix an ifdef in logic for selecting regular - expressions while in a narrow-character locale (Debian #449227). -</ul> - -<H1><A NAME="xterm_229">Patch #229 - 2007/8/12</A></H1> -<ul> - <li>override locale in minstall.sh; - change in <a href="#xterm_226">patch #226</a> - does not work in UTF-8 locale (report by Zdenek Sekera). - - <li>undo an incorrect fix for a memory leak - in <a href="#xterm_209">patch #209</a> (Debian #435858). -</ul> - -<H1><A NAME="xterm_228">Patch #228 - 2007/7/22</A></H1> -<ul> - <li>modify configure script to permit combining - <code>--with-utempter</code> - and <code>--enable-setuid</code>, e.g., for using xterm with - the utempter library on FreeBSD (report by Andriy Gapon). - - <li>modify "Quit" menu entry to override the <code>-hold</code> - command-line option. - - <li>add a check in the startup error-reporting to avoid writing to - pipe when it has not been opened. In that case, report errors - directly to the standard error. - - <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in - <a href="#xterm_205">patch #205</a> - (report by Kalle Olavi Niemitalo). - - <li>modify <code>88colors2.pl</code> and <code>256colors2.pl</code>, - adding <code>-r</code> - option to reverse the palettes for the extended colors. - - <li>check for partial overwrite or deletion of multi-column characters - in several cases, e.g., insert-character, delete-character, - etc., - and fill the remainder of the cells used by the multi-column - characters affected with blanks. - - <li>correct character-class codes in wide-character mode for characters - 215, 247 (see also <a href="#xterm_165">patch #165</a>). - - <li>fix missing assignment for UTF-8 parsing in widget initialization - (Debian #403360). - - <li>correct index expression used to set line-wrapping flag, making - selection from scrollback work consistently (Debian #430121, - report by Vincent Lefevre). - - <li>amend changes to handshake in - <a href="#xterm_226">patch #226</a> - to accommodate Solaris, which relies on the extra setting of - the terminal size after I/O initialization. - Do this by adding new resource <code>ptySttySize</code>, - which is false for Linux and MacOS X, i.e., true for - for Solaris and other SVR4 platforms, as well as FreeBSD - (reports by David Wood, Renato Botelho). - - <li>check for X events after cursor-left, and carriage return, - consistent with indexing operations - (comments by Vegard Nossum and Ingo Molnar on a mailing-list). - - <li>initialize the <code>.keyboard</code> structure, - needed for some platforms (such as Solaris) after - <a href="#xterm_227">patch #227</a> fixes for keysyms - (patch by David Wood). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_227">Patch #227 - 2007/6/27</A></H1> -<ul> - <li>exclude the Intel compiler from the extra gcc warning options - added in - <a href="#xterm_226">patch #226</a>. - - <li>modify change for Debian #422521 - from <a href="#xterm_226">patch #226</a> - to work with configurations where the X server does not - recognize - the <code>XF86Paste</code> - or <code>SunPaste</code> keysyms (report by Paolo Pumilia). - - <li>fix incorrect free in fix for "Selection" menu entry in - <a href="#xterm_226">patch #226</a>. -</ul> - -<H1><A NAME="xterm_226">Patch #226 - 2007/6/17</A></H1> -<ul> - <li>add configure check to use <code>-Wno-unknown-pragmas</code> for - Solaris, and a few other new gcc warning options to address - regressions in its warning options. - - <li>add sample desktop and icon files, along with configure options for - manipulating them. - - <li>fix an infinite loop when showing a 2-column character in a - 1-column screen (Debian #426863). - - <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the - default translations (Debian #422521, patch by Bernhard R Link). - - <li>update wcwidth.c (partly based on/prompted by mailing list - comment). - - <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and Xorg - 7.1 keysymdef.h file. - - <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of the - building-block terminfo entries used by xterm. - - <li>correct strings used for modifiers applied to F1-F4 in xterm+pcf1 - terminfo entry. - - <li>improve session management by adding the ICE connection number - to the <code>select</code> call rather than waking up once per - second (patch by Miroslav Lichvar). - - <li>add environment variable <code>$XTERM_LOCALE</code> to help - with shell initialization, e.g., to set a specific locale for - xterm on systems where a global locale is set in the shell - startup scripts. - - <li>add resource settings <code>mkSampleSize</code> and - <code>mkSamplePass</code> - to modify the <code>mkWidth</code> added - in <a href="#xterm_201">patch #201</a>. - In <a href="#xterm_202">patch #202</a>, - xterm would also check if the system's - <code>wcwidth</code> matched its built-in tables - "well enough" to be used when <code>mkWidth</code> was false, - and if not would use the built-in tables anyway. - These resources allow the user to customize the decision - (prompted by comments by Emanuele Giaquinta) - - <li>modify logic which resets/updates the screensize on the child - process side of the pseudo-terminal to do this only if a - successful handshake was received, e.g., as determined by - the <code>waitForMap</code> resource (prompted by reports - by Emanuele Giaquinta and Bernhard R Link, but see also - <a href="#xterm_177">patch #177</a> and - <a href="#xterm_159">patch #159</a>. - - <li>improve permissions logic when closing pseudo-terminal - (Debian #12261, - patch by Nathanael Nerode, - analysis by Richard Braakman). - - <li>add resource <code>highlightReverse</code> which controls whether - xterm will allow selection highlighting to hide reverse-video - or use the older behavior which inverts the foreground and - background colors when selected text with reverse-video attribute - (report by Adam M Costello, comments by Victor Vaile). - - <li>restore a special case for cursor-color in - <code>ReverseVideo()</code> - lost in rewrite for <a href="#xterm_224">patch #224</a> - (report by Adam Sulmicki). - - <li>correct initialization for menu entry for <code>bellIsUrgent</code> - (patch by Emanuele Giaquinta). - - <li>correct length of underlining for double-width Xft fonts - (report by Shidai Liu "Leo"). - - <li>correct clipping for double-width Xft fonts - (report by Shidai Liu "Leo"). - - <li>modify initialization for <code>italicULMode</code> to avoid - <code>XftPatternBuild</code> reusing bold attributes - (report by Shidai Liu "Leo"). - - <li>add a check in case someone tries to call the - <code>popup-menu()</code> action on a menu which is not initialized - (Debian #426364). - - <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by Peter - Bray). - - <li>improve guess for X's manpage section in <code>minstall.sh</code>, - (prompted by comment by Miroslav Lichvar). - - <li>modify <code>minstall.sh</code> to handle manpage patch with more - than one dot (patch by Miroslav Lichvar). - - <li>fix configure message for --disable-setgid option (patch by - Miroslav Lichvar). - - <li>add <code>allowTitleOps</code> resource to allow users to prevent - the title- and icon-names from changing (request by John Bashinski). - - <li>fix "spawn-new-terminal" action, for the case where no parameter - is passed to the action (patch by Daniel Colascione). - - <li>fix error-checking on internal font switching for "Selection" - menu entry (Debian #421523). - - <li>amend select/paste change from - <a href="#xterm_225">patch #225</a> - by limiting it to non-UTF-8/non-KOI8-R encoding (Debian #420974). - - <li>add workaround for groff ".URL" codes which are not present in - some commonly-used bitmap fonts (Debian #418324). -</ul> - -<H1><A NAME="xterm_225">Patch #225 - 2007/3/24</A></H1> -<ul> - <li>add <code>useClipping</code> resource to allow clipping to be - disabled. - - <li>use <code>XftDrawSetClipRectangles</code> - to work around Xft pixel-trash (report by Reuben Thomas). - - <li>add configure option <code>--enable-tcap-fkeys</code>, and - resource <code>tcapFunctionKeys</code>, which can be used - to tell xterm to use function-key definitions from the termcap - (or terminfo) which it uses to set $TERM on startup. - - <li>add resources <code>altIsNotMeta</code> and - <code>altSendsEscape</code> to allow one to use Alt-keys like the - meta-key even if they are bound to different keycodes (prompted by - discussion with Daniel Jacobowitz). - - <li>revert a change from <a href="#xterm_216">patch #216</a> - that unnecessarily made the meta modifier override - the <code>eightBitInput</code> resource if the alt- and - meta-modifiers happened to overlap - (report/patch by Daniel Jacobowitz). - - <li>correct associated font for active icon for colored text - (broken in <a href="#xterm_224">patch #224</a>). - - <li>correct ifdef's for Darwin (patch by Emanuele Giaquinta). - - <li>add <code>highlightTextColor</code> resource, and options - <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> - (adapted from patch by Victor Vaile). + <li><a href="#xterm_223">Patch #223 - 2006/11/30</a></li> - <li>revise <code>find_closest_color()</code> function to address - concern about borrowing from <code>Tcl/Tk</code> - (request by Dan McNichol). + <li><a href="#xterm_222">Patch #222 - 2006/10/17</a></li> - <li>add "spawn-new-terminal" action, which can be assigned to key - translation, allowing one to spawn a new copy of xterm using - the current process' working directory (adapted from patch - by Daniel Colascione). + <li><a href="#xterm_221">Patch #221 - 2006/10/1</a></li> - <li>improve select/paste between UTF-8 and Latin1 xterms by adapting - the translations from <a href="#xterm_185">patch #185</a>. - Extend that to include Unicode fullwidth forms FF00-FF5E. - Also modify select/paste of DEC line-drawing characters in - Latin1 mode to use ASCII characters. + <li><a href="#xterm_220">Patch #220 - 2006/9/10</a></li> - <li>add "Enable Bell Urgency" to VT Options menu, removed "Enable - Margin Bell". + <li><a href="#xterm_219">Patch #219 - 2006/9/4</a></li> - <li>add <code>bellIsUrgent</code> resource to control whether the - Urgency hint is set/reset. + <li><a href="#xterm_218">Patch #218 - 2006/8/27</a></li> - <li>modify to set Urgency window manager hint on bell, reset it on - Focus-In event (patch by Emanuele Giaquinta). + <li><a href="#xterm_217">Patch #217 - 2006/8/20</a></li> - <li>add <code>--disable-setgid</code> configure option (request by - Miroslav Lichvar). + <li><a href="#xterm_216">Patch #216 - 2006/8/3</a></li> - <li>fix a possible infinite loop in last change to - <code>dabbrev-expand()</code> (patch by Emanuele Giaquinta). + <li><a href="#xterm_215">Patch #215 - 2006/6/19 - XFree86 + 4.6.99.2</a></li> - <li>modify initialization to set the pty erase value if the - <code>erase</code> is set in the <code>ttyModes</code> resource. - This overrides the <code>ptyInitialErase</code> setting (request by - Lluís Batlle i Rossell). + <li><a href="#xterm_214">Patch #214 - 2006/6/18 - XFree86 + 4.6.99.2</a></li> - <li>add <code>initialFont</code> resource to xterm widget, like - tek-widget (Debian #299669). + <li><a href="#xterm_213">Patch #213 - 2006/4/30 - XFree86 + 4.5.99.905</a></li> - <li>amend change to <code>boldMode</code> from - <a href="#xterm_223">patch #223</a> for Debian #347790. - As noted in Debian #412599, that made xterm - no longer match the documented behavior. - Add new resource <code>alwaysBoldMode</code> - to allow overriding the comparison - between normal/bold fonts when deciding whether to use overstriking - to simulate bold fonts. + <li><a href="#xterm_212">Patch #212 - 2006/4/9 - XFree86 + 4.5.99.904</a></li> - <li>restore background color in ClearCurBackground(), omitted in - changes for <a href="#xterm_223">patch #223</a> (report by - Miroslav Lichvar). + <li><a href="#xterm_211">Patch #211 - 2006/3/19 - XFree86 + 4.5.99.902</a></li> - <li>correct logic for repainting double-width TrueType characters - (prompted by test-case for Novell #246573). - - <li>add a check to avoid trying to repeat a multibyte character - (report by Sami Farin). - - <li>modify parameter to <code>XftNameParse()</code> to select wide - face-name as needed, to make <code>-fd</code> option work (patch by - Mike Fabian, Novell #246573). - - <li>correct logic for mouse highlight tracking's abort sequence, - broken in a restructuring modification from - <a href="#xterm_224">patch #224</a> - (report by Thomas Wolff). - - <li>revert the simplification of blinking cursor, since that broke - the xor'ing introduced in <a href="#xterm_193">patch #193</a> - (report by Thomas Wolff). -</ul> - -<H1><A NAME="xterm_224">Patch #224 - 2007/2/11</A></H1> -<ul> - <li>simplify code for set/reset mode for blinking cursor - (patch by Emanuele Giaquinta). - - <li>modify <code>dabbrev-expand()</code> to restart after the last - match (patch by Emanuele Giaquinta). + <li><a href="#xterm_210">Patch #210 - 2006/3/12 - XFree86 + 4.5.99.902</a></li> - <li>add control sequences for enabling/disabling focus in/out event - reporting (request by Bram Moolenaar). - - <li>improve startup performance of menus by adding resource setting - <code>menuLocale</code> which can be set to override X's - lengthy initialization of fontsets - which are seldom used - for the <code>Xaw</code> popup menus (adapted from patch by - Dave Coffin). + <li><a href="#xterm_209">Patch #209 - 2006/2/12 - XFree86 + 4.5.99.22</a></li> - <li>modify do_precomposition() function and make-compose.sh to handle - 21-bit codes vs the 16-bit codes those were written for, and - fix a few mis-sorted codes - (patch by Thomas Wolff). + <li><a href="#xterm_208">Patch #208 - 2006/1/3 - XFree86 + 4.5.99.19</a></li> - <li>handle special case in <code>-cjk_width</code> - which unexpectedly caused a character's width to change when - a combining character - (patch by Thomas Wolff) - - <li>fix build for GNU/KFreeBSD (Debian #40111). + <li><a href="#xterm_207">Patch #207 - 2005/11/13 - XFree86 + 4.5.99.16</a></li> - <li>consolidate GC creation/updating into a single module to reduce GC - manipulation (prompted by Debian #389476, though a complete fix - would involve optimizing the scrolling behavior). - - <li>fix ifdef of xtermCellWidth(), which broke for a case without - TrueType and without wide-character support (report by Martin - Pirker). - - <li>undo a comparison in <code>handle_translated_exposure</code> which - did not work due to X server optimization. That caused the - inner border to be repainted with unexpected colors when handling - a repaint, e.g., after switching to/from another workspace - (Debian #401726, Redhat Bugzilla #223027). + <li><a href="#xterm_206">Patch #206 - 2005/11/3 - XFree86 + 4.5.99.15</a></li> - <li>allow <code>-cr</code> option to override cursor color when - <code>-ah</code> option is used (Debian #406502). + <li><a href="#xterm_205">Patch #205 - 2005/9/18 - XFree86 + 4.5.99.12</a></li> - <li>add a note in xterm's manpage explaining that the <code>-bw</code> - (or <code>-w</code>) option is only used by the window manager, - if at all (Debian #405043). + <li><a href="#xterm_204">Patch #204 - 2005/8/4 - XFree86 + 4.5.99.9</a></li> - <li>make <code>Selection</code> of <code>VT Fonts</code> work with - <code>selectToClipboard</code> resource. - - <li>correct length calculation for <code>Selection</code> entry of - <code>VT Fonts</code> menu, broken since it ignored the - actual selection length since X11R4. - - <li>fixes for fontsize changes with <code>-fa</code> option (Redhat - Bugzilla #222340). -</ul> - -<H1><A NAME="xterm_223">Patch #223 - 2006/11/30</A></H1> -<ul> - <li>add <code>--enable-rectangles</code> configure option (request by - Martin Pirker). - - <li>correct default value for <code>--with-symlink</code> configure - option. - - <li>fixes configure script macros that use <code>$X_EXTRA_LIBS</code>. - - <li>modify configure script to provide support for pre-package config - versions of Xft aka "FreeType". - - <li>add the Xaw scrollbar translations resource to the xterm manpage, - add an example showing how to change the mouse button assignments - (Debian #382225). - - <li>amend a change from <a href="#xterm_216">patch #216</a>, - which omitted modifiers for control, meta, etc., if they were - mixed with any other modifiers. The intent of the change was - to avoid confusion with - <code>XK_Mode_switch</code> - and <code>XK_ISO_Level3_Shift</code>; - the check is now done explicitly (report by Daniel Jacobowitz). - - <li>interpret a negative value for <code>modifyCursorKeys</code> - or <code>modifyFunctionKeys</code> resources to disable the - respective features (prompted by Novell #220728). - - <li>amend cell-width computation for FreeType from - <a href="#xterm_217">patch #217</a>, which did not work - for VT100 line-drawing characters (Debian #399638, GenToo #147111). - - <li>amend a change from <a href="#xterm_216">patch #216</a>, - which made alt-modifier on a cursor-key send a modifier parameter - (Novell #220728). - - <li>correct an off-by-one that made DECCRA not work (report/patch by - Martin Pirker). - - <li>revert an optimization in SGR_Foreground() and SGR_Background - from <a href="#xterm_209">patch #209</a> (Debian #347722, - analysis by Pierre Lombard). + <li><a href="#xterm_203">Patch #203 - 2005/7/6 - XFree86 + 4.5.99.7</a></li> - <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim Pope). - - <li>amend fix for <code>-iconic</code> in - <a href="#xterm_208">patch #208</a>, - which broke the positioning part of <code>-geom</code> with toolbar - configuration. - - <li>fix to prevent indexing error in regular expressions (patch - by Dennis Schneider). - - <li>fixes to make the internalBorder area not change color due to - reverseVideo and/or related exposure events. The latter was a very - old bug exposed in <a href="#xterm_196">patch #196</a> (report by - Neil Hoggarth, also Debian #397624). -</ul> - -<H1><A NAME="xterm_222">Patch #222 - 2006/10/17</A></H1> -<ul> - <li>minor optimization for recoloring cursor via dynamic colors. - - <li>fix a bug caused by restructuring of tek4014 widget (report by Paul - Schenkeveld) -</ul> - -<H1><A NAME="xterm_221">Patch #221 - 2006/10/1</A></H1> -<ul> - <li>fix for regular expressions: the code which converted the column - offset within a line did not check properly for the end of a line, - and if allowed to match the whole line, would select the beginning - of the following line. If the following line were empty, in turn - it would select from the next, etc. (report by Sean - Reifschneider). - - <li>minor optimization of color allocation to avoid repainting the - screen if the corresponding color had not been allocated. - - <li>fixes for vttests/256colors.pl (report by Egmont Koblinger). - - <li>add terminfo building block entries for modifiers of the 6-key - editing keypad. - - <li>fix for initialization of tek4014 which broke on QNX 6.1 -</ul> - -<H1><A NAME="xterm_220">Patch #220 - 2006/9/10</A></H1> -<ul> - <li>make "xterm -t -iconic" work as expected, i.e., start in tek4014 - mode, but iconified. -</ul> - -<H1><A NAME="xterm_219">Patch #219 - 2006/9/4</A></H1> -<ul> - <li>some internal restructuring to separate data for vt100 and tek4014 - widgets. - - <li>fix a few cases where form-events would be seen by the vt100 - widget when built with the toolbar configuration. -</ul> - -<H1><A NAME="xterm_218">Patch #218 - 2006/8/27</A></H1> -<ul> - <li>change behavior when encountering an illegal character in a title - string. Rather than reject the string, translate illegal - characters into "?" and use the string (requested by Thomas Wolff). - - <li>improve checks for nonprinting characters in title strings - (report by Samuel Thibault). - - <li>correct typo in menu labels, changing <code>print-redirect</code> - to <code>print-redir</code>, making it follow the manpage and - match the usage for the actions table (report by Samuel Thibault). - - <li>correct a typo that prevents building with some older systems such - as Solaris 2.6 (report by Julian Bridle). -</ul> - -<H1><A NAME="xterm_217">Patch #217 - 2006/8/20</A></H1> -<ul> - <li>minor improvements to FreeType font layout and drawing. - - <li>add a check in the ptyInitialErase logic to ensure that the - termcap was read (Redhat Bugzilla #201246). - - <li>limit changes for reverse-video from - <a href="#xterm_216">patch #216</a> to cases where the - reverse-video command-line option is used - (report by Zdenek Sekera). - - <li>correct bitmap-derived pointsizes for TrueType fonts; they should - be proportional to the square root of the area of the bitmap - fonts. - - <li>add resources to specify pointsize of TrueType fonts (request - by Reuben Thomas). - - <li>improve install of terminfo by filtering out harmless messages - related to extended capabilities. At the same time, use ncurses - tic to compile the extended capabilities if possible - (report by Zdenek Sekera). - - <li>update "xterm+pcfkeys" terminfo entry to correspond to - <a href="#xterm_216">patch #216</a>. -</ul> - -<H1><A NAME="xterm_216">Patch #216 - 2006/8/3</A></H1> -<ul> - <li>improve handling of <code>ConfigureNotify</code> events by checking - if there are further events in the queue which obsolete the current - one (adapted from rxvt 2.7.5). Only the normal normal - (non-toolbar) configuration is addressed in this patch. - - <li>several changes to terminfo: - <ul> - <li>incorporate some minor changes from ncurses to help keep these - synchronized: - <dl> - <dt>2005-02-26 - <dd>modify sgr/sgr0 in xterm-new to improve tgetent's derived "me". - <dt>2006-02-18 - <dd>remove ncv flag from xterm-16color - <dt>2006-06-24 - <dd>improve xterm-256color by combining the 16-color - setaf/setab strings with SGR 48, - and cancelling the setf/setb strings. - </dl> - <li>use extended function-key definitions for xterm-sun, xterm-sco - entries. - - <li>add terminfo building-blocks corresponding to the - <code>modifyFunctionKeys</code> - and <code>modifyCursorKeys</code> resources. - </ul> - - <li>ifdef'd Sun function-key feature to make it optional, like HP and - SCO. - - <li>extend table for termcap-query feature through F63, and updated - tcapquery.pl to match. - - <li>modify logic for function-key input processing to allow function - key numbers which are constructed by control- and shift-modifiers - to extend beyond X's hardcoded limit of 35. - - <li>add control sequence to set or reset the <code>eightBitInput</code> - resource. - - <li>change default resource <code>modifyFunctionKeys</code> to 2 - to avoid sending SS3 with parameters (report by Kalle Olavi Niemitalo). - - <li>add control sequences for setting and resetting the values of the - <code>modifyCursorKeys</code>, - <code>modifyFunctionKeys</code> and - <code>modifyOtherKeys</code> resources. - - <li>add <code>modifyFunctionKeys</code> resource like - <code>modifyCursorKeys</code>. - Setting this to zero allows one to use the control- and - shift-modifiers to construct function key strings, - for terminals using many function keys, - e.g., for <code>xterm-sun</code> or <code>xterm-sco</code>. - - <li>modify screen responses and function-key logic to reduce the - number of writes made, to make it less likely that an application - would read only part of a function-key in a read operation - (suggested by John E Urbanczyk). - - <li>add <code>combiningChars</code> resource, which allows the user to - specify the maximum number of combining characters that xterm will - store for each cell in wide-character mode (prompted by request by - Markus Kuhn to increase the limit from 2). - - <li>improve logic in <code>metaSendsEscape</code> in case the Alt- - and Meta-keys are mapped to different modifiers. That allows one - to use the Alt-key for shifting in the <code>eightBitInput</code> - and use a Meta-key modifier to prefix the result with an - <code><ESC></code>. - - <li>improve <code>modifyCursorKeys</code> logic to prevent it from - modifying codes where <code>eightBitInput</code> or - <code>metaSendsEscape</code> are set - (request by Dan Nicolaescu). - - <li>improve <code>modifyCursorKeys</code> logic to prevent it from - changing the user input when other modifiers such as AltGr are used - (report by Thomas Wolff). - - <li>extend <code>modifyCursorKeys</code> to include the numeric keypad - when in application mode. - - <li>improve <code>-reverse</code> (<code>-rv</code>) option - (patch by Jason Vas Dias, Redhat #189161). - - <li>workaround for color resources on Fedora-5 which made the toolbar - colors inconsistent. - - <li>corrected calls used for <code>--disable-setuid</code> option, - add debugging traces to help diagnose this area. - - <li>modify configure script to ensure that <code>USE_UTMP_SETGID</code> - is defined only if the check for POSIX saved-ids succeeds, or - corresponds to one of the BSD systems known to have a workable - <code>setegid</code> function. - - <li>extend configure check for POSIX saved-ids to include BSD systems - - <li>modify CF_SYSV configure macro to work with gcc on HPUX 10.20, - whose broken - <code><term.h></code> relies on including - <code><termios.h></code>. - - <li>change order of setuid/setgid ifdef checks in Imakefile to make - it simpler to produce a setgid install, allowing the latter to - override the former (prompted by an XFree86 commit). - - <li>adapt a fix for setgid support from subsequent XFree86 changes - (patch by Emanuele Giaquinta). - - <li>further improve setgid support (patches by Emanuele Giaquinta). -</ul> - -<H1><A NAME="xterm_215">Patch #215 - 2006/6/19 - XFree86 4.6.99.2</A></H1> -<ul> - <li>improve setgid support by exploiting the saved-ids feature on which - it relies (patch by Emanuele Giaquinta). - - <li>make the <code>modifyOtherKeys</code> resource disabled by default - since the intermediate setting altered some common bindings - (report by Emanuele Giaquinta). -</ul> - -<H1><A NAME="xterm_214">Patch #214 - 2006/6/18 - XFree86 4.6.99.2</A></H1> -<ul> - <li>modify makefile rule for ctlseqs.txt to strip backspace/overstrikes, - and add a copy of ctlseqs.txt to the source tarballs (requests by - Bram Moolenaar, Emanuele Giaquinta). - - <li>add <code>modifyOtherKeys</code> resource, analogous to the - <code>modifyCursorKeys</code> resource. This applies to keys that - normally would transmit nothing when a given modifier is applied - (request by Dan Nicolaescu). - - <li>add <code>default</code> to the acceptable values for the - <code>keyboardType</code> resource, allowing the <code>-kt</code> - command-line option to override app-defaults resource settings of - <code>sunKeyboard</code>, etc. - - <li>correct ifdef's for <code>XkbBell()</code> which used the header - file but not the corresponding function in - <a href="#xterm_175">patch #175</a> - (report by Zach Beane). - - <li>add xterm manpage to the <code>--with-symlink</code> logic. - - <li>regenerated configure script to omit some debugging artifacts of - the SIGWINCH test. - - <li>fix <code>install-man</code> rule in <code>Makefile.in</code> to - avoid including the <code>$(DESTDIR)</code> value in substitutions - made on the manpages (patch by Emanuele Giaquinta). - - <li>improved fix for cursor deallocation - (Redhat #186935, patch by Jason Vas Dias). - - <li>improve checks for setuid/setgid operation to accommodate limited - resource management in some kernels (GenToo #193238). - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_213">Patch #213 - 2006/4/30 - XFree86 4.5.99.905</A></H1> -<ul> - <li>minor optimization to cell layout; will use that to simplify some - logic and allow for more than two combining characters in another - patch. - - <li>add <code>utf8Latin1</code> resource to make optional the - feature from <a href="#xterm_209">patch #209</a> which - allowed ISO-8859-1 fonts to be used in cases - where a wide font was given. This would only - work for the special case where the user normally used Latin-1 - and wanted some wide characters (report by Rostislav Krasny). - - <li>add <code>utf8Title</code> resource to manpage (Novell #52655). - - <li>fix typo in table entry for <code>utf8Title</code> resource which - made it treated as an integer rather than boolean (patch by Mike - Fabian, Novell #52655). -</ul> - -<H1><A NAME="xterm_212">Patch #212 - 2006/4/9 - XFree86 4.5.99.904</A></H1> -<ul> - <li>improve description of <code>forceBoxChars</code> in manpage - (discussion with Joe Wells). - - <li>set checkmark for "Select To Clipboard" menu entry on startup, - from resource setting. - - <li>update manpage to note that <code>*customization:color</code> is - not needed, though it is useful (Redhat #188034). - - <li>add underscore to sample pattern for URL in <code>XTerm.ad</code> - (Redhat #188037). - - <li>modify install rule for manpage to use the configured app-defaults - directory (Redhat #188031). - - <li>add checks in <code>releaseCursorGCs()</code> to ensure GC's are - distinct, needed since memory leak changes for - <a href="#xterm_208">patch #208</a> - (Redhat #186935, patch by Jason Vas Dias). - - <li>modify <code>Imakefile</code> definitions to allow - <code>imake</code> to set <code>InstallXtermSetGID</code>. - Add symbol <code>InstGidFlags</code>. - - <li>add configure script check to ensure that SIGWINCH if defined even - when headers undefine this as a side-effect of - <code>_POSIX_C_SOURCE</code>, etc. - - <li>resync with XFree86 CVS - <ul> - <li>ifdef-out chmod of terminal device for OS/2 (XFree86 #1663, - Frank Giessler). - <li>move new <code>Imakefile</code> chunk which defines - <code>$(CSGIDFLAGS)</code> before DEFINES, - e.g., for IRIX64 (Marc La France). - </ul> -</ul> - -<H1><A NAME="xterm_211">Patch #211 - 2006/3/19 - XFree86 4.5.99.902</A></H1> -<ul> - <li>modify prefix/suffix transformation in makefile to make - <code>uxterm</code> install properly on Cygwin. - - <li>restore the sizeof-comparison for <code>struct lastlog</code> - added in <a href="#xterm_208">patch #208</a>, - rendered (mostly) obsolete in <a href="#xterm_210">patch #210</a>, - since an imake configuration can still turn that code on - (prompted by comment by David Dawes). - - <li>remove feature for <code>FreeBSDArchitecture</code> from - <code>Imakefile</code> which would install xterm using the - <code>utmp</code> group since a standard FreeBSD system has no such - group, though it would support this configuration. FreeBSD - packager uses the <code>configure</code> script, which can make the - appropriate check (prompted by comment by David Dawes). - - <li>fixes for gcc redefinition warnings when built using imake - (reports by David Dawes, Marc La France). -</ul> - -<H1><A NAME="xterm_210">Patch #210 - 2006/3/12 - XFree86 4.5.99.902</A></H1> -<ul> - <li>add configure check for workaround in - <a href="#xterm_208">patch #208</a> - for Solaris' inconsistent support for struct lastlog to quiet - compiler warnings - (prompted by David Dawes commit message for XFree86). - - <li>fixes for BASE64 selection manipulation, - e.g., ensure that the string - terminator is written after cut-buffer data (report by Joe Allen). - - <li>add vttests/paste64.pl script to test experimental option for - setting/getting selection data. - - <li>add some error-checking in fontutils.c - (prompted by David Dawes commit message for XFree86). - - <li>change xterm manpage to show the actual color resource names - <code>XtDefaultForeground</code> and - <code>XtDefaultBackground</code> rather than black and white - (prompted by discussion with Emanuele Giaquinta). - - <li>add <code>utf8Title</code> resource and menu entry, allowing the - user to control whether title strings are interpreted as ISO-8859-1 - or UTF-8 encoding (Novell #52655, #113206). - - <li>change order of ifdef's for utempter versus platforms in - <code>Imakefile</code> to ensure a proper value for - <code>InstallXtermSetGID</code> - (prompted by Marc La France commit message for XFree86). - - <li>update the cursor GCs when menu entry for reverse video is toggled. - (Redhat #183993). - - <li>a memory-leak fix for <code>set_cursor_gcs()</code> - in <a href="#xterm_208">patch #208</a> broke the - <code>-cm</code> option (Redhat #182382). -</ul> - -<H1><A NAME="xterm_209">Patch #209 - 2006/2/12 - XFree86 4.5.99.22</A></H1> -<ul> - <li>remove <code>setf</code> and <code>setb</code> from - <code>xterm-256color</code> terminfo entry to avoid issues with - applications that ignore the ANSI strings (report by Emanuele - Giaquinta). - - <li>remove obsolete references to "Xorg" to avoid confusion with - "X.org" (prompted by David Dawes commit message for XFree86). - - <li>improve initial layout performance for the toolbar configuration - by precalculating the height of the toolbar. - - <li>remove menu entry for "Enable Curses Emulation" (to make room for - "Select To Clipboard"). - - <li>add resource <code>selectToClipboard</code>, - action <code>set-select</code> and a menu entry to allow - users to switch between PRIMARY and CLIPBOARD for select/paste. - - <li>allow cursor to have the same color as foreground (text), since it - is rendered as reverse (Debian #350664). - - <li>amend change for loading <code>utf8Fonts</code> resource from <a - href="#xterm_204">patch #204</a> to allow an ISO-8859-1 "normal" - font to be combined with an ISO-10646 font if the latter is given - via the <code>-fw</code> option or its corresponding resource - value (prompted by comment in Novell #49305). - - <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for - <code>__GNU__</code> to set the controlling terminal (Debian - #348457). - - <li>add configure option <code>--disable-leaks</code>. - - <li>add a check in <code>Bell</code> to ensure that the VT100 widget - is realized, since it may be called by <code>xtermLoadFont</code> - given an incorrect font resource (Redhat #180450). - - <li>improve initialization of wide-bold font by not using the derived - value when it happens to have few glyphs (report by Mboso Sampson). + <li><a href="#xterm_202">Patch #202 - 2005/5/2 - XFree86 + 4.5.99.3</a></li> - <li>improve dynamic colors by not repainting the screen if only the - cursor color changes (request by Bram Moolenaar). - - <li>fix menu initialization for tek4014 window broken in - <a href="#xterm_206">patch #206</a>. + <li><a href="#xterm_201">Patch #201 - 2005/4/21 - XFree86 + 4.5.99.2</a></li> - <li>typo in manpage (Debian #351425). - - <li>correct loop logic in <code>dotext</code> to prevent an infinite - loop if a wide character was just at the right margin when wrapping - was disabled (report by Serge van den Boom). + <li><a href="#xterm_200">Patch #200 - 2005/2/6 - XFree86 + 4.4.99.23</a></li> - <li>initialize the saved-cursor data so a restore-cursor operation - without a preceding save-cursor operation will not modify the - foreground color. + <li><a href="#xterm_199">Patch #199 - 2005/1/17 - XFree86 + 4.4.99.22</a></li> - <li>add a new selection feature: regular expressions, and new resources - which specify what happens on multiple mouse clicks: - <code>on2Clicks</code>, - <code>on3Clicks</code>, - <code>on4Clicks</code> and - <code>on5Clicks</code>. + <li><a href="#xterm_198">Patch #198 - 2005/1/13 - XFree86 + 4.4.99.21</a></li> - <li>revert the <code>XTerm.ad</code> change from - <a href="#xterm_208">patch #208</a> (Debian #348384). + <li><a href="#xterm_197">Patch #197 - 2004/11/30 - XFree86 + 4.4.99.19</a></li> - <li>fixes for the print-window to make it handle combining - characters in UTF-8 mode. + <li><a href="#xterm_196">Patch #196 - 2004/8/15 - XFree86 + 4.4.99.12</a></li> - <li>add check to ensure that double-clicking to extend selection will - not extend it into the scrollback area. This still allows users - to scroll back and select text (Debian #347415). + <li><a href="#xterm_195">Patch #195 - 2004/8/8 - XFree86 + 4.4.99.11</a></li> - <li>add configure option <code>--with-tty-group</code> to help work - around deficiencies in packager's build environment (Debian - #349142). + <li><a href="#xterm_194">Patch #194 - 2004/7/27 - XFree86 + 4.4.99.11</a></li> - <li>fix typo in configure script option - <code>--disable-narrowproto</code> - (report by David Martínez Moreno). + <li><a href="#xterm_193">Patch #193 - 2004/7/19 - XFree86 + 4.4.99.10</a></li> - <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> check to - ensure that <code>Xft</code> is known to that tool (report and - patch by Emanuele Giaquinta). + <li><a href="#xterm_192">Patch #192 - 2004/7/12 - XFree86 + 4.4.99.9</a></li> - <li>add an ifdef to allow <code>./configure --disable-active-icon</code> - to work, broken by new code for testing memory leaks in - <a href="#xterm_208">patch #208</a> (report by Brian Lindholm). -</ul> + <li><a href="#xterm_191">Patch #191 - 2004/6/6 - XFree86 + 4.4.99.7</a></li> -<H1><A NAME="xterm_208">Patch #208 - 2006/1/3 - XFree86 4.5.99.19</A></H1> -<ul> - <li>add <code>charClass</code> resource to <code>XTerm.ad</code> and - <code>UXTerm.ad</code> which simplifies selecting URLs (prompted - by Kirill Ponomarew). + <li><a href="#xterm_190">Patch #190 - 2004/5/25 - XFree86 + 4.4.99.6</a></li> - <li>modify install rule for <code>uxterm</code> to account for the - <code>--program-prefix</code>, etc., options by invoking the - transformed name of xterm rather than simply "xterm". + <li><a href="#xterm_189">Patch #189 - 2004/5/16 - XFree86 + 4.4.99.6</a></li> - <li>modify configure <code>--with-app-defaults</code> option to allow - <code>--without-app-defaults</code>. + <li><a href="#xterm_188">Patch #188 - 2004/5/12 - XFree86 + 4.4.99.6</a></li> - <li>add configure <code>--with-symlink</code> option to make it simpler - to install successive versions of <code>xterm</code> renamed using - the <code>--program-prefix</code>, etc., options with a symbolic - link pointing to the most recent. + <li><a href="#xterm_187">Patch #187 - 2004/4/27 - XFree86 + 4.4.99.4</a></li> - <li>make <code>-iconic</code> option work with toolbar configuration - (GenToo #113604). + <li><a href="#xterm_186">Patch #186 - 2004/4/18 - XFree86 + 4.4.99.4</a></li> - <li>suppress <code>lastlog</code> feature for 64-bit Solaris - configuration since that platform provides only a 32-bit interface - (report by Peter Bray). + <li><a href="#xterm_185">Patch #185 - 2004/3/3 - XFree86 + 4.4</a></li> - <li>fix memory reallocation for the "UTF-8" menu entry when xterm is - started using the <code>+u8</code> option (reported by Jan Willem - Stumpel). + <li><a href="#xterm_184">Patch #184 - 2003/12/31 - XFree86 + 4.3.99.903</a></li> - <li>add a configure check for the actual path of <code>luit</code>, - to work around broken <code>imake</code> configurations. + <li><a href="#xterm_183">Patch #183 - 2003/12/26 - XFree86 + 4.3.99.903</a></li> - <li>add a configure check for <code>pkg-config</code> (Redhat Bugzilla - #173541). + <li><a href="#xterm_182">Patch #182 - 2003/12/2 - XFree86 + 4.3.99.901</a></li> - <li>modify install-rule for <code>uxterm</code> to omit executable - suffix, e.g., for Cygwin. + <li><a href="#xterm_181">Patch #181 - 2003/10/26 - XFree86 + 4.3.99.15</a></li> - <li>modify <code>sinstall.sh</code> to work around quirks in Cygwin - configuration. -</ul> + <li><a href="#xterm_180">Patch #180 - 2003/10/12 - XFree86 + 4.3.99.15</a></li> -<H1><A NAME="xterm_207">Patch #207 - 2005/11/13 - XFree86 4.5.99.16</A></H1> -<ul> - <li>enable <code>lastlogx</code> support for NetBSD (was added, but - not enabled in <a href="#xterm_186">patch #186</a>). + <li><a href="#xterm_179">Patch #179 - 2003/5/21 - XFree86 + 4.3.99.5</a></li> - <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, which - includes <code>utmp.h</code>. + <li><a href="#xterm_178">Patch #178 - 2003/5/18 - XFree86 + 4.3.99.5</a></li> - <li>revert part of recent XFree86 Imakefile change, restoring the - <code>-I.</code> needed for <code>xmkmf</code> builds of xterm - (XFree86 Bugzilla #1633, - reports by Alexander Pohoyda, - Matthieu Herrb). + <li><a href="#xterm_177">Patch #177 - 2003/3/23 - XFree86 + 4.3.0</a></li> - <li>change compiled-in default for <code>printerCommand</code> - resource to an empty string. People who want to use the - printer should be able to read the manual (Debian #311490). + <li><a href="#xterm_176">Patch #176 - 2003/3/22 - XFree86 + 4.3.0</a></li> - <li>modify <code>Imakefile</code> to work around old problems in - <code>imake</code> configuration to allow test-builds using - <code>xmkmf</code> on Linux. (This was not noticed since several - releases had broken definitions relating to Xft which were harder - to work around). + <li><a href="#xterm_175">Patch #175 - 2003/3/9 - XFree86 + 4.3.0</a></li> - <li>link <code>resize</code> for SCO platforms (Kean Johnston). -</ul> + <li><a href="#xterm_174">Patch #174 - 2003/2/25 - XFree86 + 4.2.99.903</a></li> -<H1><A NAME="xterm_206">Patch #206 - 2005/11/3 - XFree86 4.5.99.15</A></H1> -<ul> - <li>add configure <code>--with-app-defaults</code> option to allow - app-defaults directory for install-rules to be customized. + <li><a href="#xterm_173">Patch #173 - 2003/2/6 - XFree86 + 4.2.99.902</a></li> - <li>remove default translations for <code>dabbrev-expand()</code> - due to conflicts with existing keyboard arrangements. + <li><a href="#xterm_172">Patch #172 - 2002/12/27 - XFree86 + 4.2.99.3</a></li> - <li>remove redundant check for <code>_NET_WM_PID</code> - (report by Emanuele Giaquinta). + <li><a href="#xterm_171">Patch #171 - 2002/12/12 - XFree86 + 4.2.99.3</a></li> - <li>set icon border width explicitly to work around fvwm problem - with active icon resizing (report by Steve Morris, analysis - by Dominik Vogt). + <li><a href="#xterm_170">Patch #170 - 2002/10/13 - XFree86 + 4.2.1</a></li> - <li>modify resource files to make the font-resources a little - more specific, e.g., changing "*VT100*" to "*VT100.", to - make the distinction between VT100.font and VT100.utf8Fonts.font - sharper, in case a packager modifies one of those. + <li><a href="#xterm_169">Patch #169 - 2002/10/5 - XFree86 + 4.2.1</a></li> - <li>expanded comments in <code>UXTerm.ad</code> regarding the - font resources (Debian #319179). + <li><a href="#xterm_168">Patch #168 - 2002/9/29 - XFree86 + 4.2.1</a></li> - <li>add <code>--enable-narrowproto</code> configure option to - accommodate X.org "modular" build (report by Stephan Hermann, - GenToo #17220). + <li><a href="#xterm_167">Patch #167 - 2002/8/24 - XFree86 + 4.2.0</a></li> - <li>fix typo in xterm.man description of <code>+wf</code> (patch - by Tobias Stoeckmann). + <li><a href="#xterm_166">Patch #166 - 2002/3/25 - XFree86 + 4.2.0</a></li> - <li>add <code>scrollBarBorder</code> resource (request by Floyd L - Davidson). + <li><a href="#xterm_165">Patch #165 - 2002/1/5 - XFree86 + 4.1.0</a></li> - <li>modify <code>xterm-new</code> terminfo entry to use capabilities - for shifted scroll forward/reverse as shifted cursor up/down. + <li><a href="#xterm_164">Patch #164 - 2001/11/13 - XFree86 + 4.1.0</a></li> - <li>correct updating of checkmark for toolbar entry in popup menu - (report by Emanuele Giaquinta). + <li><a href="#xterm_163">Patch #163 - 2001/11/04 - XFree86 + 4.1.0</a></li> - <li>fix ifdef's to allow compiling with toolbar and without tek4014 - (patch by Emanuele Giaquinta). + <li><a href="#xterm_162">Patch #162 - 2001/10/23 - XFree86 + 4.1.0</a></li> - <li>use <code>openpty()</code> for Darwin port (patch by Emanuele - Giaquinta). + <li><a href="#xterm_161">Patch #161 - 2001/10/10 - XFree86 + 4.1.0</a></li> - <li>fix GenToo #90697 a different way, postponing the logic in - <code>SetupToolbar</code> until the toolbar is actually needed, - i.e., the <code>+tb</code> option is handled as expected. + <li><a href="#xterm_160">Patch #160 - 2001/10/7 - XFree86 + 4.1.0</a></li> - <li>revert fix made in <a href="#xterm_203">patch #203</a> for GenToo - #90697. That introduced a problem with the control mouse - click-popups, while most of the performance problems can be - resolved by restricting the menu fonts (report by Emanuele - Giaquinta). + <li><a href="#xterm_159">Patch #159 - 2001/9/19 - XFree86 + 4.1.0</a></li> - <li>fix a file-descriptor leak when calling <code>openpty()</code> - (OpenBSD system/4561). + <li><a href="#xterm_158">Patch #158 - 2001/9/8 - XFree86 + 4.1.0</a></li> - <li>make a special case of resizing work like vt100: a hard reset - also resets the 132/80 mode. The code to support this was - present since X11R5, but not used because the corresponding - initial state of the <code>-132</code> option was not saved. + <li><a href="#xterm_157">Patch #157 - 2001/6/18 - XFree86 + 4.1.0</a></li> - <li>restore window manager hints after <code>XtMakeResizeRequest()</code> - calls. One instance from <a href="#xterm_205">patch #205</a> - resulted in the window manager displaying pixels rather than - than characters after selecting a different font size (FreeBSD - ports/87424). + <li><a href="#xterm_156">Patch #156 - 2001/4/28 - XFree86 + 4.0.3</a></li> - <li>remove special case for Darwin in CF_XOPEN_SOURCE - (Emanuele Giaquinta). + <li><a href="#xterm_155">Patch #155 - 2001/4/20 - XFree86 + 4.0.3</a></li> - <li>modify parsing of control sequence <code>CSI T</code> - to allow scroll-down - to be sent while mouse tracking is enabled (request by - D Hugh Redelmeier). + <li><a href="#xterm_154">Patch #154 - 2001/4/11 - XFree86 + 4.0.3</a></li> - <li>correct termcap "me" (mode-end) string so it does not modify the - alternate character set (report by Andrey Chernov). + <li><a href="#xterm_153">Patch #153 - 2001/3/29 - XFree86 + 4.0.3</a></li> - <li>correct size-comparison in HandleInterpret() broken in changes - from <a href="#xterm_201">patch #201</a> to allocate input - buffer (Debian #334317). + <li><a href="#xterm_152">Patch #152 - 2001/3/13 - XFree86 + 4.0.2</a></li> - <li>amend adjustments for scrollbar layout from - <a href="#xterm_204">patch #204</a> to make - this apply only to the toolbar configuration. In the non-toolbar - configuration, the resulting scrollbar was shifted by its - borderwidth (report by Matthieu Herrb). + <li><a href="#xterm_151">Patch #151 - 2001/3/10 - XFree86 + 4.0.2</a></li> - <li>add select-cursor-extend() action. + <li><a href="#xterm_150">Patch #150 - 2000/12/29 - XFree86 + 4.0.2</a></li> - <li>fix some broken href's in xterm.log.html, and typo in the - INSTALL file (report/patch by David Martínez Moreno). + <li><a href="#xterm_149">Patch #149 - 2000/12/6 - XFree86 + 4.0.1h</a></li> - <li>modify <code>Imakefile</code> to use setgid mode for installing - with Linux, OpenBSD and FreeBSD. + <li><a href="#xterm_148">Patch #148 - 2000/10/31 - XFree86 + 4.0.1d</a></li> - <li>add configure --with-setuid and --with-reference options to - allow packagers more flexibility in customizing install - permissions. + <li><a href="#xterm_147">Patch #147 - 2000/10/26 - XFree86 + 4.0.1c</a></li> - <li>generalize and make optional (configure --with-utmp-setgid) - the change made for XFree86 Bugzilla #878 in - <a href="#xterm_205">patch #205</a> - (FreeBSD bug report #ports/86663). -</ul> + <li><a href="#xterm_146">Patch #146 - 2000/9/12 - XFree86 + 4.0.1c</a></li> -<H1><A NAME="xterm_205">Patch #205 - 2005/9/18 - XFree86 4.5.99.12</A></H1> -<ul> - <li>correct a typo in CF_FUNC_TGETENT introduced in <a - href="#xterm_198">patch #198</a> fix for Gentoo #69926. + <li><a href="#xterm_145">Patch #145 - 2000/9/11 - XFree86 + 4.0.1c</a></li> - <li>implement logic in termcap query to process multiple parameters - as documented in ctlseqs.ms + <li><a href="#xterm_144">Patch #144 - 2000/8/23 - XFree86 + 4.0.1b</a></li> - <li>fix buffer size used for termcap query, which was not long enough - for the terminfo "colors" name (patch by Bradd W. Szonye). + <li><a href="#xterm_143">Patch #143 - 2000/8/19 - XFree86 + 4.0.1b</a></li> - <li>add configure option --enable-readline-mouse, which turns on the - experimental OPT_READLINE code (patch by Ilya Zakharevich). + <li><a href="#xterm_142">Patch #142 - 2000/8/18 - XFree86 + 4.0.1b</a></li> - <li>for FreeBSD, drop setuid privileges after startup - (XFree86 Bugzilla #878, report/patch by Alexander Pohoyda) + <li><a href="#xterm_141">Patch #141 - 2000/8/14 - XFree86 + 4.0.1b</a></li> - <li>add menu entry (alt-esc) and corresponding action (alt-sends-esc) - to toggle the <code>eightBitInput</code> resource setting. + <li><a href="#xterm_140">Patch #140 - 2000/7/23 - XFree86 + 4.0.1</a></li> - <li>generate configure script with autoconf 2.52 (patched) to use - the feature therein which forces the script's locale to POSIX - (Gentoo Bugzilla #105369). - - <li>modify computation of rows/columns on resize to avoid extending - beyond the given limits, e.g., if resizing in response to a - "maximize" in Gnome or KDE which do not use the window manager - hints for this case (Debian #289123, Novell #61153). - - <li>modifications to work with z/OS 1.4 (Paul Giordano). + <li><a href="#xterm_139">Patch #139 - 2000/6/17 - XFree86 + 4.0d</a></li> - <li>improve error-reporting when chown/chmod of the pseudo-terminal - fails, e.g., if a copy of xterm which was designed to work with - old-style pseudo-terminals is not installed setuid or setgid - (report by Jeremy C. Reed). - - <li>patches from Emanuele Giaquinta: - <ul> - <li>ctlseqs.ms says that primary and secondary DA accept a - nonzero parameter, which is incorrect. Also modify code - to agree with this. - - <li>correct a comment in 88colres.pl + <li><a href="#xterm_138">Patch #138 - 2000/6/15 - XFree86 + 4.0c</a></li> - <li>ctlseqs.ms says that the DEC Set/Reset control sequences for - the backarrow key make it send DEL/BS, respectively, while it's - the opposite. + <li><a href="#xterm_137">Patch #137 - 2000/6/10 - XFree86 + 4.0b</a></li> - <li>update the menu entries for the metaSendsEscape, deleteIsDEL - and numLock resources when changing them with the corresponding - DEC Set/Reset control sequences. - </ul> + <li><a href="#xterm_136">Patch #136 - 2000/6/3 - XFree86 + 4.0b</a></li> - <li>fixes for configure script: - <ul> - <li>add special case for QNX, defining _QNX_SOURCE. - <li>check for preprocessors which do not perform -U and -D options - in the given order. - <li>improve macro to determine gcc version - <li>improve check for Intel compiler and related warning options - </ul> + <li><a href="#xterm_135">Patch #135 - 2000/5/29 - XFree86 + 4.0b</a></li> - <li>update config.guess, config.sub + <li><a href="#xterm_134">Patch #134 - 2000/5/28 - XFree86 + 4.0b</a></li> - <li>improve fix from <a href="#xterm_198">patch #198</a> for - <code>Cleanup()</code> by ensuring it is not called from the - SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)). + <li><a href="#xterm_133">Patch #133 - 2000/5/2 - XFree86 + 4.0a</a></li> - <li>eliminate a retry for a better-matching bold font, to work around - recent font server changes. + <li><a href="#xterm_132">Patch #132 - 2000/4/11 - XFree86 + 4.0a</a></li> - <li>fixes for Novell #113277: - <ul> - <li>specify weight for wide font which may be derived from - normal fontname. - <li>cache the derived wide- and widebolt-fontnames. - </ul> + <li><a href="#xterm_131">Patch #131 - 2000/3/3 - XFree86 + 3.9.18b</a></li> - <li>workaround for GenToo Bugzilla #100728. + <li><a href="#xterm_130">Patch #130 - 2000/3/1 - XFree86 + 3.9.18a</a></li> - <li>add menubar's border width to layout computation. Normally this - is zero, but patterns such as <code>XTerm*borderWidth:1</code> - would give poor layout for the toolbar configuration. -</ul> + <li><a href="#xterm_129">Patch #129 - 2000/2/26 - XFree86 + 3.9.18a</a></li> -<H1><A NAME="xterm_204">Patch #204 - 2005/8/4 - XFree86 4.5.99.9</A></H1> -<ul> - <li>work around quirk in shell which allowed user to "run" uxterm - script when there was no UTF-8 locale installed by entering - "sh -x uxterm". Also popup an xmessage to show the problem - for users who run this via a GUI (Debian #318513). + <li><a href="#xterm_128">Patch #128 - 2000/2/17 - XFree86 + 3.9.18</a></li> - <li>disallow changes to fonts, toolbar and scrollbar when the vt100 - window is iconified, to simplify management of the active icon. + <li><a href="#xterm_127">Patch #127 - 2000/2/12 - XFree86 + 3.9.17e</a></li> - <li>fixes to make <code>-geom</code> option work properly with the - toolbar configuration (Gentoo Bugzilla #90717, #91967). + <li><a href="#xterm_126">Patch #126 - 2000/2/8 - XFree86 + 3.9.17c</a></li> - <li>minor improvements to scrollbar layout: ensure that the scrollbar - border is zero if the vt100 border is zero. + <li><a href="#xterm_125">Patch #125 - 2000/1/31 - XFree86 + 3.9.17c</a></li> - <li>improve initialization due to <code>utf8</code> resource by - loading the <code>utf8Fonts</code> resource in the case where - <code>locale</code> resource is false. Also in this case, do - not disable switching UTF-8 mode on/off. + <li><a href="#xterm_124">Patch #124 - 2000/1/27 - XFree86 + 3.9.17b</a></li> - <li>minor optimization of TrueType font-loading, loads italic font - only when needed. + <li><a href="#xterm_123">Patch #123 - 2000/1/22 - XFree86 + 3.9.17a</a></li> - <li>correct variable used to store temporary result from lookup of bold - font, when initializing the wide-bold-font data and no immediate - match is found by asking for a bold variant of the wide-font. The - result was to use overstriking rather than the actual bold font - (Debian #318162, patch by Eugene Konev). + <li><a href="#xterm_122">Patch #122 - 1999/12/28 - XFree86 + 3.9.16f</a></li> - <li>add checks to ensure vt100 widget is realized when it might be - updated via actions handled from a tek4014-only configuration. -</ul> + <li><a href="#xterm_121">Patch #121 - 1999/11/14 - XFree86 + 3.9.16c</a></li> -<H1><A NAME="xterm_203">Patch #203 - 2005/7/6 - XFree86 4.5.99.7</A></H1> -<ul> - <li>modify initialization of <code>allowSendEvents</code> and - <code>allowWindowOps</code> to prevent modification with the - editres protocol. - - <li>fix compiler warning for NetBSD by including util.h in main.c - (XFree86 Bugzilla #1596). + <li><a href="#xterm_120">Patch #120 - 1999/10/28 - XFree86 + 3.9.16c</a></li> - <li>fix to build on Darwin 8.x, which no longer provides - <code>setpgrp()</code> (patch by Min Sik Kim). + <li><a href="#xterm_119">Patch #119 - 1999/10/16 - XFree86 + 3.9.16c</a></li> - <li>adapted fixes for Legend (SCO) from diffs attached to - Freedesktop.Org Bugzilla #3180. + <li><a href="#xterm_118">Patch #118 - 1999/10/5 - XFree86 + 3.9.16b</a></li> - <li>fix typo in xterm manpage description of <code>-ls</code> option - (Freedesktop.Org Bugzilla #3543). - - <li>add support for interpreting the underline attribute as an italic - font in Xft mode (patch by Chuck Blake). + <li><a href="#xterm_117">Patch #117 - 1999/9/29 - XFree86 + 3.9.16b</a></li> - <li>improve initialization of toolbar so that individual pulldown - menus are initialized on demand, as they are in the scenario - where they are invoked as popup menus (GenToo Bugzilla #90697). + <li><a href="#xterm_116">Patch #116 - 1999/9/25 - XFree86 + 3.9.16a</a></li> - <li>fix logic in <code>find_utmp</code>, which did not reset result - in <code>getutid()</code>, causing an infinite loop in some - conditions (report by Emil Mikulic). + <li><a href="#xterm_115">Patch #115 - 1999/9/18 - XFree86 + 3.9.16a</a></li> - <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla #91008). + <li><a href="#xterm_114">Patch #114 - 1999/9/15 - XFree86 + 3.9.16</a></li> - <li>modify ifdef's in ptyx.h and xterm_io.h to build with DragonFly - (patch by Jeroen Ruigrok). + <li><a href="#xterm_113">Patch #113 - 1999/8/15 - XFree86 + 3.9.15b</a></li> - <li>change default values for <code>minBufSize</code> and - <code>maxBufSize</code> to 4096 and 32768 respectively so that the - initial read request will match the value from before changes to - use <code>sched_yield()</code>. + <li><a href="#xterm_112">Patch #112 - 1999/7/17 - XFree86 + 3.9Pw</a></li> - <li>make paste of UTF-8 faster for Western character sets by checking - range of incoming data (patch by Joe Allen). + <li><a href="#xterm_111">Patch #111 - 1999/7/10 - XFree86 + 3.9Pw</a></li> - <li>add experimental option to allow - applications to get or set the selection data as a BASE64 string - (adapted from patch by Joe Allen). + <li><a href="#xterm_110">Patch #110 - 1999/6/29 - XFree86 + 3.9Pu</a></li> - <li>fix an off-by-one error parsing <code>-S/nn</code> option - (Debian #311438, report/fix by Peter Chubb). + <li><a href="#xterm_109">Patch #109 - 1999/6/23 - XFree86 + 3.9Pt</a></li> - <li>fix an initialization bug from - <a href="#xterm_201">patch #201</a> that broke logging - (report by Rodney Thayer). + <li><a href="#xterm_108">Patch #108 - 1999/6/19 - XFree86 + 3.9Ps</a></li> - <li>amend change to command-line processing in - <a href="#xterm_201">patch #201</a> to avoid - conflict with <code>-e</code> option (report by Servatius Brandt). + <li><a href="#xterm_107">Patch #107 - 1999/6/12 - XFree86 + 3.9Pq</a></li> - <li>suppress configure check for <code>_XOPEN_SOURCE</code> on - darwin. + <li><a href="#xterm_106">Patch #106 - 1999/6/9 - XFree86 + 3.9Pq</a></li> - <li>update config.guess, config.sub -</ul> + <li><a href="#xterm_105">Patch #105 - 1999/6/5 - XFree86 + 3.9Pp</a></li> -<H1><A NAME="xterm_202">Patch #202 - 2005/5/2 - XFree86 4.5.99.3</A></H1> -<ul> - <li>add extended shift- and control-modifier cursor keys to - "xterm+pcfkeys" terminfo entry to correspond to ncurses 20050430 - patch. + <li><a href="#xterm_104">Patch #104 - 1999/5/30 - XFree86 + 3.9Pn</a></li> - <li>fix a rare case where text would be written with the wrong colors - because output of scrolled text would reset the colors and the - new text would be written with the same colors (report/testcase - by Thomas Glanzmann). + <li><a href="#xterm_103">Patch #103 - 1999/5/14 - XFree86 + 3.9Pm</a></li> - <li>rename <code>$CMD</code> variable in <code>plink.sh</code> because - it is a reserved symbol in bash 3.00.16 (report by Ted Taylor). + <li><a href="#xterm_102">Patch #102 - 1999/5/12 - XFree86 + 3.9Pm</a></li> - <li>add environment variables <code>$XTERM_SHELL</code> and - <code>$XTERM_VERSION</code> - (request by Zdenek Sekera). + <li><a href="#xterm_101">Patch #101 - 1999/5/10 - XFree86 + 3.9Pm</a></li> - <li>corrected workaround for background color of menubar, which gave - a too-broad expression, coloring the background of the VT100 - widget unless overridden by another resource setting. + <li><a href="#xterm_100">Patch #100 - 1999/5/3 - XFree86 + 3.9Pl</a></li> - <li>correct an error in the logic which decides when - <code>sched_yield()</code> is run; it would occasionally hang when - contending with other pseudo-terminal applications such as screen - (report by Kirill Ponomarew). + <li><a href="#xterm_99">Patch #99 - 1999/5/2 - XFree86 + 3.9Pk</a></li> - <li>modify initialization to decide whether to default to built-in - <code>wcwidth()</code> versus system's version based on the - starting locale and whether the system's version is poor quality - (suggested by Bram Moolenaar). + <li><a href="#xterm_98">Patch #98 - 1999/4/26 - XFree86 + 3.9Pk</a></li> - <li>update table for <code>mk_width()</code> from UnicodeData 4.1.0 - using Markus Kuhn's <code>uniset</code> script. -</ul> + <li><a href="#xterm_97">Patch #97 - 1999/4/25 - XFree86 + 3.9Pk</a></li> -<H1><A NAME="xterm_201">Patch #201 - 2005/4/21 - XFree86 4.5.99.2</A></H1> -<ul> - <li>improve resource files to show how the menubar and popup menus can - be colored (prompted by report by Joe Wells). + <li><a href="#xterm_96">Patch #96 - 1999/4/19 - XFree86 + 3.9Pj</a></li> - <li>modify parsing of OSC (and SOS, etc), strings so their contents - are not interpreted as UTF-8. This allows non-ASCII title strings - to be set, provided that the window manager complies (report by - Thomas Wolff). + <li><a href="#xterm_95">Patch #95 - 1999/4/5 - XFree86 + 3.9Ph</a></li> - <li>improved some of the built-in line-drawing glyphs. + <li><a href="#xterm_94">Patch #94 - 1999/3/27 - XFree86 + 3.9Pf</a></li> - <li>correct color of "box" character drawn for line-drawing glyph 1 - (report by Nicolas George). + <li><a href="#xterm_93">Patch #93 - 1999/3/14 - XFree86 + 3.9Pd</a></li> - <li>improve behavior when switching to UTF-8 mode after startup so - xterm will check if the current fonts are already wide - (ISO10646-1). If they are not, xterm will use the - <code>utf8Fonts</code> subresource to load appropriate fonts - (request by Bram Moolenaar). + <li><a href="#xterm_92">Patch #92 - 1999/2/5 - XFree86 + 3.9Nz</a></li> - <li>modify logic for setting title-string so it applies to the current - widget rather than the vt100 widget. + <li><a href="#xterm_91">Patch #91 - 1999/1/21 - XFree86 + 3.9Nw</a></li> - <li>modify initialization for wide-bold fontname, to search for one - if none is given (report by Michael Schroeder). + <li><a href="#xterm_90">Patch #90 - 1998/12/13 - XFree86 + 3.9Nq</a></li> - <li>add resource <code>mkWidth</code> and command-line option - <code>-mk_width</code> to control whether xterm uses the built-in - version of wcwidth(). + <li><a href="#xterm_89">Patch #89 - 1998/11/20 - XFree86 + 3.9Nm</a></li> - <li>add resource settings for minimum/maximum input buffer size, and - call to <code>sched_yield</code> to improve performance with newer - Linux kernels (adapted from patch by Nicolas George). + <li><a href="#xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk + and 3.3.2h</a></li> - <li>correct computation of width for wide characters with the invisible - attribute (report by Thomas Wolff). + <li><a href="#xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj + and 3.3.2f</a></li> - <li>modify interaction between <code>+u8</code> and <code>locale</code> - resource to allow the command-line option to override the resource - (requested by Thomas Wolff). + <li><a href="#xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj + and 3.3.2e</a></li> - <li>add a limit check for scrolling margins in a one-line screen, - overlooked in fixes for - <a href="#xterm_198">patch #198</a> (Debian #297430). + <li><a href="#xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj + and 3.3.2e</a></li> - <li>correct treatment of <code>iconBorderWidth</code> for resizing - an active-icon, and its description in manpage (Debian #296592). + <li><a href="#xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni + and 3.3.2e</a></li> - <li>modify configure script <code>--disable-imake</code> to use the - script's definitions anyway if it cannot detect imake (prompted - by FreeBSD bug 77408). + <li><a href="#sync_83">Resync #83 - 1998/10/7 - XFree86 + 3.3.2e</a></li> - <li>ignore error in the I/O initialization that tries to set the - tty to 7-bit input for the case where <code>eightBitInput</code> - resource is false (Debian #298551). + <li><a href="#xterm_83">Patch #83 - 1998/8/25 - XFree86 + 3.9Nb</a></li> - <li>modify command-processing to accept an optional parameter that - tells xterm which shell program to use (request by Zdenek Sekera). - - <li>add simpler resource <code>keyboardType</code> which, when set, - overrides the individual keyboard-type resources and eliminates - the possibility of conflict between them. - - <li>add initialization for <code>scoFunctionKeys</code> resource - (report by Rick K). - - <li>correct logic of <code>ReallocateBufOffsets()</code> which did not - copy the content of the old screen buffer to the proper location, - making a repaint clear after switching to wide-character mode - (report by Bram Moolenaar): + <li><a href="#xterm_82">Patch #82 - 1998/7/15 - XFree86 + 3.9Aj</a></li> - <li>implement the remaining pieces to make xterm allocate cells for - wide-characters when the "UTF-8" menu entry is selected. Also, - load the UTF-8 font when that menu entry is selected, or the escape - sequence for UTF-8 mode is received (report by Bram Moolenaar): + <li><a href="#xterm_81">Patch #81 - 1998/7/14 - XFree86 + 3.9Aj</a></li> - <li>add command-line options (<code>-tb</code>, <code>+tb</code>) and - resource <code>toolBar</code> to allow menu/toolbar to disabled or - enabled at startup (prompted by reports by Joe Wells). + <li><a href="#xterm_80">Patch #80 - 1998/6/29 - XFree86 + 3.9Ai</a></li> - <li>correct typo in configure script's --enable-dec-locator option - (report by Bram Moolenaar). -</ul> + <li><a href="#xterm_79">Patch #79 - 1998/6/28 - XFree86 + 3.9Ai</a></li> -<H1><A NAME="xterm_200">Patch #200 - 2005/2/6 - XFree86 4.4.99.23</A></H1> -<ul> - <li>increase color pairs value for xterm-256color and xterm-88color to - match ncurses, which has an experimental option to support this. + <li><a href="#xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah + and 3.3.2</a></li> - <li>modify ifdef's to make AIX use termios rather than termio; the - struct sizes for the two were not the same. + <li><a href="#xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah + and 3.3.2</a></li> - <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for - OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX. + <li><a href="#xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah + and 3.3.2</a></li> - <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by Min - Sik Kim). + <li><a href="#xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah + and 3.3.2</a></li> - <li>modify find_utmp() to initialize the whole utmpx struct (except - ut_id), since that is needed for OSF1 4.0D to prevent an infinite - loop on exit. + <li><a href="#xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag + and 3.3.2</a></li> - <li>add configure check before adding -D_POSIX_SOURCE since some - platforms predefine it, e.g., cygwin. + <li><a href="#xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag + and 3.3.2</a></li> - <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure script - macro to ensure value for PROJECTROOT is quoted on Solaris, i.e., - when nested <code>\(</code> and <code>\)</code> are not interpreted - correctly. + <li><a href="#xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag + and 3.3.2</a></li> - <li>correct DEC rectangle operations to reset state after completing - the operations. + <li><a href="#xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag + and 3.3.2</a></li> - <li>modify CASE_ST handling in charproc.c to ensure that the parse - state is reset even if xterm is not currently processing an OSC or - other string (patch by Johnny Billquist forwarded by Matthias - Scheler, NetBSD xsrc/29003). + <li><a href="#xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af + and 3.3.2</a></li> - <li>fix OS/2 build for innotek_libc (patch by David Yeo). + <li><a href="#xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad + and 3.3.2</a></li> - <li>fix a regression from <a href="#xterm_197">patch #197</a> fix for - Debian #277832 which disowned the selection if it was scrolled, - e.g., by the user pressing return at the bottom of the screen - (Debian #291787). + <li><a href="#xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad + and 3.3.1z</a></li> - <li>move the warning/exit for missing $DISPLAY into the error handler - in case <code>-display</code> is given, and the connect fails for - some other reason. -</ul> + <li><a href="#xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad + and 3.3.1e</a></li> -<H1><A NAME="xterm_199">Patch #199 - 2005/1/17 - XFree86 4.4.99.22</A></H1> -<ul> - <li>instead of setting <code>$DISPLAY</code>, check for the unset - variable and warn/exit on this condition (comments by H Merijn - Brand and Bernhard R Link). + <li><a href="#xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad + and 3.3.1d</a></li> - <li>fix a typo in Imakefile from <a href="#xterm_198">patch #198</a> - (reports/patches by Stefan Dirsch, Mike Castle). -</ul> + <li><a href="#xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad + and 3.3.1c</a></li> -<H1><A NAME="xterm_198">Patch #198 - 2005/1/13 - XFree86 4.4.99.21</A></H1> -<ul> - <li>set <code>$DISPLAY</code> to ":0" if it is not set. + <li><a href="#xterm_64">Patch #64 - 1998/2/8 - XFree86 + 3.9Ad</a></li> - <li>add <code>utmpDisplayId</code> resource to allow users to control - whether the display identifier (display number and screen number) - are retained in the connection information recorded in utmp - (discussion with Edoardo Tirtarahardja). + <li><a href="#xterm_63">Patch #63 - 1998/2/5 - XFree86 + 3.9Ad</a></li> - <li>add <code>bellOnReset</code> resource to allow users to disable - bell which sounds on hard reset since <a href="#xterm_183">patch - #183</a> changes to DECSCL (discussion with Danek Duvall). + <li><a href="#xterm_62">Patch #62 - 1998/1/23 - XFree86 + 3.9Ac</a></li> - <li>improve <code>$WINDOWID</code> for configuration with toolbar by - making it refer to the top-level shell rather than the parent of - the current window. For that case, the parent is a form widget, - which does not have a name, which made the <code>$WINDOWID</code> - not very useful as a parameter for <code>xwininfo</code> - (suggested by Dave Bodenstab). + <li><a href="#xterm_61">Patch #61 - 1998/1/17 - XFree86 + 3.9Ac</a></li> - <li>fix a typo in WhichVFont() macro - from <a href="#xterm_197">patch #197</a> changes - which broke the --disable-active-icon configuration - (report by Ralf S. Engelschall). + <li><a href="#xterm_60">Patch #60 - 1998/1/10 - XFree86 + 3.9Ab</a></li> - <li>improve some limit checks (Gentoo Bugzilla #75604). + <li><a href="#xterm_59">Patch #59 - 1998/1/5 - XFree86 + 3.9Ab</a></li> - <li>add --disable-setuid option to configure script (Gentoo Bugzilla - #76543). + <li><a href="#xterm_58">Patch #58 - 1998/1/3 - XFree86 + 3.9Ab</a></li> - <li>add --disable-full-tgetent option to configure script, allowing one - to ignore a termcap library in favor of ncurses/curses (Gentoo - Bugzilla #69926). + <li><a href="#xterm_57">Patch #57 - 1997/12/26 - XFree86 + 3.9Aa</a></li> - <li>modify configure script to choose useful warning options for Intel - version 8.0 compiler. + <li><a href="#xterm_56">Patch #56 - 1997/11/28 - XFree86 + 3.9x</a></li> - <li>update config.guess, config.sub + <li><a href="#xterm_55">Patch #55 - 1997/11/25 - XFree86 + 3.9x</a></li> - <li>make active-icon work properly when TrueType fonts are used - (Debian #286068). + <li><a href="#xterm_54">Patch #54 - 1997/10/17 - XFree86 + 3.9s</a></li> - <li>correct change from <a href="#xterm_157">patch #157</a> which uses - getlogin() to check for an alias; the storage used for the related - getpwuid() call was overwritten by the data used for comparison - (patch by Per Hedeland). + <li><a href="#xterm_53">Patch #53 - 1997/10/12 - XFree86 + 3.9r</a></li> - <li>correct case of SCS for character set 0 (line-drawing) to allow it - to be selected into GR. + <li><a href="#xterm_52">Patch #52 - 1997/9/29 - XFree86 + 3.9q</a></li> - <li>fix a file-descriptor leak (Redhat Bugzilla #139597). + <li><a href="#xterm_51">Patch #51 - 1997/9/15 - XFree86 + 3.9p</a></li> - <li>modify <code>creat_as()</code> to only fork if xterm is actually - running as setuid and/or setgid. This works around a Cygwin bug - which hangs when logging is enabled and makes xterm a little - faster for systems using interfaces such as utempter (report by - Al Goodman). + <li><a href="#xterm_50">Patch #50 - 1997/8/22 - XFree86 + 3.9m</a></li> - <li>modify <code>Cleanup()</code> to avoid operations such as X calls - that might use unsafe functions when it is called by a signal - handler (report by Michiel Boland). + <li><a href="#xterm_49">Patch #49 - 1997/8/10 - XFree86 + 3.9k</a></li> - <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM changes - from <a href="#xterm_197">patch #197</a> that - broke DECSET 38: switch to Tek4014 emulation (report by Dave - Bodenstab). + <li><a href="#xterm_48">Patch #48 - 1997/7/26 - XFree86 + 3.9j</a></li> - <li>fix for manpage escapes (Marc La France). + <li><a href="#xterm_47">Patch #47 - 1997/7/13 - XFree86 + 3.9i</a></li> - <li>improve on IRIX-specific change for Imakefile in XFree86 CVS versus - resize linking against termcap library to reflect definitions for - USE_TERMCAP in resize.c -</ul> + <li><a href="#xterm_46">Patch #46 - 1997/7/4 - XFree86 + 3.9h</a></li> -<H1><A NAME="xterm_197">Patch #197 - 2004/11/30 - XFree86 4.4.99.19</A></H1> -<ul> - <li>modify configure script to remove empty "-DPROJECTROOT=" definition - which resulted unusable values for luit's default path. + <li><a href="#xterm_45">Patch #45 - 1997/7/2 - XFree86 + 3.9h</a></li> - <li>update precompose.c based on Unicode 4.0.1 + <li><a href="#xterm_44">Patch #44 - 1997/6/22 - XFree86 + 3.9g</a></li> - <li>several minor fixes based on Intel compiler warnings. + <li><a href="#xterm_43">Patch #43 - 1997/6/10 - XFree86 + 3.9d</a></li> - <li>change default translations so a <code>BtnDown</code> which is - not recognized is simply ignored rather than emitting a bell. - That makes it less obtrusive when the user tries to use a mouse - which provides more capabilities than the X mouse driver supports, - e.g., one with a horizontal scroll wheel (Debian #265133). + <li><a href="#xterm_42">Patch #42 - 1997/6/8 - XFree86 + 3.2Xl</a></li> - <li>note in xterm's manpage that <code>translations</code> is not - specific to xterm (Debian #278897). + <li><a href="#xterm_41">Patch #41 - 1997/5/28 - XFree86 + 3.2Xl</a></li> - <li>modify uxterm script to use locale program to verify if the - derived locale is installed (Debian #246398). + <li><a href="#xterm_40">Patch #40 - 1997/5/26 - XFree86 + 3.2Xl</a></li> - <li>correct font handling for active icon when in UTF-8 mode (report - by Paolo Liberatore). + <li><a href="#xterm_39">Patch #39 - 1997/5/24 - XFree86 + 3.2Xl</a></li> - <li>make active-icon and toolbar configurations work together. + <li><a href="#xterm_38">Patch #38 - 1997/5/22 - XFree86 + 3.2Xh</a></li> - <li>modify the criteria for disowning primary selection. Previously, - this happened anytime the cursor was moved before the end of the - selection. That would ensure that any insert/delete of char or - line, as well as scrolling, would disown the selection. The - new criteria change this to checking if the operations would - modify the data which is highlighted (Debian #277832). + <li><a href="#xterm_37">Patch #37 - 1997/5/7 - XFree86 + 3.9a</a></li> - <li>reimplement <code>DECALN</code> with functions for vt420 rectangles, - fixes selection for this case. + <li><a href="#xterm_36">Patch #36 - 1997/1/16 - XFree86 + 3.2r</a></li> - <li>implement vt420 rectangle operations. + <li><a href="#xterm_35">Patch #35 - 1997/1/7 - XFree86 + 3.2o</a></li> - <li>add parsing, for debug/test of vt220 soft-fonts. + <li><a href="#xterm_34">Patch #34 - 1997/1/5 - XFree86 + 3.2o</a></li> - <li>add menu entry, actions and escape sequence to allow - enabling/disabling toolbars at runtime. + <li><a href="#xterm_33">Patch #33 - 1996/11/24 - XFree86 + 3.2</a></li> - <li>improve rendering for Xft, allow it to draw non-linedrawing - characters such as "pi", which were drawn from internal tables - with <a href="#xterm_180">patch #180</a> - (Freedesktop.org Bugzilla #1260). + <li><a href="#xterm_32">Patch #32 - 1996/11/21 - XFree86 + 3.2</a></li> - <li>add configure option <code>--enable-mini-luit</code>, ifdef'd the - mini-luit feature with <code>OPT_MINI_LUIT</code>. + <li><a href="#xterm_31">Patch #31 - 1996/11/16 - XFree86 + 3.2</a></li> - <li>add mini-luit feature, which supports Latin9 directly rather than - via luit, provided that Unicode fonts are used (Freedesktop.org - Bugzilla #1571, request by Stefan Dirsch, patch by Michael - Schroeder). + <li><a href="#xterm_30">Patch #30 - 1996/11/16 - XFree86 + 3.2</a></li> - <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x kernels, - set the corresponding flag for the slave pty, to enable UTF-8 - interpretation of backspace in cooked mode (Freedesktop.org - Bugzilla #1578, request by Stefan Dirsch). + <li><a href="#xterm_29">Patch #29 - 1996/9/15 - XFree86 + 3.1.2Gb</a></li> - <li>modify <code>faceSize</code> resource to use a floating-point - internal value (adapted from patch by Sam Stephenson). + <li><a href="#xterm_28">Patch #28 - 1996/8/31 - XFree86 + 3.1.2F</a></li> - <li>correct handling selection of tabs over cleared space in UTF-8 - mode. In this special case, xterm represents the whitespace with - a null rather than a space character (Debian #276447). + <li><a href="#xterm_27">Patch #27 - 1996/8/21 - XFree86 + 3.1.2Ek</a></li> - <li>amend fix for infinite loop from <a href="#xterm_192">patch - #192</a> to check if there is wrapped text to output in a following - iteration (Debian #273202). + <li><a href="#xterm_26">Patch #26 - 1996/8/20 - XFree86 + 3.1.2Ei</a></li> - <li>fixes ifdef'd with <code>__INTERIX</code> to allow building with - Interix (Windows Services for UNIX) 3.5 using the xlibs libraries - from freedesktop.org (patch by Min Sik Kim). + <li><a href="#xterm_25">Patch #25 - 1996/8/18 - XFree86 + 3.1.2Ei</a></li> - <li>amend solution for Debian #252873, #260471 from <a - href="#xterm_194">patch #194</a> by making the cursor not - explicitly colored if only the foreground color is set, and the - cursor is on a blank space (Debian #275473). + <li><a href="#xterm_24">Patch #24 - 1996/8/11 - XFree86 + 3.1.2Ee</a></li> - <li>correct logic for send/receive mode (SRM) with regard to control - characters. + <li><a href="#xterm_23">Patch #23 - 1996/7/31 - XFree86 + 3.1.2Ec</a></li> - <li>fix masking of invisible text in wide-character mode, which did - not work for line-drawing characters. + <li><a href="#xterm_22">Patch #22 - 1996/7/26 - XFree86 + 3.1.2Ec</a></li> - <li>incorporate CF_XOPEN_SOURCE into configure script, replacing - CF_GNU_SOURCE. -</ul> + <li><a href="#xterm_21">Patch #21 - 1996/7/24 - XFree86 + 3.1.2Ec</a></li> -<H1><A NAME="xterm_196">Patch #196 - 2004/8/15 - XFree86 4.4.99.12</A></H1> -<ul> - <li>add a special case to configure script to ignore NetBSD's - <code>grantpt()</code> which was recently added (but not part of a - release), until someone is able to ensure that xterm can use it - (report by Min Sik Kim). + <li><a href="#xterm_20">Patch #20 - 1996/7/24 - XFree86 + 3.1.2Ec</a></li> - <li>clear the buffer returned by getutid(). This fixes an infinite - loop on some platforms introduced in <a href="#xterm_193">patch - #193</a> by Debian #256468 fix (report by David Ellement). -</ul> + <li><a href="#xterm_19">Patch #19 - 1996/7/21 - XFree86 + 3.1.2Ec</a></li> -<H1><A NAME="xterm_195">Patch #195 - 2004/8/8 - XFree86 4.4.99.11</A></H1> -<ul> - <li>correct length used for blinking text, make the last column blink - (patch by Alexander V Lukyanov). + <li><a href="#xterm_18">Patch #18 - 1996/7/18 - XFree86 + 3.1.2Ec</a></li> - <li>start changes to make doublesize characters work with TrueType - fonts (see <a href="#xterm_44">patch #44</a>). - - <li>trim leading/trailing blanks from color resources as done for - other strings in <a href="#xterm_167">patch #167</a>. + <li><a href="#xterm_17">Patch #17 - 1996/7/2 - XFree86 + 3.1.2Eb</a></li> - <li>fixes for <code>showBlinkAsBold</code> resource (report by - Christoph Berg). -</ul> + <li><a href="#xterm_16">Patch #16 - 1996/6/25 - XFree86 + 3.1.2Ea</a></li> -<H1><A NAME="xterm_194">Patch #194 - 2004/7/27 - XFree86 4.4.99.11</A></H1> -<ul> - <li>change clearing operations so foreground color attribute is not - set. Usually this is benign, but in some cases when the cursor - color is not set explicitly, the cursor would show this color - (Debian #252873, #260471). + <li><a href="#xterm_15">Patch #15 - 1996/5/29 - XFree86 + 3.1.2E</a></li> - <li>add extra state (cursor-moved) to guard against deciding that the - cursor did not require repainting after an indexing operation - that leaves the cursor in the same location on the screen. + <li><a href="#xterm_14">Patch #14 - 1996/5/12 - XFree86 + 3.1.2Dj</a></li> - <li>fix a case where a full-screen indexing operation would - not restore the cursor-busy state. + <li><a href="#xterm_13">Patch #13 - 1996/4/23 - XFree86 + 3.1.2Df</a></li> - <li>fix a repainting bug introduced in - <a href="#xterm_180">patch #180</a>: when using a font - lacking line-drawing characters, a repaint of the screen could - skip horizontally an extra amount after filling in the missing - character (reports by Nicolas George, Hans de Goede, Redhat - Bugzilla #128341). + <li><a href="#xterm_12">Patch #12 - 1996/3/16 - XFree86 + 3.1.2Dc</a></li> - <li>rename terminfo fragment "xterm-pc-fkeys" to "xterm+pcfkeys" for - consistency with ncurses. -</ul> - -<H1><A NAME="xterm_193">Patch #193 - 2004/7/19 - XFree86 4.4.99.10</A></H1> -<ul> - <li>fix for wide-character selection from OpenBSD CVS - (report/patch by Matthieu Herrb). - - <li>modify initialization and cleanup of utmp data to also compare - the <code>ut_line</code> member (Debian #256468). - - <li>modify check on focus-change to ignore <code>FocusOut</code> events - generated by <code>XGrabKeyboard</code>. This fixes a case where - the text cursor would act as if focus were lost when selecting the - "Secure Keyboard" menu option. - - <li>add <code>gen-pc-fkeys.pl</code> script, use that to generate - terminfo fragment corresponding to the pc-style function keys. - - <li>fix a case where the checkmark by the "VT220 Keyboard" menu entry - was not set on startup. - - <li>separated two methods for making the cursor blink (menu and - escape sequence) by using the menu as the primary method and - XOR'ing the state of the escape sequence against that. - - <li>modify logic for enabling blinking cursor via escape sequence as - well as the related save/restore operations so this is only - available if the <code>cursorBlink</code> resource was set on - startup. -</ul> - -<H1><A NAME="xterm_192">Patch #192 - 2004/7/12 - XFree86 4.4.99.9</A></H1> -<ul> - <li>change resource settings for color4 and color12, add some discussion - in <code>XTerm-col.ad</code> (Debian #241717). - - <li>add a note in xterm manpage discussing the difference between - alt- and meta-keys, and the way the latter is used in the - <code>eightBitInput</code> resource. - - <li>add a note in xterm manpage regarding possible conflict between - resource settings for <code>xterm.vt100.font</code> and - <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650). - - <li>add compile-time customization of <code>backarrowKeyIsErase</code> - and <code>ptyInitialErase</code> default resource values - (adapted from OpenBSD CVS). - - <li>change parameter of <code>FIONREAD</code> <code>ioctl()</code> call - from long to int - (discussion on tech-x11@netbsd.org regarding LP64 by - John Heasley and Matthias Scheler). - - <li>modify configure script options for Athena widgets to work as - expected for "--without-Xaw3d", etc., (GenToo Bugzilla #53455). - - <li>add case to uxterm to accommodate locales ending with "@euro", - e.g., fr_FR.UTF-8@euro (Debian #255197, report/analysis by - Matthieu Lagouge). - - <li>add special case for VT100 graphic's "box" character (discussion - with Ben Armstrong). - - <li>add missing initialization for bitmap-font sizes needed to make - fonts menu work with TrueType fonts (report by Ben Armstrong). + <li><a href="#xterm_11">Patch #11 - 1996/3/5 - XFree86 + 3.1.2Db</a></li> - <li>save the fontnames for bold fonts that are derived from normal - fonts, or from the <code>boldFont</code> resource, so the same - value is restored when switching with the VT Fonts menu (Debian - #256086). - - <li>fix manpage preprocessing (Marc La France). - - <li>fix typo in manpage's description of character classes (Debian - #257073). - - <li>modify terminfo to accommodate luit, which relies on G1 being used - via an ISO-2022 escape sequence (Debian #254316, analysis by - Juliusz Chroboczek). - - <li>modify Makefile.in rule for ctlseqs.txt to work around groff SGR - misfeature. + <li><a href="#xterm_10">Patch #10 - 1996/2/14 - XFree86 + 3.1.2Cd</a></li> - <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> default - to 1024 (Redhat Bugzilla #127132). + <li><a href="#xterm_09">Patch #9 - 1996/2/10 - XFree86 + 3.1.2Cb</a></li> - <li>add a limit-check in <code>dotext()</code> to prevent infinite - loop in a corner case of UTF-8 configuration. - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_191">Patch #191 - 2004/6/6 - XFree86 4.4.99.7</A></H1> -<ul> - <li>correct options parsing for <code>-into</code> option so it - can be combined with <code>-e</code> (Redhat Bugzilla #124518, - report/patch by James Armstrong). + <li><a href="#xterm_08">Patch #8 - 1996/2/9 - XFree86 + 3.1.2Cb</a></li> - <li>fix ifdef's for <code>OPT_COLOR_RES2</code> - so that the fake resource table introduced in - <a href="#xterm_188">patch #188</a> - is not compiled if it is empty. - This happened to work with gcc (report by Joel Konkle-Parker). + <li><a href="#xterm_07">Patch #7 - 1996/1/28 - XFree86 + 3.1.2n</a></li> - <li>reorganize ptydata.c to use one input buffer shared between - the VTxxx and tek4014 emulators. In the new scheme, UTF-8 - decoding is performed on characters as they are needed by the - state machine rather than on buffers as they are read. + <li><a href="#xterm_06">Patch #6 - 1996/1/8</a></li> - <li>work around change in quoting of PROJECTROOT symbol when using - configure script, from changes made in - <a href="#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS - (GenToo Bugzilla #50982). -</ul> + <li><a href="#xterm_05">Patch #5 - 1996/1/7</a></li> -<H1><A NAME="xterm_190">Patch #190 - 2004/5/25 - XFree86 4.4.99.6</A></H1> -<ul> - <li>correct state for values in the range 128-159 after translating - from UTF-8: this should be ignored unless the user overrides it - with the <code>allowC1Printable</code> resource (reported by - Simon Strandgaard). - - <li>add configure-script check for nl_langinfo(CODESET), use this to - replace check of environment variables for UTF-8. + <li><a href="#xterm_04">Patch #4 - 1996/1/7</a></li> - <li>change Makefile.in rules for 256colres.h and 88colres.h so they - are only made if they do not exist. The maintainer-clean rule - will remove these files; they require perl to be made. + <li><a href="#xterm_03">Patch #3 - 1996/1/7</a></li> - <li>remove check in configure script --enable-toolbar that suppressed - this option when building with Xaw7. + <li><a href="#xterm_02">Patch #2 - 1996/1/7</a></li> - <li>apply fixes to Tektronix widget used for VT100 widget to make - toolbar work with Xaw7 (XFree86 4.x). -</ul> + <li><a href="#xterm_01">Patch #1 - 1996/1/6</a></li> + </ul> -<H1><A NAME="xterm_189">Patch #189 - 2004/5/16 - XFree86 4.4.99.6</A></H1> -<ul> - <li>do not call xim_real_init() if <code>openIm</code> resource is - false (Debian #249025). + <h1><a name="xterm_287" id="xterm_287">Patch #287 - + 2012/11/25</a></h1> - <li>minor improvements to built-in line-drawing. + <ul> + <li>fix a case where in_put() loop could continue when it has + found an X event rather than the pty, causing the pty-read to + be delayed (patch by Balazs Kezes).</li> - <li>fix a few portability issues with dynamic abbreviation support, - i.e., did not compile on Tru64. + <li>add option to <code>pointerMode</code> resource and + corresponding control sequences to allow text-cursor to remain + hidden if the pointer leaves/enters the window via accelerator + keys. Ordinary motion within the window restores the pointer + (prompted by patch by Balazs Kezes).</li> - <li>modify constraints in form used to layout toolbar, to work with - newer Xaw in XFree86 4.x. -</ul> + <li>remove special case of modifiers for the + <code>Mode_switch</code> and <code>XK_ISO_Level3_Shift</code> + from <a href="#xterm_223">patch #223</a>. Verified that the + conflict which this was intended to resolve does not happen for + normal compose- or modeswitch-handling (prompted by patch by + Balazs Kezes, Debian #638694).</li> -<H1><A NAME="xterm_188">Patch #188 - 2004/5/12 - XFree86 4.4.99.6</A></H1> -<ul> - <li>correct table entry for DEL in the ground state, which marked it - as a printable character from <a href="#xterm_171">patch #171</a> - (report by D Hugh Redelmeier). + <li>modify the handling of focus-change events to ignore those + whose detail is <code>NotifyPointer</code>, since those are + sent in addition to focus-change events directed to the old/new + windows having focus (prompted by patch by Balazs Kezes to + prevent the urgency-hint from being reset in this + scenario).</li> - <li>improve fix in <a href="#xterm_186">patch #186</a> for failure in - xim_real_init() by adding a sleep. + <li>modify description of <code>iconName</code> in manpage to + make it clearer that this resource does not specify the + filename of an icon (discussion with Ian Collier).</li> - <li>fix a typo in os2main.c - (XFree86 Bugzilla #1358, report/patch by Frank Giessler). + <li>modify <code>iconHint</code> resource to allow suppressing + the built-in icon by setting this to "none" (discussion with + Ian Collier).</li> - <li>make escape sequence reporting dynamic colors consistent with the - logic that sets it; choosing the opposite color when reverse - video is set (XFree86 Bugzilla #1361, reported by Bradd W Szonye). + <li>make <code>-iconic</code> option work with the toolbar + configuration.</li> - <li>modify initialization of 256- and 88-colors so that colors beyond - 16 are normally not X resources. This works around a hard-coded - limit in Xt which breaks xterm when 256-colors and luit are both - configured (report by Noah Friedman). + <li>correct initialization of window manager hints used to set + the icon-pixmap. That detail from <a href="#xterm_282">patch + #282</a> overwrote state used to control the + <code>-iconic</code> command-line option (report by Ian + Collier).</li> - <li>remove <code>ncv</code> from <code>xterm-256color</code> terminfo - entry since it is no longer needed (report by Eli Zaretskii). + <li>fix paste64 feature for the case where the selection comes + from the current terminal. The selection callback can happen + after the reply is partly built, making it necessary to flush + the reply-buffer to keep things in the proper order (report by + Ailin Nemui).</li> - <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> resource, - for recent/current FreeBSD. + <li>reject command-line options which are longer than the + options in xterm's table, to avoid mismatches (Redhat + #875305).</li> - <li>improve ifdef's for utempter library to omit direct calls to - <code>setutent()</code> or <code>getutent()</code> (adapted from - patch by Christian Biere). + <li>correct attribution for <a href="#xterm_282">patch #282</a> + changes.</li> + </ul> - <li>add dynamic abbreviation support like Emacs (patch by Tomasz - Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, and - enabled via the configure script <code>--enable-dabbrev</code> - option. + <h1><a name="xterm_286" id="xterm_286">Patch #286 - + 2012/10/29</a></h1> - <li>fix problem responding to session management events, e.g., which - would make logging out very slow (patch by Eddy De Greef, Debian - #233883). + <ul> + <li>fix <code>minstall.in</code> to work with "make docs" rule, + so that patch number appears in the corresponding generated + documentation.</li> - <li>work around a newer bug in toolbar with XFree86 by forcing menus - to be fully initialized at startup. In older versions of XFree86 - and X11R6, it was possible to delay initialization of the menu - contents until it was popped up. (The longstanding bug with - XFree86 4.x layout for toolbar still exists, though). + <li>modify <code>minstall.in</code> to keep the name shown in + the heading consistent with any renaming, e.g., for + test-builds.</li> - <li>modify <code>xtermAddInput</code> to work around core dump on - IRIX64 when initializing scrollbar translations if toolbar is - compiled-in. - - <li>fix some minor conflicts in the 2-character entry names in the - termcap file. -</ul> + <li>check for misconfigured <code>printerCommand</code> + resource on the first use, warn and disable it if it does not + specify an executable command (Debian #691642).</li> -<H1><A NAME="xterm_187">Patch #187 - 2004/4/27 - XFree86 4.4.99.4</A></H1> -<ul> - <li>change xterm version string to use <code>__vendorversion__</code> - where that is available, and "XTerm" otherwise. + <li>improve check for window-manager name needed to establish + usable default for activeIcon resource. This works around a + scenario where <code>gdm</code> does incomplete cleanup, + leaving window properties that refer to windows which no longer + exist (Redhat #869959).</li> + </ul> - <li>improve description of <code>utf8</code> resource in manpage - (Debian #179407). + <h1><a name="xterm_285" id="xterm_285">Patch #285 - + 2012/10/23</a></h1> - <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS to - handle <code>-D</code> options that define string values, e.g., - for <code>XVENDORNAME</code>. + <ul> + <li>add/adapt FreeBSD ports files for test-building.</li> - <li>modify configure macro CF_IMAKE_CFLAGS to allow (if - <code>$PATH</code> is set accordingly) to use the - <code>xmkmf</code> script within an X build tree. + <li>modify <code>minstall.sh</code> to use the patch-number and + date in the manpage footer.</li> - <li>add missing <code>#undef OPT_SESSION_MGT</code> to xtermcfg.hin - to make the configure script's --disable-session-mgt option work. + <li>add check for failure to allocate the fg/bg colors at + startup, e.g., misconfiguration. Work around by setting both to + the default colors (suggested by Scott Bertilson).</li> + + <li>amend change for <a href="#xterm_280">patch #280</a> which + added <code>modifyKeyboard</code>, to make + <code>modifyOtherKeys</code> work (report by Ailin Nemui).</li> + + <li>add <code>query-colors.pl</code> example for + OSC 4.</li> + + <li>correct mis-applied fix for minstall.sh (report by Miroslav + Lichvar).</li> + </ul> + + <h1><a name="xterm_284" id="xterm_284">Patch #284 - + 2012/10/14</a></h1> + + <ul> + <li>amend configurability changes for icons from <a href= + "#xterm_283">patch #283</a>, moving the new functionality to + the <code>iconHint</code> resource to avoid conflict with + existing uses of the <code>iconName</code> resource in the + <code>Shell</code> widget (report by Emanuel Haupt).</li> + + <li>fix documentation errata (reports by Miroslav Lichvar): + + <ul> + <li>correct manpage default for <code>allowTcapOps</code> + (see <a href="#xterm_243">patch #243</a></li> + + <li>modify documentation for configure + <code>--enable-backarrow-key</code> to match the script + (see <a href="#xterm_280">patch #280</a>).</li> + + <li>fix typo in <code>minstall.sh</code> in <a href= + "#xterm_283">patch #283</a>, which made the leading-cap + "Xterm" become "xterm" (patch by Miroslav).</li> + </ul> + </li> + + <li>fix two typos in configure.in from <a href= + "#xterm_283">patch #283</a> changes; one broke the + <code>--regex</code> configure option (report by H Merijn + Brand).</li> + </ul> + + <h1><a name="xterm_283" id="xterm_283">Patch #283 - + 2012/10/09</a></h1> + + <ul> + <li>modify makefile and script to generate appropriate renaming + s/xterm/xterm-dev/ for test-package's manpage.</li> + + <li>improve makefile rules for installing/uninstalling pixmap + files, to include the newer mini- and filled- variants.</li> + + <li>clarify change in manpage regarding <a href= + "#xterm_282">patch #282</a> change to always set a + window-decoration icon, even if <code>iconName</code> is not + set.</li> + + <li>add a fourth flavor of window-decoration icons, + "filled-xterm" for a monochrome xterm with filled + interior.</li> + + <li>use shape-mask to improve contrast of the window-decoration + icons.</li> + + <li>minor changes to icon colors to improve contrast on + bright-mud backgrounds.</li> + + <li>drop configure checks for memmove versus bcopy, and + strerror function; all currently tested platforms support + these.</li> + + <li>cleanup configure macros, as done in byacc 20121003.</li> + + <li>improve configurability of the built-in icon selectable via + the <code>iconName</code> resource.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_282" id="xterm_282">Patch #282 - + 2012/09/28</a></h1> + + <ul> + <li>improve configure check for + <code>XkbKeycodeToKeysym</code>, fixing a regression on some + older systems in the <a href="#xterm_280">patch #280</a> + changes.</li> + + <li>add clarification in manpage for + <code>alwaysBoldMode</code> and <code>veryBoldColors</code> + resources (prompted by Derek Martin question about using the + former with TrueType fonts).</li> + + <li>add <code>alternateScroll</code> resource and corresponding + control sequences which modify the <code>scroll-forw</code> and + <code>scroll-back</code> actions: when the alternate screen is + displayed, wheel mouse up/down will send cursor keys (Debian + #683942).</li> + + <li>improve rendering for the case when a Unicode character is + absent in the bold font but present in the normal font by + temporarily falling back to the normal font (Debian #359006, + Debian #408666).</li> + + <li>provide configure option + <code>--enable-double-buffer</code> and ifdef's to allow + comparisons with/without double-buffering. The default uses + normal buffering.</li> + + <li>add feature to optionally scroll current page before + clearing, controlled by resource setting + <code>cdXtraScroll</code> (prompted by patch by Balazs + Kezes):</li> + + <li>integrated patches from Arch Linux forum posting (patches + by Balazs Kezes): + + <ul> + <li>modify reallocation limit of line-data when resizing + screen so that "lost" text will be restored if the screen + is first shrunk and then grown.</li> + + <li>modify output to use double-buffering to reduce + flicker.</li> + </ul> + </li> + + <li>modify <code>scroll-lock</code> action to handle + on/off/toggle keywords like other actions. Previously the + optional parameter was interpreted as an integer.</li> + + <li>extend <code>DECSCUSR</code> to provide a way to set the + cursor to a vertical bar (patch by Paul Bolle).</li> + + <li>add <code>-8</code>, <code>-c</code>, <code>-d</code> and + <code>-u</code> options to <code>88colors2.pl</code> and + <code>256colors2.pl</code> scripts. No current terminal + emulator recognizes C1 controls while handling UTF-8 + encoding—see notes in <a href="#xterm_119">patch #119</a> + and <a href="#xterm_109">patch #109</a> regarding + <code>utf8controls</code>—but the <code>-u</code> and + <code>-8</code> options are useful for demonstrating this + point.</li> + + <li>improve speed when changing color palettes using OSC + controls by deferring repaint while followup controls might be + additional color palette changes.</li> + + <li>modify <code>SGR 38</code> and + <code>SGR 48</code> to accept RGB index, matching the + closest entry in xterm's palette.</li> + + <li>extend <code>SGR 38</code> and + <code>SGR 48</code> to accept colon as parameter separator + (request by Paul LeoNerd Evans).</li> + + <li>modify <code>fullscreen</code> action to allow it to toggle + the full-screen mode rather than only set or unset it (prompted + by Eeri Kask's suggestion to support + <code>_NET_WM_TOGGLE</code>). This implementation does not yet + use <code>_NET_WM_TOGGLE</code>.</li> + + <li>add support for <code>_NET_WM_STATE_MAXIMIZED_VERT</code> + and <code>_NET_WM_STATE_MAXIMIZED_HORZ</code> EWMH properties + (suggested by Eeri Kask).</li> + + <li>make fullscreen mode work with the tek4014 window. This + change makes only the currently active window to be changed to + fullscreen rather than changing both windows.</li> + + <li>modify <code>TekClear</code> function to discard pending + output before clearing the tek4014 display (patch by Kevin + Ryde).</li> + + <li>fix <code>deleteIsDEL</code> feature, broken in <a href= + "#xterm_280">patch #280</a> changes (report by Mike Thornburg, + forwarded by Jeremy Huddleston).</li> + + <li>fix a special case of wrapping double-width characters + (report/test-case by Ken Winstein).</li> + + <li>add <code>E3</code> extended capability to + <code>xterm-basic</code> to match ncurses <a href= + "http://invisible-island.net/ncurses/NEWS.html#t20120728">20120728</a> + patch.</li> + + <li>fix incorrect transformation of row-parameter for + <code>ClearCurBackground</code> in <a href="#xterm_279">patch + #279</a> which caused incorrect painting in some scrolling + scenarios (report by Chuck Silvers).</li> + + <li>fix typo in manpage description of <code>+maximized</code> + option (Paul Maier).</li> + + <li>change default for configure option + <code>--with-xpm</code>, turning it on unless requested + otherwise.</li> + + <li>add configure option <code>--with-icon-name</code> which + can be used to override the default icon used in + icon-themes.</li> + + <li>extend <code>activeIcon</code> resource to provide + <code>default</code> value which tells xterm to determine the + window manager's name and automatically enable the feature for + fvwm and window maker. The explicit true/false values can be + used to override this behavior.</li> + + <li>add "mini" xterm icon, which scales better than the + standard xterm icon, e.g., for the gnome/kde "panel" + feature.</li> + + <li>extend <code>iconName</code> resource to search for icon + named according to resource value and use that if found. If not + found, use compiled-in pixmap. Both set the WM_ICON_NAME + property which is used by various window managers, usually for + window decoration.</li> + + <li>updated autoconf patch, adding support for --datarootdir, + which changes the default location of manpages.</li> + + <li>further improved autoconf macros for configuring icons, + from vile 9.8h</li> + </ul> + + <h1><a name="xterm_281" id="xterm_281">Patch #281 - + 2012/06/26</a></h1> + + <ul> + <li>remove "$(srcdir)/" from install-icon rule to fix builds + when --srcdir configuration option is used.</li> + + <li>fix for configure script's search for icon file when it is + not found in the current directory, e.g., when building out of + tree (patch by Thierry Reding).</li> + + <li>undo the XK_Home / XK_End change from <a href= + "#xterm_280">patch #280</a> which broke the non-VT220 keyboard + for those keys (report by H Merijn Brand).</li> + </ul> + + <h1><a name="xterm_280" id="xterm_280">Patch #280 - + 2012/06/24</a></h1> + + <ul> + <li>add configure check to work around warning from + desktop-file-install for "Encoding", noting that it emits + deprecation warnings without providing its version + information.</li> + + <li>add configure option <code>--with-icon-theme</code> to tell + xterm whether to install into an icon theme, defaulting to + "hicolor" (Redhat #755206, #799614 and #804279).</li> - <li>update config.guess, config.sub -</ul> + <li>change <code>--with-icondir</code> to look for "icons" + directory rather than "pixmaps" by default. Add new option + <code>--with-pixmapdir</code> to allow these two uses to be + installed concurrently.</li> -<H1><A NAME="xterm_186">Patch #186 - 2004/4/18 - XFree86 4.4.99.4</A></H1> -<ul> - <li>change reset on <code>DECSCL</code> to a soft-reset (appears some - DEC manuals have errors). + <li>modify configure options <code>--with-app-defaults</code> + and <code>--with-icondir</code> to accept "auto" as value to + look for existing directory from well-known locations.</li> - <li>add a section to ctlseqs.ms elaborating on normal/alternate screens. + <li>add missing codes for secondary DA response which tell the + type of terminal as in the primary DA response.</li> - <li>modify initialization of Acolors[] so that any XtDefaultForeground - or XtDefaultBackground values are translated as in the Tcolors[], - to use the window's foreground/background colors. This affects - the <code>colorBD</code> and similar resources which normally have - no explicit color assigned. + <li>update primary DA response for VT420 to include user + windows and horizontal scrolling.</li> - <li>modify initialization of Tektronix window so that control sequences - setting its color before the window is popped up will apply to - its initial colors. + <li>add <code>modifyKeyboard</code> resource to support + keypad-modifier changes per request by Thomas Wolff.</li> - <li>add control sequence to set Tektronix window's text-cursor. + <li>add XK_Home / XK_End to editing-keypad checks</li> - <li>modify initialization of terminal colors, e.g., mouse pointer and - text cursor, to treat <code>XtDefaultForeground</code> and - <code>XtDefaultBackground</code> values as the actual foreground - and background colors of the terminal rather than white and black - (Debian #241717). + <li>add back-tab key <code>kB</code> to termcap entries to + match the terminfo.</li> - <li>remove an incorrect comparison against <code>PTYCHARLEN</code> in - parsing the <code>-S</code> option (report by Michael B Taylor). + <li>update terminfo to match corresponding entries in ncurses, + e.g., add <code>XT</code> and adjust <code>sgr</code> string + for xterm-bold entry.</li> - <li>minor restructuring of terminfo/termcap files, having noted some - packager's customizations which caused the structure to be - confused. + <li>add configure options to predefine the most commonly + customized resources for terminal-settings, use those to + substitute into the manpage the corresponding compiled-in + values: <code>altSendsEscape</code>, <code>backarrowKey</code>, + <code>backarrowKeyIsErase</code>, <code>deleteIsDEL</code>, + <code>metaSendsEscape</code> (Redhat #819588).</li> - <li>eliminate an isolated use of MIN/MAX in charproc.c + <li>change default emulation level to VT420 (discussion with + Ailin Nemui).</li> - <li>replace <code>XtExtdefaultfont</code> and - <code>XtExtdefaultbackground</code> by their more familiar - equivalents - <code>XtDefaultFont</code> and - <code>XtDefaultBackground</code>. + <li>improve logic for DECSCL; <a href="#xterm_279">patch + 279</a> partly enforced limitation of this to higher-level + emulations. This patch finishes that change.</li> - <li>replace ifdef's using <code>SCO</code>, <code>sco</code> and - <code>SCO325</code> with <code>__SCO__</code> - (XFree86 Bugzilla #1301, Kean Johnston). - But ensure that it still builds on platforms where this symbol - is not defined. + <li>improve check for base of combining characters, preventing + combination when cursor movement has intervened. Mosh's webpage + gives two different examples of this, with other causes + ascribed to the behavior.</li> - <li>add <code>scoFunctionKeys</code> resource, to match manpage. + <li>modify IL/DL to set cursor to first column on row for + better VT102/VT220 compatibility (prompted by code review of + mosh).</li> - <li>update manpage discussion of menus and related resources. + <li>separate state-table entries for DECSC/DECRC from the + ANSI.SYS save/restore cursor, since the latter conflicts with + DECSLRM when DECLRMM is enabled since <a href= + "#xterm_279">patch #279</a> (report/analysis by Ailin + Nemui).</li> - <li>enable utmpx support for NetBSD 1.6C and newer (patch by - Matthias Scheler). + <li>fixes to avoid using <code>SIGCHLD</code> handler of main + program in printer's subprocess (report by Joe Julian).</li> - <li>add a note in the manpage discussing xterm's treatment of open - file-descriptors (request by Dan Shearer). + <li>correct restore-parameter for mouse-modes from <a href= + "#xterm_279">patch #279</a> changes.</li> - <li>modify <code>Help()</code> to make "xterm -h" write to standard - output rather than standard error (patch by Bram Moolenaar). + <li>add null-pointer checks to input-method caching added in + <a href="#xterm_277">patch #277</a> to fix a problem in the + exposure code, when deselecting a window (report by Kriston + Rehberg).</li> - <li>check for type of failure in xim_real_init() to avoid looping when - the problem is an unsupported input method rather than a failure - to connect to the XIM server. Problem was introduced in - <a href="#xterm_175">patch #175</a> (XFree86 Bugzilla #1306). + <li>unset <code>DESKTOP_STARTUP_ID</code> environment variable + to lessen confusion on the part of GTK applications which use + the variable without checking it (report by John Little).</li> + </ul> - <li>modify <code>Imakefile</code> to remove dependency of "install" - target on the <code>xterm</code> executable to make installs from - tree without attempting to rebuild anything (commit by David Dawes, - report/patch from Lee Olsen). + <h1><a name="xterm_279" id="xterm_279">Patch #279 - + 2012/05/10</a></h1> - <li>remove call to <code>ShowCursor</code> from - <code>SetCursorBlink()</code> since that is redundant, - and can cause display glitches if the cursor is already - blinking (XFree86 Bugzilla #1158, patch/report by Andreas Schwab). -</ul> + <ul> + <li>fill in missing cases in the save/restore modes feature + (report by Thomas Wolff).</li> -<H1><A NAME="xterm_185">Patch #185 - 2004/3/3 - XFree86 4.4</A></H1> -<ul> - <li>fix tcap-query logic for the backspace key (XFree86 Bugzilla #1233, - report/patch by Anton Kovalenko). + <li>add check to ensure that combining characters are + precomposed in the order given (report/analysis by Andries E + Brouwer).</li> - <li>add test-scripts resize.pl and tcapquery.pl + <li>improve workability check for posix_openpt(), to take into + account BSD systems which do not complete initialization until + both sides of the pseudoterminal are opened (report by + Christian Weisgerber).</li> - <li>add translation to ASCII of commonly-used characters that groff - translates to Unicode, when the font in use does not provide the - corresponding glyphs (Debian #219551). + <li>amend fix for Debian #650291 in <a href="#xterm_277">patch + #277</a> changes to account for different data returned by + vnc4server (Debian #670638).</li> - <li>modify RequestMaximize(), which performs maximize/restore via - control sequences, to account for window-frame (patch by - Jess Thrysoee). + <li>add check in DECCRA operation to make copies of blinking + text also blink by updating a line-level flag.</li> - <li>improve pattern used in <code>uxterm</code> to check for UTF-8 - locale, e.g., for HPUX (patch by H Merijn Brand). + <li>modify rectangle operations to work with DECOM.</li> - <li>add <code>-fd</code> option and resource - <code>faceNameDoublesize</code> to specify double-wide fonts with - Xft (adapted from patch by Zarick Lau). + <li>modify DECSERA to use the current protected state rather + than preserving it.</li> - <li>change a couple of resource classes from "Boolean" to specific - values: <code>freeBoldBox</code>, <code>forceBoxChars</code>. + <li>add <code>precompose</code> resource to allow storing + character data in Normalized Form D as described in <a href= + "http://unicode.org/reports/tr15/">http://unicode.org/reports/tr15/</a> + (report/discussion with Andries E Brouwer).</li> - <li>add resource <code>showMissingGlyphs</code> to outline places on - the screen where a font lacks the corresponding glyph. + <li>modify CBT, other ISO-6429 controls which are used by VT520 + to work with DECOM.</li> - <li>add resource <code>showBlinkAsBold</code> to control whether - blinking text should be shown as bold or actual blinking text. + <li>add HPR and VPR controls, ISO 6429 cursor movement used in + VT520.</li> - <li>improve logic in ShowCursor() to avoid repainting the cursor when - it is already visible, e.g., in response to the DECTCEM escape - sequence. This also addresses XFree86 Bugzilla #1158. + <li>remove "linux" restriction for IUTF8 ifdef in main.c + (prompted by Matthew Dempsky posting on + mailing.openbsd.tech).</li> - <li>implement blinking text, using the timer for blinking cursor. + <li>implement the remaining VT420-level device status + reports.</li> - <li>modify FreeType support to allow resizing the font, in the same - ways the window can be resized if fixed fonts are used. The - relative font sizes are derived from the fixed font sizes. + <li>change DECXCPR to return page 1, rather than 0.</li> - <li>add menu items and corresponding actions for switching on/off - the UTF-8 mode and Xft (TrueType) support. + <li>improve VT-level checks on reporting functions, such as + DECXCPR.</li> - <li>add logic to handle switching UTF-8 mode on/off. It worked if - the escape sequences were flushed, but if data was mixed in with - the same write, some were not handled properly (report by - Nicolas George). + <li>change limit on <code>decTerminalID</code> to 525.</li> - <li>modify to allow turning UTF-8 mode on/off via escape sequence even - if <code>-wc</code> option was not given at startup (patch by Peter - Berg Larsen). + <li>fixes to improve vttest vt52 screen when running as a + VT420: - <li>amend fix for XFree86 Bugzilla #981, adjusting for savedlines value - (report by Tim Adye). + <ul> + <li>add checks for some VT2xx and up controls for + consistency: DECSCL, S1C8T, S1C7T.</li> - <li>fix a typo in computing relative font size (Jess Thrysoee). -</ul> + <li>modify DECRQSS return for DECSCL to only return that + when running as VT2xx and up.</li> -<H1><A NAME="xterm_184">Patch #184 - 2003/12/31 - XFree86 4.3.99.903</A></H1> -<ul> - <li>improve configure-script checks for FreeType and related libraries, - using <code>xft-config</code> or <code>freetype-config</code> - scripts when available. + <li>when exiting from VT52-mode, resume in VT100 level + rather than the level before starting VT52-mode.</li> + </ul> + </li> - <li>fix configure-script check for <code>SYSV</code> definition by - ensuring whether <code>sys_errlist[]</code> is declared, and by - modifying the test program to include <code>X11/Intrinsic.h</code> - to check that <code>wchar_t</code> is declared consistently (report - by H Merijn Brand). -</ul> + <li>implement DECLRMM, DECSLRMM and DECNCSM (prompted by + discussions with Ailin Nemui and Paul LeoNerd Evans). This + modifies several controls to obey top/bottom and left/right + margins.</li> -<H1><A NAME="xterm_183">Patch #183 - 2003/12/26 - XFree86 4.3.99.903</A></H1> -<ul> - <li>correct logic for configurations that may attempt to open both - old/new-style pseudoterminals. In this case, the old-style are - preferred. Logic was broken in <a href="#xterm_145">patch #145</a> - (XFree86 Bugzilla #997, report/patch by Kean Johnston). + <li>correct macro definition used for testing modes used in + ANSI/DEC request-mode controls introduced in <a href= + "#xterm_262">patch #262</a>.</li> - <li>modify handling of <code>eightBitInput</code> resource in UTF-8 - mode to translate the value into UTF-8. Otherwise an illegal - UTF-8 code is sent to the application (report by Bram Moolenaar). + <li>modify <code>x_getlogin</code> to check $LOGNAME and $USER + before fallback to <code>getlogin</code>, so that user's choice + for these variables can be carried forward to the xterm process + (Debian #611487).</li> - <li>modify <code>uxterm</code> script to interpret help and version - options so xterm does not always create a window when the user - requests this information (Debian #223926). + <li>document DECSCUSR response for DECRQSS in ctlseqs.ms</li> - <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla #981). + <li>add <code>zIconTitleFormat</code> resource to allow + customizing the "*** " prefixed to the icon title when the + <code>zIconBeep</code> feature is activated (request by Thomas + Adam).</li> - <li>modify DECSCL to perform a hard reset (RIS) as per DEC manuals. - Extended DECSCL to accept parameters for vt4XX and vt5xx terminals. + <li>modify DECSCUSR to update the same internal variable as + RM/SM 12, and document in manpage the two variables used for + controlling blinking cursor (report by Paul LeoNerd + Evans).</li> - <li>correct logic for ANSI conformance level escape sequences, which - were confused with DEC conformance level escape sequences. + <li>correct response data for DECSCUSR in reply for DECRQSS + response, which had inverted the blink-value (reports by Ailin + Nemui, Paul LeoNerd Evans).</li> - <li>correct state for vt52 shift-in/shift-out, which was not reset - properly after <a href="#xterm_171">patch #171</a>. + <li>add a null-pointer check in <code>OkPasswd</code> macro to + fix a problem in <code>resize</code> with Fedora 17 and a + serial console (report/patch by Daniel Drake).</li> - <li>correct handling of graphics characters for vt52 mode, which did - not display line-drawing characters after G1 fix from - <a href="#xterm_182">patch #182</a>. + <li>add workaround for Mac OS X, which loses the window size of + a pseudo-terminal when the tty device is opened + (report/analysis by Egmont Koblinger).</li> - <li>fixes for configure script to work with current Cygwin headers - and libraries. + <li>updated configure check for workable + <code>posix_openpt</code> versus <code>grantpt</code>, from + <code>luit</code> fixes.</li> - <li>modify <code>Imakefile</code> to put the current directory at the - beginning of the include searchpath (patch by David Dawes). -</ul> - -<H1><A NAME="xterm_182">Patch #182 - 2003/12/2 - XFree86 4.3.99.901</A></H1> -<ul> - <li>correct logic for <code>metaSendsEscape</code> resource to allow - for the meta-right key to be tested. Improve check for meta/alt - modifiers by dropping the assumption that a keysym is associated - with only one modifier, and by ignoring NoSymbol entries in the - xmodmap data (XFree86 Bugzilla #924, patch by David Dawes). - - <li>correct wrapping logic for line-drawing characters written in - non-UTF-8 mode of xterm build for wide-characters (XFree86 Bugzilla - #918, report/patch by Jürgen Keil). - - <li>improve manpage description of resources, in particular the - <code>utf8Fonts</code> class (XFree86 Bugzilla #905). - - <li>add definitions to compile with glibc-based GNU/Hurd, GNU/KFreeBSD - and GNU/KNetBSD (XFree86 Bugzilla #893). - - <li>compiler-warning fixes (patch by Christian Biere). - - <li>add README.i18n (Tomohiro Kubota). - - <li>correct initialization of G1 character set mapping, which used - line-drawing set as a result of confusion between "DEC Supplemental - Graphic" and "DEC Special Graphic" character sets - (see <a href="#xterm_34">patch #34</a> regarding DECSTR). - - <li>correct ifdef in main.c for variable utret (patch by - Bernhard Rosenkraenzer). - - <li>document in xterm's manpage how to use XFree86 ":unscaled" keyword - to suppress scaling of bold fonts. - - <li>when deriving bold fontname from normal fontname, use the normal - font's average width to avoid for example selecting 7x13bold - from an 8x13 normal font (Debian #107769). -</ul> - -<H1><A NAME="xterm_181">Patch #181 - 2003/10/26 - XFree86 4.3.99.15</A></H1> -<ul> - <li>implement <code>boldMode</code> for wide-character logic in - <code>drawXtermText()</code> (report by Michael Schroeder). - - <li>modify <code>UXTerm.ad</code> resource file to include - "XTerm-color" rather than "XTerm", in case the latter file contains - no color resource definitions, e.g., after <a - href="#xterm_180">patch #180</a>. - - <li>add action <code>load-vt-fonts()</code> and configure option - <code>--enable-load-vt-fonts</code> which allows users to define - additional sets of VT-fonts which can be loaded at runtime. - - <li>add logic to wide-character support which attempts to load fonts - specified by <code>utf8Fonts</code> subresources at startup. The - subresources have the same names as the fonts which they replace, - e.g., <code>font</code>, <code>font1</code>, etc., so that the - ISO-10646-1 fonts can be specified in the <code>XTerm</code> - app-defaults file (adapted from patch by Tomohiro Kubota). - - <li>improve Set Font escape string handling by making the relative - settings apply to the size of the font, as in shift keypad - plus/minus rather than the menu index. + <li>modify DECIC/DECDC/DECBI/DECFI implemented in <a href= + "#xterm_277">patch #277</a> to enable them only in VT4xx mode + and up (report by Ailin Nemui).</li> - <li>simplify parameter passing for the <code>set-vt-font</code> action - and related code. - - <li>cleanup some include-ordering, moving some recently-added hardcoded - stuff into xterm.h where it will not interfere with the configure - script. + <li>update config.guess, config.sub</li> + </ul> - <li>modify <code>xtermAddInput()</code> (see note on augmentation in <a - href="#xterm_158">patch #158</a>) to use the complete set of - default keyboard translations so that one can use shifted pageup, - wheel mouse, etc., while the mouse pointer is over the scrollbar. - (Debian #178812). + <h1><a name="xterm_278" id="xterm_278">Patch #278 - + 2012/01/18</a></h1> - <li>make save/restore mode controls apply to show/blink cursor states. + <ul> + <li>correct initialization for <code>eightBitMeta</code> + resource (FreeBSD #164101).</li> - <li>add escape sequence to start/stop blinking cursor, which allows - implementing <code>cvvis</code> terminfo capability (request by - Nate Bargmann). + <li>make special check for Darwin 9 (and lower) to <em>not</em> + use <code>posix_openpt</code> (report by Christian Ebert).</li> - <li>add <code>indp</code> and <code>rin</code> to terminfo entry. - - <li>fix an out-of-bounds array reference in ScrnRefresh() for wide - characters (report by Dan Harnett, patch by Todd Miller). - This bug dates from <a href="#xterm_141">patch #141</a>. -</ul> + <li>minor fixes (adding ".ne" directives) to reduce the cases + where groff's utility for generating images for tables dumps + core. Most versions of groff (I've found 1.19.2 to be the most + stable) dump core when attempting to report that there are too + few lines on a page for a table to be shown.</li> + </ul> -<H1><A NAME="xterm_180">Patch #180 - 2003/10/12 - XFree86 4.3.99.15</A></H1> -<ul> - <li>several fixes for rendering using Xft via option <code>-fa</code>: - <ul> - <li>translate Unicode values, i.e,. from UTF-8 output to xterm, for - line-drawing to xterm's internal code, etc., since TrueType fonts - generally do not have either set of line-drawing glyphs. xterm - can draw these directly (report by Abigail Brady). - <li>pass 16-bit values rather than 8-bit values to - xtermXftDrawString() to allow for wide-characters. - <li>remove spurious check for <code>colorBDMode</code> resource in - logic that does bold fonts. - <li>implement underlining. - </ul> + <h1><a name="xterm_277" id="xterm_277">Patch #277 - + 2012/01/07</a></h1> - <li>patches by Ilya Zakharevich: - <ul> - <li>improve drawXtermText() by making the recursive calls - communicate through arguments, and not through saving/restoring - global variables. + <ul> + <li>remove special case for ISC pseudo-terminals which attempts + to open the pty in two different ways.</li> - <li>make double-width characters work with <code>-u8</code> option. + <li>move call to <code>grantpt</code> before asking utempter to + add a record, to work with kFreeBSD which does not update the + terminal's ownership until this point (Debian #652907).</li> - <li>modify lookup of double-sized fonts by checking for a match - ignoring x/y resolution if the first check fails. - </ul> - - <li>make height of TrueType fonts match ascent+descent (patch by - Keith Packard). - - <li>correct configure-script check for imake $CFLAGS, which did not - check properly if imake was not available. - - <li>correct install rule in Makefile.in for <code>uxterm</code>, which - was attempting to strip the script (newsgroup posting by Fernan - Aguero). - - <li>correct AF/AB strings in termcap for xterm-256color and - xterm-88color entries (report by Josh Howard). - - <li>update wcwidth.c to incorporate changes from Markus Kuhn's - 2003-05-20 (Unicode 4.0) version of that file. - - <li>modify <code>scroll-back</code> and <code>scroll-forw</code> - actions to accept an adjustment value, e.g., - <pre> - <code>scroll-back(1, page-2)</code></pre> - to scroll back by 2 lines less than a page (patch by Greg - Klanderman). - - <li>use color resource setting from Debian package for xterm VT100 widget, - since the choice of blues provides better contrast. - - <li>remove color resources from <code>XTerm.ad</code>, leaving them - only in <code>XTerm-col.ad</code> (prompted by Debian package for - xterm). - - <li>correct configure script option --enable-pty-handshake (report by - Paul Gilmartin). - - <li>add <code>visualBellDelay</code> resource to modify the length of - time used for visual bell, for very slow displays or very fast - computers (reports by Ingo van Lil and Doug Toppin). - - <li>correct logic for initializing dynamic highlight color (patch by - Jess Thrysoee). - - <li>add a check for non-zero size in call to <code>XCopyArea()</code> - to accommodate a Solaris bug. - - <li>correct typo in example for character classes in xterm manpage - (Debian #198910). - - <li>link xterm with bind_on_load option on Darwin to work around a - deadlock in the dynamic loader when a signal is received while - the dynamic loader is looking up symbols (patches by Rob Braun, - Torrey Lyons). - - <li>modify configure script to avoid using "head -1". - - <li>update config.guess, config.sub - - <li>modify ifdef's to work around inclusion of types FcChar32 and - XftCharSpec with FreeType 2.0 (see <a href="#xterm_175">patch #175</a>). - - <li>modify the predictable version of the generated logfile name (see - <a href="#xterm_171">patch #171</a>) to append the process-id rather - than a random value. - - <li>resync with XFree86 CVS - <ul> - <li>Enable SCO function keys in xterm - <li>Make Delete key send DEL by default on SCO in xterm - </ul> -</ul> - -<H1><A NAME="xterm_179">Patch #179 - 2003/5/21 - XFree86 4.3.99.5</A></H1> -<ul> - <li>modify ifdef's for WTMPX_FILE to allow building on cygwin again. - - <li>change the default of pty-handshaking configure option (and related - default for imake) to assume this feature is needed. - - <li>add ifdef's so configure option for XawPlus library works (patch - by Pavel Roskin). - - <li>add <code>$(MAIN_DEFINES)</code> to the variables checked by the - configure script that may contain information set by imake. This - allows xterm to build/run properly using the configure script on - IRIX64. - - <li>add configure check for ".exe" suffix on cygwin. -</ul> - -<H1><A NAME="xterm_178">Patch #178 - 2003/5/18 - XFree86 4.3.99.5</A></H1> -<ul> - <li>modify default for configure <code>--enable-pty-handshake</code> - option to enable it for Solaris (report by Nelson Beebe). + <li>document limitation of XIM interface in manpage (Debian + #230787).</li> - <li>modify <code>in_put()</code> function to call - <code>PreeditPosition()</code> only when the cursor's position has - changed. This addresses report by Stefan Baums of high CPU usage - while xterm with chinput are running in the background (patch by - Yong Li). + <li>cleanup error reporting with new xtermWarning + function.</li> - <li>improved explanation of <code>-ls</code> conflict with - <code>-e</code> option in xterm manpage (adapted from comments by - Henning Makholm). - - <li>correct comment in terminfo file regarding modifier used for - <code>kDC</code> (Debian #189764, report by Henning Makholm). - - <li>correct/extend some of the keypad description in ctlseqs.ms - (report by Henning Makholm). - - <li>correct keypad-mapping table in input.c so <code>XK_KP_Equal</code> - works (report by Henning Makholm). - - <li>modified to work with CJK double-width (bi-width/monospace) fonts. - They're similar to Roman Czbora and David Starner's gnuunifonts in - that Latin letters and numbers have all the same width which is - exactly the half of the width of East Asian characters. (patch by - Jungshik Shin <jshin@mailaps.org>). - - <li>add configure option <code>--enable-broken-osc</code> and resource - <code>brokenLinuxOSC</code> to accommodate scripts which do not - distinguish between running in the Linux console and running in X. - Linux console recognizes malformed control strings which start - with an <code>OSC</code>, but are fixed-length, with no terminator. - - <li>add configure option <code>--enable-broken-st</code> and resource - <code>brokenStringTerm</code> to allow - user to revert one part of the parsing table corrections from - <a href="#xterm_171">patch #171</a>. (reports by - Matthias Scheler and - Kirill Ponomarew indicate that someone's - network firmware sends an <code><escape>X</code>). - - <li>modify configure <code>--disable-imake</code> to provide values - for <code>OSMAJORVERSION</code>, <code>OSMINORVERSION</code>, - <code>FUNCPROTO</code> and <code>NARROWPROTO</code> (report by - Heiko Schlichting). - - <li>correct <code>vttests/16colors.sh</code>, which omitted the - <code>$SUF</code> variable in output strings (patch by Paul - Gilmartin). - - <li>modify shell scripts in <code>vttests</code> directory to attempt - to use named signals in the <code>trap</code> statement, making - this portable to OS/390 (report by Paul Gilmartin). Tested on - SunOS 4.1.4, which implements only numbers. -</ul> - -<H1><A NAME="xterm_177">Patch #177 - 2003/3/23 - XFree86 4.3.0</A></H1> -<ul> - <li>fix definition of <code>USE_HANDSHAKE</code>, must be numeric - (reported by Jens Schleusener). -</ul> - -<H1><A NAME="xterm_176">Patch #176 - 2003/3/22 - XFree86 4.3.0</A></H1> -<ul> - <li>add configure option <code>--enable-pty-handshake</code> to allow - one to compile-in support for the pty handshaking logic, and - resource <code>ptyHandshake</code> to enable or disable it - (suggested by Ian Collier). - - <li>restore <code>USE_HANDSHAKE</code> ifdef removed in - <a href="#xterm_159">patch #159</a> - to address Debian #39964. - - <li>move ifdef's for ttysize/winsize into xterm_io.h - - <li>simplify loop on <code>tgetent</code>, check if the successive - entries in the lookup table are the same. That makes xterm do - one less lookup if there is no "xterm" entry in the termcap file - (report by Derek Martin). - - <li>correct manpage discussion of <code>$TERM</code> and - <code>$TERMCAP</code> variables, which omitted the Tektronix - emulation and a note of the final "dumb" fallback. - - <li>broaden ifdef for <code>XRegisterIMInstantiateCallback()</code> - from <a href="#xterm_175">patch #175</a> (XIM fix) to exclude - non-XFree86 (report by Nelson Beebe indicates this breaks for - Solaris, IRIX and OSF/1). - - <li>correct resource-size for <code>iconFont</code> (this was added - by X11R6.3). - - <li>improve configure check for XKB bell extension, to work around - inconsistent implementation of this feature (reports by Nelson - Beebe, Kriston Rehberg and David Ellement). - - <li>modify configure-check for <code>tty</code> group to be less - strict in batch mode (report by Nelson Beebe). - - <li>modify to allow building with g++, to use its compiler warnings - (suggested by Nelson Beebe). - - <li>modify <code>dec2ucs[]</code> table to reflect newer codes - available for scanlines 1, 3, 7, 9 (report by Michael Schroeder). - - <li>add configure option for XawPlus library. -</ul> - -<H1><A NAME="xterm_175">Patch #175 - 2003/3/9 - XFree86 4.3.0</A></H1> -<ul> - <li>fix a SIGSEGV which could occur if xterm is connecting to XIM - server, and the XIM server is destroyed (patch by Nam SungHyun). - - <li>modify to use built-in line-drawing characters for Xft fonts - (patch by Andrew Tipton). - - <li>make menu reflect the state of the <code>tekInhibit</code> - resource. - - <li>make <code>signalInhibit</code> resource work, i.e., disable the - menu entries that would send signals to, or exit xterm. This was - probably broken in X11R5 when logging was disabled (report by Sven - Mascheck). - - <li>changed classes of <code>colorBDMode</code> and similar - resources that override colors when a video attribute is - set to <code>ColorAttrMode</code>, to make them distinct - from <code>ColorMode</code>. This avoids an unexpected - rendering of reverse video, for example (report by Paul Fox). - - <li>changed class of <code>veryBoldColors</code> to - <code>VeryBoldColors</code>, since - <code>ColorMode</code> is associated with boolean resources. - - <li>add option <code>-k8</code> and resource - <code>allowC1Printable</code> to allow users of non-VTxxx - character sets such as KOI-8 to treat the C1 control area - (character codes 128-159) as printable rather than control - characters. - - <li>add a null-pointer check for return-value of <code>ptsname()</code> - in HPUX-specific code (report by David Ellement). - - <li>revise the ifdef's used for <code>XKB</code> bell support. The - code was using a nonstandard call <code>XkbStdBell()</code>. - Changed to use <code>XkbBell()</code> (based on patch by - <derek@signalmarketing.com>). - - <li>add a null-pointer check in <code>xtermLoadFont()</code> in case - there is no wide-bold font (Nam SungHyun). - - <li>change <code>Makefile.in</code> to use autoconf's - <code>bindir</code>, <code>libdir</code> and <code>mandir</code> - variables (report by Nam SungHyun). - - <li>add <code>le</code> to termcap <code>xterm-basic</code> entry. - Though missing from older termcaps for xterm, some applications - check for it (report by Matthias Buelow). - - <li>modify <code>uxterm</code> script to strip modifiers such as "@euro" - from the locale setting before adding ".UTF-8" (Debian #179929). - - <li>modify the remaining places where tek4014 emulation uses - <code>XDefineCursor()</code>, to make it work as originally - implemented, e.g., when switching back to alpha mode. - Added test-screen in vttest to test this feature properly. -</ul> - -<H1><A NAME="xterm_174">Patch #174 - 2003/2/25 - XFree86 4.2.99.903</A></H1> -<ul> - <li>work-around for XFree86 bug which made <code>XDefineCursor()</code> - on a shell-window no longer work. The tek4014 emulation used this. - Use the next lower window (report by Karl Rudolf Bauchspiess). - - <li>add a resource setting <code>allowWindowOps</code> to control - whether the extended window operations should be allowed, e.g., - resize, iconify, report window attributes. This is to accommodate - people who are not capable of using a pager to view log-files. -</ul> - -<H1><A NAME="xterm_173">Patch #173 - 2003/2/6 - XFree86 4.2.99.902</A></H1> -<ul> - <li>reset mouse mode to normal on a full reset. This does not apply - to mouse hilite tracking mode, of course (see ctlseqs.ms). - - <li>add a time-delay at the point where mouse hilite tracking mode - choses to not handle X events, to avoid runaway CPU usage - (report by D Hugh Redelmeier). - - <li>check for illegal character in DECUDK string, quit if detected. -</ul> - -<H1><A NAME="xterm_172">Patch #172 - 2002/12/27 - XFree86 4.2.99.3</A></H1> -<ul> - <li>fixes to make repainting of 256-color example work properly - (reports by Abigail Brady and Scott A Crosby). - <ul> - <li>set flag in <code>AllocateAnsiColor()</code> to ensure the color - is allocated once only. - <li>fix check in <code>ScrnRefresh</code>, which was comparing - background colors only if the ANSI foreground colors also were set. - </ul> - - <li>merge <code>Error()</code> calls and some <code>exit()</code> calls - into <code>SysError()</code>, and change that to add the brief - explanation for each error code which is provided in the manpage. - Change a few <code>SysError()</code>, calls to avoid using code 1, to - avoid confusion with exit status from places that do not use - <code>SysError()</code>. - - <li>simplify logic used to open a debug logfile as the standard error. - - <li>modify the <code>-e</code> option so that if it fails, xterm will - check if only one argument follows, e.g., it was quoted, and then - retry using <code>sh -c</code>. - - <li>modify parsing of DECUDK string parameter to allow a comma between - pairs of hexadecimal digits (Ray Neuman <raymond@one.com.au> - reports that "real" terminals accept this; perhaps they simply - ignore unexpected characters). - - <li>fix a few problems with the <code>$TERMCAP</code> string generated - by <code>resize</code>: - <ul> - <li>for Bourne shell, add an <code>export</code> command. - This was missing as far back as X11R5. - <li>escape exclamation marks, used in xterm's reset string. - <li>translate literal <code>\177\</code> to "^?". - </ul> - - <li>improve configure check for <code>tgetent()</code> to work when - <code>$TERMCAP</code> has been set to a specific entry. - - <li>modify <code>minstall.sh</code> to use "%" rather than "@", - to avoid problems with AFS (report by Zdenek Sekera). - - <li>list fatal error codes from <code>error.h</code> in the manpage, - remove unused codes in <code>error.h</code>. - - <li>use more explicit wording for manpage list of color resources, - since at least one user confused the generic names such as "black" - with the names in rgb.txt (the latter are now used). - - <li>minor fix to description of 1003 mouse mode in ctlseqs.ms - (Larry Riedel). -</ul> - -<H1><A NAME="xterm_171">Patch #171 - 2002/12/12 - XFree86 4.2.99.3</A></H1> -<ul> - <li>modify parser tables to improve detection of malformed control - sequences, making xterm behave more like a real DEC terminal - (patch by Paul Williams). - - <li>update comment in <code>input.c</code> to document - <code>Meta</code> as a modifier for escape sequences (patch by D - Roland Walker). - - <li>add ifdef'd code for logging option which adds the hostname and a - timestamp to the generated logfile name. The ifdef's are setup - with the configure script (patch by Nelson Beebe). - - <li>remove <code>xevents()</code> call from the end of - <code>BlinkCursor()</code>, to fix an occasional problem - which caused xterm to pause until a key was pressed. - The reason for this was that there was no check to ensure that - there really were events for <code>xevents()</code> to process. - (patch by Semen A Ustimenko <semenu@FreeBSD.org>). - - <li>remove unused mode-params from <code>open()</code> calls that do - not create a file. - - <li>modify configure script to put new items first on - <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid conflict - with environment's <em>-I</em> and <em>-D</em> options. - - <li>update config.guess, config.sub - - <li>resync with XFree86 CVS - <ul> - <li>fix va_args glitches for xterm/libfontconfig: 0 == (void*)0 - isn't true for all platforms (Egbert Eich). - <li>initialise ProgramName in xterm's main before referencing it - (#5473, Peter Valchev). - <li>some cleanup of Imakefile ifdef's (Marc La France). - </ul> -</ul> - -<H1><A NAME="xterm_170">Patch #170 - 2002/10/13 - XFree86 4.2.1</A></H1> -<ul> - <li>correct an off-by-one allocating data for sorted help message. - - <li>modify configure script to check for Xpm library, on which XFree86 - Xaw library depends. - - <li>update config.guess, config.sub -</ul> - -<H1><A NAME="xterm_169">Patch #169 - 2002/10/5 - XFree86 4.2.1</A></H1> -<ul> - <li>modify wording of some options in help message to make them use - <code>-/+</code> consistently with respect to "on/off" or "off/on". - - <li>sort options list which is displayed in help- and syntax-messages - at runtime to simplify maintenance. - - <li>remove support for Amoeba and Minix (Juliusz Chroboczek noted it - was removed from XFree86 server; there have been no users since - 1996). + <li>add configure option <code>--disable-selection-ops</code> + to make the new actions optional.</li> - <li>add configure script option <code>--disable-session-mgt</code> - to control whether the session management code should be compiled-in - (request by H Merijn Brand). + <li>add four new actions for making the selection or data + directly copied from the screen (prompted by discussion in + Debian #637001, as well as report by Arjen van Tol): - <li>ifdef'd the session-management changes with - <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which predates - the related definitions. - - <li>fix <code>decode_keyvalue()</code>, which did not properly parse - multiple settings as needed for the <code>ttyModes</code> resource, - since it did not skip over the parsed data. + <ul> + <li>exec-formatted</li> - <li>fix an option-parsing conflict between <code>-class</code> and - <code>-cjk_width</code> (Nam SungHyun) + <li>exec-selectable</li> - <li>add a missing null in <code>XtVaSetValues()</code> call used in - <code>Cleanup()</code> (Nam SungHyun) -</ul> + <li>insert-formatted</li> -<H1><A NAME="xterm_168">Patch #168 - 2002/9/29 - XFree86 4.2.1</A></H1> -<ul> - <li>improve data reported for control sequence that requests window - position by taking into account the window decorations, e.g., - border and title (patch by Jess Thrysoee <jess@thrysoee.dk>). - - <li>add <code>-cjk_width</code> and corresponding resource - <code>cjkWidth</code> (patch by Jungshik Shin - <jshin@mailaps.org>). - - <li>add <code>-into</code> option, for embedding xterm in a Tcl/Tk - application (patch by George Peter Staplin <georgeps@xmission.com>). - - <li>add simple session management (XSM) client capabilities to xterm. - So a session manager such as, e.g., xsm, should be able to respawn or - kill xterms without the help of an SM proxy (like smproxy), which is - a hack and almost always buggy (patch by David Madore). - - <li>fix conflict between ifdef's for <code>OPT_DEC_LOCATOR</code> and - <code>OPT_READLINE</code> in button.c (reported by Ilya Zakharevich). - - <li>fix for inconsistent use of <code>struct utmp</code> versus - <code>struct utmpx</code> introduced in <a href="#xterm_167">patch #167</a> - (patches by Paul Gilmartin, Marc La France). + <li>insert-selectable</li> + </ul> + </li> - <li>modify logic for <code>metaSendsEscape</code> to allow it to work - in a setup where the Meta-key is not recognized as a modifier by - the key-translations logic (discussion of eightBitInput with H.J.Lu). - Note however that Vincent Lefevre reported this in January). - - <li>use null pointer values consistently, rather than literal "0", for - ending variable-length argument lists, e.g., for - <code>execlp()</code> (based on patch by Matthieu Herrb). - - <li>correct logic of <code>ChangeAnsiColorRequest()</code>, which would - do a screen repaint after replying to a request for information. + <li>add <code>visualBellLine</code> resource to allow + <code>visualBell</code> to flash only the current line + (prompted by patch by Gertjan Halkes).</li> - <li>improve scripts in vttests to work with systems whose shells support - <code>echo -n</code> and have, as does Debian, an unrelated - <code>print</code> utility. + <li>add <code>eightBitMeta</code> resource to control the + features which modify or interpret the eighth bit of a key when + the meta modifier key is pressed (prompted by Debian + #326200).</li> - <li>add vttests/acolors.sh to demonstrate OSC 4, which queries or - sets ANSI colors. - - <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich). + <li>improve discussion of <code>eightBitInput</code> in the + manpage (prompted by Debian #326200).</li> - <li>typos in xterm manpage (Jens Schweikhardt) - - <li>remove a redundant GCC_UNUSED from InitPopup() (Nam SungHyun) -</ul> - -<H1><A NAME="xterm_167">Patch #167 - 2002/8/24 - XFree86 4.2.0</A></H1> -<ul> - <li>correct ifdef's for <code>USE_TERMCAP</code> to match cygwin - configuration. + <li>correct logic for <code>alt-sends-escape</code> action, + overlooked when implementing <code>altSendsEscape</code> + resource, which still used <code>eightBitInput</code> resource + value.</li> - <li>fix several places in ctlseqs.ms which had no boxes around the - literal text (report by Ilya Zakharevich). + <li>add a workaround for <code>XAllocColor()</code>, which does + not actually allocate "a read-only colormap entry corresponding + to the closest RGB value supported by the hardware", but rather + a rough approximation (Debian #650291).</li> - <li>extend mouse support for readline, - ifdef'd with OPT_READLINE - (integrated patch from Ilya Zakharevich). + <li>undo parameter checks for <code>RequestResize()</code> + added in <a href="#xterm_251">patch #251</a> and amended in + <a href="#xterm_270">patch #270</a>, because zeros also are + special cases (report by John S Urban).</li> - <li>modify terminfo description to match default for - <code>modifyCursorKeys</code> resource. + <li>modify some test-scripts to use <code>/bin/echo</code> + rather than the shell's possibly-builtin <code>echo</code>, to + work around broken configuration on Mac OS X, i.e., neither + honoring the option nor flagging an error.</li> - <li>add <code>modifyCursorKeys</code> resource to control how the - shift- and similar modifiers are used to make a cursor escape - sequence. The default makes a modified escape sequence always start - with CSI and puts the modifier as the second parameter, to avoid - confusing applications that would interpret the first parameter as a - repeat count. The original behavior can be obtained by setting the - resource to 0 (newsgroup discussion with Stephen J Turnbull, - Jeffrey Altman). + <li>add SGR 1006, as a better technical solution than SGR 1015: - <li>correct missing initializations for <code>appdefaultCursor</code> - and <code>appdefaultKeypad</code> resources. + <ul> + <li>the responses will not be confused with line-deletion + and scrolling controls.</li> + + <li>the button encoding is a little simpler, since it does + not add an unnecessary 32 because the integer parameter + does not have to be represented as a printable + character.</li> + + <li>the control responses for pressing and releasing a + mouse button differ, allowing an application to tell which + button was released.</li> + </ul> + + <p>Besides these improvements, in discussion, it was noted + that urxvt's implementation of 1005 is incorrect, relying + upon a locale that provides UTF-8 encoding. In contrast, + vttest demonstrates a correct decoding, independent of + locale.</p> + </li> + + <li>add support for urxvt SGR 1015 to address shortcoming of + SGR 1005 with luit (patch by Egmont Koblinger).</li> + + <li>add ISO and DEC controls useful for left/right + scrolling.</li> + + <li>add some changes for OpenBSD and MirBSD (adapted from patch + by Thorsten Glaser): + + <ul> + <li>disable search for non-Unix96 ptys.</li> + + <li>fix a gcc warning in + <code>timestamp_filename</code></li> + + <li>modify <code>Imakefile</code> to install xterm setgid + to utmp.</li> + </ul> + </li> + + <li>add/use/prefer <code>posix_openpt()</code> for opening + pseudo-terminal.</li> + + <li>modify special errno handling case in ptydata.c from + <a href="#xterm_158">patch #158</a> to allow for the + possibility that any platform may have special cases where + "/dev/tty" is absent. For example, this can happen in a FreeBSD + jail (patch by David Wolfskill).</li> + + <li>add keyboard logic to map shift-tab into XK_ISO_Left_Tab, + which is usually, not always, done by the X keyboard + configuration.</li> + + <li>portability fixes for some configure macros: + <code>CF_XOPEN_SOURCE</code></li> + </ul> + + <h1><a name="xterm_276" id="xterm_276">Patch #276 - + 2011/10/10</a></h1> + + <ul> + <li>modify clipping limits for TrueType fonts to account for + the <code>scaleHeight</code> resource setting, to work around + another problem due to recent FreeType changes. In this case, + the <code>DejaVu Sans Mono</code> set to pixelsize=13.5 is + truncated because the font descent is reduced by FreeType to + match an incorrect height metric (report by Adam Lee).</li> + + <li>improve recovery when bitmap fonts are not installed, e.g., + so that switching font-sizes works for TrueType fonts.</li> + + <li>modify lookup for <code>XTERM_SHELL</code> feature to allow + relative pathnames.</li> + + <li>modify abbreviation disambiguation check for command-line + parameters to account for <code>-geometry</code>, whose + parameter may begin with "+" or "-" (report by Scott + Bertilson).</li> + </ul> + + <h1><a name="xterm_275" id="xterm_275">Patch #275 - + 2011/09/11</a></h1> + + <ul> + <li>add <code>ash</code>, <code>zsh</code> to known shells for + <code>resize</code>.</li> + + <li>modify <code>resize</code> to reuse the logic from + <code>xterm</code> which determines the actual logon-user's + shell if <code>$SHELL</code> is not set.</li> + + <li>revert the <code>unsetenv("SHELL")</code> added in <a href= + "#xterm_272">patch #272</a>.</li> + + <li>an <code>unsetenv("SHELL")</code> added in <a href= + "#xterm_272">patch #272</a> to help ensure that + <code>luit</code> would get the user's shell consistently did + not work as expected for cases where multiple names are in the + password-file for a given uid. That was because changes in + <a href="#xterm_157">patch #157</a> to handle this situation + did not take into account that repeated calls to + <code>getpwnam</code> and <code>getpwuid</code> return a + pointer to the same static buffer. Fixed the older logic to + work as intended, by ensuring that the passwd-data from each + call is stored separately (report by Paul Keusemann).</li> + + <li>adjust ifdef's for <code>putenv</code> and + <code>unsetenv</code> in case only one of those is provided on + a given platform.</li> + + <li>correct comparison used in <code>ExposeContains</code> + macro from <a href="#xterm_274">patch #274</a> changes, to + handle window-dragging (patch by Todd Eigenschink).</li> + </ul> + + <h1><a name="xterm_274" id="xterm_274">Patch #274 - + 2011/09/05</a></h1> + + <ul> + <li>portability fixes for cygwin: do not define + <code>SVR4</code>, and work around nonstandard header + location.</li> + + <li>ifdef'd use of <code>unsetenv</code> from <a href= + "#xterm_273">patch #273</a> changes to work with Solaris 9 + (report by Waldemar Rachwal).</li> + + <li>modify logic for <code>XtAppPending</code> to merge + adjacent <code>Expose</code> and <code>ConfigureNotify</code> + events which are redundant (report by Edward McGuire).</li> + + <li>fix an unneeded warning message when <code>-r</code> option + is given.</li> + + <li>remove a few redundant entries from table used for helping + abbreviation-checking of command-line options, makes + <code>-geom</code> work again after <a href="#xterm_272">patch + #272</a> changes as an abbreviation of + <code>-geometry</code>.</li> + + <li>add <code>scaleHeight</code> resource and command-line + option <code>-sh</code> as workaround for some + font-configurations broken by changes in FreeType 2.4.6 (report + by Miroslav Hodak).</li> + + <li>portability fixes for some configure macros: + <code>CF_FUNC_TGETENT</code>, <code>CF_XOPEN_SOURCE</code>, + <code>CF_X_ATHENA_LIBS</code>.</li> + + <li>add configure option <code>--with-freetype-config</code> to + improve selection over the plethora of configuration options + which freetype has so far provided.</li> + + <li>build-fix for configure <code>--enable-load-vt-fonts</code> + when <code>--enable-widec</code> is not specified.</li> + + <li>build-fixes for suppressing various features, needed after + changes in patches 270, 271 and 272 (report by Brian + Lindholm)</li> + </ul> + + <h1><a name="xterm_273" id="xterm_273">Patch #273 - + 2011/08/25</a></h1> + + <ul> + <li>build-fix for out-of-tree "make docs" rule.</li> + + <li>correct a typo in <code>x_strdup</code>, from <a href= + "#xterm_198">patch #198</a> changes.</li> + + <li>correct initialization for <code>-e</code> option, broken + in <a href="#xterm_272">patch #272</a> changes (report by + Gabriele Balducci).</li> + + <li>build-fix for out-of-tree builds to address + <code>minstall</code> script changes in <a href= + "#xterm_272">patch #272</a> (patch by Thierry Reding).</li> + </ul> + + <h1><a name="xterm_272" id="xterm_272">Patch #272 - + 2011/08/24</a></h1> + + <ul> + <li>document limitation of <code>Gtk</code> in connection with + xterm's <code>-into</code> option, in the manpage (Ubuntu + #806969).</li> + + <li>improve <code>-into</code> by checking for and using the + size of the window within which xterm is embedded, overriding + other clues.</li> + + <li>modify logic for <code>localeFilter</code> resource to + allow that to include command-line options of luit.</li> + + <li>improve <code>-into</code> by checking for invalid + window-id, and allowing hexadecimal/decimal/octal values.</li> + + <li>improve <code>keepSelection</code>, adding the case where + the highlighting is cleared, overlooked in <a href= + "#xterm_230">patch #230</a> (patch by Marco Peereboom).</li> - <li>add configure option <code>--enable-luit</code> and ifdef'd the - luit-related code with OPT_LUIT_PROG. + <li>improve command-line parsing to make abbreviate options + work consistently across xterm-specific versus standard X + toolkit options, and report cases where an abbreviated option + happens to be ambiguous. In particular, <code>-d</code> now + works as an abbreviation for <code>-display</code>.</li> - <li>modify xterm to invoke luit (integrated patch by Tomohiro Kubota) + <li>fix regression in command-line parsing introduced in + <a href="#xterm_271">patch #271</a> changes for Debian #629358, + (Debian #637910).</li> - <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 version. + <li>split-out new termcap/terminfo building block + <code>xterm+kbs</code> for configurability.</li> - <li>correct limit-checking in <code>ComputeSelect()</code> to handle - selections that extend off the visible area; rather - than modify the parameters to <code>TrackText()</code>, use - <code>ScrollSelection()</code> to update the highlighting limits. - (reported by Yegappan Lakshmanan and Nelson Beebe, - patch by Alexander V Lukyanov). + <li>modify <code>terminfo</code> file to reflect changes in + ncurses for <code>xterm-16color</code> and + <code>xterm-256color</code>.</li> - <li>correct manpage description of <code>tiXtraScroll</code> resource - (reported by Tony Finch). + <li>modify <code>minstall.sh</code>, etc., to reflect the + default default class, <code>$TERM</code> and + <code>decTerminalID</code> values.</li> - <li>changes from OpenBSD: - <ul> - <li>Make xterm setgid utmp to be able to update utmp even - with root privileges revoked. - <li>If not updating utmp, revoke group privileges totally too. - </ul> + <li>reword <code>resize</code> manpage to reflect the fact that + <code>$TERMCAP</code> is not set on all systems (patch by Alan + Coopersmith).</li> - <li>changes from NetBSD: - <ul> - <li>Check that the return value from ttyslot() is greater than 0 - before writing the utmp file. - Fixes w's "w: Stale utmp entry: <user> <tty> <pty>" errors. - <li>Use openpty() to deal with new pty naming scheme. - </ul> + <li>work around combined Xaw6/Xaw7 package in DragonFlyBSD + which omits the usual symbolic link to the preferred library + name.</li> - <li>add <code>print-redir</code> action and menu entry to allow user to - switch terminal in/out of printer controller mode. It appears from - the manual that a real vt220 would not switch back to normal mode, so - another mechanism is used (addresses Debian #37517). + <li>further improve build-fix for termcap systems by checking + for some which are only partial implementations, e.g., termcap + 2.08 in CentOS 5.2</li> + </ul> - <li>check if <code>printerCommand</code> resource string is empty, use - this to allow user to disable printer function. + <h1><a name="xterm_271" id="xterm_271">Patch #271 - + 2011/07/14</a></h1> - <li>trim trailing blanks from resource strings. + <ul> + <li>omit permissions adjustments to pty on exit except for + pre-Unix98 ptys, since modern implementations handle this + (report by Sean C Farley).</li> - <li>check return value from <code>ptsname()</code>, which may return - null for example if someone has changed the permissions of /dev/pts - to zero (Debian #121899). + <li>modify logic for switching fonts between UTF-8 and + non-UTF-8 encoding to not merge the derivable bold-, wide- and + widebold values from the VT100 fonts. Also suppress warning + when not using UTF-8 fonts if wide- and widebold-fonts cannot + be derived or otherwise loaded (report by Werner + Scheinast).</li> - <li>modify OS/2 version to use <code>__UNIXOS2__</code> definition - rather than <code>__EMX__</code>, related cleanup (patch by Holger - Veit). + <li>modify menu-creation to suppress entries which will never + be used in the current configuration, rather than simply + disabling them.</li> - <li>used modified indent 2.0 - (patch <a href="ftp://invisible-island.net/gnu-patches/">20020428</a>) - to reformat most of the C source files, to simplify maintenance. + <li>add resource <code>printModeImmediate</code> and menu item + to allow print of screen plus saved lines to a file.</li> - <li>fix a couple of places where there were leading tabs on - symbol-definition lines in Imakefile (Marc La France from report by - Tony Finch) + <li>add menu item to allow runtime enable/disable of the + <code>printFileOnXError</code> feature.</li> - <li>add imake variable (TraceXTerm) to allow building debug version - (Egbert Eich). -</ul> + <li>append a timestamp to filename used in + <code>printFileOnXError</code> feature, and restrict its + permissions (request by Vincent Lefevre).</li> -<H1><A NAME="xterm_166">Patch #166 - 2002/03/25 - XFree86 4.2.0</A></H1> -<ul> - <li>correct a bug in selection: double clicking on a word which - was partly scrolled off the screen may select that text (report - by Vincent Lefevre <vincent@vinc17.org>). + <li>add a check when cancelling cursor-blinking, in case the + cursor is blinked off. Fix so that the cursor is repainted + without waiting for other events, e.g., keypress (report by + Ailin Nemui).</li> - <li>implement <code>veryBoldColors</code> resource to control whether - the corresponding video attribute such as <code>bold</code> is - displayed when using <code>colorBDMode</code>, etc. (request by Josh - Howard <jrh@vicor-nb.com>). + <li>add configure <code>--with-app-class</code> option, to + simplify building "xterm-dev" packages with filenames that do + not conflict with conventional "xterm" packages.</li> - <li>define escape sequences for function keys F21-F35 (patch by Steve Wall). - - <li>change the colors for the 256-color model, making them less skewed - toward black (patch by Steve Wall). + <li>corrected logic flow for DECSCL, which prevented the + updated operating level from being reported via DECRQSS (report + by Ailin Nemui).</li> - <li>add <code>vt100Graphics</code> resource - (see <a href="#xterm_115">patch #115</a>, - based on discussion with Glenn Maynard). - - <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid potential - incompatibilities between these flavors of Athena widgets. - - <li>add configure check for XFree86 4.x Xaw library, whose geometry - management is broken, to avoid trying to use it for toolbar - configuration. - - <li>updates to configure script from vile and lynx to allow - configure.in to be compiled with autoconf 2.5x - - <li>add a check for null pointer return by <code>ptsname()</code> - (newsgroup posting from Mike Silva <mikesilva@lucent.com>). - - <li>fill in a few details needed to allow UTF-8 mode to switch on/off - after startup. This requires that <code>wideChars</code> resource be - set. (based on comments in 4 Aug 2001 by Alexey Marinichev - <lyosha@lyosha.2y.net>). - - <li>remove duplicate install rules that make directories, e.g., so installing - manpage will not create app-defaults directory. - - <li>add comment in in <code>do_osc()</code>, reserving cases 30 and 31 - for for Konsole (request by Stephan Binner - <Stephan.Binner@gmx.de>). - - <li>fixes for ctlseqs.ms and xterm.man - (patch by Werner Lemberg <wl@gnu.org>). - - <li>add check for monochrome display, disabling colorMode in that - case (fixes Debian #134130). - - <li>resync with XFree86 CVS - <ul> - <li>Fix some xterm build warnings on *BSD (patch by David Dawes). - <li>Only use SA_RESTART in xterm when it's available (patch by Frank Liu). - <li>Fix incorrect code in signal handlers in most of the clients, - xterm and xdm not done yet (patch by Matthieu Herrb). - </ul> -</ul> - -<H1><A NAME="xterm_165">Patch #165 - 2002/01/05 - XFree86 4.1.0</A></H1> -<ul> - <li>modify <code>uxterm</code> script to strip encoding part from - environment variable before adding ".UTF-8" (based on Debian - #125947, but using a more portable solution). - - <li>add an assignment statement in VTInitialize() to make - <code>awaitInput</code> resource work. - - <li>use new macros init_Bres(), etc., in VTInitialize() to add trace of - the initialization of resources. - - <li>modify checks for $LC_ALL, related environment variables to ensure - the resulting strings are nonempty (report by Markus Kuhn). - - <li>add an ifdef in charproc.c for num_ptrs variable in case all - configure options are disabled. - - <li>modify definition of getXtermBackground() to avoid negative array - index warning on Tru64 (report by Jeremie Petit). - - <li>improve fix from patch #165 (still Debian #117184, report by Matt - Zimmerman <mdz@debian.org>) - - <li>correct install rule for uxterm in Makefile.in, to handle the - case where building in a different directory than xterm's source - (patch by Paul Gilmartin). - - <li>documented ANSI.SYS-style cursor save/restore escape sequences - in ctlseqs.ms, which are in xterm since X11R5. - - <li>correct two entries in the default charClass table, which did not - follow the manpage comment about the character number corresponding - to the class (patch by Marc Bevand <bevand_m@epita.fr>). - - <li>fix a couple of typos in comments in the app-defaults files - (David Krause <xfree86@davidkrause.com>). - - <li>resync with XFree86 CVS - <ul> - <li>update language of copyrights in some files to reflect the fact - that they were reassigned from X Consortium to The Open Group in - 1998. Note that this xterm source is derived from the 1996 - version from X Consortium, does not incorporate changes made by X - Consortium or The Open Group after that date, hence we do not add - The Open Group's 1998 copyright date to related files. - - <li>save/restore <code>errno</code> in signal catcher (patch by Matthieu Herrb). - - <li>modify UXTerm.ad's font5 resource so that xterm can display double - width characters using a font distributed with XFree86 (Tomohiro Kubota). - </ul> -</ul> - -<H1><A NAME="xterm_164">Patch #164 - 2001/11/13 - XFree86 4.1.0</A></H1> -<ul> - <li>correct a case where <code>ptyInitialErase</code> and - <code>backarrowKeyIsErase</code> resources combine to set - <code>DECBKM</code> mode, but a <code>reset</code> command would not - reset xterm to that state, making the erase character revert to ^H - (Debian #117184) -</ul> - -<H1><A NAME="xterm_163">Patch #163 - 2001/11/04 - XFree86 4.1.0</A></H1> -<ul> - <li>correct ifdef's for <code>__QNX__</code> and - <code>USE_SYSV_PGRP</code> in main.c call to <code>tcsetpgrp</code>, - which broke bash behavior around <a href="#xterm_140">patch #140</a> - (report/patch by Frank Liu <fliu@mail.vipstage.com>). - - <li>modify trace.c to fix missing definition of GCC_UNUSED for - compilers other than gcc when configured for trace code (report/patch - by Paul Gilmartin). - - <li>change format in TraceOptions() to use long rather than int, since - the latter could lose precision on 64-bit machines (report/patch by - Nelson Beebe). - - <li>modify xterm manual page and minstall.sh to allow imake rules - to define location of app-defaults directory (Debian #87611). - - <li>review/update list of conflicting preprocesor symbols to remove - from $CPPFLAGS at the end of the configure script. In particular, - this allows one to configure xterm without the utempter library on - Redhat 7.1 (report/patch by Adam Sulmicki). -</ul> - -<H1><A NAME="xterm_162">Patch #162 - 2001/10/23 - XFree86 4.1.0</A></H1> -<ul> - <li>correct logic that processes <code>-class</code> option, so that - a following <code>-e</code> option is handled (Debian #116297). - - <li>improve options-decoding to allow <code>-version</code> and - <code>-help</code> options to be combined (Debian #110226). - - <li>add a 10 millisecond delay in event loop when processing - <code>-hold</code> option, to avoid using too much CPU time - (Debian #116213). - - <li>prefix final program execution in <code>uxterm</code> with "exec" - to avoid a useless shell hanging around (Christian Weisgerber). -</ul> - -<H1><A NAME="xterm_161">Patch #161 - 2001/10/10 - XFree86 4.1.0</A></H1> -<ul> - <li>modify logic that resets keypad application mode to avoid doing - this if there is no modifier associated with the Num_Lock keysym - (report by John E Davis <davis@space.mit.edu> and Alan W Irwin - <irwin@beluga.phys.uvic.ca>). - - <li>add built-in translation for Control/KP_Separator to KP_Subtract, - to accommodate users who wish to use xmodmap to reassign the top - row of the numeric keypad. - - <li>correct Imakefile install-rule for <code>uxname</code> script - (reported by Nam SungHyun <namsh@lge.com>). - - <li>resync with XFree86 CVS – correct typo in <code><ncurses/term.h></code> - ifdef. -</ul> - -<H1><A NAME="xterm_160">Patch #160 - 2001/10/7 - XFree86 4.1.0</A></H1> -<ul> - <li>modify logic in main.c - (see <a href="#xterm_145">patch #145</a>) to avoid generating the - same identifier, for example, for /dev/tty1 and /dev/pts/1, which - is used to denote an entry in the utmp file (Debian bug report - #84676), A similar fix was also sent by Jerome Borsboom - <borsboom@westbrabant.net> in May, but I overlooked it when - reviewing bug reports. - - <li>add configure check for <code><ncurses/term.h></code> to get - rid of hardcoded <code>__CYGWIN__</code> ifdef in resize.c - <p> - NOTE: The CYGWIN port should not be linking <code>resize</code> - with ncurses. It appears that the only reason it is, is because - both the ncurses and termcap ports on that platform are badly - misconfigured (essential pieces have been removed, etc). Checking - for <code><ncurses/term.h></code> does not hurt anything, - since there are some correct installations that are set up that - way. - - <li>add a sample <code>uxterm</code> script, which uses the - <code>UXTerm</code> application defaults for UTF-8 environments. - - <li>undo change to xterm application defaults, since this introduced an - unnecessary incompatibility. The intended functionality was - already addressed by the <a href="#xterm_141">UXTerm</a> - app-defaults file. - - <li>resync with XFree86 CVS - <ul> - <li>Modified xterm app default to use LFD fontnames instead of old type - (Michael Schroeder). - <li>Fix xterm when XIM is disabled - caused a segfault - (Tomohiro Kubota). - </ul> -</ul> - -<H1><A NAME="xterm_159">Patch #159 - 2001/9/19 - XFree86 4.1.0</A></H1> -<ul> - <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in patch - #158 from the second <code>TIOCSSIZE</code> ioctl call in the - initialization code. Paul Gilmartin reports that for Solaris 2.6 - (sparc), stty does not show that xterm sets rows and columns unless - the second ioctl is executed. - - <li>correct treatment of empty parameter list for some OSC strings - (report by Sami Farin <sfarin@ratol.fi>). -</ul> - -<H1><A NAME="xterm_158">Patch #158 - 2001/9/8 - XFree86 4.1.0</A></H1> -<ul> - <li>augment key translations for scrollbar widget to ensure that - keystrokes intended for the text area are not lost if the mouse - pointer happens to fall on the scrollbar. This can happen, for - instance, if the user's <code>app-defaults</code> or - <code>.Xdefaults</code> file contains a translations resource, - though it may also happen through unrelated resource settings: - probably a bug in libXt (reported by Paul Fox - <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov - <D.Yu.Bolkhovityanov@inp.nsk.su>). - - <li>widen ifdef's in xterm.h to define <code>__EXTENSIONS__</code> on - Solaris, for compilers other than gcc. This was added along - <code>_POSIX_C_SOURCE</code> with in <a href="#xterm_151">patch - #151</a>, but is not sufficient since Sun's compiler does not define - <code>__STDC__</code> by default (report by Matthias Scheler - <tron@zhadum.de>). - - <li>modify xterm to obtain the closest matching color if an exact color - is not available, e.g., on 8-bit displays (patch by Steve Wall) - - <li>implement "OverTheSpot" preedit type of XIM input - (patch by Tomohiro Kubota): - <ul> - <li>This preedit type is a reasonable compromise between - simpleness of implementation and usefulness. "Root" preedit - type is easy to implement but not useful; "OnTheSpot" preedit - type is the best in the point of view of user interface but - very complex. And more, "OverTheSpot" is the preedit type - which the most XIM servers support. Thus, to achieve reasonable - usability, support of "OverTheSpot" preedit type is needed. - - <li>In "OverTheSpot" preedit type, the preedit (preconversion) - string is displayed at the position of the cursor. On the - other hand, it is XIM server's responsibility to display - the preedit string. Thus, it is needed for XIM client (here - XTerm) to inform the XIM server of the cursor position. - And more, to achieve good visual proportion, preedit string - must be written using proper font. Thus, it is XIM client's - responsibility to inform the XIM server of the proper font. - The font must be supplied by "fontset". Fontset is a set of - fonts with charsets which are specified by the current locale. - Since XTerm uses ISO10646 fonts regardless of the current locale, - the fonts for XIM must be prepared separately. It is difficult - to prepare fonts which are similar to XTerm font. Thus, my - patch uses a simple way - the default font is "*" which matches - every fonts and X library will automatically choose fonts with - proper charsets. I added "-fx" command option and "ximFont" - resource to override this default font setting. - - <li>changed the definition of "OverTheSpot" preedit type - from XIMPreeditPosition|XIMStatusArea - to XIMPreeditPosition|XIMStatusNothing. - This matches the behavior of other programs such as - Rxvt, Kterm, Gedit. - - <li>A tiny XIM bugfix is also included. By calling XSetLocaleModifiers() - with parameter of "", it can consier XMODIFIERS environmental - variable which is a standard way for users to specify XIM server - to be used. - </ul> - - <li>adjust configure script to accommodate repackaging of keysym2ucs.c - as include-file for xutf8.c (patch by Tomohiro Kubota). - - <li>add the <code>UXTerm</code> app-defaults file to makefile install - rules (request by Juliusz Chroboczek). - - <li>correct logic in <code>get_termcap()</code>, which returned false - if the <code>tgetent()</code> call indicated that xterm was linked - with terminfo. Although the <code>$TERMCAP</code> variable cannot be - adjusted in this case, xterm still needs information from this call - to extract data to initialize the erase-mode when the - <code>ptyInitialErase</code> resource is false. - - <li>modify <code>ScrollbarReverseVideo()</code> function to cache the - original border color, so it can restore that when an application - flashes the screen (Bugzilla #38872). - - <li>resync with XFree86 CVS - <ul> - <li>remove ifdef's for X_NOT_STDC_ENV (patch by David Dawes). - <li>add Cygwin to special errno handling case in ptydata.c (Alan Hourihane) - <li>set screen size earlier in initialization, to address a race - with window manager resizing its clients (Keith Packard). - </ul> -</ul> - -<H1><A NAME="xterm_157">Patch #157 - 2001/6/18 - XFree86 4.1.0</A></H1> -<ul> - <li>clean up button.c and input.c (patch by Juliusz Chroboczek). The - basic idea is to use a single set of APIs in the XTerm core, and put - a set of workarounds in a separate file. As you will notice, this - drastically simplifies parts of the code; in particular, the only - remaining ifdefs related to the differences between Xutf8 and legacy - systems are related to the selection provider logic. - - This defines two new files, xutf8.h and xutf8.c, provide some - half-hearted but fully portable emulation for the three Xutf8* - functions that XTerm uses. - - Putting these in a separate file will allow people to experiment with - more complex versions without making the core of XTerm more difficult - to maintain. - - The functionality of the emulation is as follows. - <ul> - <li>Xutf8TextListToTextProperty fully handles XStringstyle and - XUTF8StringStyle. It will only generate STRING for XStdICCTextStyle, - and wil only generate Latin-1 in XCompoundTextStyle (but label it as - COMPOUND_TEXT, as the spec requires). (I have hesitated to make this - function fail for XStdICCTextStyle and XCompoundTextStyle; this might - be a smart thing to do, in the hope that the selection requestor will - try UTF8_STRING afterwards; opinions?) - - <li>Xutf8TextPropertyToTextList fully handles STRING and UTF8_STRING. - It systematically fails for COMPOUND_TEXT. - - <li>Xutf8LookupString will properly handle single-keystroke input for - the keysyms covered by Markus' keysym2ucs function. It will not - handle either compose key input or external input methods. - </ul> - - <li>add an ifdef for <code>SunXK_F36</code>, used in - <code>xtermcapKeycode()</code> (patch by Mark Waggoner - <waggoner@ichips.intel.com>). - - <li>modify check for login name to try <code>getlogin()</code> and - $LOGNAME, $USER environment variables to detect if the user has - logged in under an alias, i.e., an account with the same user id - but a different name (Debian bug report #70084). - - <li>add resource <code>tiXtraScroll</code>, which can be used to - preserve the screen contents in the scrollback rather than erasing - it when starting a fullscreen application such as <code>vi</code> - (patch by Ken Martin <fletcher@catsreach.org>). - - <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: - <ul> - <li>added <code>forceBoxChars</code> resource to control the - "line-drawing characters" option. - - <li>added <code>freeBoldBox</code> resource, which, when set true, - suppresses check in <code>same_font_size()</code>, so xterm does - not attempt to ensure that the bold font is the same size as - the normal font. - </ul> - - <li>change the color class for ANSI colors and similar ones such as - bold-color, etc., to follow the convention that the classname is the - instance name with a leading capital (e.g., <code>color0</code> and - <code>Color0</code> rather than <code>color0</code> and - <code>Foreground</code>). There was little use for Foreground as a - class other than to create occasional confusion and bug reports, most - recently by Nelson Beebe who reports that it disables colors in xterm - but not on Linux, which is probably due to a difference in resource - evaluation order. A configure script option (--disable-color-class) - is provided for anyone who did use the older behavior. - - <li>fix a signal-handling bug. When running xterm with - <code>ksh</code> or similar shell such as bash 2.05, xterm will hang - and not respond to keystrokes after the user types - <code>suspend</code>. Additionally the popup menus do not respond, - so it is not possible to send SIGCONT to the shell. - What is happening is that the shell is sending itself SIGSTOP, and it - is being stopped. Per specification it also means that the operating - system is sending SIGCHLD to parent to the bash (XTERM). - Now the issue is that xterm assumes it cannot happen and it expects - to receive SIGCHLD only upon <em>termination</em> of its children. - This causes a deadlock with xterm waiting for the child to - die, and the child waiting for SIGCONT. - (report/patch by Adam Sulmicki), analysis/testing by Sven Mascheck - <sven.mascheck@student.uni-ulm.de>). - - <li>correct some inconsistent checks for <code>XtReleaseGC()</code> - calls in <code>xtermLoadFont()</code> (patch by Nam SungHyun - <namsh@lge.com>). - - <li>updated wcwidth.c and keysym2ucs.c to versions dated 2001/1/12 - and 2001/4/18, respectively from - http://www.cl.cam.ac.uk/~mgk25/ucs/ - - <li>correction to change from <a href="#xterm_90">patch #90</a>, - which was intended to - reset the saved cursor position for normal/alternate screens - on a soft reset, but actually wiped out all of the saved cursor - information. Just reset the saved position for the current screen - (report by Michael Schroeder). - - <li>modify ShowCursor() and HideCursor() so that if the cursor points - to the second part of a wide character, make the show/hide operate on - the first position of the wide character (patch by Sven Verdoolaege). - - <li>scrolling in the alternate screen just before switching back to the - main screen can cause extra blank lines to be inserted into the - scrollback buffer (patch by Paul Vojta - <vojta@math.berkeley.edu>). - - <li>resync with XFree86 4.1.0: - <ul> - <li>Use TermcapLibrary as -lncurses instead of -ltermcap, fixes - problem building xterm/resize on Cygwin/XFree86 (Harold Hunt). - <li>Install xterm.termcap and xterm.terminfo when installing xterm - (Torrey T. Lyons). - <li>Fix some build issues on Cygwin/XFree86 (Suhaib Siddiqi). - <li>Define CBAUD, when it's missing in xterm, on LynxOS - (Stuart Lissaman). - </ul> -</ul> - -<H1><A NAME="xterm_156">Patch #156 - 2001/4/28 - XFree86 4.0.3</A></H1> -<ul> - <li>change order of selection-target types to make 8-bit xterm prefer - UTF8_STRING to COMPOUND_TEXT (patch by Juliusz Chroboczek). - - <li>document <code>-fa</code>, <code>-fs</code> command-line options - and <code>faceName</code>, <code>faceSize</code> - resources which are used by the freetype library support. - - <li>if configure script finds freetype libraries, but imake definitions - do not have the XRENDERFONT definition, define it anyway. - - <li>modify configure script check for freetype libraries to include - <code><Xlib.h></code>, since an older version of the related - headers relies on this (patch by Adam Sulmicki). -</ul> - -<H1><A NAME="xterm_155">Patch #155 - 2001/4/20 - XFree86 4.0.3</A></H1> -<ul> - <li>correct return type of in_put() from <a href="#xterm_155">patch #153</a> - changes, which left it not wide enough for UTF-8 (patch by Bruno Haible). -</ul> - -<H1><A NAME="xterm_154">Patch #154 - 2001/4/11 - XFree86 4.0.3</A></H1> -<ul> - <li>undo check for return value from <code>pututline</code> (used for - debugging) since that function does not return a value on Slackware - 3.6. - - <li>correct length in ScreenWrite, when rendering invisible text - (patch by Sven Verdoolaege <skimo@kotnet.org>). - - <li>fixes/improvements for the <code>i18nSelection</code> resource - from patch #153, by Bruno Haible: - - <ul> - <li>add missing initialization for <code>i18nSelection</code> - resource. - - <li>split-out the non-ICCM aspect of the - <code>i18nSelection</code> resource as a new resource, - <code>brokenSelections</code>. - </ul> - - <li>add configure check for <code><time.h></code> and - <code><sys/time.h></code>, to allow for Unixware 7, - which requires both. If the configure script is not used, only - <code><time.h></code> will be included as before (report - by Thanh Ma). - - <li>fix redefinition of <code>dup2</code>, <code>getutent</code>, - <code>getutid</code>, <code>getutline</code> and <code>sleep</code> - functions on Unixware 7 (report by Thanh Ma - <Thanh.Ma@casi-rusco.com>) - - <li>add a fall-back definition for <code>__hpux</code>, which is - apparently not defined in some compilers on HPUX 11.0 (reported - by Clint Olsen). - - <li>change VAL_INITIAL_ERASE, which is used as a fallback for the - <code>"kb"</code> termcap string to 8, since that matches the - xterm terminal description (request by Alexander V Lukyanov). - - <li>correct an off-by-one in <code>ClearInLine</code>, which caused - the erase-characters (ECH) control to display incorrectly - (patch by Alexander V Lukyanov). - - <li>correct escape sequences shown in terminfo for shifted editing - keys. The modifier code was for the control key rather than - the shift key. -</ul> - -<H1><A NAME="xterm_153">Patch #153 - 2001/3/29 - XFree86 4.0.3</A></H1> -<ul> - <li>increase PTYCHARLEN to 8 for os390, add some debugging traces - for UTMP functions (patch by Paul Gilmartin). - - <li>correct an misplaced brace in <code>SelectionReceived()</code> - (patch by Bruno Haible). - - <li>correct an assignment dropped in <code>SelectionReceived()</code> - which made it not compile for wide-characters combined with debug - traces. - - <li>correct typo, clarify description of 88- and 256-color controls - (report by Bram Moolenaar). - - <li>correct a typo in ctlseqs.ms which caused DEC Locator control - sequences using single quote "'" display grave "`" instead (reported - by Paul Williams, apparently in patch #114). -</ul> - -<H1><A NAME="xterm_152">Patch #152 - 2001/3/13 - XFree86 4.0.2</A></H1> -<ul> - <li>correct index in inner loop in <code>VTInitI18N()</code> from - patch #151 changes, which resulted in infinite loop under some - conditions (report/analysis by Paul Gilmartin). - - <li>remove spurious "%|" from terminfo sgr capabilities - (report/analysis by Adam M Costello, Debian #89222). - - <li>add shell script to adjust list of dynamic libraries linked by - <code>resize</code> when building with the standalone configure - script. Otherwise it uses the same list as for xterm, which is - excessive. - - <li>fix a few compiler warnings reported by the 20010305 gcc snapshot. -</ul> - -<H1><A NAME="xterm_151">Patch #151 - 2001/3/10 - XFree86 4.0.2</A></H1> -<ul> - <li>alter the behaviour of selections in XTerm (patch by Juliusz Chroboczek). - It is believed to follow the ICCCM + UTF8_STRING to the letter, both - in UTF-8 and in eight-bit mode. From his description: - <ul> - <li>When compiled against XFree86 4.0.2, the patched XTerm will make - the selection available as COMPOUND_TEXT, STRING or UTF8_STRING in - both modes. It will request selections in the following order: - <p> - UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, STRING.<br> - eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, STRING. - - <li>When compiled against an earlier version of XFree86 (or compiled with - OPT_UTF8_API=0), it will still obey the ICCCM, but will neither - request nor provide UTF8_STRING in eight-bit mode, and neither TEXT - nor COMPOUND_TEXT in UTF-8 mode. - <li>For compatibility with previous versions of XTerm, a resource - <code>i18nSelections</code> is provided, please see the manpage for - details. However, due to an unexpected combination of ICCCM - extensions by various bits and pieces of the libraries, interacting - with previous versions of XTerm will work in many locales even - without this flag. (Please do not set this resource to true by - default, as this would violate the ICCCM.) - </ul> - - <li>improved error checking/reporting in VTInitI18N(), ensuring that - lack of input method styles is treated distinctly from a mismatch. - - <li>remove an incorrect ifdef from patch #141 which suppressed - overstriking to simulate bold font when xterm was compiled to support - wide characters (report/analysis by Adam M Costello - <amc@cs.berkeley.edu>, Debian #76404, Debian #77575). - - <li>modify <code>RequestResize()</code> function to save/restore window - manager hints. Its call to <code>XtMakeResizeRequest()</code> had - the undesirable side-effect of clearing window manager hints, e.g., - when switching to 132-columns via DECCOLM escape sequence. Window - manager hints make it simple to resize xterm in terms of character - cells rather than pixels (reports by Christian Weisgerber, - Debian #79939). - <p> - This applies to the normal configuration. When built with toolbar - support, the hints are applied to a different widget level (more - work will be needed to make hints work with the toolbar). - - <li>fix a redefinition warning for resize.c on OpenBSD (patch by - Christian Weisgerber). - - <li>change resource corresponding to <code>-T</code> option to match - Xt library's <code>-title</code>, i.e., <code>.title</code> - rather than <code>*title</code> so the command-line options are - interchangeable as documented (Debian bug report #68843). - - <li>add script used from autoconf'd makefile for installing manpages, - since recent XFree86 changing the way section numbers are represented - makes the install dependent on extra scripts. - - <li>add configure check for freetype libraries and configure option - --disable-freetype to override this feature. - - <li>modify some configure script macros to avoid using changequote(), - which has been rendered useless in the latest autoconf alpha 2.49c - - <li>update config.guess, config.sub to 2001-2-13 - - <li>remove redundant/contradictory __CYGWIN__ definitions from resize.c - - <li>correct manpage typo introduced by X11R6.5 resync. -</ul> - Changes from XFree86 4.0.2: -<ul> - <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris to - make this compile with <code>gcc -ansi -pedantic</code> (report - by <mark@zang.com>. -</ul> - -<H1><A NAME="xterm_150">Patch #150 - 2000/12/29 - XFree86 4.0.2</A></H1> -<ul> - <li>move the binding for shifted keypad plus/minus, which invokes the - <code>larger-vt-font()</code> and <code>smaller-vt-font()</code> - actions, respectively, into the translations resource (suggested by - Marius Gedminas <mgedmin@puni.osf.lt>). - - <li>modify configure script to support the - <code>--program-prefix</code>, <code>--program-suffix</code> and - <code>--program-transform-name</code> options (request by Alison - Winters <alison@mirrabooka.com>). - - <li>fixes for wide/combining characters (Robert Brady): - <ul> - <li>fix a scrolling / combining characters display anomaly - - <li>fix a problem with double-width characters where if the primary - font had no box-drawing characters, the right hand half of - double-width characters was erased (reported by Yao Zhang - <yzhang@sharemedia.com>). - - <li>fix special case of null byte for key handling in UTF-8 locales. - </ul> - - <li>modify logic that compares sizes of normal and bold fonts to be - more forgiving of the font server's choice of bold font which must - match the normal font's size. Now <code>same_font_size()</code> - compares the height of the fonts rather than individually ascent and - descent, and allows the bold font to be one pixel smaller than the - normal font (addresses a report by Alan Citterman - <alan@mticket.com>, who says that something in patches #146 to - #148 made xterm more likely to overstrike bold fonts, and indirectly - Debian bug report #76404, which reports the opposite). - - <li>make configure script use $CFLAGS and $CPPFLAGS consistently, - including removing a chunk from configure.in which attempted to - save/restore $CPPFLAGS while processing value set by the --x-includes - option, but lost values set in an intervening AC_CHECK_HEADERS. This - change modifies macros CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and - CF_X_TOOLKIT, as well as removing variables IMAKE_CFLAGS and X_CFLAGS - from the generated makefile (the AC_CHECK_HEADERS problem was - reported by Albert Chin-A-Young <china@thewrittenword.com<). - - <li>correct a comparison in SELECTWORD case of ComputeSelect(), which - resulted in a word-selection wrapping past the first column without - checking the first column's character class (reported by Christian - Lacunza <celacunza@netscape.net> - - <li>correct a logic in UTF-8 mode for selecting double-width characters; - a combining character was omitted (patch by Markus Kuhn). - - <li>add feature to pop (raise) window when a bell is received - (patch by Gael Roualland <gael.roualland@dial.oleane.com>). - - <li>add __NetBSD__ and __OpenBSD__ to special-case in xterm_io.h - for USE_POSIX_TERMIOS definition (patch by Christian Weisgerber). - - <li>move special-case HPUX include for <sys/bsdtty.h> to - xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for HPUX - 10.20 (report by Bruno Betro). -</ul> - -<H1><A NAME="xterm_149">Patch #149 - 2000/12/6 - XFree86 4.0.1h</A></H1> -<ul> - <li>restructured includes for <code>termios.h</code>, - <code>termio.h</code> and related definitions for main.c, os2main.c, - screen.c and resize.c so they will share equivalent definitions in a - new header <code>xterm_io.h</code>. This is intended to solve some - problems mainly for HPUX which appear to arise from inconsistent - definitions for SIGWINCH- and HAS_LTCHARS-related symbols (reports - by Bruno Betro, Jeremie Petit and Clint Olsen). - - <li>improve usability of double-width fonts by allowing normal fonts - to be given as double-width (from a patch by Fabrice Bellard - <bellard@email.enst.fr>). - - <li>correct a few compiler warnings in TRACE() macros for - signed/unsigned variable differences (reported by Clint Olsen). - - <li>make configure script use $CFLAGS and $CPPFLAGS more consistently, - i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC macro. - - <li>expanded description of environment variables in manual-page. - - <li>modify OPT_TCAP_QUERY feature to always return the termcap or - terminfo capability string in the response, and to read/write the - names in hexadecimal form to allow for the special case of termcap's - <code>k;</code> name (patch by Bram Moolenaar). - - <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so the - corresponding configure options work (patch by Bram Moolenaar). - - <li>resync with XFree86 4.0.1g: - <ul> - <li>Rewrite Xft library for Render extension/core text and font management - Change xterm to use new interface (Keith Packard). - </ul> -</ul> - -<H1><A NAME="xterm_148">Patch #148 - 2000/10/31 - XFree86 4.0.1d</A></H1> -<ul> - <li>document logfile options in man-page. - - <li>correct spelling of <code>-samename</code> option in help message. - - <li>add configure script option <code>--enable-tcap-query</code> - (request by Bram Moolenaar). - - <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature - (patch by Bram Moolenaar). - <li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>: - <ul> - <li>add support for bold font for double width characters. - The font name may be specified with the command line option - <code>-fwb</code> or with resource - <code>wideBoldFont</code> (class <code>WideBoldFont</code>). - <li>correct underlining of double width character string, which - was drawn only half width. - <li>correct binary search of precomposed character table, which - may return wrong result when <code>int</code> is just 32 bits. - </ul> - - <li>some changes to align terminfo with ncurses 5.2: - <ul> - <li>remove xtermm description, retaining xterm-mono since the former - conflicts with ncurses. - <li>modify initialization and reset strings to avoid putting the - save/restore cursor operations bracketing changes to video - attributes, since the changes could be lost when the cursor is - restored. This affects xterm-r6 and xterm-8bit (the xterm-xfree86 - entry uses the soft-reset feature which resets scrolling margins - and origin mode without requiring us to save/restore the cursor - position). - <li>make a few entries explicitly inherit from xterm-xfree86 rather - than xterm: xterm-rep, xterm-xmc, xterm-nrc - </ul> - - <li>ensure that sign-extension does not affect <code>ctype</code> - macros by using <code>CharOf()</code> macro to coerce the parameter - to an unsigned char. - - <li>resync with XFree86 4.0.1d: - <ul> - <li>Add primitive support in xterm for Xft based fonts (Keith Packard). - The changes are ifdef'd with <code>-DXRENDERFONT</code>. - </ul> -</ul> - -<H1><A NAME="xterm_147">Patch #147 - 2000/10/26 - XFree86 4.0.1c</A></H1> -<ul> - <li>correct implementation of <code>ptyInitialErase</code>: the - value assigned to <code>initial_erase</code> was for the control - terminal, which is correct as far as it goes. But there was no - following test for the pseudo-terminal's erase value, which would - overwrite the default obtained from the control terminal - (reported by Christian Weisgerber <naddy@mips.inka.de>). - - <li>modify check for printable-characters in OSC string to use xterm's - ansi_table rather than isprint() macro, to isolate this check from - locale settings. This fixes a problem using 8-bit characters to - set the title (reported by Ricardas Cepas <rch@richard.eu.org>). - - <li>modify sample scripts to check for printf before print, since the - latter is not as well standardized (e.g., on Linux). - - <li>updated config.sub, config.guess to reflect changes on - subversions.gnu.org -</ul> - -<H1><A NAME="xterm_146">Patch #146 - 2000/9/12 - XFree86 4.0.1c</A></H1> -<ul> - <li>correct two instances overlooked from patch #141 which assumed - UTF-8 mode without checking, causing a core dump in non-UTF-8 mode - (one instance was reported by Tommi Virtanen <tv@debian.org>). - - <li>correct a problem selecting from the scrollback buffer in UTF-8 - mode by changing remaining getXtermCell() calls to XTERM_CELL() as in - the non-UTF-8 cases (report by Markus Kuhn, patch by Robert Brady). -</ul> - -<H1><A NAME="xterm_145">Patch #145 - 2000/9/11 - XFree86 4.0.1c</A></H1> -<ul> - <li>changes for UTF-8 configuration (Robert Brady): - <ul> - <li>doublewide characters don't lose their accents when the cursor - moves onto or from them (a visual bug) - - <li>fix logic in addXtermCombining, which mean that if the low byte - of a cell's first combining char was 0, a following combining char - would go into combining slot 1, not 2. - - <li>modify logic for cut-buffers so UTF-8 data is first converted - to Latin1. - - <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL. - - <li>modify to allow xterm to to show combining characters - attached to doublewidth characters. - - <li>correct bug in linewrap with -u8 option (reported by - Andreas Koenig <andreas.koenig@anima.de>). - </ul> - - <li>several changes to PTY logic (based on request by Tim Ryan - <timryan@nortelnetworks.com>). - <ul> - <li>modify treatment of <code>-S</code> option to to make it work with - Unix98 PTY's. - - <li>restore sense of IsPts flag in <code>get_pty()</code>, which was - lost in Unix98 changes. - - <li>use new functions <code>my_pty_id()</code> and - <code>my_pty_name()</code> to simplify/fix strings used for utmp, - wtmp identifiers. - - <li>simplify <code>get_pty()</code> function, making it have a single - return point so its inputs/outputs can be identified. - </ul> - - <li>update config.guess and config.sub and scripts to my 20000819 patch, - adding cases for OS/2 EMX. - - <li>add special case for os390 compiler options to configure script - (patch by Paul Gilmartin) - - <li>fix some unused-variable compiler warnings (reported by - Zdenek Sekera). - - <li>split-out some string functions into xstrings.c, to use them - more consistently among main.c, os2main.c and resize.c - - <li>align termcap/terminfo files, adding entries to make them match. - The termcap entries are necessarily less complete than the terminfo, - to fit within 1023 character per entry. - - <li>add terminfo entry for xterm-sco (SCO function keys). - - <li>modify <code>same_font_name()</code> to properly handle wildcard - introduced in <code>bold_font_name()</code>, making comparison for - different fonts succeed when only the normal font is specified. This - is needed to decide if 1-pixel offset should be used. (reported - in a newsgroup by Bart Oldeman <enbeo@enbeo.resnet.bris.ac.uk>) - - <li>correct preprocessor line for OPT_WIDE_CHARS in drawXtermText() - from patch #141 which resulted in overstriking for bold fonts not - working. - - <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are in - UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 support. -</ul> - -<H1><A NAME="xterm_144">Patch #144 - 2000/8/23 - XFree86 4.0.1b</A></H1> -<ul> - <li>remove a spurious assignment in ScreenWrite() from Robert Brady's - patch which set a null at the "end" of the buffer to be written. - That made the autowrap feature write a blank in the first column for - the non-UTF-8 configuration, rather than the actual character - (reported by Alan Citterman <alan@mticket.com>). -</ul> - -<H1><A NAME="xterm_143">Patch #143 - 2000/8/19 - XFree86 4.0.1b</A></H1> -<ul> - <li>add a check to ensure that <code>-class</code> command-line option - is not confused with <code>-c</code> (reported by Paul Townsend - <aab@aab.cc.purdue.edu>). -</ul> - -<H1><A NAME="xterm_142">Patch #142 - 2000/8/18 - XFree86 4.0.1b</A></H1> -<ul> - <li>correction to precompose scripts, so 0061 + 0300 will now be really - be displayed as 00C0 (patch by Robert Brady - <robert@susu.org.uk>). - - <li>correct macro ClassSelects() in button.c, used to hide ifdef's for - OPT_WIDE_CHARS in patch #141 (reported by Andreas Paul - <paula@informatik.tu-muenchen.de>). - - <li>change wcwidth.h to include stddef.h rather than wchar.h, which is - not present on OpenBSD and FreeBSD (reported by Christian - Weisgerber and Bram Moolenaar). - - <li>newer config.sub and config.guess, from lynx 2.8.4dev.7 -</ul> - -<H1><A NAME="xterm_141">Patch #141 - 2000/8/14 - XFree86 4.0.1b</A></H1> -<ul> - <li>changes for doublewidth and combining characters, from - http://www.ecs.soton.ac.uk/~rwb197/xterm/ - (integrated patch by Robert Brady). - In this context, - doublewidth refers to 16-bit character sets which may have glyphs - occupying two cells. - - <li>add command-line option <code>-class</code>, which allows one - to override xterm's resource class. Also add resource file - <code>UXTerm.ad</code>, which simplifies using xterm for both - 8-bit character sets and UTF-8. - - <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram - Moolenaar, Steve Wall). -</ul> - -<H1><A NAME="xterm_140">Patch #140 - 2000/7/23 - XFree86 4.0.1</A></H1> -<ul> - <li>modify Makefile.in to circumvent GNU make's built-in suffix rule - for ".sh" which confuses install.sh with the "make install" target - (report/patch by Paul Gilmartin). - - <li>implement an experimental control sequence which an application may - use to query the terminal to determine what sequence of characters it - would send for a given function key. This is ifdef'd with - OPT_TCAP_QUERY (request by Bram Moolenaar). - - <li>add /usr/local to search path in CF_X_ATHENA configure macro - to build with Xaw3d on OpenBSD (patch by Christian Weisgerber). - - <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to - xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate (report - by Alain Filbois <Alain.Filbois@loria.fr>). - - <li>correct a few errors in xterm.man: font in filename example for - Tektronix emulation, and description of -nul/+nul command-line - options (report by Eric Fischer <enf@pobox.com>). - - <li>update config.guess and config.sub, from tin and lynx. -</ul> - -<H1><A NAME="xterm_139">Patch #139 - 2000/6/17 - XFree86 4.0d</A></H1> -<ul> - <li>back out change to <code>-name</code> command-line option, - restoring its original behavior (as noted by David Madore, the - correct interpretation of this option is the application instance - rather than the application class). -</ul> - -<H1><A NAME="xterm_138">Patch #138 - 2000/6/15 - XFree86 4.0c</A></H1> -<ul> - <li>workaround for fixed fonts which are generated from Unicode fonts: - they omit glyphs for some xterm's less-used line-drawing characters, - which caused xterm to set a flag telling it to use only its internal - line-drawing characters. Do not set the flag (it can be set from the - popup menu), and xterm will generate only the line-drawing glyphs - which actually are missing. - <br> - Otherwise, when used for large fonts, xterm may generate a 2-pixel - wide line, which can leave dots on the screen. - - <li>restore first line of 256colres.pl, omitted in 4.0c diffs. -</ul> -<H1><A NAME="xterm_137">Patch #137 - 2000/6/10 - XFree86 4.0b</A></H1> -<ul> - <li>make command-line <code>-name</code> option work as documented. - Apparently this was lost in X11R5 when coding to use - <code>XtAppInitialize</code>. - - <li>limit numeric parameters of control sequences to 65535 to - simplify checks for numeric overflow. - - <li>change index into UDK list to unsigned to guard against numeric - overflow making the index negative (Taneli Huuskonen - <huuskone@cc.helsinki.fi>). - - <li>change <code>sun function-keys</code> resource name to - <code>sunFunctionKeys</code> to work around redefinition of the - token <code>sun</code> by xrdb on Solaris. Similarly, renamed - resource <code>sun keyboard</code> to <code>sunKeyboard</code> - (Steve Wall). - - <li>change similar resource names for HP and SCO to avoid potential - conflict with xrdb symbols on other systems, as well as for - consistency. - - <li>reorganized the install targets in the autoconf'd Makefile, adding - install-app, install-bin, install-dirs and install-man. The - app-defaults class can be overridden by setting the make variable - 'CLASS', simplifying customization of xterm as a Unicode terminal, - e.g., CLASS=UXTerm. - - <li>add limit checks to <code>ClearInLine()</code>, - <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to - correct potential out-of-bounds indexing (prompted by Debian bug - report #64713, which reported a problem with ICH escape sequences). - - <li>updates to config.sub and config.guess - Kevin Buettner <kev@primenet.com> for elf64_ia64 - Bernd Kuemmerlen <bkuemmer@mevis.de> and MacOS X. - - <li>for os390, add check for errno set to - ENODEV on failure to open /dev/tty when there is no controlling - terminal (patch by Paul Gilmartin). - - <li>fixes for building on Digital Unix 4.0 and AIX 4.2 - (patch from H Merijn Brand <h.m.brand@hccnet.nl>). - - <li>modify DECRQSS reply for DECSCL to additionally report if the - terminal is set for 8-bit controls. -</ul> - -<H1><A NAME="xterm_136">Patch #136 - 2000/6/3 - XFree86 4.0b</A></H1> -<ul> - <li>add a resource (<code>limitResize</code>) - limiting resizing via the CSI 4 t and CSI 8 t sequences. - - <li>ignore out-of-bounds resize requests, i.e., where sign-extension - or truncation of the parameters would occur. -</ul> - -<H1><A NAME="xterm_135">Patch #135 - 2000/5/29 - XFree86 4.0b</A></H1> -<ul> - <li>remove code introduced in #134 which made some backgrounds bold. - - <li>minor correction to format of updated $TERMCAP when adding - <code>kb</code> capability for <code>ptyInitialErase</code> logic. - - <li>improved test for SVR4 definition. -</ul> - -<H1><A NAME="xterm_134">Patch #134 - 2000/5/28 - XFree86 4.0b</A></H1> -<ul> - <li>update URL's and mailing addresses, moved to http://dickey.his.com - and dickey@herndon4.his.com - - <li>correct missing quotes in CF_TTY_GROUP configure script macro in - case the script is run in batch mode. - - <li>modify ownership-check of log file to ignore the group ownership. - Otherwise xterm cannot create logfiles in directories with set-gid - permissions. - - <li>simplify the logic that reads termcap data. - - <li>add fallback definition for B9600 in case line speed definition - for 38400 is missing (report by Jack J Woehr <jwoehr@ibm.net>, - for OpenBSD 2.6). - - <li>fix: Set highlightColor, and select a region containing the text - cursor. If the window loses focus, the cursor becomes hollow, with - the region inside the cursor being background/foreground, unlike the - rest of the selection, which is foreground/highlight - (patch by Ross Paterson <ross@soi.city.ac.uk>). - - <li>add configure script tests to define SVR4, SYSV and USE_POSIX_WAIT, - which enables xterm to compile on Solaris 7 and SCO Openserver - without imake, though there are still a few features for the latter - which require <code>sco</code> to be predefined. - - <li>patches from Steve Wall: - <ul> - <li>add support for two Sun-specific function keys. These keys are - labeled F11 and F12 on Sun Type 5 keyboards, but return SunXK_F36 and - SunXK_F37. Support will only be compiled in if the header file - <X11/Sunkeysym.h> exists and contains the appropriate symbol - definitions. The keycodes for the DEC keycodes were arbitrary unused - codes, but the ones for the Sun keycodes are what cmdtool and - shelltool actually send. - - <li>add <code>colorRV</code> and <code>colorRVMode</code> resources to - allow specifying a color to use for reverse video, similar to the - existing UL, BD, and BL modes. - - <li>add <code>alwaysUseMods</code> resource, to override check if - <code>alt</code> or <code>meta</code> modifiers are used in - <code>translations</code> resource. Revamped the code to calculate - the modifier value, and included Meta if alwaysUseMods is TRUE, using - values 9-16. - </ul> - - <li>fixes for os390 (Paul Gilmartin): - <ul> - <li>regularize the definition of CONTROL() and remove an - acknowledged "trial and error" table. - - <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" - rather than plain 0177 which is the EBCDIC quotation mark. - - <li>modify <code>xtermMissingChar()</code> so that EBCDIC codes 128-159 - are not rendered as blanks by X server running on Solaris, which sees - those as control characters. - - <li>make debugging traces (configure --enable-trace) - work properly with EBCDIC. - </ul> -</ul> - -<H1><A NAME="xterm_133">Patch #133 - 2000/5/2 - XFree86 4.0a</A></H1> -<ul> - <li>add substitutions in autoconf'd Makefile for CPPFLAGS, LDFLAGS and - AWK (reported by Neil Bird). - - <li>correct uninitialized <code>childstat</code> variable from patch - #131 in <code>creat_as()</code> function, which caused logging to not - work on Solaris, whose <code>waitpid()</code> function does not - initialize its parameter. Add check for EINTR on return from - <code>waitpid()</code> as well (reported by Neil Bird - <neil.bird@rdel.co.uk>). - - <li>remove a redundant check for working <code>setuid()</code> function - introduced in patch #132. Greg Smith reports that this does not work - as intended on os390. - - <li>change line speed from 9600bd to 38400bd, to accommodate people who - mistakenly use $TERM set to <em>vt100</em>, to reduce the effect of - padding associated with this terminal type. - - <li>add configure script check for IRIX 6.5's redefinition of baud - rates associated with <code>struct termio</code>, to correct a - situation where the baud rate was initialized to zero (reported by - Andrew Isaacson <adi@lcse.umn.edu>). - - <li>remove unused configure script check for VDISABLE. -</ul> - -<H1><A NAME="xterm_132">Patch #132 - 2000/4/11 - XFree86 4.0a</A></H1> -<ul> - <li>undo an incorrect change from patch #113 caused the right scrollbar - to be positioned incorrectly when re-enabling it (analysis by - D Roland Walker). - - <li>add ctrlFKeys resource, replacing constant for adjusting - control-F1 to control-F12 to VT220-style F10-F20. The resource - changes the constant 12 to a default value of 10 (request by - Jim Knoble <jmknoble@pobox.com>). - - <li>correct ifdef'ing for conflict between definitions in AIX's - <sys/select.h> and <X11/Xpoll.h> (reported by Clint - Olsen). - - <li>add checks for return-values of getutid(), initgroups() and - setuid() in main.c, as well as modifying ifdef's for __osf__ to - include tty-group and WTMP logic (adapted from patch by Paul Szabo - <psz@maths.usyd.edu.au>) - - <li>modify resize.c to build and work on os390 (uses EBCDIC) - (adapted from patch by Phil Sidler <Phil.Sidler@airborne.com>) - - <li>use Ires(), Bres() and Sres() macros to simplify resource list in - charproc.c - - <li>resync with XFree86 4.0a: - <ul> - <li>correct a typo in os2main.c (Holger Veit, from 4.0a). - </ul> -</ul> - -<H1><A NAME="xterm_131">Patch #131 - 2000/3/3 - XFree86 3.9.18b</A></H1> -<ul> - <li>improve logfile security (integrated patch by Branden Robinson) - <ul> - <li>make the <code>creat_as()</code> function more strict by using - O_EXCL rather than O_APPEND. - <li>fixes to make DEBUG ifdef's compile/run, including making the - debug logfile more unique by appending a timestamp to its name. - <li>include <term.h> in resize.c, to fix a missing-prototype - warning. - </ul> - - <li>modified <code>creat_as()</code> a little more, retaining the - ability to append to a logfile If the user specifies the name. - Also, check if the opened file (which patch #130 ensures is - owned by the effective user) is not writable by other users. - - <li>use <code>creat_as()</code> logic to make tek4014 screen-copy - more secure (noted by Branden Robinson). - - <li>ifdef'd some of Branden's changes to build/work on older machines. - - <li>correct missing initialization of the <code>.mode</code> flag in - <code>ColorRes</code> struct, from patch #129. This worked on Linux - because <code>malloc()</code> zeroes memory on that platform - (reported by Christian Weisgerber). - - <li>modify logic for <code>deleteIsDEL</code> resource so it has - internally 3 states: unspecified, true and false. If unspecified, - the keyboard type determines whether the Delete key transmits - <code><ESC>[3~</code> or <code>\177</code>, and the popup menu - entry reflects the internal state. Otherwise, the popup menu entry - overrides the keyboard type (suggested by Dr Werner Fink, to make it - simpler to set resources that imitate the legacy X11R6 xterm). -</ul> - -<H1><A NAME="xterm_130">Patch #130 - 2000/3/1 - XFree86 3.9.18a</A></H1> -<ul> - <li>modify <code>scroll-forw()</code> and <code>scroll-back()</code> - actions, adding a third parameter which will direct xterm to ignore - the action when mouse reporting is enabled. This is needed for - the wheel mouse to be used to report to the application rather than - scroll the window. - - <li>add menu entry and action to allow disabling xterm's assumption - that the current font contains line-drawing characters if the - font cells 1-31 are nonempty. Some fonts may have other characters - (reported by Bruno Betro <bruno@iami.mi.cnr.it>). - - <li>add a check in <code>creat_as()</code> to ensure that the user - really owns the logfile that has been opened. - - <li>add logic to implement SCO function-keys. (This is really - incomplete, since I intend to revisit this and make xterm able to - emulate scoansi better than just the function-keys). - - <li>add configure script option --enable-sco-fkeys, minor related fixes - (patch by Dr Werner Fink). - - <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar) - - <li>fix typo in sinstall.sh default for $TST_PROG (reported by - Paul Gilmartin <pg@sweng.stortek.com>) -</ul> - -<H1><A NAME="xterm_129">Patch #129 - 2000/2/26 - XFree86 3.9.18a</A></H1> -<ul> - <li>improve initialization of ANSI colors by delaying allocation until - each color is first used. - - <li>remove ifdef that prevented colorBD/colorUL/colorBL resources from - working when 256-color configuration was built (reported by - Todd Larason). - - <li>fix some minor inconsistencies in terminfo (Debian #58530). -</ul> - -<H1><A NAME="xterm_128">Patch #128 - 2000/2/17 - XFree86 3.9.18</A></H1> -<ul> - <li>correct logic for <code>oldXtermFKeys</code> resource, fixes a core - dump when attempting to set it from the command-line (reported by Dr - Werner Fink). - <li>correct ifdef for meta-sends-escap so configure --disable-num-lock - builds. -</ul> - -<H1><A NAME="xterm_127">Patch #127 - 2000/2/12 - XFree86 3.9.17e</A></H1> -<ul> - <li>add resource, popup menu entry and control sequence to allow - changing the Delete key to send either DEL or the VT220-style - Remove escape sequence. - - <li>remove logic for metaSendsEscape that would allow xterm to send - <code><ESC>[3~</code> before a function key that would begin - with <code><ESC>[3~</code> (request by Christian Weisgerber). - - <li>add missing action and documentation for meta-sends-escape. - - <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan color) -</ul> - -<H1><A NAME="xterm_126">Patch #126 - 2000/2/8 - XFree86 3.9.17c</A></H1> -<ul> - <li>ensure that xterm will automatically activate the UTF-8 mode whenever - the name of the locale environment variable suggests that a UTF-8 - locale is in use (patch by Markus Kuhn). - This will help that by simply setting LC_CTYPE an - entire system can be switched over to UTF-8, without users having to - remember the UTF-8 command line options ("-u8", etc.) of the various - applications. Command line options and X resource entries can still - be used to override this default choice. - - <li>add old function-keys control sequences and popup menu entry, for - compatibility with legacy X11R6 xterm. - - <li>revert translation of editing keypad "Delete" key to legacy \177. - - <li>simplify the color-resource data expressions with macro COLOR_RES, - for later use in restructuring color initialization. - - <li>change encoding of wheel mouse (buttons 4 and 5) to avoid conflict - with legacy mouse modifiers (suggested by Bram Moolenaar). -</ul> - -<H1><A NAME="xterm_125">Patch #125 - 2000/1/31 - XFree86 3.9.17c</A></H1> -<ul> - <li>make this work on OpenVMS - (integrated patch by David Mathog). - - <li>rename some functions, e.g., <code>Index</code> to - <code>xtermIndex</code> so that ports such as VMS which link - externals ignoring case will not have library conflicts (reported by - David Mathog). - - <li>correct logic of <code>do_reversevideo()</code>, which did not - update the corresponding popup menu check mark (reported by David - Mathog, this was a detail overlooked in patch #94). - - <li>change TRACE macro so semicolon is not within definition, making - <em>indent</em> and similar programs work better. - - <li>add <code>depend</code> rule to Makefile.in - - <li>modify logic of boldColors resource to suppress it if an extended - color control has been used, e.g., for 88-color or 256-color mode - (patch by Todd Larason). - - <li>revise logic that handles menus and input translation for keyboard - type so only one can be selected at a time. - - <li>restore kdch1=\177 for the Sun function-key type, and make the - the Delete key send DEL (\177) if the oldXtermFKeys resource is set. - - <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid preprocessor - expression that will not compile on NetBSD/x86 1.4.1 (reported by - Takaaki Nomura <amadeus@yk.rim.or.jp>). - -</ul> - -<H1><A NAME="xterm_124">Patch #124 - 2000/1/27 - XFree86 3.9.17b</A></H1> -<ul> - <li>change coding of editing keypad's "Delete" key to - <escape>[3~, in the default (Sun/PC) keyboard mode. - This makes the terminfo kdch1 capability independent of the - coding of the backarrow key, which sends either backspace (8) - or DEL (127). The reason for doing this (compatibility with - the <em>screen</em> program) outweighs the choice of DEL (127) - which was used in X11R5/X11R6 xterms. The <em>screen</em> - program translates whatever matches kdch1 into <escape>[3~, - even if it happens to be the stty erase character. - - <li>add encoding for control/?, to work around xmodmap or key - translations which may confuse backspace and delete. A control/? - will send DEL (127), and a control/H will of course send backspace - (8). - - <li>add encoding for kcbt to <escape>[Z (fixes Debian #54840). - - <li>minor correction to logic that encodes Sun and DEC function keys - to avoid sending an escape sequence if the key symbol is not found - in xterm's lookup table. - - <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" pattern - is more likely to be implemented when <em>imake</em> configures xterm - (fixes Debian #55105). - - <li>change manpage to make it clearer what codes are sent by the - backarrow key. -</ul> - -<H1><A NAME="xterm_123">Patch #123 - 2000/1/22 - XFree86 3.9.17a</A></H1> -<ul> - <li>add a note reserving OSC 51 for use in Emacs shell (request by - Rob Mayoff <mayoff@dqd.com>). - - <li>correct a missing backslash in xterm-vt220 termcap. - - <li>cleanup remaining quoted includes, preferring bracketed form. - - <li>minor configure-script macro updates from tin and vile. - - <li>add configure-script option for using utempter library, adapted - from Redhat 6.1 patch for XFree86 3.3.5 - - <li>resync with XFree86 3.9.17a: - <ul> - <li>correction to QNX support (Frank Guangxin Liu) - <li>some cosmetic changes that did not correct any reported problems. - </ul> -</ul> - -<H1><A NAME="xterm_122">Patch #122 - 1999/12/28 - XFree86 3.9.16f</A></H1> -<ul> - <li>move the suggested wheel-mouse button translations into charproc.c - to simplify customization. Correct some minor logic errors in the - support for buttons 4 and 5, used for wheel mice (reported by - Bram Moolenaar). - - <li>implement <em>metaSendsEscape</em> resource, with corresponding - control sequence and menu entry. Like <em>eightBitInput</em>, this - causes xterm to send ESC prefixing the given key, but applies to - all keys and is independent of the 8-bit/7-bit terminal setting. - (requests by Alexander V Lukyanov and Marc Feeley). - - <li>correct potential indexing with negative subscript in udk_lookup(), - (reported by Ian Collier <Ian.Collier@comlab.ox.ac.uk>). - - <li>modify configure script that sets TERMINFO_DIR to use ${prefix} - rather than /usr if the --prefix option was specified (request by - Zdenek Sekera <zs@sgi.com>). - - <li>modify checks for repeat-character control sequence to test the - character class against xterm's state table, rather than the - isprint() macro (patch by Alexander V Lukyanov). - - <li>change several functions to macros to improve speed - - <li>two corrections to simulation of bold font via overstriking: - <ul> - <li>use clipping to avoid leaving trash at end of the text, and - <li>add brackets so wide-character logic does not fall-through - into the overstriking logic (reported by - Marc Feeley <feeley@IRO.UMontreal.CA>) - </ul> - - <li>add several entries to termcap file to make it have the same set - of aliases as the terminfo file. - - <li>scale the color values used for xterm-256color terminfo entry to - 0..1000, as expected by ncurses. - - <li>change xterm-r6 terminfo definitions for F1-F4 to match program. - - <li>Add QNX/Neutrino support (Frank Guangxin Liu - <frank@ctcqnx4.ctc.cummins.com>) -</ul> -<H1><A NAME="xterm_121">Patch #121 - 1999/11/14 - XFree86 3.9.16c</A></H1> -<ul> - <li>change label on "Sun/PC Keyboard" popup menu entry to "VT220 - Keyboard", since the checked state corresponds to VT220 rather than - Sun/PC. - - <li>add configure test CF_UTMP_UT_XSTATUS to handle the variants of - utmp exit status (reports by Dave Ellement, Jeremie Petit, Tomas - Vanhala). - - <li>amend treatment of ALT key - (see <a href="#xterm_94">patch #94</a>) so that if ALT is used - as a modifier in key translations, then no parameter will be sent - in escape sequences for Sun/PC function keys (request by Dr Werner Fink). - - <li>modify default for OPT_I18N_SUPPORT to assume that - <code>XtSetLanguageProc()</code> is available in X11R5. - <p> - Caveat: <code>XtSetLanguageProc()</code> was - added fairly late in the X11R5 patches, and some vendors shipped - buggy versions of this function (request by Tomas Vanhala). - - <li>correct configure macro CF_SYSV_UTMP to test-link with functions - consistent with the header, e.g., getutent() for utmp.h and - getutxent() for utmpx.h (reported by Greg Smith). - - <li>modify terminfo entry for <code>xterm-xfree86</code> to reflect - modifiers for shift and control which (from a patch by Alexander V - Lukyanov). - - <li>modify terminfo entry for <code>xterm-sun</code> to match the - function-key definitions in ncurses. The pageup/pagedown and - related function keys correspond to the Sun keyboard, which does - not necessarily correspond with X's notion of those keys. - - <li>modify treatment of XK_Delete keysym so it transmits parameterized - VT220-style <code><ESC>[3~</code> if modifiers (shift, control - alt) are given (request by Alexander V Lukyanov). - - <li>corrected misspelled resource name in command-line option for - HP function keys. -</ul> - -<H1><A NAME="xterm_120">Patch #120 - 1999/10/28 - XFree86 3.9.16c</A></H1> -<ul> - <li>refine the change to <code>SGR_Background()</code> in patch #119, - by not flushing the pending scrolling operation if the background - color is not actually changing. This combination occurs when using - color-ls to display a long listing, since each line ends with an SGR0 - which affects only the foreground color. The unnecessary flushing - made it noticeably slower (reported by D Roland Walker - <walker@pobox.com>). - - <li>remove obsolete documentation about modifiers which can be returned - in mouse tracking mode, and modify logic to ignore modifiers other - than the existing ones, e.g., NumLock (prompted by discussions with - Christian Weisgerber and Brad Pepers <brad@linuxcanada.com>). - - <li>use free bit from obsolete shift-modifier coding of mouse tracking - button events to encode buttons 4 and 5, e.g., for a wheel mouse - (requests by Brad Pepers and Bram Moolenaar). - - <li>correct a place where the ptyInitialErase logic did not set the - backarrowKey state, and modify it further to use tgetstr() rather - than parse the termcap data returned from tgetent() so the - ptyInitialErase logic will work when xterm is linked with a terminfo - library (based on a patch by Dr Werner Fink <werner@suse.de>). - - <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration - (patch by Michael Rohleder). - - <li>improve configure script's utmp tests (based on reports by Greg - Smith for os390, and David Ellement for HPUX). - - <li>modify sinstall.sh to use uid=0 rather than 'root' to determine if - the installer is privileged. This is needed on some systems since - more than one account may be privileged (report by Greg Smith). - - <li>add an application resource, <code>messages</code> (and a - corresponding -/+mesg option) which controls the initial permission - on the terminal: if messages is set to true (the default), behavior - is as without the patch; if it is set to false (as per -mesg), the - terminal is opened in mode 0600, thus producing the effect of the - <code>mesg n</code> command. This is useful for users who want to - redirect all their messages to one particular xterm: it is more - pleasant to do this with xterm resources than with explicit calls to - the <code>mesg</code> program (patch, description by David Madore - <david.madore@ens.fr>). -</ul> - -<H1><A NAME="xterm_119">Patch #119 - 1999/10/16 - XFree86 3.9.16c</A></H1> -<ul> - <li>add responses (DA and DSR) for DEC locator mode - - <li>add coding for ANSI color to DA response - - <li>implement UTF-8 translation for Media Copy (print) operations. - - <li>implement vt320 control sequences for Print Composed Main Display - and for Print All Pages. The latter directs xterm to print the - current screen as well as the scrollback buffer. - - <li>correct error in _GNU_SOURCE configure test, which left it always - defined. - - <li>add more information, i.e., with strerror for some system calls in - the main program which may fail due to insufficient permissions - (prompted by a problem report for <code>-C</code> by Jeremie Petit - <Jeremie.Petit@digital.com>). - - <li>add workaround for conflict between <X11/Xpoll.h> and - <sys/select.h> on AIX 4.3 (Richard Griswold - <griswold@acm.org>). - - <li>add configure script test to resolve conflict between between - <X11/Xpoll.h> and <sys/select.h> - - <li>modify translation of UTF-8 sequences to reject "overly long" - variations (patch by Markus Kuhn). - - <li>remove <code>utf8controls</code> resource, since Markus' change - removes the corresponding logic. - - <li>correct a case where colors were not rendered properly. This - happened when an application inserted several lines, then changed - colors. If this was done all in one write, then there would be no - intervening refresh, and the new color was applied to the pending - scrolling operation which was awaiting the next refresh (reported - by Stephane Chazelas <Stephane_Chazelas@Raytheon.com>). - -</ul> - -<H1><A NAME="xterm_118">Patch #118 - 1999/10/5 - XFree86 3.9.16b</A></H1> -<ul> - <li>refine configure test for utmp versus utmpx, to build on HP-UX 10.x - (reported by David Ellement). - - <li>move the configure check for <code>const</code> after the check - for ANSI C compiler options, since those may be required to make - it work properly on HP-UX. - - <li>add configure test for defining <code>_GNU_SOURCE</code> - - <li>correction to <em>-hold</em> option, ensure that if data is already - in the output buffer that it will be displayed before closing the - PTY. - - <li>move the configure checks for setuid install of xterm into a script - to avoid installing it setuid'd to a non-root user (reported by - Adam Sulmicki <adam@cfar.umd.edu>). - - <li>correct configure script's check for termcap.h to avoid using - ncurses' version of it on systems that have a working - <code>tgetent()</code> function. This is needed to make - <code>resize</code> work properly. - - <li>fix some typography in ctlseqs.ms description of DEC locator events - (reported by Steve Wall). -</ul> - -<H1><A NAME="xterm_117">Patch #117 - 1999/9/29 - XFree86 3.9.16b</A></H1> -<ul> - <li>change order of tests in configure script for utmp and utmpx - to test utmpx first, to compile on Solaris (reported by - Leena Heino <liinu@uta.fi> - and Patrik Hagglund <patha@ida.liu.se>). - - <li>add a configure test for utmp.ut_xtime, needed for SCO Openserver, - and for lastlog, needed for Redhat 6.0, to refine the utmp/utmpx - auto-configure. - - <li>remove a spurious comma in an #undef (reported by - David Green <greendjf@cvhp152.marconicomms.com> and - David Ellement <ellement@sdd.hp.com> both on HP-UX, whose - compiler does care about syntax). - - <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported by Suhaib - M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is told that the - next Cygnus release will drop that symbol in their next release). - - <li>minor cleanup of ifdef's for makeColorPair (patch by Steve Wall). - - <li>work around problem observed in XFree86 3.3.5 - (patch by Alexander V Lukyanov, Mozilla #5419). - From the problem report: - <blockquote> - xterm consumes cpu when selecting text with mouse (holding - down left mouse button) and when a program working under the - xterm outputs something to stdout. - <p> - Easy way to reproduce:<br> - <code>while :; do echo aaa; sleep 1; done</code><br> - (while this runs, select text and hold down left mouse button) - watch cpu load.<br> - release left mouse button - spinning stops. - </blockquote> -</ul> - -<H1><A NAME="xterm_116">Patch #116 - 1999/9/25 - XFree86 3.9.16a</A></H1> -<ul> - <li>modify warning if change-ownership of PTY fails; some - configurations may not happen to have old-style pty's (reported by - Bob Maynard). - - <li>improve check in configure script for group ownership of installed - xterm; some platforms use the -g option of ls to toggle group off - rather than on (reported by Greg Smith). - - <li>minor improvement to toolbar geometry, to make it not resizable. - This still is not satisfactory (but is usable) since the toolbar - overlaps the xterm widget if the window is resized to make it - smaller. It appears that some work is needed for the xterm widget's - geometry management to make it function properly. - - <li>implement configure script tests for utmp, tty group. - - <li>implement <em>-hold</em> option, allowing users to retain the - window after a shell has exited (this is recently an FAQ, but - prompted by a comment by Joachim Plaettner-Hochwarth - <plaettner@aem.umn.edu> in comp.unix.programmer, that the IRIX - winterm provides this option). - - <li>add support for DEC Locator control sequences for xterm - (integrated patch by Steve Wall): - <pre> - - DECEFR, "Enable Filter Rectangle" - DECELR, "Enable Locator Reports" - DECSLE, "Select Locator Events" - DECRQLP, "Request Locator Position" - </pre> - This allows the xterm mouse to be used with applications that use the - DEC Locator sequences, such as VAX Tpu, or SMG$ based applications. - - <li>improve print action (patch by Matthias Baake). From his notes, - <ul> - <li>Bug 1<br> - Underlined text is preceded by ESC [0;2m . This should be ESC [0;4m , - ESC [2m doesn't seem to have any effect. (print.c/send_SGR) - - <li>Bug 2<br> - The check for the last non-empty column (while (last > 0) ... in - print.c/printLine) omits the rightmost column of the screen, the loop must - start with last = screen->max_col+1 instead of last = screen->max_col. - - <li>Bug 3<br> - Any attributes of the first character (and of all immediately following - characters with the same attributes) are ignored. The variable attr - (print.c/printLine) should be initialized with 0, not with *a & SGR_MASK. - </ul> -</ul> - -<H1><A NAME="xterm_115">Patch #115 - 1999/9/18 - XFree86 3.9.16a</A></H1> -<ul> - <li>integrated changes by Steve Wall to implement an 88-color model - for systems where 256-colors cannot be allocated. - - <li>when 256-color configuration is compiled, colored bold and - underlining is not available; ifdef'd to avoid possible odd effects - in this case (reported by Steve Wall). - - <li>add resource <em>cacheDoublesize</em>, to limit the caching of font - information for double-sized characters. This addresses a problem - reported by Aryeh Koenigsberg for X terminals with limited font - memory. - - <li>modify treatment of line-drawing characters in UTF-8 mode so that - the Unicode values are used rather than the C0 codes for storing the - translated characters (request by Markus Kuhn). -</ul> - -<H1><A NAME="xterm_114">Patch #114 - 1999/9/15 - XFree86 3.9.16</A></H1> -<ul> - - <li>add configure script checks for Athena headers and libraries under - /usr/contrib to work on HPUX (reported by several people: - David Nixon <djn@csc.liv.ac.uk> - Aryeh Koenigsberg <aryeh.koenigsberg@telrad.co.il> - Johannes Mähner <johanm@camline.com> - Andrew Gaylard <andrew.gaylard@bsw.co.za>). - - <li>add check to configure script if xterm is installed setgid rather - than setuid, since wtmp and utmp may be installed with group-writable - permissions other than root (based on Debian bug report #7112 by Bo - Branten <bosse@ing.umu.se>). - - <li>rewrote logic that removes data from termcap entry, e.g., for - titeInhibit, to make it less likely to remove the wrong data. - - <li>correct logic which checks for missing characters used for line - drawing. The 0 character was tested unnecessarily, leading to - some inefficiency when rendering. - - <li>change termcap capability which is used as input or output of - ptyInitialErase logic from <em>kD</em> to <em>kb</em>. - Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed out - in effect that <em>kD</em> (in terminfo <em>kdch1</em>) should - correspond to the control sequence for <em>dch1</em>, which deletes - from the current position toward the right. - - <li>check for failure to change ownership of the PTY device and warn - when xterm is running setuid'd to root. This was reported to happen - on the FreeBSD/NetBSD/OpenBSD systems as a result of the chflags() - call. - - <li>add xterm-noapp terminfo entry to illustate a nominally - bash-compatible terminal description. -</ul> - -<H1><A NAME="xterm_113">Patch #113 - 1999/8/15 - XFree86 3.9.15b</A></H1> -Several fixes. The main one is a first draft of pulldown menus. It's not -complete (I have some minor/annoying geometry problems to correct), but is -usable. Once it's complete I plan to add a menu to support additional -selections that won't fit on the current popup menus. Also, this fits into my -longterm plan to allow configuring with Motif libraries. - -<ul> - <li>correct error in input conversion for NRC mode (reported by - Stefan Traby <stefan@sime.com>). - - <li>fix initialization of num_lock data in Misc struct (since those - fields of the reference widget aren't initialized), and add logic to - deal with XVision whose NumLock key does not transmit but does alter - keypad state. - - <li>correct a missing return-value in get_pty(), for SCO - - <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br> - #define VAL_INITIAL_ERASE A2E(127) - - <li>correct foreground color within cursor outline when the - window is unfocused (reported by Stephane Chazelas). + <li>corrected default for <code>brokenStringTerm</code> + resource to match manpage.</li> - <li>corrected position of scrollbar set in ResizeScrollBar(), which - left it positioned incorrectly if the right scrollbar were enabled - from the popup menu but was not initially enabled. - - <p> - I have noticed some additional problems with right-scrollbar on - X11R5 which I will correct later. - - <li>integrate changes by Jean-Claude Michot for QNX from XFree86 3.3.4c + <li>add vttests/dynamic.pl</li> - <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for later - use in toolbar geometry. + <li>add runtime check for locale not supported by X libraries, + and fallback to XA_STRING in this case (request by Bryan + Henderson).</li> - <li>add configure option --enable-toolbar + <li>fix a special case in configure script after no FreeType + libraries are found. The script was proceeding to check for a + usable configuration.</li> - <li>add missing definition to make ziconbeep logic not compile-in when - configure script disables it. + <li>add <code>xterm+tmux</code> building block to terminfo + (adapted from changes proposed by Ailin Nemui and Nicholas + Marriott).</li> - <li>add configure-check for input-method support in X libraries -</ul> + <li>improve discussion of <code>faceName</code> resource in + manpage (adapted from suggestions by Jens Schweikhardt).</li> -<H1><A NAME="xterm_112">Patch #112 - 1999/7/17 - XFree86 3.9Pw</A></H1> -<ul> - <li>add null-pointer check to FlushLog(), fixes a core dump when both - -l and -lf options are used when xterm is configured with wide-character - support. + <li>correct mapping of shifted up/down cursor-keys in termcap + function-keys mode, i.e., resource + <code>tcapFunctionKeys</code> (patch by Gertjan Halkes).</li> - <li>remove "ISO" case for SD, which was due to a typographical error in - ECMA-48 (reported by Paul Williams <paul@celigne.co.uk> for - vttest). + <li>update AIX case in <code>CF_XOPEN_SOURCE</code> configure + macro to add release 7.x.</li> - <li>add "FILES" section to manpage. + <li>modify ifdef's in <code>xterm_io.h</code> for + <code>__hpux</code> to force that to use the hacked SYSV + support in that file. This fixes a problem with a non-blocking + socket call (patch by Paul Lampert).</li> - <li>generate header file to initialize default resources for colors - 16-255. + <li>improve filtering of desktop category scanning, to exclude + XFCE.</li> - <li>fixes for os390 (Greg Smith): - <ul> - <li>add README.os390 + <li>modify configure script to work with systems that have both + ncurses (or other terminfo) as well as a real termcap library, + e.g., Slackware (report by Andrew Watts).</li> - <li>use the pty_search() function to find an available pty/tty pair. + <li>modify configure script to work around special case where + user's environment adds compiler flags to the <code>CC</code> + variable (prompted by report by Paul Lampert).</li> - <li>move E2A() call out of getXtermCell() to SaveText() function - so it will be available in all configurations. - </ul> + <li>amend change for Debian #110226 so that "-h" or "-v" + options cause an exit, rather than simply printing to stdout + while the window is displayed (Debian #629358).</li> - <li>patches by Todd Larason: - <ul> - <li>enable SGR 48 5 in ISO color mode, not just 256 color mode + <li>add response for <code>DECRQSS</code> which gives the + setting for <code>DECSCUSR</code>.</li> - <li>change configure's --disable-256-color option to - --enable-256-color, to match its effect + <li>modify AllocateTermColor() to handle + <code>XtDefaultForeground</code> and + <code>XtDefaultBackground</code>, which are not recognized by + <code>XParseColor</code>. For example, this fixes the use of + OSC 112 when no explicit cursor color was set (report by + Ailin Nemui).</li> - <li>fix OSC 4 xx ? (report ansi color) to report a string which can - actually be used to set the color back + <li>handle special-case of <code>KeyPress</code> translated to + <code>popup-menu</code> action (Ubuntu #756273).</li> + </ul> - <li>fix OSC 4 xx yy (change ansi color) to not allow setting colors > - 15 in 16 color mode + <h1><a name="xterm_270" id="xterm_270">Patch #270 - + 2011/04/26</a></h1> - <li>simplify the COLOR_ settings a bit in ptyx.h, along with setting - NUM_ANSI_COLORS needed for #1 and #4 above + <ul> + <li>build-fix, e.g., for using <code>imake</code> on platforms + which use the termcap library.</li> - <li>correct string-terminator code passed for reference to OSC - responses; when in 7-bit mode, only the final byte of ST was seen. + <li>modify <code>utf8</code> resource to accept a name.</li> - <li>Allow multiple color #;name pairs in OSC 4, - and document changes to match. - </ul> -</ul> + <li>mention default for <code>fontWarnings</code> in manpage + (report by Werner Scheinast).</li> -<H1><A NAME="xterm_111">Patch #111 - 1999/7/10 - XFree86 3.9Pw</A></H1> -<ul> - <li>add control sequences for specifying the RGB value of the ANSI - colors, and for configuring with 256 colors (patch by Todd Larason - <jtl@molehill.org>). I made the default configuration to - 16-colors, because xterm uses the default color map (which has only - 256 colors). + <li>split "UTF-8" menu entry into "UTF-8 Encoding" and "UTF-8 + Fonts" (prompted by discussion with Werner Scheinast).</li> - <li>correct an error in DCS $ q m reporting for colors 8-15 (Todd - Larason). + <li>gray-out font-menu entries when a font fails to load, e.g., + a bitmap font is not installed.</li> - <li>add test/demo script for double size characters. Used this to - test/correct display of double size characters that should wrap, - underlined double size characters. + <li>improve behavior when there is no app-defaults file: - <li>increased cache size for double size fonts to 8, to allow for both - normal and bold fonts (discussion with Aryeh Koenigsberg - <aryeh.koenigsberg@telrad.co.il>). + <ul> + <li>set the <code>toolBar</code> resource to false</li> - <li>add fixes for port to OS390 aka MVS - (integrated patch from Greg Smith <rys@epaibm.rtpnc.epa.gov>). - OS390 uses EBCDIC rather than ASCII. + <li>gray-out the font menu entries where no resource is + found.</li> + </ul> + </li> - <li>correct an off-by-one in binary search limits in keysym2ucs.c (Markus - Kuhn). + <li>add configure option <code>--with-desktop-category</code> + to allow customization of the ".desktop" files.</li> - <li>implement logging for UTF-8 mode. The output is written in UTF-8 form. -</ul> + <li>build-fix for the <code>install-desktop</code> + makefile-rule, when the source/build directories differ (patch + by Loïc Minier).</li> -<H1><A NAME="xterm_110">Patch #110 - 1999/6/29 - XFree86 3.9Pu</A></H1> -<ul> - <li>If colorMode is enabled by default, compile-in default resources to - match the colors listed in XTerm-col.ad (this should fix a - longstanding FAQ). - - <li>added new OSC 3 ; PROPNAME=VALUE ST escape - sequence to set an arbitrary X property on the top level xterm X11 - window. Omit "=VALUE" to delete the X property (patch by Greg Badros - <gjb@cs.washington.edu>). - - <li>change internal flag used for <em>utf8controls</em> resource - so we allow 31-bit range of characters (suggested by Thomas Wolff). - - <li>add check for 16-bit characters in OSC strings, change them to '?' - (reported by Thomas Wolff). - - <li>modify logic of same_font_name() to avoid trying to interpret both - parameters as wildcard patterns. That does not (cannot) work, and in - some instances the font server will return unresolved wildcards for - the normal or bold fontnames, making them match inadvertently, - triggering the fallback overstrike logic (reported by Tim Adye). -</ul> - -<H1><A NAME="xterm_109">Patch #109 - 1999/6/23 - XFree86 3.9Pt</A></H1> -<ul> - <li>correct range-check from patch #108, which resulted in not being - able to select from the scrollback buffer (reported by Tim Adye - <T.J.Adye@rl.ac.uk>) - - <li>correct "no available ptys" problem with Cygwin B20.1 (patch by Tim - Adye). - - <li>modified install-ti rule in Makefile.in to allow override of the - terminfo directory when doing a "make install", i.e., by assigning - to TERMINFO_DIR (request by Zdenek Sekera <zs@sgi.com>). - - <li>added install-full rule to Makefile.in - - <li>resync mkdirs.sh and install.sh scripts against current autoconf - - <li>implement $(DESTDIR) in Makefile.in, making it simple to install - xterm and associated files into a directory just for packaging a - binary release (suggested by CaT <cat@zip.com.au>). - - <li>change IChar type to unsigned, rather than unsigned short, making - room for a flag to keep with 16-bit characters to prevent them from - being interpreted as C0 or C1 controls (reported by Thomas Wolff). - - <li>correct a typo from patch #107, incorrect array name, in the - filterUTF8 function (patch by Bruno Haible <haible@ilog.fr>) - - <li>add <em>utf8controls</em> resource to specify whether xterm should - interpret 16-bit characters unpacked from UTF-8 form as control - characters if they happen to fall into that range. This behavior - is left unspecified by the Unicode standard (request by Thomas Wolff). - - <li>modify handling of OSC to recover if application sends 16-bit - characters with codes above 255. We cannot display them as is, but - translate out-of-range characters to a '?' (reported by Thomas - Wolff). -</ul> - -<H1><A NAME="xterm_108">Patch #108 - 1999/6/19 - XFree86 3.9Ps</A></H1> -<ul> - <li>add a range-check to LastTextCol(), to guard against indexing - before the beginning of the scrollback buffer. This appears to - happen with certain fonts under X11R5 (reported by Stephane Chazelas - <Stephane_Chazelas@Raytheon.com>). - - <li>implement resource <em>boldMode</em>, to allow disabling the - simulation of bold fonts when the bold and normal fonts are not - different (requested by Will Day <willday@rom.oit.gatech.edu>). - - <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few bugs in - the UTF-8 selection (patch by Juliusz Chroboczek). - - <li>correct logic of binary-search in keysym2ucs.c (patch by Markus - Kuhn). - - <li>add special interpretation of keysym codes above 0x1000000 as - the corresponding UCS value plus 0x1000000 (patch by Markus Kuhn). -</ul> - -<H1><A NAME="xterm_107">Patch #107 - 1999/6/12 - XFree86 3.9Pq</A></H1> -<ul> - <li>Two changes from Stephen P Wall. - From his description: - <blockquote> - The first change is simple - I added ESC[3J to erase the stored lines - above the screen. That's what the changes to util.c and ctlseqs.ms - are. - <p> - The second change is to get the blinking cursor working. I took out - the cursorBlinkTime resource, and put in cursorBlink (Boolean), - cursorOnTime (time cursor is on in msecs) and cursorOffTime, and added - a cursorblink item to the vtMenu to enable/disable it. - </blockquote> - - <li>improve selection (integrated patch by Juliusz Chroboczek). - From his description: - <blockquote> - With this patch, selection conversion works properly: -<pre> - ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); - ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); - UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); - UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). -</pre> - It will not work properly if one xterm is in, say, ISO 8859-2. - Actually, for this case xterm breaks the ICCCM routinely (sending ISO - 8859-2 data as STRING), so I wouldn't worry too much about it. I have - not changed the behaviour in eight-bit mode in any way. - </blockquote> -</ul> - -<H1><A NAME="xterm_106">Patch #106 - 1999/6/9 - XFree86 3.9Pq</A></H1> -<ul> - <li>remove duplicate fix for OpenBSD in resize.c - - <li>correct logic in ScreenWrite, which did not reset the high bytes - of 16-bit characters when overwriting them with a 8-bit character - string (reported by Thomas Wolff). - - <li>provide limited support for - input of UTF-8 16-bit data by a lookup table - (integrated patch by Markus Kuhn). - - <li>correct check in non_blank_line to ensure we're in wide-character - mode before looking at the high bytes, for InsertChar. -</ul> -<H1><A NAME="xterm_105">Patch #105 - 1999/6/5 - XFree86 3.9Pp</A></H1> -<ul> - <li>implement new resource <em>trimSelection</em>, which allows xterm - to trim trailing blanks from selected lines. This does not affect - the highlighting. (reported by several people using <em>mutt</em>, - including - Hans Morten Kind <edphk@uib.no>, - Jeremy <jeremy@exit109.com> - and (Michael Fuller <msf@mds.rmit.edu.au>). - - <li>include term.h in resize for OpenBSD (patch by Matthieu Herrb). - - <li>correct logic for UTF-8 in functions that hide and show the cursor; - it was displaying a space whenever the low byte of the character at - the cursor position was zero (reported by Thomas Wolff - <Thomas.Wolff@icn.siemens.de>). -</ul> - -<H1><A NAME="xterm_104">Patch #104 - 1999/5/30 - XFree86 3.9Pn</A></H1> -This is a resync patch against XFree86 3.9Pn, reflecting changes which were -submitted by Branden Robinson, who worked with -Wichert Akkerman <wichert@cs.leidenuniv.nl> -to set up ifdef's to handle GNU libc 2.1, -and use getpt() which lets xterm avoid having to know the actual PTY name. -<p> -I have also added a few fixes for signed/unsigned mismatches, and corrected -a problem in the configure script (the UTF-8 code was always configured since -the Imakefile defines this). - -<H1><A NAME="xterm_103">Patch #103 - 1999/5/14 - XFree86 3.9Pm</A></H1> -<ul> - <li>correct selection logic: I omitted an offset that accounts for - the distance into the scrollback buffer when rewriting this for - patch #101. Also fixed a similar problem for selecting double - size characters from the scrollback buffer (first was reported - by D Roland Walker <walker@pobox.com>). - - <li>improved support for Unix98 PTY's, using patch in Debian bug report - #35650, by J.H.M. Dassen <jdassen@wi.leidenuniv.nl>. From - the patch description: - <blockquote> - <ul> - <li>No longer links xterm against libutil on a glibc2.1 system. - libutil is a compatibility library and should only be used when - necessary. Rather than having get_pty() use openpty() from this - compatibility library, use the real UNIX98 pty support in get_pty() - (open()ing the master pty, through getpt() if available (glibc - extension)). Use openpty() only under glibc2.0. - <li>GNU libc2 is not Linux-specific; already it runs on the Hurd. It - provides the UNIX98 pty functions (plus the getpt() extension), - regardless of the underlying OS. Changed two constructs to look for - GNU libc2 only, not GNU libc2 on Linux. - </ul> - </blockquote> - - <li>improve font configuration, by checking if the user's resource - settings for normal and bold fonts give the same font sizes - (fixes problem reported by Peter Waltenberg <peterw@dascom.com>). -</ul> - -<H1><A NAME="xterm_102">Patch #102 - 1999/5/12 - XFree86 3.9Pm</A></H1> -<ul> - <li>revert change to openpty call in patch #101; this causes xterm to - fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn Brand). - - <li>modify print.c to move include of stdio.h after the autoconf'd - xtermcfg.h since HP's ANSI C compiler otherwise sees inconsistent - prototype for getopt, probably due to problem with const (reported by - H Merijn Brand). -</ul> - -<H1><A NAME="xterm_101">Patch #101 - 1999/5/10 - XFree86 3.9Pm</A></H1> -<ul> - <li>moved includes and definitions for 'select' from data.h to xterm.h - to fix problem introduced by prototype for getPtyData, part of UTF-8 - changes (reported by Jens Schleusener <Jens.Schleusener@dlr.de>) - - <li>added "Meta <Btn2Down>:clear-saved-lines()" default - translation (patch by H Merijn Brand) - - <li>fixes to configure script and ifdef's in main.c to build on a - HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with egcs 1.1.2 - and HP's ANSI C compiler (patch by H Merijn Brand - <PROCURA_BV@CompuServe.com>) - - <li>add more parentheses in ifdef's (patch by Bob Maynard). - - <li>eliminate conflicting definitions for USE_TERMINFO in resize.c - (reported by Jeremy Buhler). - - <li>change openpty call to pass NULL rather than ttydev parameter, - since that was used only to estimate the length of the - corresponding data, and may not really be long enough - (reported by Andreas Jaeger) - - <li>update description in xterm manpage for character class table, - which said it handles only 7-bit codes. - - <li>correct a typo in ScrnDeleteChar() which made it not clear the - high byte of wide-character data. - - <li>add logic to convert selection to UTF-8 form when appropriate. - This makes select/paste "work", but further work is needed to - make UTF-8 recognized as a locale in Xlib. - - <li>correct right-limit check when selecting double-width characters. - - <li>change default answerback response to an empty string. -</ul> - -<H1><A NAME="xterm_100">Patch #100 - 1999/5/3 - XFree86 3.9Pl</A></H1> -<ul> - <li>Correct a typo in the default resource value for - backarrowKeyIsErase: it was always true (reported by Bram - Moolenaar). - - <li>improve configure script's test if the installed xterm is setuid, - in case that is a symbolic link. - - <li>correct "install-ti" rule in Makefile.in, by not setting a blank - $TERMINFO value. That is interpreted as "." by ncurses' tic. -</ul> - -<H1><A NAME="xterm_99">Patch #99 - 1999/5/2 - XFree86 3.9Pk</A></H1> -<ul> - <li>correct logic that computes num_ptrs count of the number of indices - into the screen buffer. This is the maximum of the colors and - character-set indices; was incorrect in patch #97. - - <li>correct argument type for sigsetjmp, incidental change in patch - #96's Unix88 PTY patch (reported by Bram Moolenaar). - - <li>correct description of secondary DA in ctlseqs.ms (reported by Bram - Moolenaar). - - <li>decouple the backarrowKey and ptyInitialErase resources by - adding a new resource backarrowKeyIsErase, to accommodate people - using applications which have hardcoded tests for characters 8 and - 127 rather than relying on the stty settings. - - <li>modify the UTF-8 decoder so that all possible illegal UTF-8 - sequences are properly represented by U+FFFD. This should be very - helpful for developers of code that output UTF-8 strings for - debugging. See the file utf-8-test.txt in - http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a - demonstration text that contains numerous illegal UTF-8 values. - (patch by Markus Kuhn). - - <li>correct a place in ScrnRefresh where I was filling the high byte of - a wide character with a space rather than a null (reported by Markus - Kuhn). -</ul> - -<H1><A NAME="xterm_98">Patch #98 - 1999/4/26 - XFree86 3.9Pk</A></H1> -<ul> - <li>correct data manipulation in unparseputc(), broken for - little-endian machines by patch #97's UTF-8 changes. This meant that - keyboard input on SunOS did not work, though Linux i386 was fine. - - <li>modify initialization for backarrowKey and logic for initial-erase - to prevent the initial-erase from overriding an explicitly set - backarrowKey resource (reported by Vikas Agnihotri). - - <li>add a missing null-pointer check in ScrnRefresh, for the - wide-characters configuration. -</ul> - -<H1><A NAME="xterm_97">Patch #97 - 1999/4/25 - XFree86 3.9Pk</A></H1> -<ul> - <li>add configure script test for -lutil, needed for openpty call when - configuring xterm for Glibc-2.1 and Unix98 PTY's (first reported by - Martin Lorentz" <m.lorentz@w12.link-goe.de>). - - <li>completely parenthesize ifdef expressions for Glibc (suggested by - Bob Maynard). - - <li>add initial-erase options (-ie, +ie) to help message (reported by - Vikas Agnihotri). - - <li>remove duplicate definition of USE_USG_PTYS (reported by Jeremy - Buhler). - - <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a DEL - (\177). - I overlooked this when separating the styles of keyboard with - the <em>sunKeyboard</em> resources in patch #94, so that it normally - matches the value of the stty erase character: - <ul> - <li>Reported by Jae Gangemi <jgangemi@ccf.rutgers.edu>, - this caused emacs to not process the DEL properly, combining it - with succeeding characters. - <li>This does not appear to be related to a problem which I have - found with <em>screen</em>, which translates the stty erase into - the termcap <em>kD</em> or terminfo <em>kdch1</em> value - (depending on how it is linked) - if the $TERMCAP variable is set when <em>screen</em> is invoked. - </ul> - - <li>add command-line options for enabling UTF-8 mode: -u8 and +u8. - The more obvious -utf8 and +utf8 would conflict with xterm's - -ut and +ut (utmp) options. - - The UTF-8 changes were requested by Markus Kuhn - <Markus.Kuhn@cl.cam.ac.uk>. This patch does not complete UTF-8 - implementation, but makes it usable, i.e., display and refresh work, - and I am able to display the test cases which Markus provides. - More work is needed to complete this feature: - <ul> - <li>the control sequences for switching in/out of UTF-8 mode are - partly implemented (don't use them). Similarly, the switching - between vt100 and tek4014 emulations when UTF-8 mode is enabled - will not work properly. - <p> - You must use the -u8 command line option - to use this feature, as well as compile with the OPT_WIDE_CHARS - definition. - <li>cut/paste only copies 8-bit characters. - <li>logging is disabled in the wide-character configuration - <li>printing only writes 8-bit characters. - <li>input only does 8-bit characters. This is the area that I know - least about. - </ul> -</ul> - -<H1><A NAME="xterm_96">Patch #96 - 1999/4/19 - XFree86 3.9Pj</A></H1> -<ul> - <li>modify Makefile.in to work with configure script's --srcdir option. - (patch by Jeremy Buhler <jbuhler@cs.washington.edu>) - - <li>add checks for 'echo -n' equivalent for 8colors.sh and 16colors.sh - scripts (reported by Vikas Agnihotri). - - <li>improve logic that looks for bold fonts to allow for wildcards - in the specification for normal fonts, and to ensure that if - a bold font is specified as normal, that xterm will simulate a - bold version of that using a one-pixel offset overstrike - (reported by Henrik Harmsen <harmsen@erv.ericsson.se>). - - <li>correct horizontal spacing of double width line-drawing characters - that xterm simulates. - - <li>improve support for Unix98 PTY's, using patch in Debian bug report - #35650, by Topi Miettinen <Topi.Miettinen@medialab.sonera.fi>. - Andreas Jaeger says this also corrects a permissions problem - reported by cat@zip.net.au - - <li>modify initial-erase logic to ensure that <code>ttyModes</code> - resource overrides it. -</ul> - -<H1><A NAME="xterm_95">Patch #95 - 1999/4/5 - XFree86 3.9Ph</A></H1> -<ul> - <li>modify primary DA response to allow a '1' parameter. - - <li>add printer and national replacement character sets to VT220 - primary DA response. - - <li>document primary and secondary DA responses in ctlseqs.ms - - <li>use the patch number (e.g., 95) in the secondary DA response, - providing user applications a means of determining the version - of xterm for feature comparison (request by Bram Moolenaar). - - <li>make xterm respond to secondary DA when the decTerminalID - is set for VT100. - - <li>limit user-defined keys (DECUDK) to VT220-style keyboard - when sunKeyBoard resource is true. - - <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with - Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger - <aj@arthur.rhein-neckar.de>) - - <li>add optional feature (resource and command-line options) to make - xterm use the PTY's sense of erase character on startup, rather than - requiring it to be \177, or set the PTY's erase character to match - xterm's configuration. Note that while $TERMCAP is modified to - reflect the actual configuration, the terminfo kdch1 string is not - (request by Dirk H Hohndel <hohndel@suse.de>) - - <li>improve scripts in vttests to work with newer shells that do not - use 'echo -n'. - - <li>add fonts.sh example script - - <li>correct inequality in handling of "#1" font specification. - - <li>correct call to XGetWMNormalHints() used for computing maximum - screen size; the size hints may not have been set. - - <li>begin implementation of support for wide-characters (configure - option --enable-wide-chars defines OPT_WIDE_CHARS, invoke xterm with - -wc option to activate this feature). This patch optionally widens - internal data structures, invokes the 16-bit text output rather than - the 8-bit version and adds some tables. - -</ul> -<H1><A NAME="xterm_94">Patch #94 - 1999/3/27 - XFree86 3.9Pf</A></H1> -<ul> - <li>further fixes for terminfo: ka1, ka3, etc., differ between the - default xterm-xfree86 and xterm-vt220 entries. - - <li>change default (with sunKeyboard resource false) behavior of - the editing keypad "Delete" to send a 127, like xterm-r6. - The VT220-style <code><ESC>[3~</code> is sent when - sunKeyboard is true (reported by Tomas Vanhala). - - <li>add parameters to function keys to indicate if shift, control - or alt are set. The codes are based on a description of - a DEC VT510 with a PC keyboard, from Jeffrey Altman - <jaltman@watsun.cc.columbia.edu>. - - <li>add control sequence 1035, set-num-lock action and num-lock - menu entry to control the use of the NumLock and Alt keys for - the Sun/PC and VT220 keyboard extensions. + <li>add menu entry and corresponding resource which can be used + to suppress all bold-fonts (discussion with Jan + Engelhardt).</li> - <li>implement DECSET/DECRST numeric keypad (DECNKM) mode. + <li>make internal line-size value consistent with allocated + sizes of character and related arrays to ensure that bulk + copying of line data, e.g., in scrolling, accounts for the + padding used for pointer alignment (adapted from patch by + Rajesh Mandalemula, also reported by Ali Bahar).</li> - <li>modify terminfo and termcap to use recommended "X Window" or "X11" - names rather than "X Windows" (reported by Tomas Vanhala). + <li>widen ifdef for screen-resizing logic from <a href= + "#xterm_176">patch #176</a> changes to send + <code>SIGWINCH</code> to process group to include any system + supporting <code>ioctl(*,TIOCGPGRP,*)</code> (prompted by + linux-specific patch in OpenSUSE rpm package).</li> - <li>suppress translation of shifted keypad "+" when sunKeyboard - is true. + <li>add <code>printModeOnXError</code> and + <code>printFileOnXError</code> resources, which allow the user + to specify that xterm will write the contents of its screen to + a file if it is exiting due to an X error (Debian + #280457).</li> - <li>workaround unexpected behavior (perhaps bug) in XmbLookupString, - which returns trash in the string buffer for numlock and control-key - combined with keypad-keys. + <li>restore logic that made reverse-video apply to the + scrollbar's foreground/background, broken in <a href= + "#xterm_158">patch #158</a> (report by Bryan Ischo).</li> - <li>modify ScrollBarReverseVideo() to keep scrollbar border visible - when reverse video is toggled. + <li>amend some of the window operations parameter-checks added + in <a href="#xterm_251">patch #251</a> for the push/pop title + feature, to allow the parameters used for window resizing to be + -1's, which makes the corresponding values ignored rather than + using the window's maximum width/height (report by Noah + Friedman).</li> - <li>correct missing case for parameter 17 (set highlight color) in - dynamic colors control sequences. + <li>correct order of initialization for + <code>translations</code> vs <code>fullscreen</code> resources + to enable a special case which omits the Alt-Enter translation + when <code>fullscreen</code> is disabled (Debian #612978).</li> - <li>extend dynamic colors control sequences to allow users to - determine the colors and font which are currently active. + <li>update config.guess, config.sub</li> + </ul> - <li>minor tweak to OSC responses, to use BEL if the application used - that to end the request, rather than ST. This works better with - shell scripts, which may not handle an - <code><ESC>backslash</code> very well. + <h1><a name="xterm_269" id="xterm_269">Patch #269 - + 2011/02/19</a></h1> - <li>separate menu settings for reverse video from that done under - program control. + <ul> + <li>build-fixes for <code>imake</code> (report by Heiko + Berges).</li> - <li>corrected ifdef's for menus, which did not allow tek4014 to - be suppressed properly (reported by Clint Olsen). + <li>modify autoconf macro CF_PKG_CONFIG to work with + cross-compile environments (patch by Thierry Reding).</li> - <li>changes for Linux-2.2.x with GLibc-2.1 and - /dev/ptmx support (integrated patch from Pavel Roskin): - <ul> - <li>main.c and resize.c were using different rules to determine - whether ATT should be defined (actually USE_USG_PTYS is more - apt). + <li>modify <code>MapToColorMode()</code> to favor bold over + underline, matching the precedence used before <a href= + "#xterm_252">patch #252</a> (report/analysis by Nicolas + George).</li> - <li>copy definitions from main.c to resize.c to prevent - sys/stream.h and sys/ptem.h from inclusion when SYSV is not - defined + <li>add <code>omitTranslation</code> resource, which can be + used to suppress the default translations for these features: - <li>define CNUL if not already defined like other variables. + <ul> + <li>fullscreen</li> - <li>/dev/tty does exist in Linux, but it doesn't mean, it - should be used. Therefore EACCES is now an acceptable - result. + <li>scroll-lock</li> - <li>ifdef'd several calls such as <code>ioctl (ptyfd, I_PUSH, - "ptem")</code> to build on Linux (I_PUSH is not defined when - sys/stropts.h is not included). - </ul> + <li>shift-fonts</li> - <li>initialize second "ltc" variable in main.c (reported by David - Dawes). + <li>wheel-mouse</li> + </ul> + </li> - <li>provide definition for USE_USG_PTYS in screen.c + <li>make the fullscreen feature configurable (Debian #612978) - <li>add resource-files to install rule in standalone Makefile.in + <ul> + <li>add it to the configurable list + <code>disallowedWindowOps</code>.</li> - <li>add sample scripts to illustrate titlebar controls, resizing - and colors. -</ul> + <li>add command-line option <code>-fullscreen</code> to + allow the feature to be enabled at startup.</li> -<H1><A NAME="xterm_93">Patch #93 - 1999/3/14 - XFree86 3.9Pd</A></H1> -Here are several fixes and minor enhancements. The chief ones -are the fixes for NumLock mode and reverse video, since we had become -used to working around the problems. -<ul> - <li>remove kfnd/kll/kslt strings from terminfo, because curses - applications do not necessarily return khome/kend pairs - (reported by Vikas Agnihotri). + <li>add resource <code>fullscreen</code> to control whether + the feature is active or may be enabled.</li> + </ul> + </li> - <li>implement NumLock resource which overrides the keyboard tables for the - special case of keypad keys. This is a problem introduced in xterm - by X11R6 changes, i.e., an ambiguity which in effect discarded vt100 - keypad support. + <li>modify <code>probe_netwm_fullscreen_capability</code> for + 64-bit machines. Contrary to <code>XGetWindowProperty</code> + manpage, that function returns 32-bit data packed as + <code>long</code>'s.</li> - <li>modify Sun/PC keyboard mode to extend this (emulation of DEC vt100 - keypad) to the remainder of the numeric keypad. Now, the default - operating mode of xterm uses the keyboard tables as-is (except if - the NumLock mode overrides), but provides good vt100 keypad compatibility - if the Sun/PC keyboard menu item is checked. + <li>eliminate copy of <code>name</code> resource, which was + otherwise used only to give the terminal-description name for + the tcap-query feature. Use the actual <code>$TERM</code> value + instead, as derived from <code>termName</code> resource, + etc.</li> - <li>separate command-line settings for reverse video from that done - under program control. This is a problem which was introduced by - X11R6. Though <em>correct</em>, most users are confused by allowing - the reset command to undo the effect of the command-line <kbd>-rv</kbd> - option. + <li>eliminate an old inconsistency with error messages, some + used the <code>-name</code> option, while others used + <code>argv[0]</code>. The latter is now used consistently.</li> - <li>add description of function keys, keypad and cursor keys to ctlseqs.ms + <li>improve configure check for rpath-hack, to improve builds + on systems where gcc will not search /usr/local/lib, etc.</li> - <li>add terminfo entries for xterm-vt52, xterm-sun and xterm-hp + <li>build-fix for Xaw3d configuration (report by H Merijn + Brand).</li> - <li>correct typo (missing case value) for DECSET 35, enable/disable - shifted keypad action and a few compiler warnings (reported by Zdenek - Sekera <zs@sgi.com>). + <li>update config.guess, config.sub</li> + </ul> - <li>correct reporting of color values 8-15 in DECRQSS (reported by - Vikas Agnihotri). + <h1><a name="xterm_268" id="xterm_268">Patch #268 - + 2011/02/10</a></h1> - <li>modify parsing of ttyModes resource to recognize "^-" as "undef" - (requested by Tomas Vanhala). + <ul> + <li>fix an inconsistency of the "Enable Reverse Video" checkbox + in the VT Options menu. This also removes a special case added + in <a href="#xterm_217">patch #217</a> which limited the effect + of the <code>reverseVideo</code> resource (Debian + #603808).</li> - <li>integrate/extend changes to add iconify/maximize actions - (from Edward S. Arthur <eda@ultranet.com>). + <li>amend decoding of misformed UTF-8 sequences to avoid + absorbing valid characters as documented in Unicode 6.0 section + 3.9 (report by Keith Winstein).</li> - <li>add control sequences for maximizing/restoring window, and - for reporting maximum screen size. + <li>do not set urgency hint when window already has focus + (patch by Dimitrios Christidis).</li> - <li>add 'interpret' action, to support local function-key interpretation. - Used properly, this makes most of the specialized actions of xterm - redundant. + <li>amend extended mouse-coordinate mode from <a href= + "#xterm_262">patch #262</a> changes to include the <em>Cb</em> + button-code, which also may be greater than 127 (report by + Ailin Nemui).</li> - <li>add control sequence private modes 1051, 1052 and 1052, for - setting the Sun and HP function key modes, and for setting the - Sun/PC keyboard mode. - - <li>add configure option --disable-maximize - - <li>add configure option --disable-num-lcok - - <li>extend descriptions of configure script options in INSTALL. -</ul> + <li>ensure that underline-cursor is visible when an application + happens to set the background color (report by Christian + Weisgerber).</li> -<H1><A NAME="xterm_92">Patch #92 - 1999/2/5 - XFree86 3.9Nz</A></H1> -<ul> - <li>increase buffer size for tgetent (i.e., termcap) to 1500. This - fixes a problem where <em>screen</em> is built using ncurses or - GNU termcap and <em>xterm</em> is built using the standard termcap - interface. The former does not limit the termcap size, while the - latter is assumed to be no longer than 1023 characters. The - <em>screen</em> program's termcap entry is about 1200 characters - long. - - <li>change update_menu_item() to a function, to simplify debugging. - This also reduces the executable by 4Kb. - - <li>add control sequences for DECSET 30, 1010, 1011 like rxvt (enable - or disable some features that were only settable via resources or - command line arguments). + <li>add feature for <a href= + "http://www.davidsimmons.com/soft/xtermhacks/xterm-fullscreen.patch"> + full-screen toggling</a> using either Alt-Enter or a menu + selection (integrated patch by Dave Simmons).</li> - <li>add control sequence for DECSET 35, which enables/disables the - shifted keypad functions. - - <li>add support for switching font sizes, by stepping through the - font menu using shifted keypad plus and minus. - - <li>correct missing initialization of tekInhibit and tekSmall resources. - - <li>correct ifdef's in charproc.c for XtNgeometry and XtCGeometry - (reported by Bram Moolenaar). -</ul> - -<H1><A NAME="xterm_91">Patch #91 - 1999/1/21 - XFree86 3.9Nw</A></H1> -<ul> - <li>Implement logic to translate input characters which are mapped - when in vt220 National Replacement Character mode (requested by - Tomas Vanhala). - - <li>Resync configure scripts with my patches to autoconf 2.13 - - <li>Change order of -lXmu and -lXext to accommodate cygwin32 - (reported by Vikas Agnihotri). - - <li>Add "-ti" option to set terminal emulation level from command - line rather than via resource. - - <li>Simplify some of the preprocessor logic using #elif. -</ul> - -<H1><A NAME="xterm_90">Patch #90 - 1998/12/13 - XFree86 3.9Nq</A></H1> -This implements several small fixes and enhancements. The chief one implements -fallback support for line drawing characters with fonts that do not include -those characters. But I implemented that last. - -<ul> - <li>If any of the glyphs in positions 0-31 (used by xterm to implement - the VT100 alternate character set) are zero-sized (i.e., missing), - xterm will reserve a normal space for the glyph when drawing. I - implemented a simple stroke-drawing function to draw the line-drawing - characters and a couple of the other (simpler) characters such as - diamond. (This was suggested by Vikas Agnihotri). - - <li>Modify the computation of doublesize characters to work around font - servers which shift the scaled characters up/down or do not give the - correct width. - - <li>Add popup menu item and corresponding resource settings to disable - the font-scaling logic for doublesize characters to work around - (older) font servers which simply do not draw the fonts scaled to the - size that they said they would. I see this problem on a SunOS system - running X11R5; the X11R6 servers seem well behaved. - - <li>Implement new escape sequence, private mode 1049, which combines - the switch to/from alternate screen mode with screen clearing and - cursor save/restore. Unlike the existing escape sequence, this - clears the alternate screen when switching to it rather than when - switching to the normal screen, thus retaining the alternate screen - contents for select/paste operations. - - <p>When I implemented the popup menu entry to toggle between the normal - and alternate screens, I considered only pasting from the normal - screen to the alternate; this improvement allows either direction. - - <li>Changed the termcap and terminfo for xterm-xfree86 and xterm-8bit - to use the new 1049 private mode. - - <li>Modify the logic which switches between normal and alternate - screens so that the save/restore cursor operations apply only to the - current screen. That means that applications which use the terminfo - smcur/rmcur or termcap ti/te capabilities will restore the cursor to - the original position on the normal screen rather than to the most - recent place where a save-cursor operation was performed. - - <p>I note that a real VT100 terminal would not behave in this way, - but it is a moot point since the VT100 does not implement alternate - screen, and therefore the save/restore cursor sequence would not be - used in this context. I reviewed the logic which switches between - normal and alternate screens based on some recent newsgroup postings - as well as a proposed patch in the Debian group which attempts to - do this (the patch has a bug, however, so I did not use it). - - <li>Add popup menu entry for toggling the titeInhibit resource. - - <li>Add new resource answerbackString, which overrides the default - "xterm" returned by xterm when responding to an ENQ (control/E) - character (request by Rajesh Vaidheeswarran <rv@fore.com>). - - <li>Add new resource keyboardDialect for setting the NRC display - character set (request by Tomas Vanhala, who notes that I should - add logic to translate the keyboard as well). - - <li>Add new command-line option and corresponding resources for making - xterm generate escape sequences compatible with HP terminals. Like - the existing Sun escape sequences, this is available as a popup menu - item. It is enabled by the configure script with the option - --enable-hp-fkeys (requested by Toni Mueller <sales@oeko.net>). - - <li>Add configure script option --disable-boxchars to disable the - fallback support for line drawing characters. - - <li>Fix ifdef's for configure script --disable-ansi-color, and reviewed - all configure options to ensure that all can be enabled/disabled - appropriately. - - <li>Update config.guess and config.sub, from Lynx. -</ul> - -<H1><A NAME="xterm_89">Patch #89 - 1998/11/20 - XFree86 3.9Nm</A></H1> -This patch completes the implementation of double-sized character support -for the VT100 emulation, and fixes a few minor bugs: - -<ul> -<li>corrected the cursor position in HideCursor, which did not multiply -the column by two when in doublesize mode. -This bug, which did not appear in normal use, -dates back to my original <a href="#xterm_44">changes</a> to partly implement -double-sized characters. -I noticed it when cat'ing a typescript from vttest's double-sized character -test. -<li>ensure that the current line is repainted when switching between -single and double width characters. -<li>reduce the number of bits used for double-sized character coding -from 3 to 2, to make more room for soft-font codes. -<li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, -which address details of glibc and powerpc. -<li>moved definition of DECL_ERRNO in xterm.h to match XFree86 3.3.3 -<li>modify <em>resize</em> to remove the ifdef on SVr4 that suppressed -printing the script for $LINES and $COLUMNS. -Solaris' resize utility does this; suppressing the behavior is unnecessary. -</ul> -I tested the double-sized characters using vttest and the xfsft patch. -These fonts worked reasonably well: -<pre> - -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 - 9x15 -</pre> -The iso8859 font does not include box characters, of course, but looks good. - -<H1><A NAME="xterm_88">Patch #88 - 1998/10/31 - XFree86 3.9Nk and 3.3.2h</A></H1> -This refines my #85 patch by checking for a case where the font server -returns a bold font that does not quite correspond to the normal font. -When I asked for a bold version of the 6x12 font, the font server -returned a near equivalent where the ascent and descent values did not -match, causing xterm to leave lines across the display. -This patch makes xterm reject that type of mismatch, falling back to the -old font behavior. - -<H1><A NAME="xterm_87">Patch #87 - 1998/10/21 - XFree86 3.9Nj and 3.3.2f</A></H1> -This corrects a problem reported by Stefan Dalibor. My table entries for the -<em>printerExtent</em> and <em>printerFormFeed</em> resources used the wrong -types for sizeof, causing the printer to not work properly on some platforms -because the <em>printAttributes</em> resource was overwritten (e.g., Digital Unix with DEC Alpha). -<p> -I reviewed all of the resource table entries and fixed a potential problem with -<em>resizeGravity</em>, which was typed as <em>int</em> rather than -<em>XtGravity</em>. - -<H1><A NAME="xterm_86">Patch #86 - 1998/10/14 - XFree86 3.9Nj and 3.3.2e</A></H1> -A small fix: when switching to/from the continuous mouse reporting mode, -the event mask was incorrect if xterm was built under X11R5 because the -original data was saved under an ifdef for active-icon. - -<H1><A NAME="xterm_85">Patch #85 - 1998/10/12 - XFree86 3.9Nj and 3.3.2e</A></H1> -Some cleanup (I noticed the pixel droppings a few months ago after getting a -new 17" monitor): -<ul> - <li>split-out the functions that load/reload fonts for xterm as new - file fontutils.c to extend them to support automatic loading of - bold font corresponding to the normal font. Adapted logic from - EMU 1.3 for this purpose. This fixes most occurrences of pixel - droppings from bold characters. - - <li>modified by renaming variables and adding casts to permit compile - with g++. - - <li>modify headers so they can all be compiled without order - dependencies, and use bracketed rather than quoting includes to allow - compile from separate directory. - - <li>renamed xtermm terminfo entry to xterm-mono, to avoid conflict with - Solaris entry now in ncurses. -</ul> - -<H1><A NAME="xterm_84">Patch #84 - 1998/10/9 - XFree86 3.9Ni</A> and 3.3.2e</H1> -Several small fixes and enhancements, including a patch from -Bjorn Helgaas: -<ul> - <li>correct initialization of TERMCAP environment variable, which - was frequently set to garbage on non-Linux systems because - "termcap" and "newtc" contained random data from the stack. - - <li>remove the LINEWRAPPED attribute from lines as they are cleared. - Previously, the attribute was set but never cleared. - - <li>make word and line selections work even when lines are wrapped - by xterm. Previously, selections were limited to one screen line. -</ul> -as well as -<ul> - <li>modify logic for line-wrapping to reset the associated flag if - the application deletes a character. This fixes a problem reported - by Bjorn Helgaas where word/line selection would still wrap even - after deleting characters from the first line. - <li>add kll/kH capabilities to xterm-xfree86 entries in termcap and - terminfo (request by Michael Schroeder). - <li>shorten descriptions in termcap to make resolved entries all - shorter than 1023 character limit. - <li>use DECSTR control sequence to shorten initialization and reset - strings in xterm-xfree86 termcap and terminfo. - <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match termcap. - <li>correct typos in initialization and reset strings in xterm-r5 - termcap and terminfo. - <li>disable special translations of key symbols (the backarrow key, - the editing keypad and the keypad "+") when a modifier other than - shift, control or numlock is used. This makes xterm handle the meta - key as expected by people using emacs (reported by Pete Harlan - <harlan@pointofchoice.com> in linux.debian.user newsgroup). -</ul> - -<H1><A NAME="sync_83">Resync #83 - 1998/10/7 - XFree86 3.3.2e</A></H1> - -Merge changes through patch #83 with the 3.3.2e version. -<p> -This follows a change from XFree86 CVS which adds checks for non-null -return from malloc (patch by Matthieu Herrb). - -<H1><A NAME="xterm_83">Patch #83 - 1998/8/25 - XFree86 3.9Nb</A></H1> -Several small fixes and enhancements: -<ul> - <li>add configure test to infer if xterm should be installed setuid - based on previously installed xterm (reported by Stephen Marley - and Stefan Dalibor). - - <li>implement quasi-continuous mouse reporting - (integrated patch by Jason Bacon). - - <li>correct control sequences transmitted by function keys F1 to F4 - when sunFunctionKeys resource is true (it was still using the - VT100 control sequences). - - <li>modify handling of backarrow key so that the control modifier - toggles the backspace/delete interpretation set by the - backarrowKey resource. - - <li>limit the row and column values used to report mouse position. -</ul> - -From resync with XFree86 3.9Nb: -<ul> - <li>add support for the VSTATUS control character (patch by - Robert Earl <rearl@teleport.com>). -</ul> - -<H1><A NAME="xterm_82">Patch #82 - 1998/7/15 - XFree86 3.9Aj</A></H1> -Bug fix for patch #81: -<ul> - <li>remove an #undef for NBBY, which caused compile problem on FreeBSD - (reported by David Dawes). -</ul> - -<H1><A NAME="xterm_81">Patch #81 - 1998/7/14 - XFree86 3.9Aj</A></H1> -More bug fixes: -<ul> - <li>fix conflicting ifdef's for TIOCSLTC when building with Linux on - AXP aka DEC Alpha (reported by Robin Cutshaw). - - <li>correction to patch #79, move assignment for *utptr->ut_user = 0; - back into non-SVR4 ifdef in main.c, since this clobbers username on - Solaris 2.5.1 (analysis by Will Day - <willday@rom.oit.gatech.edu>). - - <li>corrected khome/kend in xterm-8bit terminfo description. - - <li>improve cursor color by making it always the reverse of fg/bg - unless the cursorColor resource is set, i.e., to something other than - the default foreground (reported by Vikas Agnihotri and Bram - Moolenaar). - - <li>minor fixes for compiler warnings, including a syntax error in - the AMOEBA ifdef's. -</ul> -From resync with XFree86 3.9Aj: -<ul> - <li>correction to patch #73, supply missing #else for fallback definitions - of size_t, time_t (Robin Cutshaw <robin@intercore.com>). -</ul> - -<H1><A NAME="xterm_80">Patch #80 - 1998/6/29 - XFree86 3.9Ai</A></H1> -This fixes a couple of items leftover or introduced by patch 79: -<ul> - <li>take out the logic that suppresses editing-keypad in vt100 mode - (those keys are too valuable to give up for a fine point of - emulation). - - <li>corrected a couple of places in terminfo where I missed using the - vt220-style editing-keypad codes for Find/Select (mapped to Home/End). - - <li>checked termcap file against terminfo, fix several places where it - was inconsistent. -</ul> - -<H1><A NAME="xterm_79">Patch #79 - 1998/6/28 - XFree86 3.9Ai</A></H1> - -This patch fixes several small bugs: -<ul> - <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas Vanhala). - - <li>add new resource 'oldXtermFKeys' which provides backward compatibility - for F1-F4 control sequences with TOG's xterm. - - <li>determine the server's default foreground/background Pixel values, - needed if the -flipPixels X server option is used (reported by - David Dawes). - - <li>correct logic for F1-F4 function keys so that they generate VT100 - compatible escape sequences in VT220 mode, since that is what the - numeric keypad is supposed to do (reported by Ron Johnson, Jr. - <ronjohn@communique.net>). - - <li>modify logic for editing keypad to work more like VT220: don't - pass those codes in VT100-mode unless oldXtermFKeys mode is set. - - <li>correct an interaction with the editing-keypad logic that prevented - backarrow key from sending a 127 for the delete key (the 'remove' - escape sequence was being sent instead). - - <li>use return-value from getuid() rather than the parameter, to work on - systems which do not update the latter (patch by Kevin Buhr - <buhr@mozart.stat.wisc.edu>) - - <li>correct scrollbar border color when toggling to/from secure keyboard - mode (patch by Jeff Uphoff <juphoff@tarsier.cv.nrao.edu>) - - <li>modifications to terminfo file: -<ul> - <li>rename description to xterm-xfree86, adding an entry 'xterm' - which is derived from xterm-xfree86 to simplify customization. - - <li>change string for kdch1 from \177 to \E[3~, to address complaints - from Debian developers. (This applies to the key labeled "Delete", - and does not affect the backarrow key). - - <li>add user-strings u6, u7, u8, u9 to entries to make them work with - Daniel Weaver's "tack" program. - - <li>modify xterm-24, xterm-bold, xterm-boldso entries to disentangle them from - explicit dependency upon xterm-xfree86. - - <li>add generic 'xterm-color' entry. - - <li>minor corrections to xterm-xfree86, xterm-8bit, xterm-r5 and - xterm-r6 entries. -</ul> -</ul> - -<H1><A NAME="xterm_78">Patch #78 - 1998/6/3 - XFree86 3.9Ah and 3.3.2</A></H1> - -Again, most of the bulk of this patch is for ANSI conversion. I used the -IRIX compiler's -wlint option to find the remaining functions that use -K&R syntax (since gcc does not do this properly). - -Also, I changed the logic in the print code slightly to close unwanted files -before opening a pipe to the printer. This may help in some configurations -where the line printer hangs until xterm closes the pipe. - -<H1><A NAME="xterm_77">Patch #77 - 1998/5/26 - XFree86 3.9Ah and 3.3.2</A></H1> - -Most of the bulk of this patch is to convert the extended C (K&R functions -with prototypes) to ANSI. I verified that on Linux by comparing object -files, to ensure that I did not, for example, interchange parameters in -the function declarations. -<p> -The rest of the patch fixes several minor bugs, and adds a few features: -<ul> - <li>back-out my use of ncurses "captoinfo -f" option (if/then/else/endif) - formatting, since ncurses did not correctly filter embedded newlines - in terminfo capability strings until _after_ ncurses 4.1, thus - corrupting setf/setb/sgr strings (reported by Darren Hiebert and - others). - - <li>document SGR 8, 28 (invisible/visible), add corresponding - capabilities to terminfo description. -<p> - I would also add the 'prot protected capability, but the control - sequences for that would not be recognized or properly ignored by the - older xterm programs. + <li>add missing logic to handle reallocation of FIFO index for + the "UTF-8" menu entry (report by David Holland, NetBSD + #44344).</li> - <li>modify ChangeGroup to not suppress a null-resource, but treat it as an - empty string (recommended by Stefan Dalibor). + <li>add makefile rules <code>docs-ctlseqs</code>, + <code>docs-xterm</code>, etc.</li> - <li>add printerAutoClose resource to control whether printer is closed - when going offline. More than one person reports problems (on - Solaris 2.6 and Digital Unix 4.0) getting the printer to proceed - unless xterm exits; I think that it is a problem flushing the pipe. - Closing it ought to flush it. + <li>correct typo in description of DECRPM in control sequences + document (report by Ailin Nemui).</li> + </ul> - <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N (but adapt - XtStackAlloc/XtStackFree for clarity, as well as fixing memory leak). + <h1><a name="xterm_267" id="xterm_267">Patch #267 - + 2010/11/20</a></h1> - <li>change calls on FillCurBackground to ClearCurBackground, in effect - using XClearArea rather than XFillRectangle when clearing as a - side-effect of scrolling and insertion (patch by Alexander V - Lukyanov) + <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> - <li>correct some places where insert/delete did not _move_ the color - attributes, using memmove (patch by Alexander V Lukyanov - <lav@long.yar.ru>) + <li>add <code>docs-clean</code> makefile rule.</li> - <li>add ifdef's for __CYGWIN32__, for port to cygnus version B19.1 - (patch by Andrew Sumner <andrew_sumner@hotmail.com>). + <li>add <code>copy-selection</code> action (request by Timo + Juhani Lindfors, Debian #588785).</li> - <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, since this - causes some applications (such as 'less') to get incorrect $LINES and - $COLUMNS values (reported by Clint Olsen). + <li>trim leading/trailing blanks from string used for + "Selection" font-menu data.</li> - <li>modify behavior for HP-UX, to set the "reserved" process group - controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does not produce an - error (patch by Ben Yoshino <ben@wiliki.eng.hawaii.edu>). + <li>trim leading/trailing blanks from color resource + values.</li> - <li>correct length of underlining, reducing it by one pixel to avoid - leaving a dot when the application does not clear the whole screen - I noticed this only recently myself (and other people as well); it - depends on the font chosen. A 6x10 font shows it, but the other - fonts from XTerm.ad do not. I also see a similar problem with the - emulation of bold fonts. - (patch by Sergei Laskavy <Laskavy@cs.msu.su>). + <li>configure script improvements: + + <ul> + <li>add workaround for removal of X11 dependency from Xt's + package file (report by Robert Hooker).</li> + + <li>add workaround for removal of fontconfig dependency + from Xft's package file (report by Jeremy Huddleston).</li> + + <li>add workaround for removal of Xmu dependency from Xaw's + package file (report by Jeremy Huddleston).</li> - <li>add include for Xos.h to xterm.h, to ensure proper definitions - (reported by Holger Veit). + <li>improve workaround in <code>CF_X_TOOLKIT</code> macro, + checking for other possible packages where Xt's + dependencies may be given.</li> - <li>update config.guess to recognize Unixware 2.1 and 7 (patch by - Mike Hopkirk <hops@sco.com>). -</ul> - -<H1><A NAME="xterm_76">Patch #76 - 1998/5/8 - XFree86 3.9Ah and 3.3.2</A></H1> - -A fix for the print-window function, and some minor cleanup: -<ul> - <li>modify logic that closes pipe in the print-window function to not use - pclose, which does not work on all systems, since I did not open the - pipe with popen (reported by Stefan Dalibor). + <li>prefer <code>${name:=value}</code> to + <code>${name-value}</code>, since recent bash changes break + legacy support for that feature.</li> + </ul> + </li> + </ul> - <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable (reported - by Stefan Dalibor). - - <li>guard logic in ChangeGroup() function against null pointer - (reported by Stefan Dalibor). - - <li>ensure that menu entry for toggling sunKeyboard resource is - initialized (reported by Branden Robinson <branden@purdue.edu>). - - <li>gcc unused-variable warnings (reported by Bernd Ernesti - <bernd@arresum.inka.de>) - - <li>rename global variable 'buffer' to 'VTbuffer' -</ul> - -<H1><A NAME="xterm_75">Patch #75 - 1998/5/7 - XFree86 3.9Ah and 3.3.2</A></H1> - -This incorporates fixes from several people, as well as some improvements -that I made based on feedback from users: -<ul> - <li>add option to standalone configure script, "--with-own-terminfo-dir", - which causes xterm to pass a predefined value of $TERMINFO to the - application. Also use this value in install rule "make install-ti", - for the standalone configure script. - - (patch & feedback from Tor Lillqvist <tml@hemuli.tte.vtt.fi>) - - <li>change ifdef's for "hpux" to "__hpux" (patch by Tor Lillqvist). The - imake configuration uses the former, but the latter is predefined by - HP's compilers. - - <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use $TERMCAP (patch - by Tor Lillqvist). - - <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. Works - both on HP-UX 9 and 10. (patch by Tor Lillqvist). - - <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) value from - imake, needed for compiling under DEC OSF/1 (reported by - Stefan Dalibor) - - <li>modify print-window action so that the printer is closed after - printing a window, unless the printer was already opened (i.e., - by an application running in the window). This makes the printing - complete without having to exit xterm, since not all systems treat - fflush through a pipe very well (reported by Stefan Dalibor) - - <li>modify printing code so that the ^M's are not printed if the - printAttribute resource is set to zero (request by Stefan Dalibor). - - <li>correct typo in xterm.man, for the default value of printAttribute - (reported by Stefan Dalibor). - - <li>correct printing code so that the alternate character set is - printed, like other attributes, with escape sequences. - - <li>correct termcap description, removing spurious 'm' character from - the 'op' capability (reported by Greg Woods <woods@weird.com>). - - <li>correct trace code so that the initial timestamp is set. - - <li>correct/modify utmp data for the Linux glibc 2 configuration, - so that the ut_line member is set before using it to update wtmp - (patch by Bill Nottingham <wen1@cec.wustl.edu>). -</ul> - -<H1><A NAME="xterm_74">Patch #74 - 1998/4/27 - XFree86 3.9Ag and 3.3.2</A></H1> - -This corrects a couple of recent bugs and adds a new resource: -<ul> - <li>modify definition of TRACE_CHILD so that it does not conflict with - ifdef's for USE_USG_PTYS in main.c (reported by Vikas Agnihotri - <VikasA@att.com> and Stefan Dalibor). - - <li>correct ownership of file (actually pipe) written by the print - controls. When undoing the setuid changes in patch #69, I overlooked - this. Now xterm forks a process which resets setuid and routes the - printer data as the real user. - - <li>add a new resource, "printAttributes", which controls whether - color attributes (or any attributes) are sent to the printer. -</ul> - -<H1><A NAME="xterm_73">Patch #73 - 1998/4/25 - XFree86 3.9Ag and 3.3.2</A></H1> - -This patch does the following: -<ul> - <li>implements a print-window facility for xterm. Though useful in - itself, I added it as part of some debugging which I am doing. - (Occasionally during an exposure event xterm fails to restore the - proper colors for highlighted text, and printing the screen will - show the internal states nicely). -<p> - The print facility now also displays the color information. - (I will probably make this a resource). - - <li>modified the xterm-16color terminfo description to use the setaf and - setab strings, which is a little more efficient (requested by Stephen - Marley). - - <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, unistd.h, - errno) making the configure script test for these. -<p> - I removed the symbols Size_t and Time_t, since they no longer serve - a useful purpose. - - <li>added some debugging traces to show the initial screen size, - and the success/failure of the ioctl calls pass handle window - resizing events to the application (for Clint Olsen). -<p> - I also modified the trace code to produce two files since some - of the information is produced by the child process. So now - they are Trace-parent.out and Trace-child.out - - <li>updated configure test for ANSI compiler options to handle a - special case for HP-UX 10.x (reported by Clint Olsen). -</ul> - -<H1><A NAME="xterm_72">Patch #72 - 1998/4/17 - XFree86 3.9Ag and 3.3.2</A></H1> - -This is a patch from Chris Siebenmann <cks@hawkwind.utcs.toronto.edu>, -which I have cleaned up a little, and integrated into the configure script. -<p> -From his description: -<blockquote> - This set of patches is the latest incarnation of patches originally -written by Ian! D Allen, then of the University of Waterloo and now of -who knows where; I have been carrying them forward from xterm to xterm -ever since about X11R4. What they do is add an option so that when an -iconified xterm receives output it prepends '*** ' to its icon title -and (optionally) beeps the bell; deiconifying the xterm removes the -'*** '. Over the years I've found this to be incredibly convenient for -monitoring all sorts of low-activity things. -</blockquote> - -<H1><A NAME="xterm_71">Patch #71 - 1998/4/12 - XFree86 3.9Ag and 3.3.2</A></H1> - -This patch is a slightly modified version of one by Richard Braakman, which -prevents buffer overflow in the input-method and preedit-type parsing in xterm. -I changed a couple of details to make the code more maintainable, and looked -for similar things - copying into a fixed-size buffer (found none, though I did -spot an unused variable). - -<H1><A NAME="xterm_70">Patch #70 - 1998/3/29 - XFree86 3.9Af and 3.3.2</A></H1> - -This patch corrects some minor bugs in xterm, and fills in some more details -in the VT220 emulation: -<UL> - <LI>modify Imakefile to use SpecialCObjectRule for menu and data modules, - making xterm build properly if logging is enabled - (patch by Scott Sewall <scott@iprg.nokia.com>). - - <LI>restore "ich" capability to terminfo entries, since - Michael Schroeder points out that "ich1" - is the one which is the problem in Solaris vi. - - <LI>correct color of cursor, which would disappear on inverse-video - since the initialization did not compare the cursor color against - both foreground and background (reported by Olivier Calle). - - <LI>correct abbreviation-test for -version and -help options, making - command-line option -vb work (reported by Stefan Dalibor). - - <LI>correct a dependency between ifdef's for OPT_I18N_SUPPORT and - OPT_INPUT_METHOD (reported by Stefan Dalibor). - - <LI>split-out character-set translations as new module charsets.c, to - implement VT220 national replacement character sets (a mode where - some of the characters are displayed as specific European glyphs). - This relies on xterm using an ISO 8859-1 font (approach suggested by - Kenneth R. Robinette <zkrr01@mailbox.neosoft.com>). - - <LI>correct a missing increment, which made SS2 and SS3 controls - repeat the shifted character. - - <LI>add xterm-nrc to terminfo to illustrate the VT220 national - replacement character sets. - - <LI>reformat terminfo using new ncurses tic option "-f", which makes - if/then/else/endif expressions easier to read. -</UL> - -<H1><A NAME="xterm_69">Patch #69 - 1998/3/16 - XFree86 3.9Ad and 3.3.2</A></H1> - -This corrects the problem in xterm with utmp, reported by Olivier Calle -<olivier@tc.fluke.com> -as well as some other people after the XFree86 3.3.2 release. -<P> -The error was introduced by my patch #53 in XFree86 3.9r (October 1997). -<P> -The correction removes the reset of setuid/setgid before the main event loop, -and solves the problem which I had worked around in a different manner: for -some reason, the particular waitpid() call in creat_as() hangs, does not -return when the child process exits. I changed the ifdef's to force the Linux -configuration to use wait() instead. This call appears to work properly on -other platforms such as SunOS and Solaris. -<P> -I also added tests in the standalone configure script to check for the -existence of waitpid(). - -<H1><A NAME="xterm_68">Patch #68 - 1998/3/4 - XFree86 3.9Ad and 3.3.1z</A></H1> - -This corrects another problem with the logic for highlightColor resource. -As reported by David Dawes: -<blockquote> - I've just noticed a problem with with the "inverse" control sequence - (ESC[7m) with the 3.3.2 xterm. What it does is sets the background - black, and the text the usual foreground colour rather than simply - swapping the foreground/background. - -</blockquote> -This appears to be because when I added logic to check that the highlightColor -was distinct from foreground and background colors, I did not add a further -check to see that it was not black (I would make an explicit check for the -resource not being set, but see nothing definite in the headers that would let -me reference an explicitly-undefined Pixel value, though there are some -implications in xpm.h). But this should work. - -<H1><A NAME="xterm_67">Patch #67 - 1998/2/23 - XFree86 3.9Ad and 3.3.1e</A></H1> - -This patch does the following: -<UL> - <LI>improve test for highlightColor so that xterm does not attempt to - use that unless it is different from the foreground and background - colors (reported by Stefan Dalibor - <Stefan.Dalibor@informatik.uni-erlangen.de>. -<P> - I could not reproduce this until I noticed that the -rev option - exposed it nicely. - - <LI>remove ich and ich1 from xterm and xterm-8bit terminfo descriptions. - SVr4 terminfo documents that you must not combine these with - smir/rmir, but ncurses allows it, opening a hole. Solaris 2.6 vi - does not work properly if it is using a terminfo description when - these are combined, since it was written to accommodate old terminals - that required it (reported by Stephen Marley). - - <LI>restore 1-pixel overlap of scrollbar border with left edge of window - (reported by Jim Burmeister <jimb@metrolink.com>). - - <LI>add a configure option, --enable-logfile-exec, which allows the - user to specify a pipe for logfile. This defines ALLOWLOGFILEEXEC. - - <LI>makes the ALLOWLOGFILEEXEC code compile & run, if configured. - - <LI>minor documentation nits. -</UL> - -<H1><A NAME="xterm_66">Patch #66 - 1998/2/16 - XFree86 3.9Ad and 3.3.1d</A></H1> - -This fixes the problem reported with failure to build the <EM>resize</EM> -program (BSDI, OSF/1) due to not having <termcap.h>, by changing the -ifdef to one that would be set only if the file exists (not currently -specified, except by the standalone configure script). We do not really need -to include <termcap.h> to build, but only for a clean compile, since it -may declare the tgetent() prototype. - -I also updated the man-page for <EM>resize</EM>, since I had recently noticed -that it can be used to resize <EM>xterm</EM> using the "Sun" control sequences -option. - -<H1><A NAME="xterm_65">Patch #65 - 1998/2/14 - XFree86 3.9Ad and 3.3.1c</A></H1> - -This is a small patch to xterm's 8-bit terminal description. I noticed -while testing ncurses that I had specified the wrong (VT100-style) codes -for the F1-F4. Xterm only uses VT220-style function keys in 8-bit mode. - -<H1><A NAME="xterm_64">Patch #64 - 1998/2/8 - XFree86 3.9Ad</A></H1> - -This fixes the following problems with xterm: -<UL> - <LI>save/restore the ANSI foreground and background colors with the other - visible attributes in the save-cursor and restore-cursor operations. - This works around a problem with vim, which apparently assumed that - switching between the normal and alternate screens resets the colors - (reported by Jim Battle <jb@chromatic.com>). -<P> - It would be nice to implement save/restore cursor as a stack (and - solve this type of problem completely), but that would lead to - incompatibility with applications which assume they are running with a - VT100 or VT220. - - <LI>corrects behavior of a restore-cursor operation which does not - follow a save-cursor (it is supposed to set the character sets - to a known initial state). - - <LI>extends the sunKeyboard resource (and menu toggle) to modify the - home, end and delete keys on a Sun or PC editing keypad, making them - generate codes compatible with DEC VT220's Find, Select and Remove - keys. - - <LI>corrects a length in checking command-line options, which caused the - "-help" message to not work when X was not running. - - <LI>add some detail to the man-page (requested by Jason Bacon - <acadix@execpc.com>) - - <LI>modify the standalone configure script to ignore the broken nsl and - socket libraries on IRIX 6.2 (the ones on 5.2 also are broken, so - this change just widens the check for the system version number). -</UL> - -<H1><A NAME="xterm_63">Patch #63 - 1998/2/5 - XFree86 3.9Ad</A></H1> - -This is another patch from Bjorn Helgaas <helgaas@rsn.hp.com>, which I've -reviewed (and learned some). Following are his notes: -<P> -I poked around some more and finally got xterm-62 to build and run -cleanly on HP-UX 10.20. Here are the patches. They look sort of -ugly, so here's a little explanation: -<UL> - <LI>aclocal.m4: Removed side effects from the AC_CACHE_VAL - commands in CF_FUNC_TGETENT. Previously, LIBS was set inside - AC_CACHE_VAL, which worked fine the first time configure was - run, but failed if there were cached values. - - <LI>aclocal.m4: Added temporary setting of LIBS before - AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set - by the AC_TRY_RUN loop was used, so only -lcurses was checked. - - <LI>configure.in: Added temporary setting of CPPFLAGS before - AC_CHECK_HEADERS for X11 files. Previously <X11/DECkeysym.h> - and <X11/Xpoll.h> were found only if they were in the compiler's - default include directories, even if `--x-includes=DIR' had been - used or AC_PATH_XTRA had found them elsewhere. -</UL> -The problem on HP-UX was that we were linking with -lcurses rather than --ltermcap due to the second bullet above, and apparently something in -HP-UX curses is broken. This seems very strange, because the only thing -used is tgetent, which should affect any tty/pty configuration, but I -lost interest in tracking down the exact problem. - -<H1><A NAME="xterm_62">Patch #62 - 1998/1/23 - XFree86 3.9Ac</A></H1> - -This is a patch mostly by Bjorn Helgaas <helgaas@dhc.net> (I added the -os2main.c change, and a little of the documentation). From Bjorn's -description: -<UL> - <LI>If you use the "-hc <color>" option or set the "highlightColor" - resource, text is highlighted by changing only the background color, - rather than using reverse video. I find this easier to read, - especially when selecting multi-colored text, and it is similar to - the way Netscape shows selections. - - <LI>Most of the code changes are under "#if OPT_HIGHLIGHT_COLOR". The - principal exception is in screen.c, where I added a couple calls to - resetXtermGC(). This seems like it could be a bug even without - the color highlighting changes (though I don't pretend to understand - all the logic). -</UL> - -<H1><A NAME="xterm_61">Patch #61 - 1998/1/17 - XFree86 3.9Ac</A></H1> - -This patch modifies the reset behavior of xterm slightly: -<UL> - <LI>change the terminfo entry so that rs1 (one of the strings used by - the 'reset' program) does a hard reset rather than switching - character sets. This is more in accord with other terminal - descriptions. - - <LI>modifies the treatment of hard reset by the xterm program to - reset the saved lines. - - <LI>corrects hard reset by also resetting user-defined keys, i.e., DECUDK. -</UL> - -<H1><A NAME="xterm_60">Patch #60 - 1998/1/10 - XFree86 3.9Ab</A></H1> - -This fixes some minor bugs and adds new functionality: -<UL> - <LI>add support for blinking text. -<UL> - <LI>This does not actually cause the - text to flash, but text with the blink attribute can be displayed - in color, using new resources colorBL and colorBLMode. - - <LI>If colors are not used, the blinking text will be displayed as - before (just like bold). The main purpose of this is to make - applications work properly when they assume the emulator supports - blinking text. - - <LI>I did this by moving the per-cell LINEWRAPPED flag to a per-line - flag, to make room for the new BLINK flag. There were no per-line - flags, so this changes a lot of logic. -</UL> - - <LI>corrected missing save-cursor logic in the handling of SGR 1048 - (the new control sequence I added in patch #54, 1997/10/17). - Reported by Darren Hiebert. - - <LI>flush the output of the transparent printing after each line - Reported by Tomas Vanhala <vanhala@ling.helsinki.fi>. - - <LI>correct the modes that are affected by save/restore cursor by adding - WRAPAROUND and PROTECTED. - - <LI>corrected placement of one of the XSync calls that I added in patch - #51, 1997/9/15, which had the side-effect of writing on the window - border when the xterm was resizing from 132 to 80 columns. - - <LI>work around an incompatibility of the XKB definition used in xterm - versus that symbol from IRIX 6.2's imake definitions (by adjusting - the standalone configure script). -</UL> - -<H1><A NAME="xterm_59">Patch #59 - 1998/1/5 - XFree86 3.9Ab</A></H1> - -My last patch has an off-by-one error in the comparison for argc. Douglas -Kosovic <douglask@dstc.edu.au> showed me where (he got a core dump). -Also, I think this explains Clint Olsen's problem, but the symptoms were more -subtle (EINVAL for a system call if the -display option is omitted). - -<H1><A NAME="xterm_58">Patch #58 - 1998/1/3 - XFree86 3.9Ab</A></H1> - -This patch does the following: -<UL> - <LI>implement logic to permit xterm to work with proportional fonts. -<UL> - <LI>Thomas Wolff - <Thomas.Wolff@sietec.de> - requested this (but it isn't exactly what he's asking - for - that's a more involved task). - - <LI>I chose to do this by rendering the characters on a fixed pitch, - because it would not be useful for existing applications to display - varying numbers of characters on each line. - - <LI>Except that this forces the display to be wider, it works reasonably - well. A couple of special cases (reverse + colorBD, for example) - do not display with proper colors, since the inter-character gaps - are painted with the background. -</UL> - - <LI>added a version number to the program (several people have requested - this). - - <LI>make the -version and -help options interpreted before the program - attempts to open the display. - - <LI>minor reorganization of the man-page (ordered the options, resources - and translations alphabetically - and eliminated some duplication). - - <LI>corrected a misspelled filename in Makefile.in, and added a lint - rule. - - <LI>updated the configure script to correct behavior when it cannot - find imake, as well as to fix the IRIX+gcc build (conflict with - /usr/include). - - <LI>regenerated the configure script with a newer patch to autoconf - that fixes a problem with environment space vs the configure --help - message. -</UL> -<H1><A NAME="xterm_57">Patch #57 - 1997/12/26 - XFree86 3.9Aa</A></H1> - -This patch is mostly concerned with the standalone configure script; a few -minor corrections are added: -<UL> - <LI>add configure option --disable-tek4014, to allow xterm to be built - without the tek4014 emulation. - - <LI>add configure option --with-terminal-type, to allow xterm to be - compiled with default $TERM value other than "xterm" (e.g., - "xterm-16color") -- requested by Stephen Marley <stephen@memex.com>. - - <LI>fix a typo in the configure --help message -- reported by Darren - Hiebert <darren@hmi.com>. - - <LI>review diffs between main.c and os2main.c, to make them more alike. - (applies some minor bug-fixes to OS/2's version). - - <LI>add missing quotes in memmove/bcopy configure test -</UL> - - -<H1><A NAME="xterm_56">Patch #56 - 1997/11/28 - XFree86 3.9x</A></H1> - -This patch is based on analysis by Arfst Ludwig <arfst@luxor.IN-Berlin.DE>, -who reported: -<blockquote> - Setting the following resources xterm (all current versions) receives a - segmentation fault on <Btn2Up> after scrolling: -<PRE> - - *XTerm*VT100*translations: #override \ - ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ - Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ - ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ - Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) -</PRE> - (The above resources intention is to be able to paste the latest - selection even if the xterm was cleared.) -<P> - And here is how it works (and a fix!): The widget given to the action - handler as first argument is not guaranteed to be a XtermWidget (it can - be the ScrollbarWidget). Instead of accessing the widget's member - directly XtDisplay gives the required pointer in a safe way. -</blockquote> -I noticed that this was not the only instance (by reading the code, and testing -with his example), and extended the solution to check the widget-class to -ensure that it is indeed xterm's widget class before attempting to use it in -the context of translations. - -<H1><A NAME="xterm_55">Patch #55 - 1997/11/25 - XFree86 3.9x</A></H1> - -This fixes the segmentation violation noted by Rogier Wolff about a month -ago. He'd set xterm to 400 (rows) by 150 columns, which broke because there -were limited buffers (200 rows) used for juggling data when adding or deleting -lines and for switching between alternate and normal screens. I replaced this -by an allocated buffer. -<P> -The bug is simple to test if you set titeInhibit false. - -<H1><A NAME="xterm_54">Patch #54 - 1997/10/17 - XFree86 3.9s</A></H1> - -This patch does the following: -<UL> - <LI>correct a minor placement problem with the right scrollbar. - - <LI>implement a new set of control sequences for switching between the - normal and alternate VT100 screens. These work around the older - sequences limitation that required modification of the runtime - $TERMCAP to cooperate with the titeInhibit resource (that can't work - with terminfo). I do this by moving all of the functionality of the - rmcur terminfo capability into the control sequences. - - <LI>implement the alternate-screen menu entry -</UL> - -<H1><A NAME="xterm_53">Patch #53 - 1997/10/12 - XFree86 3.9r</A></H1> - -This patch adds a fix and implements a new feature (as well as some minor -typos): -<UL> - <LI>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a problem - with the wait call with the logging option. It hung when the logfile - was opened as a command-line option. I fixed this by moving the - StartLogging() call down past the place where I'd reset the setuid - mode. So the logfile is opened as the real user, without having - to fork. - - <LI>improve Rohleder's changes by - renaming the command-line options and reducing the number of ifdef's. - - <LI>implement right-scrollbars for xterm - (patch by Michael Rohleder <michael.rohleder@stadt-frankfurt.de>). -</UL> - -<H1><A NAME="xterm_52">Patch #52 - 1997/9/29 - XFree86 3.9q</A></H1> - -This patch addresses bugs and requests reported by -<UL> - <LI>Bob Maynard <rmaynard@montana.com>, - <LI>Clint Olsen <olsenc@ichips.intel.com>, - <LI>JCHANDRA@Inf.COM (JCHANDRA), - <LI>Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>, - <LI>Pablo Ariel Kohan <pablo@memco.co.il> -</UL> - -Some of the changes are interrelated (it was an unusually busy week). -<UL> - - <LI>change the default resource value for colorMode to true, matching - the Xterm.ad file. - - <LI>correct behavior of 'ech' control, making the default and 0 - parameters erase one character rather than to the end of line - (reported by Michael Schroeder). - - <LI>add resource boldColors, command-line options +pc and -pc and - configure-script option to specify behavior of xterm's mapping bold - colors 0 through 7 to colors 8 through 15. - (request by Pablo Ariel Kohan). - - <LI>add resource colorAttrMode to specify whether colorULMode and - colorBDMode can override the ANSI colors - (report by Clint Olsen). - - <LI>correct a conflict between colorULMode/colorBDMode versus ANSI - colors, where exposure events would occasionally pick up the - former (e.g., colorBD) rather than ANSI colors. Testing the - colorAttrMode made this apparent, though it has been in the - code since 3.2A (patch #35 in Jan 1997). - - <LI>correct two problems with the optional logging support. On Linux - at least, the waitpid call in creat_as hangs when the logging is - toggled from the popup menu. Also, the mktemp template has the wrong - number of X's (since X11R5!). Fixed the waitpid problem by - exploiting the fact that the setuid behavior is reset before the - popup menus are available. - (reported by Jayachandran C.). - - <LI>add configure script options for building with the Xaw3d and neXtaw - libraries. + <h1><a name="xterm_266" id="xterm_266">Patch #266 - + 2010/10/24</a></h1> - <LI>correct CF_IMAKE_CFLAGS standalone configure script macro, so that it - will pick up $(ALLDEFINES) rather than $(STD_DEFINES). This is - needed to make scrollbars work on Linux, since that uses narrow - prototypes. - (reported by Bob Maynard). + <ul> + <li>add rpm and dpkg scripts, for testing.</li> - <LI>various minor updates to configure-script macros. -</UL> + <li>more fixes for Debian #600707 (report by Cyril + Brulebois).</li> + </ul> -<H1><A NAME="xterm_51">Patch #51 - 1997/9/15 - XFree86 3.9p</A></H1> + <h1><a name="xterm_265" id="xterm_265">Patch #265 - + 2010/10/22</a></h1> -Most of this patch is related to the standalone configure script, though -there are fixes/enhancements as well: -<UL> - <LI>add a new resource sunKeyboard, with associated command-line - option and menu-toggle that allows using a normal Sun or PC - keyboard to generated the complete DEC-style function keys - and keypad. + <ul> + <li>fix a regression in fontname logic from <a href= + "#xterm_263">patch #263</a> changes (Debian #600707, reported + by Vincent Lefevre).</li> + + <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).</li> + </ul> - <LI>correct a reversed foreground/background test in the control - sequence that replies with the current SGR settings. + <h1><a name="xterm_264" id="xterm_264">Patch #264 - + 2010/10/14</a></h1> - <LI>correct, by invoking XSync, a display problem that caused the - program to not properly update newly exposed areas when a font - change or 80/132 resize request was not completely accepted. + <ul> + <li>replace a null-pointer check with check for empty string in + <code>xtermOpenFont</code>, to eliminate a warning message from + <a href="#xterm_263">patch #263</a> changes.</li> + + <li>build-fix for <a href="#xterm_263">patch #263</a> when + toolbar is not configured (patch by Chris Clayton) (reports by + Robby Workman, David Wood).</li> + </ul> - <LI>restructured autoconf macros (I made a library of all of the - macros across the complicated configure scripts I'm working on). + <h1><a name="xterm_263" id="xterm_263">Patch #263 - + 2010/10/13</a></h1> - <LI>use the autoconf config.guess and config.sub scripts to better - identify the host-os. + <ul> + <li>corrected initialization of "misc" resource values, to + ensure that xterm has allocated a copy of strings which may not + have been malloc'd by the X library (Debian #600129).</li> - <LI>improve the configure script that uses 'imake' as a fallback for - definitions. + <li>modify handling of any-event/any-button mouse protocol; it + now is active with any combination of key-modifiers.</li> - <LI>correct several instances of unsigned/signed mixed expressions. -</UL> + <li>add debugging feature <code>showWrapMarks</code>, which + marks lines which xterm knows are wrapped, showing where a + double-click will select past the end of a line.</li> -I've tested the configure script on Linux, SunOS 4.1.3, Solaris 2.5.1, -IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but the last run properly -as well). + <li>build-fix to address change in include-guards for + <code>Xlib.h</code> in ongoing Xorg edits (patch by Jeremy + Huddleston).</li> -<H1><A NAME="xterm_50">Patch #50 - 1997/8/22 - XFree86 3.9m</A></H1> + <li>improve <code>pointerMode</code> by continuing to watch for + motion events after mouse tracking is disabled if the pointer + is hidden (Debian #594856).</li> -This is a collection of small fixes, and a couple of minor enhancements: -<UL> - <LI>plug a security hole in the implementation of Media Copy (print) - by invoking setuid just before the main loop. + <li>further extend initialization for active-icon font to check + if the font was not loaded succesfully, to retry with + <code>font1</code>, or as even (if TrueType fonts are used) to + use a TrueType font. The retries are to help with cases as in + <a href="#xterm_241">patch #241</a> where the bitmap fonts are + not available.</li> - <LI>add an ifdef'd include for <sys/termio.h> for HP-UX, which allows - the program to process SIGWINCH events (this is a bug in X11R6.3) + <li>fix special case of active-icon used when TrueType font is + specified for the xterm window, from <a href="#xterm_261">patch + #261</a> change. In that case, the default font's size was used + for layout of the active icon's window (Debian #591265).</li> + </ul> - <LI>add state-table entries for VT52 emulation to enter/exit keypad - application mode. + <h1><a name="xterm_262" id="xterm_262">Patch #262 - + 2010/8/30</a></h1> - <LI>disable the popup-menu entry for 8-bit controls when the terminal-id - is less than 200 (e.g., VT52 or VT100). + <ul> + <li>fix a case where changing the cursor color via escape + sequences did not immediately update the screen (report by + Andreas Wagner).</li> - <LI>ensure that the popup-menu entry for 8-bit controls is updated when - the application enables/disables this mode, including the response - to a full-reset. + <li>implement ANSI and DEC request-mode control sequences. The + latter includes the xterm-specific private modes such as the + mouse mode. The feature is ifdef'd with the rectangle + operations since its decoding overlaps that feature.</li> - <LI>implement VT300 DECBKM feature: set interpretation of the backarrow - key to either backspace or delete. The initial setting is via - resource; it can also be modified in the main popup menu. + <li>correct typo in ctlseqs.ms for response of OSC 21 (patch by + Kevin Schoedel).</li> - <LI>implement VTxxx KAM (ISO AM), which allows a keyboard to be locked - (i.e., the terminal discards input). + <li>improve discussion of mouse tracking in ctlseqs.ms</li> - <LI>implement VTxxx SRM, which is used to control local echoing of - input on the terminal. + <li>increase an array limit used in reporting mouse events + (report by Ryan Johnson).</li> - <LI>add terminfo and termcap entries for xterm-8bit, a variation of - the xterm description that uses 8-bit control characters. + <li>add extended mouse-coordinates mode, allowing up to + 2015x2015 windows, using UTF-8 encoding (patch by Ryan + Johnson).</li> - <LI>add fallback definitions for Imakefile to allow it to work on some - X11R5 systems that have no SpecialCObjectRule or ProgramTargetName - macros. + <li>modify manpage hyphens to conform with <a href= + "http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html"> + Debian</a>.</li> + </ul> - <LI>add .c.o and .c.i rules to standalone Makefile.in + <h1><a name="xterm_261" id="xterm_261">Patch #261 - + 2010/6/28</a></h1> - <LI>correct order of -lXmu and -lXext in standalone configure script. + <ul> + <li>fix regression in <code>renderFont</code> logic, from + <a href="#xterm_260">patch #260</a> changes (report by Joseph + Quinsey).</li> + </ul> - <LI>add configure script options to allow selective disabling of - active-icon, input-method and i18n code (mainly for users with X11R5 - or an incomplete X11R6 configuration). + <h1><a name="xterm_260" id="xterm_260">Patch #260 - + 2010/6/20</a></h1> - <LI>change menu-indices from #define's to enum values, thereby making - it work better with the ifdef's for logging and active-icon (the - X11R6.3 active-icon code is incorrectly ifdef'd; this corrects an - error introduced by incorporating that code). + <ul> + <li>modify <code>plink.sh</code> to work around problem linking + to recent PCRE libraries.</li> - <LI>correct minor compile errors in the configuration where active-icon - is not used. + <li>extend <code>renderFont</code> resource to allow deferred + switch to TrueType fonts without affecting existing resource + settings (Debian #585620).</li> - <LI>add configure option to suppress echoing of long compiler commands + <li>modify configure macro CF_X_TOOLKIT to work around omission + of ICE library from ".pc" file (report by Miroslav + Lichvar).</li> - <LI>correct spelling of decTerminalID in configure script help message + <li>change configure script default for + <code>--enable-broken-st</code> i.e., the + <code>brokenStringTerm</code> feature) to normally enable it. + If the corresponding resource is enabled, this feature + eliminates an apparent freeze of xterm when sending mis-encoded + data to the screen (Debian #584801).</li> - <LI>use gcc __attribute__((unused)) to quiet warnings about unused - parameters when compiling with -W (to make it simpler to find the - real problems). -</UL> + <li>document in manpage some actions which were overlooked: -<H1><A NAME="xterm_49">Patch #49 - 1997/8/10 - XFree86 3.9k</A></H1> + <ul> + <li>readline-button</li> -This patch implements the VT100/VT220 Media Copy (i.e., print-screen) control -sequences. + <li>scroll-lock</li> -<H1><A NAME="xterm_48">Patch #48 - 1997/7/26 - XFree86 3.9j</A></H1> + <li>set-8-bit-control</li> + </ul> + </li> -This patch does the following (all but the first affect only the standalone -configure script): -<UL> - <LI>minor correction to positioning of underlines for small (e.g., 5x8) - font size. - <P> - The existing behavior allowed underlines to be drawn outside the - character-cell, so they weren't cleared properly under some - circumstances. + <li>undo a change to limit-check in <code>ScrnRefresh</code> in + <a href="#xterm_257">patch #257</a>, which broke + <code>fastScroll</code> feature (Debian #584841).</li> - <LI>adds more special-case tokens to the standalone configure script's - imake-option filter (e.g., "&&", since a "make -n main.o" on my IRIX - system uses that shell construct). + <li>modify handling of <code>brokenLinuxOSC</code> and + <code>brokenStringTerm</code> to also sound the bell.</li> - <LI>adds a '--enable-logging' option for the standalone configure script. + <li>add control/D and control/Q to controls which will cause + early exit from control string per + <code>brokenStringTerm</code> resource.</li> - <LI>adds check and ifdef's for the standalone configure script to allow - for building on platforms with X11R6, which lacks Xpoll.h (introduced - in X11R6.1). -</UL> + <li>improve documentation of <code>brokenStringTerm</code> + resource in manpage.</li> + </ul> -<H1><A NAME="xterm_47">Patch #47 - 1997/7/13 - XFree86 3.9i</A></H1> + <h1><a name="xterm_259" id="xterm_259">Patch #259 - + 2010/6/5</a></h1> -This patch does the following -<UL> - <LI>corrects an indexing error in the doublesize character logic - (button.c) that caused core dump (this was reported by J. Wunsch). - <LI>corrects the logic of ShowCursor when it is painting in a doublesize - cell (charproc.c). - <LI>corrects, according to vttest, the behavior when switching to - doublesize characters and back again (doublechr.c). - <LI>adds cbt (back_tab) to the terminfo description (this was something - that I'd overlooked as applicable to curses optimization last - summer). - <LI>corrects, for the standalone xmc test, the logic for disabling xmc. -</UL> + <ul> + <li>modify configure check for <a href= + "http://invisible-island.net/luit/">luit</a> to include new + aliases for the program (<code>xterm-filter</code> and + <code>bluit</code>).</li> -<H1><A NAME="xterm_46">Patch #46 - 1997/7/4 - XFree86 3.9h</A></H1> + <li>add workaround in <code>xtermClearLEDs()</code> to account + for Xkb's override, making vttest's LED demo reset the scroll + lock.</li> -This is a patch to provide test-support for some work I'm doing on ncurses. It -does not modify the normal configuration of xterm; the code is compiled if the -standalone configure option "--enable-xmc-glitch" is specified. + <li>filter out client-message events when deciding whether to + hide cursor, e.g., when using SCIM (patch/report by anonymous + user).</li> -<H1><A NAME="xterm_45">Patch #45 - 1997/7/2 - XFree86 3.9h</A></H1> + <li>improve description of <code>-bd</code> option in manpage + (report by Guy Daniel Clotilde).</li> -This fixes the problem reported with xterm's cursor color versus the background -(the second chunk in this patch) and also removes some duplicate initialization -of the cursor GC's. If the cursor color at startup is the same as the -background, then xterm will use the reverse GC, ignoring the setting of the -colorMode resource. + <li>modify configure checks for PCRE and other libraries to use + <code>pkg-config</code>, if available.</li> -<H1><A NAME="xterm_44">Patch #44 - 1997/6/22 - XFree86 3.9g</A></H1> + <li>amend change from <a href="#xterm_252">patch #252</a>, to + take <code>veryColorColors</code> resource into account when + checking <code>colorBDMode</code> resource for TrueType fonts + (report by anonymous user).</li> -This implements the first part of the VT100 doublesize characters for xterm, -as well as fixing a handful of bugs: -<UL> - <LI>the doublesize character support uses the normal font (using scaled - fonts will be another patch) with blanks to simulate doublesize - characters. This patch does most of the global changes that'll be - required. I've hidden most of the details in macros and ifdef's so - it's easy to configure out (part of the patch is a configure option - for that purpose). + <li>add <code>vttests/query-fonts.pl</code> script for + demonstrating the <code>OSC 50</code> font query.</li> - <LI>corrected limits in DeleteChar() function -- it's always ignored the - size of the left border and scrollbar. I noticed this when working - on the doublesize characters since the glitch was doubled in size - (i.e., it wrapped some garbage around the right margin). + <li>improve manpage discussion of Scroll Lock feature.</li> - <LI>corrected 'memmove()' logic, for standalone builds (it referenced a - malloc wrapper from my development library). + <li>improve configure macros CF_GCC_VERSION and + CF_GCC_WARNINGS.</li> - <LI>add a check for HideCursor() to prevent repeated screen updates - (which can cause a spurious cursor glitch to appear, e.g., during - scrolling). I noticed this with the 3.2A version (but only a few - weeks ago, when I started working on this patch). -</UL> - -<H1><A NAME="xterm_43">Patch #43 - 1997/6/10 - XFree86 3.9d</A></H1> - -Here's a fix for two problems: -<UL> - <LI>modify handling of tgetent results in xterm and resize programs to - make them tolerant of missing termcap file, or unknown terminal name. - In this scheme, an explicit "-tn" option will succeed, overriding - the fallback list. - - <LI>a nit in the configure script (log extra information to help diagnose - which case of the test-compile of tgetent was used). -</UL> - -<H1><A NAME="xterm_42">Patch #42 - 1997/6/8 - XFree86 3.2Xl</A></H1> - -Bram Moolenaar reported that the cursor color changed unexpectedly while -scrolling. The cause was that it used the same GC's as the logic that draws -the ANSI colors. The bug only appears if the cursorColor resource isn't set, -and has been present since the initial implementation early last year. (The -same bug also appears in rxvt ;-). Here's a fix. - -<H1><A NAME="xterm_41">Patch #41 - 1997/5/28 - XFree86 3.2Xl</A></H1> - -Some nits found by Darren Hiebert (missing part of install-rule, incorrect -assignment for --enable-color-mode option). - -<H1><A NAME="xterm_40">Patch #40 - 1997/5/26 - XFree86 3.2Xl</A></H1> - -Patch for the configure script's logic for obtaining imake predefined -symbols. + <li>fix warnings for "clang --analyze".</li> -<H1><A NAME="xterm_39">Patch #39 - 1997/5/24 - XFree86 3.2Xl</A></H1> + <li>change default for <code>allowScrollLock</code> resource to + <code>false</code>, noting that the supposedly unused key has + been useful for various rebindings (Debian #580946).</li> + </ul> -This patch does the following: -<UL> - <LI>integrate the 16-color change for 'xterm' + <h1><a name="xterm_258" id="xterm_258">Patch #258 - + 2010/5/1</a></h1> - <LI>minor fixes/clarification of tgetent in terminfo vs termcap to - 'resize' -</UL> + <ul> + <li>add pointer-checks in <code>ScrnRefresh</code> to fix a + case in rapid scrolling where an empty record is fetched from + the scrollback FIFO.</li> + </ul> -(both changes also modify the configure script) + <h1><a name="xterm_257" id="xterm_257">Patch #257 - + 2010/4/22</a></h1> -<H1><A NAME="xterm_38">Patch #38 - 1997/5/22 - XFree86 3.2Xh</A></H1> + <ul> + <li>correct ctlseqs.ms description of OSC 17 and OSC 19 (patch + by Emanuele Giaquinta).</li> -This implements a simple configuration script with autoconf (to which I'll -add more options later). It does the following: -<UL> - <LI>configures xterm to build with X11R5 (at least on SunOS 4.1, Solaris - 2.4, possibly IRIX - sorry network was down today, but I did test - an earlier version yesterday). + <li>corrected logic for <code>menuLocale</code> resource; the + <code>setlocale</code> function returns the original locale + only when querying.</li> - <LI>enables/disables the configuration ifdef's for ANSI color and VT52 - emulation. -</UL> -It does not make tests for the things that imake does (that's another project), -instead it uses a hybrid of the autoconf tests for libraries and adds imake's -compiler options (which are necessary in some cases to get main.c to compile). + <li>improve filtering of translations resource, narrowing the + scope of the <code>alwaysUseMods</code> to address only the + translations that would cause a key to be sent to the host + (report by Andrew Gaylard).</li> -<H1><A NAME="xterm_37">Patch #37 - 1997/5/7 - XFree86 3.9a</A></H1> + <li>change default value of <code>menuLocale</code> resource to + "C", to work around longstanding <a href= + "http://invisible-island.net/xterm/xterm.faq.html#slow_menus">Xorg + bug</a>.</li> -This corrects a minor, but annoying error in the vt220 emulation: the DECUDK -is only supposed to be interpreted for _shifted_ function keys. + <li>modify handling of <code>scrollKey</code> feature to ignore + XON/XOFF keys.</li> -<H1><A NAME="xterm_36">Patch #36 - 1997/1/16 - XFree86 3.2r</A></H1> + <li>implement scroll-lock feature.</li> -This corrects something that I overlooked in patch #27 (21-aug-1996), which is -that when trimming the region to be repainted for the highlightSelection -resource of xterm, I still have to paint the background past the highlighted -region. This only happens when I first do a selection in a window that's -partly off-screen, then move the window on-screen. + <li>revise memory allocation in UTF8toLatin1() to fix an + out-of-bounds index (Mandriva #54531).</li> -<H1><A NAME="xterm_35">Patch #35 - 1997/1/7 - XFree86 3.2o</A></H1> + <li>compute value for first wide-character rather than assuming + it is 256, fixes problem with <code>-cjk_width</code> + introduced in patches <a href="#xterm_242">242</a> and <a href= + "#xterm_249">249</a> (report by Thomas Wolff).</li> -This patch does the following: -<UL> - <LI>combines the coding for foreground and background colors into a - single byte, reducing the memory required to store saved-lines in - color. (I'll take back that byte in a following patch to use to - ensure the character-set, so there's no long-term decrease in memory - use). + <li>improve configure script: - <LI>modifies the PF1-PF4 coding in termcap/terminfo. Because xterm is - still by default emulating vt100, the function key codes are - vt100-compatible (I overlooked this in patch #31). + <ul> + <li>corrected check for <code>_XOPEN_SOURCE</code> for + OpenSolaris.</li> - I also reformatted the whole terminfo file into a single-column, - for consistency. + <li>when possible, add rpath option for libraries in + unusual places</li> - <LI>adds an interim xterm-vt220 description to accommodate the old and new - styles of function-keys (though probably it'd be better to drop the - old-style altogether). -</UL> + <li>add configure option <code>--disable-rpath-hack</code> + to control whether the rpath option can be added.</li> + </ul> + </li> -<H1><A NAME="xterm_34">Patch #34 - 1997/1/5 - XFree86 3.2o</A></H1> + <li>modify <code>AllocateTermColor()</code> to separate + initialization from control sequences, fixing problem from + <a href="#xterm_254">patch #254</a> changes where enabling + <code>allowSendEvents</code> resource prevents setting cursor + color on command-line (Debian #572928).</li> -This patch does the following: -<UL> - <LI>implement DECSTR (soft terminal reset). The biggest diff is due to - adding another state table (note that there's only one useful state - here, but it's only 256 bytes rather than 1k as it would have been - before I reduced the size of state entries). + <li>amend logic from <a href="#xterm_185">patch #185</a> to not + reallocate cell-array if processing + <code>ESC % G</code> to switch from UTF-8 if already + in ISO-8859-1 character set (report by Michael Koehne).</li> - <LI>some minor tidying up (e.g., signed/unsigned use bitcpy, MODE_DECCKM, - resetColor, resetCharsets). More is done in patch #35. -</UL> + <li>fix to avoid calling <code>XmuInternStrings()</code> with + zero count (report by Johan Bockgård).</li> -I got the description of DECSTR from a vt420 user's manual. I'll do some -testing with vttest to ensure that there's nothing else to do than what was -documented. + <li>fix build when --disable-ansi-color configure option is + used.</li> -<H1><A NAME="xterm_33">Patch #33 - 1996/11/24 - XFree86 3.2</A></H1> + <li>fix build when neither OPT_TCAP_QUERY or OPT_TCAP_FKEYS is + defined (patch by Matthieu Herrb)</li> + </ul> -This adds to the reset-fix by Matthieu Herrb <Mathieu.Herrb@mipnet.fr> a -small change to make xterm able to output 8-bit characters in VT100 mode. + <h1><a name="xterm_256" id="xterm_256">Patch #256 - + 2010/3/6</a></h1> -Applications that run on real VT100's don't do that anyway, and this feature -should be removed sometime after finishing off the VT220 emulation (VT220's can -do 8-bit characters). That would be a good time to change the default -terminal-id to 220. + <ul> + <li>add TerminalEmulator to desktop category files.</li> -<H1><A NAME="xterm_32">Patch #32 - 1996/11/21 - XFree86 3.2</A></H1> + <li>modify <code>sinstall.sh</code> to ignore the "." appended + to permissions by selinux.</li> -This implements the REP (repeat) control for xterm. That isn't part of the DEC -VTxxx series, but is defined in ISO 6429. (Note that the base xterm terminal -description is <EM>not</EM> changed -- I added a variant, "xterm-rep"). + <li>change app-defaults organization, installing UXTerm-color + and KOI8XTerm-color for consistent behavior regarding + <code>customization: color</code> (prompted by discussion + in Ubuntu #421261).</li> -<H1><A NAME="xterm_31">Patch #31 - 1996/11/16 - XFree86 3.2</A></H1> + <li>fix typo in <code>minstall.sh</code> from <a href= + "#xterm_255">patch #255</a> changes, and add case for + <code>/var/run</code> needed for full path of utmp (report by + Julien Cristau).</li> -This implements vt52 emulation in xterm (ifdef'd so it can be removed). -I've been using it for testing for the past month or so. + <li>minor fix to xterm manpage, remove a comment stating that + margin bell can be changed via the VT Options menu. That was + replaced in <a href="#xterm_225">patch #225</a></li> -<H1><A NAME="xterm_30">Patch #30 - 1996/11/16 - XFree86 3.2</A></H1> + <li>add a "docs" rule to makefile.</li> -From bug-report by <auroux@clipper.ens.fr> (Denis Auroux), missing reset to -ground state. I checked through the rest of <EM>that</EM> table and found another, -in the unimplemented MC (screen print). + <li>fix initialization of Atom used for <code>XkbBell</code> + feature from <a href="#xterm_243">patch 243</a> changes. Unlike + the other calls to <code>XInternAtom()</code>, in this case the + flag telling X to create the Atom was unset (patch by Chris + Adams).</li> + </ul> -<H1><A NAME="xterm_29">Patch #29 - 1996/9/15 - XFree86 3.1.2Gb</A></H1> + <h1><a name="xterm_255" id="xterm_255">Patch #255 - + 2010/1/21</a></h1> -This patch does the following: -<UL> - <LI>corrects the restoration of color for bold/underline color mode + <ul> + <li>rename <code>install.sh</code> to <code>install-sh</code> + in case suffix-rules might interfere.</li> - <LI>adds a resource 'decTerminalID' to control the reporting level of - xterm (e.g., VT100, VT220). + <li>extend range for <code>convertToUTF8</code> function to + full 31-bits, to use with printing, etc.</li> - <LI>uses the new resource to implement/correct the DA1, DA2 and - DECRPTUI reports. + <li>improve manpage by checking for actual locations of + utmp/wtmp files (Debian #562640).</li> - <LI>change valid-response code in DECRQSS from 0 to 1 (the manual says 0, - but the VT420 terminal I've been testing on says 1). -</UL> + <li>modify configure macro CF_XOPEN_SOURCE to remove -D's + before adding the same name rather than relying on -U's, to + reduce redefinition warnings for some platforms that have + conflicting definitions in headers.</li> -All of these changes are based on vttest 2.6 -<P> -(Most of the volume in the patch is to add 2 more state tables for parsing -the 2nd/3rd device-attribute controls). + <li>correct logic used to switch to alternate screen using + FIFO-lines configuration (Debian #565772).</li> -<H1><A NAME="xterm_28">Patch #28 - 1996/8/31 - XFree86 3.1.2F</A></H1> + <li>update config.guess, config.sub</li> + </ul> -This patch corrects the following reported by Roland Rosenfeld -<roland@spinnaker.rhein.de>: -<UL> - <LI>handle SGR 22, 24 and 25 in combination with colorUL and colorBD - resources. Also noted & fixed reset of colored underline/bold - with SGR 0. + <h1><a name="xterm_254" id="xterm_254">Patch #254 - + 2010/1/6</a></h1> - <LI>a typo in the termcap (missing '['), from 3.1.2Dj (my error) -</UL> + <ul> + <li>add a configure-check to eliminate <code>install-ti</code> + rule from Makefile when the system has no tic (terminfo + compiler) program. This lets one use the + <code>install-full</code> rule more consistently.</li> -Roland also complained that he couldn't use box characters with -<PRE> - -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 -</PRE> -but that's a known xterm limitation (the box characters must be part of the -font, in the first 32 locations). + <li>amend change to WriteText() function in <a href= + "#xterm_252">patch #252</a> to take into account the + <code>colorAttrMode</code> resource (report by Krzysztof + Kotlenga).</li> -<H1><A NAME="xterm_27">Patch #27 - 1996/8/21 - XFree86 3.1.2Ek</A></H1> + <li>document <code>titleModes</code> resource in manpage, added + in <a href="#xterm_252">patch #252</a>.</li> -This patch fixes one of my long-term gripes: xterm's selection doesn't clearly -show what's being selected (as per David's request, it's controlled by a -resource, which defaults to the older behavior). + <li>modify tcap-query table entries for shifted up/down cursor + keys to match ncurses convention.</li> -<H1><A NAME="xterm_26">Patch #26 - 1996/8/20 - XFree86 3.1.2Ei</A></H1> + <li>improve lookup of termcap-query data, allowing for + duplicate keycodes versus missing entries.</li> -Here's a patch to fix a problem with xterm's cut/paste and another to modify -the appearance of the highlighting while selecting. (The changes are -independent, so you can see if the change to screen.c is desirable). + <li>add control sequence which can be used to modify the + terminal data used for the termcap-keyboard.</li> -<H1><A NAME="xterm_25">Patch #25 - 1996/8/18 - XFree86 3.1.2Ei</A></H1> + <li>improve portability of tcap-query feature, using terminfo + functions in preference to termcap on systems having + terminfo.</li> -Here's a correction for two minor bugs that I picked up in testing, plus -some lint (from Solaris 2.5) where NULL was used incorrectly: -<UL> - <LI>make the second alternate font the same as the first (that's what - vt420 and dtterm do) + <li>improve font-setting/querying control + (<code>OSC 50</code>): - <LI>corrected DECSCL report when DECSCL hasn't been set (i.e., don't - return a '60'). -</UL> + <ul> + <li>when TrueType font is selected, the TrueType + <code>faceName</code> will be set, rather than the bitmap + font.</li> -<H1><A NAME="xterm_24">Patch #24 - 1996/8/11 - XFree86 3.1.2Ee</A></H1> + <li>when TrueType font is selected, querying returns the + name of the TrueType font.</li> -This patch does several things. In effect, xterm can (I think) do a reasonably -good job of emulating vt220 and vt320 terminals (as well as it was doing -vt100, at any rate ;-). -<P> -It does NOT do: -<UL> - <LI>soft fonts + <li>querying a font recognizes the relative-font convention + that setting a font could use.</li> + </ul> + </li> - <LI>rigel or sixel graphics -</UL> -<P> -Anyway, I: -<UL> + <li>add menu-entry for allowColorOps.</li> - <LI>added ECH, CPL, CNL, SU, SD, CBT, CHT controls + <li>add new resources for fine-tuning menu entries: + <code>allowColorOps</code>, <code>disallowedColorOps</code>, + <code>disallowedFontOps</code> and + <code>disallowedTcapOps</code>.</li> - <LI>added popup-menu for switching between DEC and Sun function keys. - (corrected alignment err wrt logging entry at that point). + <li>correct logic for disabling the "TrueType Fonts" menu item; + it was not ensuring that the <code>faceName</code> resource + value was non-empty.</li> - <LI>make xterm recognize both 8-bit and 7-bit controls (including - popup menu for switching modes). + <li>implement VT520-style controls <code>DECSMBV</code> and + <code>DECSWBV</code> for setting the margin- and warning-bell + volume.</li> - <LI>add user-definable function keys (aka DECUDK) + <li>fix a minor error from <a href="#xterm_243">patch #243</a> + which made the zIconBeep feature use a minor-error tone rather + than an informational tone.</li> - <LI>support concealed text + <li>add a null-pointer check for the case where + <code>renderFont</code> resource is true, but + <code>faceName</code> resource is unset, used in logic to strip + "xft:" prefix from <a href="#xterm_251">patch #251</a> changes + (patch by Michael Riepe).</li> - <LI>support protected text (both ISO compatible and DEC compatible - - that's not the same thing, btw), with SPA, EPA, DECSCA, DECSED, - DECSEL controls. + <li>add special case to configure CF_XOPEN_SOURCE macro to use + extensions on Darwin (patch by Dennis Preiser).</li> - <LI>implement DECSCL. -</UL> -<P> -I'll be continuing to test this patch for a while, but don't expect to add any -new functionality (it passes all of the current tests I've built in vttest, but -I need to make more tests).. + <li>improve configure checks for regular expressions header and + library</li> -<H1><A NAME="xterm_23">Patch #23 - 1996/7/31 - XFree86 3.1.2Ec</A></H1> + <li>update config.guess, config.sub</li> + </ul> -This removes the blinking cursor I added last week (for performance reasons). -Time-permitting, I'll revisit this after 3.2 is released (there <EM>will</EM> be more -work after XFree86 3.2, I assume). + <h1><a name="xterm_253" id="xterm_253">Patch #253 - + 2009/12/10</a></h1> -<H1><A NAME="xterm_22">Patch #22 - 1996/7/26 - XFree86 3.1.2Ec</A></H1> + <ul> + <li>add a null-pointer check in <code>getPrinterFlags()</code> + per changes in <a href="#xterm_252">patch #252</a>.</li> -I looked more closely at my "double-negative" and realized that I had been -confused by the default color scheme (black on white) in combination with -reverse video. However, I did see that the original_fg and original_bg data -weren't really used - so I removed that logic. -<P> -Also: -<UL> - <LI>during initialization, check if ANSI colors are set with non fg/bg - values, disable color mode if not. This makes xterm tolerant of - applications that allocate the whole color map. + <li>add a null-pointer check, needed in UTF-8 mode for Xft + fonts after changes in <a href="#xterm_252">patch #252</a> + (patch by Alan Coopersmith).</li> - <LI>implemented blinking cursor (default is <EM>off</EM>) -</UL> + <li>correct size when clearing struct for tek4014 (patch by + Jochen Voss).</li> -<H1><A NAME="xterm_21">Patch #21 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> + <li>parenthesize expression in <code>MoreRows</code> macro, + fixing a limit check added in <a href="#xterm_251">patch + #251</a> (Debian #560039).</li> + </ul> -This patch does the following: -<UL> - <LI>fixes some minor typography in the control-sequences documentation - (it didn't occur to me til I'd sent the last patch that I could use - ghostview for previewing the troff output ;-) + <h1><a name="xterm_252" id="xterm_252">Patch #252 - + 2009/12/7</a></h1> - <LI>adjusts the shell's background color in ReverseVideo so that flicker - in resizing is reduced + <ul> + <li>modify title-querying logic to support retrieval of titles + encoded using UTF-8.</li> - <LI>adds an ifdef OPT_ISO_COLORS to allow configuring xterm without - the ISO color support (saves a lot of memory) + <li>add new "title-modes" control sequence for controlling + whether window/icon titles can be set or queried using UTF-8, + optionally encoded in a hexadecimal string.</li> - <LI>used that ifdef to isolate/modify logic so that if the user doesn't - have the colorMode enabled, then ISO color support is disabled (saving - memory). - <P> - (If anyone needs numbers, I had savedLines set to 2000, and found - a reduction from ~700k to ~400k of allocated memory, according to - Purify). -</UL> + <li>use <code>mkdir -p</code> rather than + <code>mkdirs.sh</code> (prompted by discussion of mawk by + Aleksey Cheusov).</li> -<H1><A NAME="xterm_20">Patch #20 - 1996/7/24 - XFree86 3.1.2Ec</A></H1> + <li>add appropriate copyright/license notices to the bulk of + files lacking same, and modify to use identical terms in others + which used different wording. The main exceptions are the files + contributed by Markus Kuhn, who appears to prefer public domain + distribution, noting that I have modified/improved several of + these without changing the terms of distribution (request by + Jari Aalto).</li> -This documents the changes in control sequences for window operations that -I added in my previous patch. I'm testing another patch that allows the -user to use less memory if colors aren't needed. + <li>add control sequences for resetting the "dynamic" colors to + their default values.</li> -<H1><A NAME="xterm_19">Patch #19 - 1996/7/21 - XFree86 3.1.2Ec</A></H1> + <li>add control sequences for resetting the "special" colors to + their default values.</li> -This patch does the following: -<UL> - <LI>fixes the core dump that I reported on IRIX 5.2 (in main.c) - <P> - (it's worth noting that this bug exists in X11R6.1, so I'd like - to assume that someone's already submitted a fix to X Consortium...) + <li>add control sequences for setting the "special" colors such + as <code>colorBD</code> (bold).</li> - <LI>change the interpretation of zero rows or columns in a resize-window - request to use the root window's size (looking more carefully at - dtterm, that seems to be what it does). + <li>add overlooked case for setting highlight foreground color + with the dynamic-colors control.</li> - <LI>change some memmove calls to memcpy for slightly better performance. - also, a couple of memset calls to bzero, since Quantify says bzero runs - 20% faster, I assume because there's one less argument. + <li>add <code>OSC 104</code>, for resetting ANSI/16/88/256 + colors to default.</li> - <LI>interpret character sets 1 and 2 (so that vttest gives a reasonable - result) Both rxvt and dtterm do something equivalent. + <li>reset ANSI/16/88/256 colors to default in soft/hard reset + functions.</li> - <LI>fix a minor memory leak in the logic that retrieves the window or - icon names (Purify found this for me while I ran vttest). -</UL> + <li>strip "xft:" prefix from <code>faceName</code> and + <code>faceNameDoublesize</code> resource values,</li> -<H1><A NAME="xterm_18">Patch #18 - 1996/7/18 - XFree86 3.1.2Ec</A></H1> + <li>add <code>DECSCUSR</code> (discussion with Andy + Koppe).</li> -This implements the following: -<UL> - <LI>escape sequences that act like the CDE dtterm's window operations - (though I have implemented the default width and height -- I've seen - a rather buggy dtterm running that seems to treat width=0 or height=0 - literally -- maybe that's a feature, not a bug?) + <li>add check/warning on failure to load font, to see if the + name looks like an Xft pattern rather than XLFD. This can + happen if someone happens to modify their X resource settings + for programs that read data from xterm's namespace.</li> - <LI>minor tweak to the screen-repainting when resizing (I still cannot - entirely get rid of flicker). + <li>modify handling of <code>print</code> and + <code>print-everything</code> actions to allow the various + printer flags to be overridden by supplying parameters.</li> - <LI>still more fixes to terminfo & termcap (I corrected my error for - the hpa code and added some other stuff by comparing to ncurses' - description and rxvt's). + <li>add resource <code>printerNewLine</code> (request by Ovidiu + Gheorghioiu).</li> - <LI>a tweak to the changes by Michael Rohleder for the color translation + <li>minor cleanup, finish using <code>TScreenOf()</code> and + <code>TekScreenOf()</code> macros introduced in <a href= + "#xterm_224">patch #224</a>.</li> - <LI>re-order attribute codes to allow later implementation of protected - fields (dtterm supposedly does this; it's probably more useful than - blinking or invisible text -- that uses up all of the available bits - without changing the attribute scheme radically). -</UL> + <li>improve checks in ShowCursor/HideCursor to get the + background color, particularly when + <code>highlightReverse</code> resource is used (reports by Jan + Engelhardt, Christian Weisgerber).</li> -<H1><A NAME="xterm_17">Patch #17 - 1996/7/2 - XFree86 3.1.2Eb</A></H1> + <li>correct <code>checkVeryBoldAttr</code> to omit comparison + of foreground color to special color values used for + <code>color<XX></code> resources (report by Jan + Engelhardt).</li> -This patch implements for xterm several minor features from ISO 6429 which are -useful for terminfo applications. The HPA and VPA control sequences allow -cursor movement along a row or column, cutting down a little on the characters -transmitted. The other codes allow resetting specific graphic rendition -attributes without modifying the other attributes. + <li>make <code>colorBDMode</code> and <code>colorULMode</code> + resources work with TrueType configuration (report by Jan + Engelhardt).</li> + </ul> -(now if someone just had time to implement blinking cursors...) + <h1><a name="xterm_251" id="xterm_251">Patch #251 - + 2009/11/11</a></h1> -<H1><A NAME="xterm_16">Patch #16 - 1996/6/25 - XFree86 3.1.2Ea</A></H1> + <ul> + <li>add window-ops controls to push/pop icon and/or window + labels on a stack.</li> -Adam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks ago that I'd missed -some of the background coloring in xterm. I investigated, and found that while -I'd picked up on the clear-to-bottom and clear-to-end-of-line operations, I'd -overlooked the insert/delete lines. Just so I wouldn't overlook any more of -these, I updated a copy of vttest to test ISO colors and bce (background color -erase). This patch introduces a new function, ClearCurBackground, whose calls -replace the direct XClearArea calls that I'd overlooked. + <li>minor fixes to align termcap file with terminfo.</li> -(There's also a few compiler warnings fixed, etc ;-) + <li>add resource <code>disallowedWindowOps</code>, to allow + fine-tuning of features to suppress with the + <code>allowWindowOps</code> resource (prompted by discussion + with Bram Moolenaar).</li> -<H1><A NAME="xterm_15">Patch #15 - 1996/5/29 - XFree86 3.1.2E</A></H1> + <li>add makefile rules for resize-manpage to pdf, etc.</li> -This fixes the problem reported by David Dawes, by making the 50msec select -timeout for the Xaw3d arrow scrollbar a resource. (I made it a boolean for a -variety of reasons -- to make it a number, you'd need an additional resource, -to avoid breaking the logic). + <li>further improve limit-checks in select/paste (Mandriva + #54531).</li> + </ul> -<H1><A NAME="xterm_14">Patch #14 - 1996/5/12 - XFree86 3.1.2Dj</A></H1> + <h1><a name="xterm_250" id="xterm_250">Patch #250 - + 2009/10/13</a></h1> -This patch brings the termcap and terminfo descriptions for xterm up to date. -I made the following changes: -<UL> - <LI>reformatted the terminfo description in a single-column (this is ok - for terminfo, and will simplify future patches -- can't do that for - termcap, since it would impact buffer requirements on some systems). + <ul> + <li>add check and error-message for fonts that have no + printable values in the ISO-8859-1 range (Debian #542434).</li> - <LI>omitted obsolete features in termcap to save a little space (bs, pt) + <li>some compiler-warning cleanup, in particular workaround for + defective implementation of gcc's attribute warn_unused_result + (report by Bram Moolenaar).</li> - <LI>added color capabilities to termcap (ut, Co, NC, op, AB, AF) + <li>improve estimate of single-column width for packed TrueType + fonts by ignoring extents for codes 127 and 159.</li> - <LI>corrected some capabilities (vi, ve) + <li>improve line-drawing for TrueType fonts which happen to + have defined glyphs which are <em>not</em> line-drawing in + 0..31 by assuming they're not, and just checking the existence + of the Unicode codepoints. This makes it more likely that the + user can override a misconfigured font using the "Line-Drawing + Characters" menu entry.</li> - <LI>added 'st' (set tab) + <li>limit minimum cell-width for packed font to maximum-advance + reported by Xft. Some fonts are wider than that, even in the + Latin-1 range (Debian #550497).</li> - <LI>reduced function keys in termcap for 'xterm' to 12 because color - capabilities makes that description larger than 1023 characters. + <li>add list of direct-contributors in "THANKS" file.</li> - <LI>created new termcap name 'xtermm' (monochrome) to match the terminfo - list, and make that description have 20 function keys. + <li>stylistic changes to this file to help scripted extraction + of list of contributors.</li> - <LI>added corresponding color capabilities to terminfo (bce, colors, - pairs, op, ncv, setab, setaf) + <li>correct off-by-one in <code>okPosition</code> fix from + <a href="#xterm_249">patch #249</a> limit-checks which + prevented double-click selection on the bottom line of the + screen (reports by Rajeev V. Pillai, Debian #550368).</li> - <LI>corrected corresponding capabilities in terminfo (civis, cnorm, - rmcup, smcup) + <li>add <code>-q</code> option to + <code>vttest/256colors2.pl</code> and + <code>vttest/88colors2.pl</code> to demonstrate bulk + initialization of color palette.</li> - <LI>added capabilities (el1, hts) + <li>improve the workaround from patch #188 by enabling + resources for the 88-color model.</li> - <LI>in both, corrected home/end keys to match the code correction made - by Thomas Mueller in 3.1.2Bk + <li>document in xterm manpage the limited availability of + resources <code>color16</code> to <code>color255</code> as + noted in <a href="#xterm_188">patch #188</a> (Ubuntu + #438850).</li> + </ul> + + <h1><a name="xterm_249" id="xterm_249">Patch #249 - + 2009/10/1</a></h1> + + <ul> + <li>change default for <code>allowWindowOps</code> resource to + false. + <!-- on the other hand, gnome-terminal, pterm and rxvt-unicode + leave most of the related functionality enabled ;-) --></li> - <P>=> (I'm still considering modifying the code & description to match - the rxvt program). -</UL> + <li>add limit-checks for result of visual_width() function, + needed from <a href="#xterm_242">patch #242</a> and exposed by + #244 changes (Debian #548321).</li> + + <li>improve limit-checks in select/paste.</li> + + <li>fix a remaining bug from <a href="#xterm_230">patch + #230</a> changes for displaying multi-column characters in a + proportional font (report by Chris Jones).</li> + + <li>add new resource forcePackedFont and menu entry "Packed + Font" to control whether to use the font's minimum (default) or + maximum width when those differ. The workaround which xterm + uses to accommodate proportional fonts is not necessary with + certain fonts such as unifont which happen to store a mixture + of multicolumn glyphs (report by Chris Jones).</li> + + <li>fix an (old) bug which did not restart the timer for + blinking text if the only blinking text was temporarily + scrolled out of view, e.g., using the scrollbar.</li> + + <li>fix an (old) flaw in the delete-line operation where the + text which is scrolled into view while the display is scrolled + up was not repainted.</li> + + <li>improve delete-line and insert-line operations, retaining + selection when the selection does not intersect the + deleted/inserted lines.</li> + + <li>fix an (old) off-by-one error when an application cleared + above the cursor position while the display was scrolled up, + that would leave an extra line of text uncleared.</li> + + <li>fix a similar problem where the double-size attribute would + not be reset when clearing the screen while the display was + scrolled up.</li> + + <li>fix an indexing error which would occur if an application + cleared a line while the display was scrolled up and was also + in UTF-8 mode (Redhat #524503). The error was from <a href= + "#xterm_228">patch #228</a> but more visible after changes from + <a href="#xterm_244">patch #244</a>.</li> + </ul> + + <h1><a name="xterm_248" id="xterm_248">Patch #248 - + 2009/9/11</a></h1> + + <ul> + <li>fix an overlooked adjustment for selecting double-width + characters in the narrow-character configuration.</li> + + <li>eliminate uses of <code>XTERM_CELL</code> and + <code>XTERM_CELLC</code> where an appropriate + <code>LineData</code> pointer is available.</li> + + <li>correct expression in <code>okScrnRow</code> macro, making + selections give the length of lines below the visible screen + (report by Stuart Henderson).</li> + + <li>correct logic used to improve performance of missing-glyph + check, which did not handle line-drawing characters (Debian + #545220).</li> + </ul> + + <h1><a name="xterm_247" id="xterm_247">Patch #247 - + 2009/8/30</a></h1> + + <ul> + <li>add ifdef's and check for openpty() on DragonFly (patch by + Alex Hornung).</li> + + <li>correct calculation for size of line's data block, which + was sometimes off-by-one when configured using + <code>--enable-16bit-chars</code> (report by H Merijn + Brand).</li> + + <li>fix indexing error in print-everything feature from + <a href="#xterm_246">patch #246</a> (patch by Ovidiu + Gheorghioiu).</li> + </ul> + + <h1><a name="xterm_246" id="xterm_246">Patch #246 - + 2009/8/16</a></h1> + + <ul> + <li>remove obsolete logic for saving/restoring wrapping flags, + which did not work on 64-bit platform. Wrapping flags (stored + in the line-index) are now copied with line-data (Debian + #541160).</li> + + <li>modify comments in app-defaults files to avoid problem with + C preprocessor used by <code>xrdb</code> (Debian #541603).</li> + + <li>restore special case in <code>makeColorPair</code>, needed + for <code>colorBDMode</code> resource (Debian #541089).</li> + + <li>correct <code>SetLineFlags()</code> macro, broken in + <a href="#xterm_244">patch #244</a> when recoding to avoid + gcc-specific bitfields (Debian #541236).</li> + + <li>modify initialization of screen buffers to ensure that + pointers align to int-boundaries. This fixes a problem + introduced in <a href="#xterm_244">patch #244</a> where the + color- and character-arrays (stored after the video-attributes + in each row) might be misaligned (report by Rajeev V + Pillai).</li> + + <li>add limit-check in <code>ScrnRefresh</code> for handling + saved-lines from the circular buffer which are repainted on a + screen whose width has increased. To improve performance, + circular buffer entries are not resized (report by Rajeev V + Pillai).</li> + + <li>correct type for <code>CellColor</code> (a late change in + <a href="#xterm_244">patch #244</a> to avoid gcc-specifc enums + made that unsigned rather than unsigned short, for the + 256-color option).</li> + + <li>fix typo in configure option --enable-16bit-chars (report + by Rajeev V. Pillai).</li> + </ul> + + <h1><a name="xterm_245" id="xterm_245">Patch #245 - + 2009/8/12</a></h1> + + <ul> + <li>correct a special case in saving FIFO-lines from <a href= + "#xterm_244">patch #244</a>. If the screen was shrunk, xterm + used the wrong amount for copying to FIFO-lines, and then used + this amount to adjust the current row on the screen. That was + both a visible defect (Debian #541109) as well as a potential + addressing error (Debian #541132, #541160, and #541236).</li> + + <li>add clarification in xterm manual about the various + <code>allow<em>XXX</em>Ops</code> resources, which are disabled + when the <code>allowSendEvents</code> resource is active (patch + by Julien Cristau, Debian #531597).</li> + </ul> + + <h1><a name="xterm_244" id="xterm_244">Patch #244 - + 2009/8/9</a></h1> + + <ul> + <li>refactored storage of saved-lines, providing a configure + option to manage them as a FIFO (actually a circular buffer), + improving performance. Added configure option + <code>--enable-fifo-lines</code> to enable/disable the new + feature (it is enabled by default).</li> + + <li>added <code>fastScroll</code> resource, to amuse people who + measure terminal emulator performance by <code>cat</code>'ing + large files to the screen.</li> + + <li>modify check in <code>readPtyData</code> from return values + to provide exit on zero-bytes read from pty for FreeBSD, or + eliminate high-CPU in "xterm-hold" processing (discussion with + Ulrich Spoerlein, FreeBSD ports/136686). The check was + originally modified to combine negative/zero values in + XFree86-3.1.2E, 1996/05/06.</li> + + <li>add configure option <code>--enable-16bit-chars</code> to + provide wide-characters with 16-bits (rather than the default + 32-bits).</li> + + <li>add <code>retryInputMethod</code> resource to allow + configuring out the retries xterm uses to connect to + non-responsive XIM server, to work around defective X + configurations as noted in <a href= + "http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html"> + NetBSD mailing list</a>.</li> + + <li>make regular-expression selection work for VT100 + double-sized characters.</li> + + <li>improve layout when drawing missing characters in a + proportional font, e.g., as boxes, to take into account whether + they are double-width (report by Guilbert Stabilo on + comp.unix.shell).</li> + + <li>add capability for keypad-center (kb2/KA2) to termcap entry + for xterm-new, as well as xterm-8bit, xterm-sun and xterm-vt220 + (FreeBSD conf/136336).</li> + + <li>change default for <code>keepSelection</code> resource to + true (prompted by discussion with David Muir Sharnoff).</li> + + <li>remove a limit-check in ptydata.c, allowing Unicode values + past 64k to be displayed using TrueType fonts (Debian + #458432).</li> + + <li>remove a vt52-specific ifdef to allow mapping F1-F4 to + PF1-PF4 when vt52 support is not compiled (report by Olaf + 'Rhialto' Seibert).</li> + + <li>save/restore line-wrapping flags when converting from + ISO-8859-1 encoding to UTF-8 encoding, as well as when resizing + screen.</li> + + <li>remove extra adjustment of position in fix for Debian + #418324.</li> + + <li>modify default check for <code>mkWidth</code> resource to + check for line-drawing characters, which are categorized as + double-width in Solaris 10 (report by Sebastian Kayser).</li> + + <li>add "print-everything" action (patch by Ovidiu + Gheorghioiu).</li> + + <li>start refactoring scrollback data using new getLineData() + function.</li> + + <li>demote recent change to Debian #252873 fix to experimental, + ifdef'd out as <code>EXP_BOGUS_FG</code> (Debian #522141).</li> + + <li>work around groff mapping of ASCII quotes using macros + (requested by Reuben Thomas based on Colin Watson advice, fixes + Debian #378700).</li> + + <li>correct symbol used for default of + <code>allowWindowOps</code> which was + <code>DEF_ALLOW_FONT</code> rather than + <code>DEF_ALLOW_WINDOW</code> (report by Matthieu Herrb).</li> + + <li>amend fix for tek4014 from <a href="#xterm_243">patch + #243</a> to make it only apply to the Tek Options menu.</li> + </ul> + + <h1><a name="xterm_243" id="xterm_243">Patch #243 - + 2009/3/28</a></h1> + + <ul> + <li>revert change to default for <code>allowTcapOps</code> + (request by Bram Moolenaar).</li> + + <li>reallocate result returned by <code>xtermEnvLocale()</code> + to avoid reference to freed memory after handling + <code>menuLocale</code> resource.</li> + + <li>fix an old (X11R5) bug in tek4014 for switching + fontsizes.</li> + + <li>add resource <code>defaultString</code> to make + configurable the use of "#" when pastes of UTF-8 text fail due + to limitations in the current locale settings.</li> + + <li>make the set of selection target Atom's configurable by two + new resources <code>eightBitSelectTypes</code> and + <code>utf8SelectTypes</code>, e.g., to use the + <code>TEXT</code> Atom in preference to + <code>UTF8_STRING</code> (discussion with Stanislav Sedov + regarding koi8rxterm and the FreeBSD port).</li> + + <li>modify handling of <code>TARGETS</code> Atom by making it + return exactly the set of targets as those which xterm is + currently providing.</li> + + <li>set <code>MANPAGER</code> and <code>PAGER</code> explicitly + to /bin/cat in <code>minstall.sh</code> to work around + /etc/man.conf's with those variables already set (report by + Марьясин + Семён).</li> -<H1><A NAME="xterm_13">Patch #13 - 1996/4/23 - XFree86 3.1.2Df</A></H1> + <li>improve error-checking of tcap-query parser.</li> -This corrects my earlier changes for colors - the inner border of the xterm was -getting painted with the wrong color, since I'd moved the call to set the -background into the logic that tracks SGR information. + <li>add check for keyboard <code>tcap</code>), which ensures + that terminal descriptions containing the same string for + shifted/unshifted keys will be seen by tcap-query as only the + unshifted key. (This would only happen with an incorrect + terminal description).</li> -<H1><A NAME="xterm_12">Patch #12 - 1996/3/16 - XFree86 3.1.2Dc</A></H1> + <li>fix conversion for input event-state to modifier-parameter + which made tcap-query feature not work with + <code>tcapFunctionKeys</code> (keyboard type + <code>tcap</code>).</li> -This corrects a memory leak in xterm that happens whenever one switches fonts. + <li>add "DEF_ALLOW_<em>XXX</em>" definitions to main.h to allow + overriding the default compiled-in values for + "allow<em>xxx</em>" resources.</li> -<H1><A NAME="xterm_11">Patch #11 - 1996/3/5 - XFree86 3.1.2Db</A></H1> + <li>remove check on bell-percentage added in <a href= + "#xterm_242">patch #242</a>, which disallowed zero/negative + values (Redhat Bugzilla #487829).</li> + </ul> -This patch corrects the behavior of the ANSI colors in xterm when reverse -video is used, as well as some other lesser sins: -<UL> - <LI>button.c -<UL> - <LI>(compiler warnings: shadowing of 'time', redundant cast) -</UL> + <h1><a name="xterm_242" id="xterm_242">Patch #242 - + 2009/2/15</a></h1> - <LI>charproc.c -<UL> - <LI>renamed screen.colors[] array to screen.Acolors[] to more - easily distinguish the non-ANSI colors from the ANSI colors. + <ul> + <li>fix configure check for <code>XkbBell</code> and provide + appropriate parameter for it.</li> - <LI>moved logic of SGR_Save() into VTInitialize, getting rid of - local private variables original_fg and original_bg. + <li>fix a caching problem with double-size fonts versus reverse + video that could cause core dump.</li> - <LI>moved some logic into getXtermForeground and getXtermBackground - from SGR_Foreground, SGR_Background, etc. + <li>repair double-size fonts from workaround used in <a href= + "#xterm_240">patch #240</a>.</li> - <LI>corrected misleading 'row' to 'col' in case for CUF, CUB - sequences. -</UL> + <li>add new section to the VT Fonts menu which allows enabling + or disabling the font, termcap (tcap-query), title and window + operations.</li> - <LI>ctlseqs.ms - <LI>xterm.man -<UL> - <LI>(correct a misconception which I'd added that the color0 - through color6 resource values apply to non-ANSI colors) -</UL> + <li>add <code>fontWarnings</code> resource, to control whether + to show warnings on failure to load a font.</li> - <LI>ptyx.h -<UL> - <LI>added original_fg, original_bg to TScreen structure. -</UL> - - <LI>scrollbar.c -<UL> - <LI>(compiler warnings: redundant cast) -</UL> + <li>improve warnings for unloadable fonts introduced in + <a href="#xterm_240">patch #240</a> by limiting those to the + cases where a font would be specified directly by a resource + setting rather than a derived fontname.</li> + + <li>further amend fix for Debian #252873 from <a href= + "#xterm_197">patch #197</a> to treat a blank cell which does + not have both foreground and background colored as a + non-colored cell. This improves a special case where the cursor + is on a blank cell which had foreground color scrolled in + (report by Miroslav Lichvar). + + <p>Also add the same logic when hiding cursor, so the outline + matches the in-focus cursor.</p> + </li> + + <li>modify internals to reduce places PAIRED_CHARS() is used, + making WriteText() and ScrnWriteText() accept IChar array, as + well as providing a wrapper for drawXtermText().</li> - <LI>util.c -<UL> - <LI>new functions getXtermForeground and getXtermBackground replace - the macros GET_FG and GET_BG, with the added functionality of - checking for the reverse-video status of xterm. - - <LI>in ReverseVideo, swap the SGR foreground and background colors - also. -</UL> -</UL> - -<H1><A NAME="xterm_10">Patch #10 - 1996/2/14 - XFree86 3.1.2Cd</A></H1> - -I observed an occasional glitch in the xterm's color behavior; a clear to end -of line would get a color that had been used in a program that supposedly reset -colors. I traced this down to the way xterm was modifying colors of GC's on -the fly; it didn't restore the original color of the GC, even though it would -later be used in functions (such as ClearRight) that assumed (my error) that -the GC would have the current foreground or background color. -<P> -I fixed this by resetting the GC's colors with a new function 'resetXtermGC()', -and direct calls on SGR_Foreground/SGR_Background, as appropriate and using a -new function 'updatedXtermGC()' to encapsulate the logic that modifies the GC's -color. (I also removed some commented-out code that was trying to do this -- -the problem was a little more obscure). - -<H1><A NAME="xterm_09">Patch #9 - 1996/2/10 - XFree86 3.1.2Cb</A></H1> - -This patch fixes the remaining problems that I had making xterm run with x11r5, -as well as a couple of other bugs. It follows my patch from yesterday, that -added ifdef's for some of the input-method resources. -<UL> - <LI>corrected ifdef's that suppress the input-method code (doesn't - exist in my x11r5, and xterm works adequately without it). - - <LI>corrected fallback definition for 'Select()' macro (oops: I'd - copied the wrong text...) - - <LI>moved the declarations for the fd_set variables to data.[ch] - - <LI>corrected an ifdef in resize.c (sunos 4.x doesn't have termcap.h) - - <LI>corrected (in main.c) some unused/orphaned variables. -</UL> - -<H1><A NAME="xterm_08">Patch #8 - 1996/2/9 - XFree86 3.1.2Cb</A></H1> - -This is mostly a documentation patch for xterm. It describes the color control -sequences in more detail, and documents some other features of xterm that -aren't described elsewhere. -<P> -I've also added a couple of ifdef's to fix (part of) the problem that I'm -working on (making the program work properly on x11r5, where I'm doing memory -testing -- I have a "good" version from mid-January, but my resync version -doesn't work properly on x11r5). I'm not done with <EM>that</EM> yet. - -<H1><A NAME="xterm_07">Patch #7 - 1996/1/28 - XFree86 3.1.2n</A></H1> - -I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've got an S3 card. -<P> -This fixes the following in the 3.1.2n xterm: -<UL> - <LI>initialize cur_foreground, cur_background in charproc.c (Purify - told me they weren't initialized). - - <LI>add interpretation of codes 39, 49, to reset background and - foreground to default value (I'm told that ISO 6429 does this; but I - don't have a written reference -- yet -- can anyone help here?). - Anyway, rxvt does it, and it'll solve my remaining color management - problems. - - <LI>shadowing of 'time' in menu.c - - <LI>'Cardinal' vs 'int' in scrollbar.c - - <LI>several changes to permit compile with X11R5 (the system that I've - got Purify on won't be upgraded to X11R6 for a long time). -</UL> -<P> -I built this version (with a minor nit that I'll patch soon) on SunOS 4.1.3 so -that I can test it some more with Purify. -<P> -<EM>btw</EM>: -the changes made in Xpoll.h won't work on some older systems, because - fd_set isn't a defined type (I've got one machine at least that this - applies to). - -<H1><A NAME="xterm_06">Patch #6 - 1996/1/8</A></H1> - -This patch does all of the SGR foreground/background fixes (i.e., clearing the -screen after an SGR color is set causes that color to be used in the foreground -and/or background). If the FG_COLOR and/or BG_COLOR flags aren't set, then the -xterm foreground and background default to the window's values. This usage is -consistent with various types of hardware (especially the IBM PC), and is also -used in rxvt. -<UL> - <LI>charproc.c: -<UL> - <LI>add/use new macros GET_FG, GET_BG - n/c. - - <LI>add/use new functions SGR_Foreground() and SGR_Background() - to set corresponding colors in GC's, and to retain sense of - "original" colors. - - <P> - => This makes redundant some of the corresponding logic - in HideCursor to set the foreground and background, - but I left it in since it <EM>may</EM> be fixing an unrelated - requirement. - - <LI>set GC's in LoadNewFont() according to whether the SGR fg/bg - colors are active. - - <P> - => This fixes some glitches in the accompanying resize, - that leaves parts of the window in the original - background color. -</UL> - - <LI>screen.c: -<UL> - <LI>modified ClearBufRows() to use the SGR fg/bg colors if - they're set. - - <LI>added function ScrnClearLines(), used this to replace - portions of ScrnInsertLine() and ScrnDeleteLine(). - The new function uses the SGR fg/bg colors if they're - set. - - <P> - => Otherwise, selection after an index or reverse index will - paint the wrong colors. - - <LI>modified ScrnDeleteChar() and ScrnInsertChar() - to use SGR fg/bg colors. -</UL> - - <LI>util.c: -<UL> - <LI>modified ClearRight() so that if either of the SGR fg/bg - colors is set, we don't bzero the attributes and color - arrays, but instead fill them with the appropriate codes. - - <LI>modified ClearLeft to use SGR fg/bg colors. -</UL> -</UL> - -<H1><A NAME="xterm_05">Patch #5 - 1996/1/7</A></H1> - -This patch modifies the object code, by replacing indexing expressions with -temporary variables with the full indexing expression. At first glance, this -seems inefficient (it did to me ;-), until remembering comments made in the -compilers newsgroups that trying to "help" the compiler doesn't really work -that well. A good optimizing compiler can do a better job than the programmer -can. (There's a moral in the use of 'register' variables also, but I won't fix -those...). -<P> -Anyway, the revised code generates a smaller object... -<UL> -<LI>charproc.c: -<UL> -<LI>recode index expressions in ShowCursor() and HideCursor() - using SCRN_BUF_xxxxS macros - changes object. - -<LI>replace constant '4' by MAX_PTRS - n/c. -</UL> - -<LI>ptyx.h: -<UL> -<LI>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS - macros, to pick up references to ScrnBuf data directly, and - added MAX_PTRS symbol to pick up those '4' constants strewn - about the code - n/c. -</UL> - -<LI>screen.c: -<UL> -<LI>recode index expressions in ScreenWrite() using - SCRN_BUF_xxxxS macros - changes object. - -<LI>replace constant '4' by MAX_PTRS - n/c. - -<LI>use macros BUF_CHARS, BUF_ATTRS - n/c. - -<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c -</UL> - -<LI>scrollbar.c: -<UL> -<LI>replace constant '4' by MAX_PTRS - n/c. - -<LI>cast calloc to 'Char *' to fix compiler warning on IRIX - n/c -</UL> -</UL> - -<H1><A NAME="xterm_04">Patch #4 - 1996/1/7</A></H1> -When setting up for this phase, I saw that you'd corrected the bug that I found -in ClearLeft. I decided to make this series of patches anyway, since -readability never hurt (and there's the potential for finding another bug while -reviewing this set). -<UL> -<LI>button.c: -<UL> -<LI>use SCRN_BUF_xxxxS macros - n/c -</UL> -<LI>charproc.c: -<UL> -<LI>use SCRN_BUF_xxxxS macros - n/c -</UL> -<LI>ptyx.h: -<UL> -<LI>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, - SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four - arrays that are derived from screen->buf. -</UL> -<LI>screen.c: -<UL> -<LI>use SCRN_BUF_xxxxS macros - n/c -</UL> -<LI>util.c: -<UL> -<LI>use SCRN_BUF_xxxxS macros - n/c -</UL> -</UL> -<H1><A NAME="xterm_03">Patch #3 - 1996/1/7</A></H1> - -This is my third (and final cleanup) patch for xterm. It gets rid of the -unused stuff, and converts several functions to static (thereby reducing their -scope). -<P> -At this point, the only compile warnings I've got (on Linux) are those about -the select arguments (int vs fd_set type), and a missing declaration for -waitpid. Those both are hard to get right without autoconfigure. -<P> -The next patches will address the functional changes... -<UL> -<LI>Tekproc.c: -<UL> -<LI>changed several functions to 'static' that aren't used -outside this module -- changes object -</UL> -<LI>charproc.c: -<UL> -<LI>changed several functions to 'static' that aren't used -outside this module -- changes object -<LI>deleted unused function unparsefputs -- changes object. -</UL> -<LI>main.c: -<UL> -<LI>changed several functions to 'static' that aren't used -outside this module -- changes object -<LI>ifdef'd out unused function 'consolepr()' -- changes object -<LI>removed unused variable 'dummy_tio' -- changes object -<LI>moved variable 'discipline' to quiet unused-warning -- changes object -</UL> -<LI>main.h: -<UL> -<LI>deleted unused definition of DEFBORDERWIDTH - n/c -</UL> -<LI>misc.c: -<UL> -<LI>changed several functions to 'static' that aren't used -outside this module -- changes object -<LI>provide dummy return statements for xerror and xioerror to -quiet compiler warnings -- changes object -</UL> -<LI>ptyx.h: -<UL> -<LI>change sbuf_address and abuf_address to 'Char *' - n/c -</UL> -<LI>resize.c: -<UL> -<LI>changed several functions to 'static' that aren't used outside this module --- changes object -</UL> -<LI>screen.c: -<UL> -<LI>remove unnecessary 'Char **' casts - n/c -</UL> -<LI>util.c: -<UL> -<LI>changed several functions to 'static' that aren't used outside this module --- changes object -</UL> -</UL> -<H1><A NAME="xterm_02">Patch #2 - 1996/1/7</A></H1> -This is my second patch to xterm. It corrects most of the gcc warnings (except -for some that are due to X header files ;-). I compared objects to keep track -of the changes that don't affect the object code (n/c) versus those that do. -<P> -At this point, I'm compiling (fairly) clean with gcc options -<PRE> - -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs -</PRE> -(I also compiled with -Wshadow, but while that found some things that I wanted -to find, there's far too many warnings from the X headers to be usable in this -context). -<P> -The changes: -<UL> -<LI>Tekproc.c: -<UL> -<LI>parenthesized expression to avoid gcc warning -- n/c. - -<LI>corrected nested-extern declaration for Bool - waiting_for_initial_map; ourTopLevelShellArgs, and - number_ourTopLevelShellArgs - n/c - -</UL> -<LI>charproc.c: -<UL> -<LI>corrected potentially-unintialized variables 'scstype', 'xim', - and 'input_style' -- changes object. - -<LI>adjusted logic of VTparse so that gcc won't warn about setjmp - clobbering parsestate -- changes object. - -<LI>corrected initialization of 'scstype', which could have been - clobbered by setjmp/longjmp - changes object. - -<LI>corrected nested-extern declaration of 'term', 'ProgramName' - - n/c -</UL> - -<LI>cursor.c: -<UL> -<LI>corrected nested-extern declaration of 'term' -- n/c - -<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c -</UL> - -<LI>input.c: -<UL> -<LI>change interface of StringInput to assume size_t (i.e., - unsigned) nbytes -- changes object. - -<LI>change interface of funcvalue, and sunfuncvalue to use - 'KeySym' type instead of 'int' - changes object. -</UL> - -<LI>main.c: -<UL> -<LI>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h - n/c - -<LI>corrected missing params of 'do_hangup()' -- changes object - (note: the missing params were not used). - -<LI>corrected missing param of 'Error()' -- changes object - -<LI>corrected nested-extern 'environ' - n/c - -<LI>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' so - that gcc can see they won't be clobbered by the longjmp - - changes object. - -<LI>use Size_t type - n/c. -</UL> - -<LI>menu.c: -<UL> -<LI>removed redundant prototype for 'do_hangup()' -- n/c. - -<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c -</UL> - -<LI>menu.h: -<UL> -<LI>renamed 'time' parameters to avoid gcc -Wshadow warning - n/c -</UL> - -<LI>misc.c: -<UL> -<LI>corrected definition of 'HandleFocusChange()' -- changes - object - -<LI>cast parameters in call to 'TekExpose()' -- n/c - -<LI>corrected nested-extern declarations of 'term', 'toplevel', - ProgramName, and 'environ' -- n/c. - -<LI>use Size_t type - n/c. -</UL> - -<LI>proto.h: -<UL> -<LI>moved definition of SIGNAL_T (and SIGNAL_RETURN) here from - main.c, resize.c to allow use of this symbol in prototypes - (mostly in xterm.h). - -<LI>added definition 'Size_t' to use as corrected type for - strncpy, malloc sizes - n/c. -</UL> - -<LI>resize.c: -<UL> -<LI>moved SIGNAL_T definition to proto.h -- n/c. - -<LI>use Size_t type - n/c. -</UL> - -<LI>screen.c: -<UL> -<LI>use Size_t type - n/c. -</UL> - -<LI>tabs.c: -<UL> -<LI>corrected nested-extern declaration of 'term' -- n/c -</UL> - -<LI>util.c: -<UL> -<LI>corrected/supplied parameters to 'TekExpose()' -- changes - object (note: 'TekExpose()' doesn't use its parameters). - -<LI>corrected nested-extern declaration of - 'waiting_for_initial_map' -- n/c. - -<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c -</UL> - -<LI>xterm.h: -<UL> -<LI>prototype 'do_hangup()', 'HandleFocusChange()', - 'TekExpose()', 'Error()', 'Exit()' - forces changes in - various places. - -<LI>adjusted prototypes that pass 'Boolean' arguments to use - 'int' (this is the "correct" ANSI approach to extended - compiles; it's worth mentioning that gcc doesn't meet the - ANSI spec here). I used gcc -Wconversion to find these, but - there's a lot of unrelated warnings that are due to setting - NARROWPROTO in the config - n/c. - -<LI>renamed 'term' parameters to avoid gcc -Wshadow warning - n/c -</UL> -</UL> -<H1><A NAME="xterm_01">Patch #1 - 1996/1/6</A></H1> -This is my first cleanup patch for xterm. It addresses all of the gcc warnings -for -Wall, -Wmissing-prototypes and -Wstrict-prototypes that I can change -without modifying the object code. (I'm compiling this with gcc 2.7.0 for an -aout target, which makes it simple to compare objects. When I do ELF-only, -I've got a tool that compares that sort of thing as well). -<P> -Briefly, this patch adds (and uses) two header files in the xterm directory: -<PRE> - proto.h - xterm.h -</PRE> -I expect this to be the biggest patch by far. However (barring a misplaced -prototype), it shouldn't break anything, since the intent of the patch is to -provide missing declarations. -</BODY> -</HTML> + <li>change default XIM font from "*" to "fixed" to improve + startup time in zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla + #464930).</li> + + <li>typo in #240 log (Slava Semushin)</li> + </ul> + + <h1><a name="xterm_241" id="xterm_241">Patch #241 - + 2009/1/26</a></h1> + + <ul> + <li>improve checks for missing bitmap fonts, fallback to + "fixed" as needed to work around broken font-packages (report + by Jacek Luczak).</li> + + <li>fix breakage from <a href="#xterm_240">patch #240</a> + changes for <code>xtermAddInput()</code> (patches by Jeff Chua, + Julien Cristau).</li> + </ul> + + <h1><a name="xterm_240" id="xterm_240">Patch #240 - + 2009/1/25</a></h1> + + <ul> + <li>use <code>plink.sh</code> for linking xterm (suggested by + Larry Doolittle).</li> + + <li>add resource descriptions for input method to xterm + manpage.</li> + + <li>update configure script; consistently append to $CFLAGS + rather than prepend.</li> + + <li>add <code>install-scripts</code> rule to makefile, to allow + koi8rxterm and uxterm scripts to be altered independently of + <code>install-bin</code></li> + + <li>add <code>-maximized</code> command-line option and + corresponding resource (prompted by alt.os.linux newsgroup + comment).</li> + + <li>modify translations of scrollbar widget using + <code>xtermAddInput()</code> (see <a href="#xterm_181">patch + #181</a>) to accept the actions that the vt100 widget accepts, + such as shift-insert to perform a paste operation (request by + Martin Zwickel).</li> + + <li>change default for <code>allowTcapsOps</code> resource to + false, since it causes unexpected behavior for vim users with + <code>AltGr</code>.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_239" id="xterm_239">Patch #239 - + 2009/1/8</a></h1> + + <ul> + <li>correct a cast in input.c, which broke translation of + numeric keypad codes to pageup, pagedown, etc., on 64-bit + platform (Debian #511138, report by Larry Doolittle).</li> + </ul> + + <h1><a name="xterm_238" id="xterm_238">Patch #238 - + 2008/12/30</a></h1> + + <ul> + <li>update configure macro CF_XOPEN_SOURCE for AIX 6.x and Mint + platforms.</li> + + <li>reset the screen wrapping-flag at the end of + <code>ClearRight</code> to fix an occasional case where the + last character of a scrolled and wrapped line would be cleared + (patch by Joe Peterson).</li> + + <li>modify to use POSIX coding for comparing resource settings + such as <code>locale</code>, to work with locales such as + Turkish (report by M Vefa Bicakci).</li> + + <li>turn on configure <code>paste64</code> feature by default + (request by Jean-Philippe Bernardy). It is runtime + enabled/disabled with <code>allowWindowOps</code>.</li> + + <li>turn on configure <code>tcap-query</code> feature by + default, add resource <code>allowTcapOps</code> to make this + runtime enabled/disabled.</li> + + <li>make <code>OSC 3</code> (change X property, from <a href= + "#xterm_110">patch #110</a>) subject to + <code>allowWindowOps</code> resource.</li> + + <li>make VT220 <code>DSR</code> responses inactive in + VT100-mode.</li> + + <li>make <code>DECUDK</code> feature inactive in + VT100-mode.</li> + + <li>respond to incorrectly formatted <code>DECRQSS</code> with + a cancel.</li> + + <li>add <code>allowFontOps</code> resource to allow the + fontsize-switching and font query/set control sequences to be + enabled/disabled (prompted by Debian #510030).</li> + + <li>some code cleanup based on gcc 4.x + <code>-Wconversion</code> warnings in button.c and + charproc.c</li> + + <li>modify <code>tcap-query</code> feature to not return data + for shifted cursor-keys when the keyboard type is set to vt220, + since returning the same string for shifted/unshifted keys may + confuse some applications (GenToo #212546).</li> + </ul> + + <h1><a name="xterm_237" id="xterm_237">Patch #237 - + 2008/09/14</a></h1> + + <ul> + <li>improve usability of TrueType fonts by making the font-size + switching for shifted keypad plus/minus use the + <code>faceSize</code> resources to determine the order of fonts + (when TrueType fonts are used) rather than the bitmap fonts, + since their sizes may not be in the same order (report by H + Merijn Brand)</li> + + <li>remove an optimization of <code>ConfigureNotify</code> + events from <a href="#xterm_236">patch #236</a> which seems to + interfere with passing <code>SIGWINCH</code> to applications + (GenToo #233836).</li> + + <li>modify handling of <code>altSendsEscape</code> to reset the + <code>eightBitInput</code> mode, like + <code>metaSendsEscape</code> (patch by Ted Phelps).</li> + + <li>add feature to show the text-cursor as an underline rather + than a box, plus command-line options <code>-uc</code> and + <code>+uc</code> and resource <code>cursorUnderLine</code> to + control the feature (patch by Paul Lampert).</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_236" id="xterm_236">Patch #236 - + 2008/07/27</a></h1> + + <ul> + <li>correct memory reallocation when handling a paste of UTF-8 + text from <a href="#xterm_225">patch #225</a> changes + (report/patch by Max Mikhanosha).</li> + + <li>correct allocation of temporary buffer in + <code>xtermFindShell</code> in case the user's + <code>$PATH</code> contains no ":" (report/analysis by Victor + Stinner, Freedesktop.Org Bugzilla #16790).</li> + + <li>modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to + fix new compile problem exposed by fix for fd_mask (patch by + Hasso Tepper).</li> + + <li>add configure-check for ncurses + <code>use_extended_names</code>, (report by Martin + Mokrejs).</li> + + <li>correct computation for toolbar height; layout manager + already takes into account <code>borderWidth</code> + resource.</li> + + <li>implement VT320-style SCS (select character set) for ISO + Latin-1 supplemental.</li> + + <li>fixes for vt100-style character sets in UTF-8 mode (Ubuntu + #230919).</li> + + <li>fix to make <code>luit</code> work with xterm's + <code>-ls</code> option (report/patch by Marius Tolzmann).</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_235" id="xterm_235">Patch #235 - + 2008/04/20</a></h1> + + <ul> + <li>add control sequences for some of the recent resource/menu + settings: + + <ul> + <li><code>altSendsEscape</code> (private mode 1039)</li> + + <li><code>keepSelection</code> (private mode 1040)</li> + + <li><code>selectToClipboard</code> (private mode 1041)</li> + + <li><code>bellIsUrgent</code> (private mode 1042)</li> + + <li><code>popOnBell</code> (private mode 1043)</li> + </ul> + </li> + + <li>add resource <code>formatOtherKeys</code> to provide an + alternate escape sequence format for the + <code>modifyOtherKeys</code> resource (request by Paul LeoNerd + Evans).</li> + + <li>adjust saved-cursor position if the window is resized while + displaying the alternate screen (Novell #196880, Debian + #383384).</li> + + <li>improve pointer-checks to fix a bug exposed by resizing + during initialization under StumpWM window manager (Fedora + Bugzilla #437928).</li> + + <li>modify <code>unselectwindow()</code> to ensure that the + mouse pointer is not hidden after xterm loses focus (report by + Jeremy Huddleston).</li> + + <li>add special check for fd_mask on Mac OS X (report by Jeremy + Huddleston).</li> + + <li>add <code>dylib</code> to autoconf's suffix list used for + checking the result from <code>xmkmf</code>, to work with Mac + OS X (report by Jeremy Huddleston).</li> + + <li>correct initialization of bold- and wide-, wide-bold fonts + which may be set via the <code>utf8Fonts</code> subresource + (Debian #347790).</li> + </ul> + + <h1><a name="xterm_234" id="xterm_234">Patch #234 - + 2008/03/02</a></h1> + + <ul> + <li>modify <code>sinstall.sh</code> to use POSIX locale to + bypass GNU ls changes to date-format.</li> + + <li>improved/refined changes for closing bitmap font (patch by + Andrea Odetti).</li> + + <li>improve resize computation for situations where the + negotiation fails, by invoking the xterm widget's core-class + resize method (Debian #365602, patch by Jim Paris).</li> + + <li>restore initialization of terminal's <code>VMIN</code> and + <code>VTIME</code> settings, from <a href="#xterm_232">patch + #232</a> changes (patch by Matthieu Herrb).</li> + </ul> + + <h1><a name="xterm_233" id="xterm_233">Patch #233 - + 2008/02/24</a></h1> + + <ul> + <li>add configure check for <code>ttydefaults.h</code>, include + if needed, e.g., for systems where defining + <code>_POSIX_C_SOURCE</code>, etc., prevents it from being + included via <code>termios.h</code> (prompted by comments by + Robert Delius Royar and Jeremy Huddleston).</li> + + <li>bug-fixes for bugs.opensolaris.org (patches from Alan + Coopersmith) + + <dl> + <dt>4029911</dt> + + <dd>fix a typo in manpage</dd> + + <dt>4045962</dt> + + <dd>xterm doesn't properly set ut_syslen</dd> + + <dt>4192572</dt> + + <dd>left-left-right misinterpreted as triple click</dd> + </dl> + </li> + + <li>minor optimization to tab-initialization (patch by + Németh Márton).</li> + + <li>fix a case where an incorrect font was freed during + initialization from <a href="#xterm_232">patch #232</a> changes + (patch by Andrea Odetti).</li> + + <li>improve comparison used in <code>SameFont</code> function + for GC-caching (Julien Cristau).</li> + + <li>correct macro name used for default <code>CKILL</code> + definition to work with Mac OS X (report by Jeremy + Huddleston).</li> + </ul> + + <h1><a name="xterm_232" id="xterm_232">Patch #232 - + 2008/01/30</a></h1> + + <ul> + <li>corrected logic in a font-cache used for reverse-video + (Debian #404079).</li> + + <li>add control sequence to alter <code>pointerMode</code> at + runtime.</li> + + <li>add limit-checks for rectangle operation parameters (report + by Martin Pirker).</li> + + <li>modify <code>minstall.sh</code> to suppress + <code>$MANPAGER</code> and <code>$PAGER</code> environment + variables, which may interfere with redirecting output of + <code>man</code> to a shell variable (report/patch by Zdenek + Sekera).</li> + + <li>do not try to hide mouse pointer in the tek4014 window, + fixes broken "-t" option at startup from <a href= + "#xterm_230">patch #230</a> changes (report by Robert K. + Nelson).</li> + + <li>correct datatype used when drawing tek4014 data using xterm + compiled for wide-characters, on big-endian machines (reports + by Jeremy Huddleston, Harald Hanche-Olsen, Martin Costabel, + Merle Reinhart).</li> + + <li>modify to cache the font-names along with the bitmap font + data, to improve comparison of fonts.</li> + + <li>modify to allow building with configure options + <code>--disable-ansi-color</code> and + <code>--disable-leaks</code> (Debian #459817, report/patch by + Németh Márton).</li> + + <li>modify to allow building with configure options + <code>--enable-wide-chars</code> and + <code>--disable-c1-print</code> (Debian #459816, report/patch + by Németh Márton).</li> + + <li>add <code>pointerMode</code> resource to control whether + and when the pointer cursor is hidden as the user types.</li> + + <li>simplify initialization of ttyMode- and related characters + using a table.</li> + + <li>modify initialization-logic for stty values that correspond + to ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, + rprnt flush, werase, lnext). These were reset to constants for + both termios and legacy interfaces immediately after asking the + system for the existing values since X11R6.1, rather than using + them to provide inherited values. While the legacy interface + has some constraints, e.g., on HPUX, the POSIX or termios + interface should not. Your shell may reset these anyway + (prompted by patch by Ed Schouten).</li> + + <li>improve logic for hiding/displaying pointer-cursor (report + by Mark Brukhartz).</li> + + <li>add limit-checks to tabs.c, increase maximum column for + setting tab-stops from 320 to 1024 (report by Németh + Márton).</li> + + <li>correct length, i.e., number of types of selection targets, + computed by <code>ConvertSelection()</code> when not handling + wide characters for the <code>XA_TARGETS()</code> case. This + leaves an extra Atom on the end of the list which is not + handled by <a href= + "http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6322854">Java + applications</a>. The problem was introduced in <a href= + "#xterm_151">patch #151</a> (report by David Wood).</li> + </ul> + + <h1><a name="xterm_231" id="xterm_231">Patch #231 - + 2008/01/05</a></h1> + + <ul> + <li>undo change to <code>getXtermCell()</code> from patch #230 + using <code>PACK_PAIR</code> macro (Debian #459014, analysis by + Caetano Jimenez Carezzato).</li> + + <li>minor documentation fixes (patch by Slava Semushin)</li> + + <li>add makefile actions to install KOI8RXTerm app-defaults + file (patch by Julien Cristau).</li> + </ul> + + <h1><a name="xterm_230" id="xterm_230">Patch #230 - + 2007/12/31</a></h1> + + <ul> + <li>add <code>quietGrab</code> resource, which when true, + suppresses cursor repainting when <code>NotifyGrab</code> and + <code>NotifyUngrab</code> event types are received during + change of focus (request by Nicolas George).</li> + + <li>do not treat Unicode BIDI control characters as combining + characters (Debian #457634).</li> + + <li>add <code>koi8rxterm</code>, from Debian.</li> + + <li>add manpage for <code>uxterm</code>, from Debian (Ubuntu + #128136, Debian #438645)</li> + + <li>remove ".xpm" suffixes from Icon filenames in desktop files + since it confuses some lookups following the <a href= + "http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html"> + Icon Theme Specification</a> (report by Slava Semushin)</li> + + <li>correct width-calculation used for adjusting proportional + fonts, to work with wide-characters (Debian #441354).</li> + + <li>fixes/improvements for double-size characters: + + <ul> + <li>correct old clipping calculation which used total + height of glyphs where ascent was needed.</li> + + <li>if bold font is unavailable, fall back to normal + font</li> + + <li>adjust to "work" with Xft (which does not support + double-width single-height characters).</li> + + <li>restore reset of doublesize for a line when it is + cleared, broken in <a href="#xterm_228">patch + #228</a>.</li> + </ul> + </li> + + <li>modify logic for <code>forceBoxChars</code> resource when + using TrueType fonts to be consistent with bitmap fonts</li> + + <li>modify logic for <code>forceBoxChars</code> resource to + make the "Line-Drawing Characters" menu entry use xterm's + line-drawing characters even asked to draw wide line-drawing + characters which are available in the font.</li> + + <li>modify rectangle-support functions to preserve colors when + filling/erasing to match WRQ Reflection behavior (request by + Enzo Toscano).</li> + + <li>add getopt-parsing to tcapquery.pl, including feature to + test the extended cursor/editing keys.</li> + + <li>make missing double-width glyphs display as double-width + (Debian #456236).</li> + + <li>change <code>tcap-fkeys</code> and <code>rectangles</code> + configure options to enable them by default.</li> + + <li>hide the mouse pointer while user is typing (request by + Rodolfo Borges).</li> + + <li>extend configure options <code>--enable-tcap-query</code> + and <code>--enable-tcap-fkeys</code> to send cursor- and + editing-keypad keys modified according to the keyboard (or + termcap) selection for shift, alt, control, meta.</li> + + <li>modify <code>kdch1</code> in termcap, e.g., + <code>xterm-r6</code> to match the terminfo file.</li> + + <li>add <code>-hm</code> option to turn + <code>highlightColorMode</code> on or off.</li> + + <li>add <code>highlightColorMode</code> resource to separate + the new (since <a href="#xterm_225">patch #225</a>) + highlighting with both text- and background-colors (prompted by + report/example by Thomas Wolff).</li> + + <li>add <em>Keep Selection</em> menu entry to turn the + <code>keepSelection</code> resource on/off at runtime.</li> + + <li>add <code>keepSelection</code> resource, which when + enabled, tells xterm to retain the X selection even after it + stops highlighting it (patch by Sergey Vlasov).</li> + + <li>extend the <code>CSI > n</code> sequence to + allow disabling all types of modified-keys that the + <code>CSI > m</code> sequence affects.</li> + + <li>move include for <code><xtermcap.h></code> in + <code>resize.c</code> to avoid redefinition of + <code>termios</code> structure on OpenSolaris (report by Rahul + Gopinathan Nair).</li> + + <li>extend terminfo building blocks for modified editing keys + to include all six keys.</li> + + <li>synchronize terminfo with ncurses (report by Stephane + Chazelas) + + <ul> + <li>equate <code>xterm-xfree86</code> and + <code>xterm-xf86-v44</code>.</li> + + <li>add ncurses extensions OTbs, AX, for termcap + conversions.</li> + + <li>make old/legacy entries such as <code>xterm-24</code>, + <code>xterm-65</code> and aliases <code>xterms</code>, + <code>vs100</code> inherit from + <code>xterm-old</code>.</li> + + <li>make <code>xterm-r5</code> and <code>xterm-r6</code> + the same, ignoring historical errors in X Consortium's + version.</li> + </ul> + </li> + + <li>fix an ifdef in logic for selecting regular expressions + while in a narrow-character locale (Debian #449227).</li> + </ul> + + <h1><a name="xterm_229" id="xterm_229">Patch #229 - + 2007/8/12</a></h1> + + <ul> + <li>override locale in minstall.sh; change in <a href= + "#xterm_226">patch #226</a> does not work in UTF-8 locale + (report by Zdenek Sekera).</li> + + <li>undo an incorrect fix for a memory leak in <a href= + "#xterm_209">patch #209</a> (Debian #435858).</li> + </ul> + + <h1><a name="xterm_228" id="xterm_228">Patch #228 - + 2007/7/22</a></h1> + + <ul> + <li>modify configure script to permit combining + <code>--with-utempter</code> and <code>--enable-setuid</code>, + e.g., for using xterm with the utempter library on FreeBSD + (report by Andriy Gapon).</li> + + <li>modify "Quit" menu entry to override the <code>-hold</code> + command-line option.</li> + + <li>add a check in the startup error-reporting to avoid writing + to pipe when it has not been opened. In that case, report + errors directly to the standard error.</li> + + <li>add OPT_READLINE definition to xtermcfg.hin, overlooked in + <a href="#xterm_205">patch #205</a> (report by Kalle Olavi + Niemitalo).</li> + + <li>modify <code>88colors2.pl</code> and + <code>256colors2.pl</code>, adding <code>-r</code> option to + reverse the palettes for the extended colors.</li> + + <li>check for partial overwrite or deletion of multi-column + characters in several cases, e.g., insert-character, + delete-character, etc., and fill the remainder of the cells + used by the multi-column characters affected with blanks.</li> + + <li>correct character-class codes in wide-character mode for + characters 215, 247 (see also <a href="#xterm_165">patch + #165</a>).</li> + + <li>fix missing assignment for UTF-8 parsing in widget + initialization (Debian #403360).</li> + + <li>correct index expression used to set line-wrapping flag, + making selection from scrollback work consistently (Debian + #430121, report by Vincent Lefevre).</li> + + <li>amend changes to handshake in <a href="#xterm_226">patch + #226</a> to accommodate Solaris, which relies on the extra + setting of the terminal size after I/O initialization. Do this + by adding new resource <code>ptySttySize</code>, which is false + for Linux and MacOS X, i.e., true for for Solaris and other + SVR4 platforms, as well as FreeBSD (reports by David Wood, + Renato Botelho).</li> + + <li>check for X events after cursor-left, and carriage return, + consistent with indexing operations (comments by Vegard Nossum + and Ingo Molnar on a mailing-list).</li> + + <li>initialize the <code>.keyboard</code> structure, needed for + some platforms (such as Solaris) after <a href= + "#xterm_227">patch #227</a> fixes for keysyms (patch by David + Wood).</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_227" id="xterm_227">Patch #227 - + 2007/6/27</a></h1> + + <ul> + <li>exclude the Intel compiler from the extra gcc warning + options added in <a href="#xterm_226">patch #226</a>.</li> + + <li>modify change for Debian #422521 from <a href= + "#xterm_226">patch #226</a> to work with configurations where + the X server does not recognize the <code>XF86Paste</code> or + <code>SunPaste</code> keysyms (report by Paolo Pumilia).</li> + + <li>fix incorrect free in fix for "Selection" menu entry in + <a href="#xterm_226">patch #226</a>.</li> + </ul> + + <h1><a name="xterm_226" id="xterm_226">Patch #226 - + 2007/6/17</a></h1> + + <ul> + <li>add configure check to use + <code>-Wno-unknown-pragmas</code> for Solaris, and a few other + new gcc warning options to address regressions in its warning + options.</li> + + <li>add sample desktop and icon files, along with configure + options for manipulating them.</li> + + <li>fix an infinite loop when showing a 2-column character in a + 1-column screen (Debian #426863).</li> + + <li>add <code>XF86Paste</code> and <code>SunPaste</code> to the + default translations (Debian #422521, patch by Bernhard R + Link).</li> + + <li>update wcwidth.c (partly based on/prompted by mailing list + comment).</li> + + <li>update/improve keysym2ucs.c based on Unicode 5.0.1d3 and + Xorg 7.1 keysymdef.h file.</li> + + <li>improve <code>gen-pc-fkeys.pl</code>, making it show all of + the building-block terminfo entries used by xterm.</li> + + <li>correct strings used for modifiers applied to F1-F4 in + xterm+pcf1 terminfo entry.</li> + + <li>improve session management by adding the ICE connection + number to the <code>select</code> call rather than waking up + once per second (patch by Miroslav Lichvar).</li> + + <li>add environment variable <code>$XTERM_LOCALE</code> to help + with shell initialization, e.g., to set a specific locale for + xterm on systems where a global locale is set in the shell + startup scripts.</li> + + <li>add resource settings <code>mkSampleSize</code> and + <code>mkSamplePass</code> to modify the <code>mkWidth</code> + added in <a href="#xterm_201">patch #201</a>. In <a href= + "#xterm_202">patch #202</a>, xterm would also check if the + system's <code>wcwidth</code> matched its built-in tables "well + enough" to be used when <code>mkWidth</code> was false, and if + not would use the built-in tables anyway. These resources allow + the user to customize the decision (prompted by comments by + Emanuele Giaquinta)</li> + + <li>modify logic which resets/updates the screensize on the + child process side of the pseudo-terminal to do this only if a + successful handshake was received, e.g., as determined by the + <code>waitForMap</code> resource (prompted by reports by + Emanuele Giaquinta and Bernhard R Link, but see also <a href= + "#xterm_177">patch #177</a> and <a href="#xterm_159">patch + #159</a>.</li> + + <li>improve permissions logic when closing pseudo-terminal + (Debian #12261, patch by Nathanael Nerode, analysis by Richard + Braakman).</li> + + <li>add resource <code>highlightReverse</code> which controls + whether xterm will allow selection highlighting to hide + reverse-video or use the older behavior which inverts the + foreground and background colors when selected text with + reverse-video attribute (report by Adam M Costello, comments by + Victor Vaile).</li> + + <li>restore a special case for cursor-color in + <code>ReverseVideo()</code> lost in rewrite for <a href= + "#xterm_224">patch #224</a> (report by Adam Sulmicki).</li> + + <li>correct initialization for menu entry for + <code>bellIsUrgent</code> (patch by Emanuele Giaquinta).</li> + + <li>correct length of underlining for double-width Xft fonts + (report by Shidai Liu "Leo").</li> + + <li>correct clipping for double-width Xft fonts (report by + Shidai Liu "Leo").</li> + + <li>modify initialization for <code>italicULMode</code> to + avoid <code>XftPatternBuild</code> reusing bold attributes + (report by Shidai Liu "Leo").</li> + + <li>add a check in case someone tries to call the + <code>popup-menu()</code> action on a menu which is not + initialized (Debian #426364).</li> + + <li>improve CF_IMAKE_CFLAGS to work with Solaris sed (report by + Peter Bray).</li> + + <li>improve guess for X's manpage section in + <code>minstall.sh</code>, (prompted by comment by Miroslav + Lichvar).</li> + + <li>modify <code>minstall.sh</code> to handle manpage patch + with more than one dot (patch by Miroslav Lichvar).</li> + + <li>fix configure message for --disable-setgid option (patch by + Miroslav Lichvar).</li> + + <li>add <code>allowTitleOps</code> resource to allow users to + prevent the title- and icon-names from changing (request by + John Bashinski).</li> + + <li>fix "spawn-new-terminal" action, for the case where no + parameter is passed to the action (patch by Daniel + Colascione).</li> + + <li>fix error-checking on internal font switching for + "Selection" menu entry (Debian #421523).</li> + + <li>amend select/paste change from <a href="#xterm_225">patch + #225</a> by limiting it to non-UTF-8/non-KOI8-R encoding + (Debian #420974).</li> + + <li>add workaround for groff ".URL" codes which are not present + in some commonly-used bitmap fonts (Debian #418324).</li> + </ul> + + <h1><a name="xterm_225" id="xterm_225">Patch #225 - + 2007/3/24</a></h1> + + <ul> + <li>add <code>useClipping</code> resource to allow clipping to + be disabled.</li> + + <li>use <code>XftDrawSetClipRectangles</code> to work around + Xft pixel-trash (report by Reuben Thomas).</li> + + <li>add configure option <code>--enable-tcap-fkeys</code>, and + resource <code>tcapFunctionKeys</code>, which can be used to + tell xterm to use function-key definitions from the termcap (or + terminfo) which it uses to set $TERM on startup.</li> + + <li>add resources <code>altIsNotMeta</code> and + <code>altSendsEscape</code> to allow one to use Alt-keys like + the meta-key even if they are bound to different keycodes + (prompted by discussion with Daniel Jacobowitz).</li> + + <li>revert a change from <a href="#xterm_216">patch #216</a> + that unnecessarily made the meta modifier override the + <code>eightBitInput</code> resource if the alt- and + meta-modifiers happened to overlap (report/patch by Daniel + Jacobowitz).</li> + + <li>correct associated font for active icon for colored text + (broken in <a href="#xterm_224">patch #224</a>).</li> + + <li>correct ifdef's for Darwin (patch by Emanuele + Giaquinta).</li> + + <li>add <code>highlightTextColor</code> resource, and options + <code>-selfg</code>, <code>-selbg</code> like <code>xwsh</code> + (adapted from patch by Victor Vaile).</li> + + <li>revise <code>find_closest_color()</code> function to + address concern about borrowing from <code>Tcl/Tk</code> + (request by Dan McNichol).</li> + + <li>add "spawn-new-terminal" action, which can be assigned to + key translation, allowing one to spawn a new copy of xterm + using the current process' working directory (adapted from + patch by Daniel Colascione).</li> + + <li>improve select/paste between UTF-8 and Latin1 xterms by + adapting the translations from <a href="#xterm_185">patch + #185</a>. Extend that to include Unicode fullwidth forms + FF00-FF5E. Also modify select/paste of DEC line-drawing + characters in Latin1 mode to use ASCII characters.</li> + + <li>add "Enable Bell Urgency" to VT Options menu, removed + "Enable Margin Bell".</li> + + <li>add <code>bellIsUrgent</code> resource to control whether + the Urgency hint is set/reset.</li> + + <li>modify to set Urgency window manager hint on bell, reset it + on Focus-In event (patch by Emanuele Giaquinta).</li> + + <li>add <code>--disable-setgid</code> configure option (request + by Miroslav Lichvar).</li> + + <li>fix a possible infinite loop in last change to + <code>dabbrev-expand()</code> (patch by Emanuele + Giaquinta).</li> + + <li>modify initialization to set the pty erase value if the + <code>erase</code> is set in the <code>ttyModes</code> + resource. This overrides the <code>ptyInitialErase</code> + setting (request by Lluís Batlle i Rossell).</li> + + <li>add <code>initialFont</code> resource to xterm widget, like + tek-widget (Debian #299669).</li> + + <li>amend change to <code>boldMode</code> from <a href= + "#xterm_223">patch #223</a> for Debian #347790. As noted in + Debian #412599, that made xterm no longer match the documented + behavior. Add new resource <code>alwaysBoldMode</code> to allow + overriding the comparison between normal/bold fonts when + deciding whether to use overstriking to simulate bold + fonts.</li> + + <li>restore background color in ClearCurBackground(), omitted + in changes for <a href="#xterm_223">patch #223</a> (report by + Miroslav Lichvar).</li> + + <li>correct logic for repainting double-width TrueType + characters (prompted by test-case for Novell #246573).</li> + + <li>add a check to avoid trying to repeat a multibyte character + (report by Sami Farin).</li> + + <li>modify parameter to <code>XftNameParse()</code> to select + wide face-name as needed, to make <code>-fd</code> option work + (patch by Mike Fabian, Novell #246573).</li> + + <li>correct logic for mouse highlight tracking's abort + sequence, broken in a restructuring modification from <a href= + "#xterm_224">patch #224</a> (report by Thomas Wolff).</li> + + <li>revert the simplification of blinking cursor, since that + broke the xor'ing introduced in <a href="#xterm_193">patch + #193</a> (report by Thomas Wolff).</li> + </ul> + + <h1><a name="xterm_224" id="xterm_224">Patch #224 - + 2007/2/11</a></h1> + + <ul> + <li>simplify code for set/reset mode for blinking cursor (patch + by Emanuele Giaquinta).</li> + + <li>modify <code>dabbrev-expand()</code> to restart after the + last match (patch by Emanuele Giaquinta).</li> + + <li>add control sequences for enabling/disabling focus in/out + event reporting (request by Bram Moolenaar).</li> + + <li>improve startup performance of menus by adding resource + setting <code>menuLocale</code> which can be set to override + X's lengthy initialization of fontsets - which are seldom used + for the <code>Xaw</code> popup menus (adapted from patch by + Dave Coffin).</li> + + <li>modify do_precomposition() function and make-compose.sh to + handle 21-bit codes vs the 16-bit codes those were written for, + and fix a few mis-sorted codes (patch by Thomas Wolff).</li> + + <li>handle special case in <code>-cjk_width</code> which + unexpectedly caused a character's width to change when a + combining character (patch by Thomas Wolff)</li> + + <li>fix build for GNU/KFreeBSD (Debian #40111).</li> + + <li>consolidate GC creation/updating into a single module to + reduce GC manipulation (prompted by Debian #389476, though a + complete fix would involve optimizing the scrolling + behavior).</li> + + <li>fix ifdef of xtermCellWidth(), which broke for a case + without TrueType and without wide-character support (report by + Martin Pirker).</li> + + <li>undo a comparison in + <code>handle_translated_exposure</code> which did not work due + to X server optimization. That caused the inner border to be + repainted with unexpected colors when handling a repaint, e.g., + after switching to/from another workspace (Debian #401726, + Redhat Bugzilla #223027).</li> + + <li>allow <code>-cr</code> option to override cursor color when + <code>-ah</code> option is used (Debian #406502).</li> + + <li>add a note in xterm's manpage explaining that the + <code>-bw</code> (or <code>-w</code>) option is only used by + the window manager, if at all (Debian #405043).</li> + + <li>make <code>Selection</code> of <code>VT Fonts</code> + work with <code>selectToClipboard</code> resource.</li> + + <li>correct length calculation for <code>Selection</code> entry + of <code>VT Fonts</code> menu, broken since it ignored the + actual selection length since X11R4.</li> + + <li>fixes for fontsize changes with <code>-fa</code> option + (Redhat Bugzilla #222340).</li> + </ul> + + <h1><a name="xterm_223" id="xterm_223">Patch #223 - + 2006/11/30</a></h1> + + <ul> + <li>add <code>--enable-rectangles</code> configure option + (request by Martin Pirker).</li> + + <li>correct default value for <code>--with-symlink</code> + configure option.</li> + + <li>fixes configure script macros that use + <code>$X_EXTRA_LIBS</code>.</li> + + <li>modify configure script to provide support for pre-package + config versions of Xft aka "FreeType".</li> + + <li>add the Xaw scrollbar translations resource to the xterm + manpage, add an example showing how to change the mouse button + assignments (Debian #382225).</li> + + <li>amend a change from <a href="#xterm_216">patch #216</a>, + which omitted modifiers for control, meta, etc., if they were + mixed with any other modifiers. The intent of the change was to + avoid confusion with <code>XK_Mode_switch</code> and + <code>XK_ISO_Level3_Shift</code>; the check is now done + explicitly (report by Daniel Jacobowitz).</li> + + <li>interpret a negative value for + <code>modifyCursorKeys</code> or + <code>modifyFunctionKeys</code> resources to disable the + respective features (prompted by Novell #220728).</li> + + <li>amend cell-width computation for FreeType from <a href= + "#xterm_217">patch #217</a>, which did not work for VT100 + line-drawing characters (Debian #399638, GenToo #147111).</li> + + <li>amend a change from <a href="#xterm_216">patch #216</a>, + which made alt-modifier on a cursor-key send a modifier + parameter (Novell #220728).</li> + + <li>correct an off-by-one that made DECCRA not work + (report/patch by Martin Pirker).</li> + + <li>revert an optimization in SGR_Foreground() and + SGR_Background from <a href="#xterm_209">patch #209</a> (Debian + #347722, analysis by Pierre Lombard).</li> + + <li>fix for <code>boldMode</code> (Debian #347790, patch by Tim + Pope).</li> + + <li>amend fix for <code>-iconic</code> in <a href= + "#xterm_208">patch #208</a>, which broke the positioning part + of <code>-geom</code> with toolbar configuration.</li> + + <li>fix to prevent indexing error in regular expressions (patch + by Dennis Schneider).</li> + + <li>fixes to make the internalBorder area not change color due + to reverseVideo and/or related exposure events. The latter was + a very old bug exposed in <a href="#xterm_196">patch #196</a> + (report by Neil Hoggarth, also Debian #397624).</li> + </ul> + + <h1><a name="xterm_222" id="xterm_222">Patch #222 - + 2006/10/17</a></h1> + + <ul> + <li>minor optimization for recoloring cursor via dynamic + colors.</li> + + <li>fix a bug caused by restructuring of tek4014 widget (report + by Paul Schenkeveld)</li> + </ul> + + <h1><a name="xterm_221" id="xterm_221">Patch #221 - + 2006/10/1</a></h1> + + <ul> + <li>fix for regular expressions: the code which converted the + column offset within a line did not check properly for the end + of a line, and if allowed to match the whole line, would select + the beginning of the following line. If the following line were + empty, in turn it would select from the next, etc. (report by + Sean Reifschneider).</li> + + <li>minor optimization of color allocation to avoid repainting + the screen if the corresponding color had not been + allocated.</li> + + <li>fixes for vttests/256colors.pl (report by Egmont + Koblinger).</li> + + <li>add terminfo building block entries for modifiers of the + 6-key editing keypad.</li> + + <li>fix for initialization of tek4014 which broke on QNX + 6.1</li> + </ul> + + <h1><a name="xterm_220" id="xterm_220">Patch #220 - + 2006/9/10</a></h1> + + <ul> + <li>make "xterm -t -iconic" work as expected, i.e., start in + tek4014 mode, but iconified.</li> + </ul> + + <h1><a name="xterm_219" id="xterm_219">Patch #219 - + 2006/9/4</a></h1> + + <ul> + <li>some internal restructuring to separate data for vt100 and + tek4014 widgets.</li> + + <li>fix a few cases where form-events would be seen by the + vt100 widget when built with the toolbar configuration.</li> + </ul> + + <h1><a name="xterm_218" id="xterm_218">Patch #218 - + 2006/8/27</a></h1> + + <ul> + <li>change behavior when encountering an illegal character in a + title string. Rather than reject the string, translate illegal + characters into "?" and use the string (requested by Thomas + Wolff).</li> + + <li>improve checks for nonprinting characters in title strings + (report by Samuel Thibault).</li> + + <li>correct typo in menu labels, changing + <code>print-redirect</code> to <code>print-redir</code>, making + it follow the manpage and match the usage for the actions table + (report by Samuel Thibault).</li> + + <li>correct a typo that prevents building with some older + systems such as Solaris 2.6 (report by Julian Bridle).</li> + </ul> + + <h1><a name="xterm_217" id="xterm_217">Patch #217 - + 2006/8/20</a></h1> + + <ul> + <li>minor improvements to FreeType font layout and + drawing.</li> + + <li>add a check in the ptyInitialErase logic to ensure that the + termcap was read (Redhat Bugzilla #201246).</li> + + <li>limit changes for reverse-video from <a href= + "#xterm_216">patch #216</a> to cases where the reverse-video + command-line option is used (report by Zdenek Sekera).</li> + + <li>correct bitmap-derived pointsizes for TrueType fonts; they + should be proportional to the square root of the area of the + bitmap fonts.</li> + + <li>add resources to specify pointsize of TrueType fonts + (request by Reuben Thomas).</li> + + <li>improve install of terminfo by filtering out harmless + messages related to extended capabilities. At the same time, + use ncurses tic to compile the extended capabilities if + possible (report by Zdenek Sekera).</li> + + <li>update "xterm+pcfkeys" terminfo entry to correspond to + <a href="#xterm_216">patch #216</a>.</li> + </ul> + + <h1><a name="xterm_216" id="xterm_216">Patch #216 - + 2006/8/3</a></h1> + + <ul> + <li>improve handling of <code>ConfigureNotify</code> events by + checking if there are further events in the queue which + obsolete the current one (adapted from rxvt 2.7.5). Only the + normal normal (non-toolbar) configuration is addressed in this + patch.</li> + + <li>several changes to terminfo: + + <ul> + <li>incorporate some minor changes from ncurses to help + keep these synchronized: + + <dl> + <dt>2005-02-26</dt> + + <dd>modify sgr/sgr0 in xterm-new to improve tgetent's + derived "me".</dd> + + <dt>2006-02-18</dt> + + <dd>remove ncv flag from xterm-16color</dd> + + <dt>2006-06-24</dt> + + <dd>improve xterm-256color by combining the 16-color + setaf/setab strings with SGR 48, and cancelling the + setf/setb strings.</dd> + </dl> + </li> + + <li>use extended function-key definitions for xterm-sun, + xterm-sco entries.</li> + + <li>add terminfo building-blocks corresponding to the + <code>modifyFunctionKeys</code> and + <code>modifyCursorKeys</code> resources.</li> + </ul> + </li> + + <li>ifdef'd Sun function-key feature to make it optional, like + HP and SCO.</li> + + <li>extend table for termcap-query feature through F63, and + updated tcapquery.pl to match.</li> + + <li>modify logic for function-key input processing to allow + function key numbers which are constructed by control- and + shift-modifiers to extend beyond X's hardcoded limit of + 35.</li> + + <li>add control sequence to set or reset the + <code>eightBitInput</code> resource.</li> + + <li>change default resource <code>modifyFunctionKeys</code> to + 2 to avoid sending SS3 with parameters (report by Kalle Olavi + Niemitalo).</li> + + <li>add control sequences for setting and resetting the values + of the <code>modifyCursorKeys</code>, + <code>modifyFunctionKeys</code> and + <code>modifyOtherKeys</code> resources.</li> + + <li>add <code>modifyFunctionKeys</code> resource like + <code>modifyCursorKeys</code>. Setting this to zero allows one + to use the control- and shift-modifiers to construct function + key strings, for terminals using many function keys, e.g., for + <code>xterm-sun</code> or <code>xterm-sco</code>.</li> + + <li>modify screen responses and function-key logic to reduce + the number of writes made, to make it less likely that an + application would read only part of a function-key in a read + operation (suggested by John E Urbanczyk).</li> + + <li>add <code>combiningChars</code> resource, which allows the + user to specify the maximum number of combining characters that + xterm will store for each cell in wide-character mode (prompted + by request by Markus Kuhn to increase the limit from 2).</li> + + <li>improve logic in <code>metaSendsEscape</code> in case the + Alt- and Meta-keys are mapped to different modifiers. That + allows one to use the Alt-key for shifting in the + <code>eightBitInput</code> and use a Meta-key modifier to + prefix the result with an <code><ESC></code>.</li> + + <li>improve <code>modifyCursorKeys</code> logic to prevent it + from modifying codes where <code>eightBitInput</code> or + <code>metaSendsEscape</code> are set (request by Dan + Nicolaescu).</li> + + <li>improve <code>modifyCursorKeys</code> logic to prevent it + from changing the user input when other modifiers such as AltGr + are used (report by Thomas Wolff).</li> + + <li>extend <code>modifyCursorKeys</code> to include the numeric + keypad when in application mode.</li> + + <li>improve <code>-reverse</code> (<code>-rv</code>) option + (patch by Jason Vas Dias, Redhat #189161).</li> + + <li>workaround for color resources on Fedora-5 which made the + toolbar colors inconsistent.</li> + + <li>corrected calls used for <code>--disable-setuid</code> + option, add debugging traces to help diagnose this area.</li> + + <li>modify configure script to ensure that + <code>USE_UTMP_SETGID</code> is defined only if the check for + POSIX saved-ids succeeds, or corresponds to one of the BSD + systems known to have a workable <code>setegid</code> + function.</li> + + <li>extend configure check for POSIX saved-ids to include BSD + systems</li> + + <li>modify CF_SYSV configure macro to work with gcc on HPUX + 10.20, whose broken <code><term.h></code> relies on + including <code><termios.h></code>.</li> + + <li>change order of setuid/setgid ifdef checks in Imakefile to + make it simpler to produce a setgid install, allowing the + latter to override the former (prompted by an XFree86 + commit).</li> + + <li>adapt a fix for setgid support from subsequent XFree86 + changes (patch by Emanuele Giaquinta).</li> + + <li>further improve setgid support (patches by Emanuele + Giaquinta).</li> + </ul> + + <h1><a name="xterm_215" id="xterm_215">Patch #215 - 2006/6/19 - + XFree86 4.6.99.2</a></h1> + + <ul> + <li>improve setgid support by exploiting the saved-ids feature + on which it relies (patch by Emanuele Giaquinta).</li> + + <li>make the <code>modifyOtherKeys</code> resource disabled by + default since the intermediate setting altered some common + bindings (report by Emanuele Giaquinta).</li> + </ul> + + <h1><a name="xterm_214" id="xterm_214">Patch #214 - 2006/6/18 - + XFree86 4.6.99.2</a></h1> + + <ul> + <li>modify makefile rule for ctlseqs.txt to strip + backspace/overstrikes, and add a copy of ctlseqs.txt to the + source tarballs (requests by Bram Moolenaar, Emanuele + Giaquinta).</li> + + <li>add <code>modifyOtherKeys</code> resource, analogous to the + <code>modifyCursorKeys</code> resource. This applies to keys + that normally would transmit nothing when a given modifier is + applied (request by Dan Nicolaescu).</li> + + <li>add <code>default</code> to the acceptable values for the + <code>keyboardType</code> resource, allowing the + <code>-kt</code> command-line option to override app-defaults + resource settings of <code>sunKeyboard</code>, etc.</li> + + <li>correct ifdef's for <code>XkbBell()</code> which used the + header file but not the corresponding function in <a href= + "#xterm_175">patch #175</a> (report by Zach Beane).</li> + + <li>add xterm manpage to the <code>--with-symlink</code> + logic.</li> + + <li>regenerated configure script to omit some debugging + artifacts of the SIGWINCH test.</li> + + <li>fix <code>install-man</code> rule in + <code>Makefile.in</code> to avoid including the + <code>$(DESTDIR)</code> value in substitutions made on the + manpages (patch by Emanuele Giaquinta).</li> + + <li>improved fix for cursor deallocation (Redhat #186935, patch + by Jason Vas Dias).</li> + + <li>improve checks for setuid/setgid operation to accommodate + limited resource management in some kernels (GenToo + #193238).</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_213" id="xterm_213">Patch #213 - 2006/4/30 - + XFree86 4.5.99.905</a></h1> + + <ul> + <li>minor optimization to cell layout; will use that to + simplify some logic and allow for more than two combining + characters in another patch.</li> + + <li>add <code>utf8Latin1</code> resource to make optional the + feature from <a href="#xterm_209">patch #209</a> which allowed + ISO-8859-1 fonts to be used in cases where a wide font was + given. This would only work for the special case where the user + normally used Latin-1 and wanted some wide characters (report + by Rostislav Krasny).</li> + + <li>add <code>utf8Title</code> resource to manpage (Novell + #52655).</li> + + <li>fix typo in table entry for <code>utf8Title</code> resource + which made it treated as an integer rather than boolean (patch + by Mike Fabian, Novell #52655).</li> + </ul> + + <h1><a name="xterm_212" id="xterm_212">Patch #212 - 2006/4/9 - + XFree86 4.5.99.904</a></h1> + + <ul> + <li>improve description of <code>forceBoxChars</code> in + manpage (discussion with Joe Wells).</li> + + <li>set checkmark for "Select To Clipboard" menu entry on + startup, from resource setting.</li> + + <li>update manpage to note that + <code>*customization:color</code> is not needed, though it is + useful (Redhat #188034).</li> + + <li>add underscore to sample pattern for URL in + <code>XTerm.ad</code> (Redhat #188037).</li> + + <li>modify install rule for manpage to use the configured + app-defaults directory (Redhat #188031).</li> + + <li>add checks in <code>releaseCursorGCs()</code> to ensure + GC's are distinct, needed since memory leak changes for + <a href="#xterm_208">patch #208</a> (Redhat #186935, patch by + Jason Vas Dias).</li> + + <li>modify <code>Imakefile</code> definitions to allow + <code>imake</code> to set <code>InstallXtermSetGID</code>. Add + symbol <code>InstGidFlags</code>.</li> + + <li>add configure script check to ensure that SIGWINCH if + defined even when headers undefine this as a side-effect of + <code>_POSIX_C_SOURCE</code>, etc.</li> + + <li>resync with XFree86 CVS + + <ul> + <li>ifdef-out chmod of terminal device for OS/2 (XFree86 + #1663, Frank Giessler).</li> + + <li>move new <code>Imakefile</code> chunk which defines + <code>$(CSGIDFLAGS)</code> before DEFINES, e.g., for IRIX64 + (Marc La France).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_211" id="xterm_211">Patch #211 - 2006/3/19 - + XFree86 4.5.99.902</a></h1> + + <ul> + <li>modify prefix/suffix transformation in makefile to make + <code>uxterm</code> install properly on Cygwin.</li> + + <li>restore the sizeof-comparison for <code>struct + lastlog</code> added in <a href="#xterm_208">patch #208</a>, + rendered (mostly) obsolete in <a href="#xterm_210">patch + #210</a>, since an imake configuration can still turn that code + on (prompted by comment by David Dawes).</li> + + <li>remove feature for <code>FreeBSDArchitecture</code> from + <code>Imakefile</code> which would install xterm using the + <code>utmp</code> group since a standard FreeBSD system has no + such group, though it would support this configuration. FreeBSD + packager uses the <code>configure</code> script, which can make + the appropriate check (prompted by comment by David + Dawes).</li> + + <li>fixes for gcc redefinition warnings when built using imake + (reports by David Dawes, Marc La France).</li> + </ul> + + <h1><a name="xterm_210" id="xterm_210">Patch #210 - 2006/3/12 - + XFree86 4.5.99.902</a></h1> + + <ul> + <li>add configure check for workaround in <a href= + "#xterm_208">patch #208</a> for Solaris' inconsistent support + for struct lastlog to quiet compiler warnings (prompted by + David Dawes commit message for XFree86).</li> + + <li>fixes for BASE64 selection manipulation, e.g., ensure that + the string terminator is written after cut-buffer data (report + by Joe Allen).</li> + + <li>add vttests/paste64.pl script to test experimental option + for setting/getting selection data.</li> + + <li>add some error-checking in fontutils.c (prompted by David + Dawes commit message for XFree86).</li> + + <li>change xterm manpage to show the actual color resource + names <code>XtDefaultForeground</code> and + <code>XtDefaultBackground</code> rather than black and white + (prompted by discussion with Emanuele Giaquinta).</li> + + <li>add <code>utf8Title</code> resource and menu entry, + allowing the user to control whether title strings are + interpreted as ISO-8859-1 or UTF-8 encoding (Novell #52655, + #113206).</li> + + <li>change order of ifdef's for utempter versus platforms in + <code>Imakefile</code> to ensure a proper value for + <code>InstallXtermSetGID</code> (prompted by Marc La France + commit message for XFree86).</li> + + <li>update the cursor GCs when menu entry for reverse video is + toggled. (Redhat #183993).</li> + + <li>a memory-leak fix for <code>set_cursor_gcs()</code> in + <a href="#xterm_208">patch #208</a> broke the <code>-cm</code> + option (Redhat #182382).</li> + </ul> + + <h1><a name="xterm_209" id="xterm_209">Patch #209 - 2006/2/12 - + XFree86 4.5.99.22</a></h1> + + <ul> + <li>remove <code>setf</code> and <code>setb</code> from + <code>xterm-256color</code> terminfo entry to avoid issues with + applications that ignore the ANSI strings (report by Emanuele + Giaquinta).</li> + + <li>remove obsolete references to "Xorg" to avoid confusion + with "X.org" (prompted by David Dawes commit message for + XFree86).</li> + + <li>improve initial layout performance for the toolbar + configuration by precalculating the height of the toolbar.</li> + + <li>remove menu entry for "Enable Curses Emulation" (to make + room for "Select To Clipboard").</li> + + <li>add resource <code>selectToClipboard</code>, action + <code>set-select</code> and a menu entry to allow users to + switch between PRIMARY and CLIPBOARD for select/paste.</li> + + <li>allow cursor to have the same color as foreground (text), + since it is rendered as reverse (Debian #350664).</li> + + <li>amend change for loading <code>utf8Fonts</code> resource + from <a href="#xterm_204">patch #204</a> to allow an ISO-8859-1 + "normal" font to be combined with an ISO-10646 font if the + latter is given via the <code>-fw</code> option or its + corresponding resource value (prompted by comment in Novell + #49305).</li> + + <li>add <code>TIOCSCTTY</code> <code>ioctl()</code> ifdef'd for + <code>__GNU__</code> to set the controlling terminal (Debian + #348457).</li> + + <li>add configure option <code>--disable-leaks</code>.</li> + + <li>add a check in <code>Bell</code> to ensure that the VT100 + widget is realized, since it may be called by + <code>xtermLoadFont</code> given an incorrect font resource + (Redhat #180450).</li> + + <li>improve initialization of wide-bold font by not using the + derived value when it happens to have few glyphs (report by + Mboso Sampson).</li> + + <li>improve dynamic colors by not repainting the screen if only + the cursor color changes (request by Bram Moolenaar).</li> + + <li>fix menu initialization for tek4014 window broken in + <a href="#xterm_206">patch #206</a>.</li> + + <li>typo in manpage (Debian #351425).</li> + + <li>correct loop logic in <code>dotext</code> to prevent an + infinite loop if a wide character was just at the right margin + when wrapping was disabled (report by Serge van den Boom).</li> + + <li>initialize the saved-cursor data so a restore-cursor + operation without a preceding save-cursor operation will not + modify the foreground color.</li> + + <li>add a new selection feature: regular expressions, and new + resources which specify what happens on multiple mouse clicks: + <code>on2Clicks</code>, <code>on3Clicks</code>, + <code>on4Clicks</code> and <code>on5Clicks</code>.</li> + + <li>revert the <code>XTerm.ad</code> change from <a href= + "#xterm_208">patch #208</a> (Debian #348384).</li> + + <li>fixes for the print-window to make it handle combining + characters in UTF-8 mode.</li> + + <li>add check to ensure that double-clicking to extend + selection will not extend it into the scrollback area. This + still allows users to scroll back and select text (Debian + #347415).</li> + + <li>add configure option <code>--with-tty-group</code> to help + work around deficiencies in packager's build environment + (Debian #349142).</li> + + <li>fix typo in configure script option + <code>--disable-narrowproto</code> (report by David + Martínez Moreno).</li> + + <li>amend CF_X_FREETYPE changes for <code>pkg-config</code> + check to ensure that <code>Xft</code> is known to that tool + (report and patch by Emanuele Giaquinta).</li> + + <li>add an ifdef to allow <code>./configure + --disable-active-icon</code> to work, broken by new code for + testing memory leaks in <a href="#xterm_208">patch #208</a> + (report by Brian Lindholm).</li> + </ul> + + <h1><a name="xterm_208" id="xterm_208">Patch #208 - 2006/1/3 - + XFree86 4.5.99.19</a></h1> + + <ul> + <li>add <code>charClass</code> resource to + <code>XTerm.ad</code> and <code>UXTerm.ad</code> which + simplifies selecting URLs (prompted by Kirill Ponomarew).</li> + + <li>modify install rule for <code>uxterm</code> to account for + the <code>--program-prefix</code>, etc., options by invoking + the transformed name of xterm rather than simply "xterm".</li> + + <li>modify configure <code>--with-app-defaults</code> option to + allow <code>--without-app-defaults</code>.</li> + + <li>add configure <code>--with-symlink</code> option to make it + simpler to install successive versions of <code>xterm</code> + renamed using the <code>--program-prefix</code>, etc., options + with a symbolic link pointing to the most recent.</li> + + <li>make <code>-iconic</code> option work with toolbar + configuration (GenToo #113604).</li> + + <li>suppress <code>lastlog</code> feature for 64-bit Solaris + configuration since that platform provides only a 32-bit + interface (report by Peter Bray).</li> + + <li>fix memory reallocation for the "UTF-8" menu entry when + xterm is started using the <code>+u8</code> option (reported by + Jan Willem Stumpel).</li> + + <li>add a configure check for the actual path of + <code>luit</code>, to work around broken <code>imake</code> + configurations.</li> + + <li>add a configure check for <code>pkg-config</code> (Redhat + Bugzilla #173541).</li> + + <li>modify install-rule for <code>uxterm</code> to omit + executable suffix, e.g., for Cygwin.</li> + + <li>modify <code>sinstall.sh</code> to work around quirks in + Cygwin configuration.</li> + </ul> + + <h1><a name="xterm_207" id="xterm_207">Patch #207 - 2005/11/13 - + XFree86 4.5.99.16</a></h1> + + <ul> + <li>enable <code>lastlogx</code> support for NetBSD (was added, + but not enabled in <a href="#xterm_186">patch #186</a>).</li> + + <li>work around broken <code>lastlog.h</code> in glibc 2.3.5, + which includes <code>utmp.h</code>.</li> + + <li>revert part of recent XFree86 Imakefile change, restoring + the <code>-I.</code> needed for <code>xmkmf</code> builds of + xterm (XFree86 Bugzilla #1633, reports by Alexander Pohoyda, + Matthieu Herrb).</li> + + <li>change compiled-in default for <code>printerCommand</code> + resource to an empty string. People who want to use the printer + should be able to read the manual (Debian #311490).</li> + + <li>modify <code>Imakefile</code> to work around old problems + in <code>imake</code> configuration to allow test-builds using + <code>xmkmf</code> on Linux. (This was not noticed since + several releases had broken definitions relating to Xft which + were harder to work around).</li> + + <li>link <code>resize</code> for SCO platforms (Kean + Johnston).</li> + </ul> + + <h1><a name="xterm_206" id="xterm_206">Patch #206 - 2005/11/3 - + XFree86 4.5.99.15</a></h1> + + <ul> + <li>add configure <code>--with-app-defaults</code> option to + allow app-defaults directory for install-rules to be + customized.</li> + + <li>remove default translations for + <code>dabbrev-expand()</code> due to conflicts with existing + keyboard arrangements.</li> + + <li>remove redundant check for <code>_NET_WM_PID</code> (report + by Emanuele Giaquinta).</li> + + <li>set icon border width explicitly to work around fvwm + problem with active icon resizing (report by Steve Morris, + analysis by Dominik Vogt).</li> + + <li>modify resource files to make the font-resources a little + more specific, e.g., changing "*VT100*" to "*VT100.", to make + the distinction between VT100.font and VT100.utf8Fonts.font + sharper, in case a packager modifies one of those.</li> + + <li>expanded comments in <code>UXTerm.ad</code> regarding the + font resources (Debian #319179).</li> + + <li>add <code>--enable-narrowproto</code> configure option to + accommodate X.org "modular" build (report by Stephan Hermann, + GenToo #17220).</li> + + <li>fix typo in xterm.man description of <code>+wf</code> + (patch by Tobias Stoeckmann).</li> + + <li>add <code>scrollBarBorder</code> resource (request by Floyd + L Davidson).</li> + + <li>modify <code>xterm-new</code> terminfo entry to use + capabilities for shifted scroll forward/reverse as shifted + cursor up/down.</li> + + <li>correct updating of checkmark for toolbar entry in popup + menu (report by Emanuele Giaquinta).</li> + + <li>fix ifdef's to allow compiling with toolbar and without + tek4014 (patch by Emanuele Giaquinta).</li> + + <li>use <code>openpty()</code> for Darwin port (patch by + Emanuele Giaquinta).</li> + + <li>fix GenToo #90697 a different way, postponing the logic in + <code>SetupToolbar</code> until the toolbar is actually needed, + i.e., the <code>+tb</code> option is handled as expected.</li> + + <li>revert fix made in <a href="#xterm_203">patch #203</a> for + GenToo #90697. That introduced a problem with the control mouse + click-popups, while most of the performance problems can be + resolved by restricting the menu fonts (report by Emanuele + Giaquinta).</li> + + <li>fix a file-descriptor leak when calling + <code>openpty()</code> (OpenBSD system/4561).</li> + + <li>make a special case of resizing work like vt100: a hard + reset also resets the 132/80 mode. The code to support this was + present since X11R5, but not used because the corresponding + initial state of the <code>-132</code> option was not + saved.</li> + + <li>restore window manager hints after + <code>XtMakeResizeRequest()</code> calls. One instance from + <a href="#xterm_205">patch #205</a> resulted in the window + manager displaying pixels rather than than characters after + selecting a different font size (FreeBSD ports/87424).</li> + + <li>remove special case for Darwin in CF_XOPEN_SOURCE (Emanuele + Giaquinta).</li> + + <li>modify parsing of control sequence <code>CSI T</code> + to allow scroll-down to be sent while mouse tracking is enabled + (request by D Hugh Redelmeier).</li> + + <li>correct termcap "me" (mode-end) string so it does not + modify the alternate character set (report by Andrey + Chernov).</li> + + <li>correct size-comparison in HandleInterpret() broken in + changes from <a href="#xterm_201">patch #201</a> to allocate + input buffer (Debian #334317).</li> + + <li>amend adjustments for scrollbar layout from <a href= + "#xterm_204">patch #204</a> to make this apply only to the + toolbar configuration. In the non-toolbar configuration, the + resulting scrollbar was shifted by its borderwidth (report by + Matthieu Herrb).</li> + + <li>add select-cursor-extend() action.</li> + + <li>fix some broken href's in xterm.log.html, and typo in the + INSTALL file (report/patch by David Martínez + Moreno).</li> + + <li>modify <code>Imakefile</code> to use setgid mode for + installing with Linux, OpenBSD and FreeBSD.</li> + + <li>add configure --with-setuid and --with-reference options to + allow packagers more flexibility in customizing install + permissions.</li> + + <li>generalize and make optional (configure --with-utmp-setgid) + the change made for XFree86 Bugzilla #878 in <a href= + "#xterm_205">patch #205</a> (FreeBSD bug report + #ports/86663).</li> + </ul> + + <h1><a name="xterm_205" id="xterm_205">Patch #205 - 2005/9/18 - + XFree86 4.5.99.12</a></h1> + + <ul> + <li>correct a typo in CF_FUNC_TGETENT introduced in <a href= + "#xterm_198">patch #198</a> fix for Gentoo #69926.</li> + + <li>implement logic in termcap query to process multiple + parameters as documented in ctlseqs.ms</li> + + <li>fix buffer size used for termcap query, which was not long + enough for the terminfo "colors" name (patch by Bradd W. + Szonye).</li> + + <li>add configure option --enable-readline-mouse, which turns + on the experimental OPT_READLINE code (patch by Ilya + Zakharevich).</li> + + <li>for FreeBSD, drop setuid privileges after startup (XFree86 + Bugzilla #878, report/patch by Alexander Pohoyda)</li> + + <li>add menu entry (alt-esc) and corresponding action + (alt-sends-esc) to toggle the <code>eightBitInput</code> + resource setting.</li> + + <li>generate configure script with autoconf 2.52 (patched) to + use the feature therein which forces the script's locale to + POSIX (Gentoo Bugzilla #105369).</li> + + <li>modify computation of rows/columns on resize to avoid + extending beyond the given limits, e.g., if resizing in + response to a "maximize" in Gnome or KDE which do not use the + window manager hints for this case (Debian #289123, Novell + #61153).</li> + + <li>modifications to work with z/OS 1.4 (Paul Giordano).</li> + + <li>improve error-reporting when chown/chmod of the + pseudo-terminal fails, e.g., if a copy of xterm which was + designed to work with old-style pseudo-terminals is not + installed setuid or setgid (report by Jeremy C. Reed).</li> + + <li>patches from Emanuele Giaquinta: + + <ul> + <li>ctlseqs.ms says that primary and secondary DA accept a + nonzero parameter, which is incorrect. Also modify code to + agree with this.</li> + + <li>correct a comment in 88colres.pl</li> + + <li>ctlseqs.ms says that the DEC Set/Reset control + sequences for the backarrow key make it send DEL/BS, + respectively, while it's the opposite.</li> + + <li>update the menu entries for the metaSendsEscape, + deleteIsDEL and numLock resources when changing them with + the corresponding DEC Set/Reset control sequences.</li> + </ul> + </li> + + <li>fixes for configure script: + + <ul> + <li>add special case for QNX, defining _QNX_SOURCE.</li> + + <li>check for preprocessors which do not perform -U and -D + options in the given order.</li> + + <li>improve macro to determine gcc version</li> + + <li>improve check for Intel compiler and related warning + options</li> + </ul> + </li> + + <li>update config.guess, config.sub</li> + + <li>improve fix from <a href="#xterm_198">patch #198</a> for + <code>Cleanup()</code> by ensuring it is not called from the + SIGCHLD handler (patch by Todd Miller (OpenBSD CVS)).</li> + + <li>eliminate a retry for a better-matching bold font, to work + around recent font server changes.</li> + + <li>fixes for Novell #113277: + + <ul> + <li>specify weight for wide font which may be derived from + normal fontname.</li> + + <li>cache the derived wide- and widebolt-fontnames.</li> + </ul> + </li> + + <li>workaround for GenToo Bugzilla #100728.</li> + + <li>add menubar's border width to layout computation. Normally + this is zero, but patterns such as + <code>XTerm*borderWidth:1</code> would give poor layout for the + toolbar configuration.</li> + </ul> + + <h1><a name="xterm_204" id="xterm_204">Patch #204 - 2005/8/4 - + XFree86 4.5.99.9</a></h1> + + <ul> + <li>work around quirk in shell which allowed user to "run" + uxterm script when there was no UTF-8 locale installed by + entering "sh -x uxterm". Also popup an xmessage to show the + problem for users who run this via a GUI (Debian #318513).</li> + + <li>disallow changes to fonts, toolbar and scrollbar when the + vt100 window is iconified, to simplify management of the active + icon.</li> + + <li>fixes to make <code>-geom</code> option work properly with + the toolbar configuration (Gentoo Bugzilla #90717, + #91967).</li> + + <li>minor improvements to scrollbar layout: ensure that the + scrollbar border is zero if the vt100 border is zero.</li> + + <li>improve initialization due to <code>utf8</code> resource by + loading the <code>utf8Fonts</code> resource in the case where + <code>locale</code> resource is false. Also in this case, do + not disable switching UTF-8 mode on/off.</li> + + <li>minor optimization of TrueType font-loading, loads italic + font only when needed.</li> + + <li>correct variable used to store temporary result from lookup + of bold font, when initializing the wide-bold-font data and no + immediate match is found by asking for a bold variant of the + wide-font. The result was to use overstriking rather than the + actual bold font (Debian #318162, patch by Eugene Konev).</li> + + <li>add checks to ensure vt100 widget is realized when it might + be updated via actions handled from a tek4014-only + configuration.</li> + </ul> + + <h1><a name="xterm_203" id="xterm_203">Patch #203 - 2005/7/6 - + XFree86 4.5.99.7</a></h1> + + <ul> + <li>modify initialization of <code>allowSendEvents</code> and + <code>allowWindowOps</code> to prevent modification with the + editres protocol.</li> + + <li>fix compiler warning for NetBSD by including util.h in + main.c (XFree86 Bugzilla #1596).</li> + + <li>fix to build on Darwin 8.x, which no longer provides + <code>setpgrp()</code> (patch by Min Sik Kim).</li> + + <li>adapted fixes for Legend (SCO) from diffs attached to + Freedesktop.Org Bugzilla #3180.</li> + + <li>fix typo in xterm manpage description of <code>-ls</code> + option (Freedesktop.Org Bugzilla #3543).</li> + + <li>add support for interpreting the underline attribute as an + italic font in Xft mode (patch by Chuck Blake).</li> + + <li>improve initialization of toolbar so that individual + pulldown menus are initialized on demand, as they are in the + scenario where they are invoked as popup menus (GenToo Bugzilla + #90697).</li> + + <li>fix logic in <code>find_utmp</code>, which did not reset + result in <code>getutid()</code>, causing an infinite loop in + some conditions (report by Emil Mikulic).</li> + + <li>set the <code>_NET_WM_PID</code> property (GenToo Bugzilla + #91008).</li> + + <li>modify ifdef's in ptyx.h and xterm_io.h to build with + DragonFly (patch by Jeroen Ruigrok).</li> + + <li>change default values for <code>minBufSize</code> and + <code>maxBufSize</code> to 4096 and 32768 respectively so that + the initial read request will match the value from before + changes to use <code>sched_yield()</code>.</li> + + <li>make paste of UTF-8 faster for Western character sets by + checking range of incoming data (patch by Joe Allen).</li> + + <li>add experimental option to allow applications to get or set + the selection data as a BASE64 string (adapted from patch by + Joe Allen).</li> + + <li>fix an off-by-one error parsing <code>-S/nn</code> option + (Debian #311438, report/fix by Peter Chubb).</li> + + <li>fix an initialization bug from <a href="#xterm_201">patch + #201</a> that broke logging (report by Rodney Thayer).</li> + + <li>amend change to command-line processing in <a href= + "#xterm_201">patch #201</a> to avoid conflict with + <code>-e</code> option (report by Servatius Brandt).</li> + + <li>suppress configure check for <code>_XOPEN_SOURCE</code> on + darwin.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_202" id="xterm_202">Patch #202 - 2005/5/2 - + XFree86 4.5.99.3</a></h1> + + <ul> + <li>add extended shift- and control-modifier cursor keys to + "xterm+pcfkeys" terminfo entry to correspond to ncurses + 20050430 patch.</li> + + <li>fix a rare case where text would be written with the wrong + colors because output of scrolled text would reset the colors + and the new text would be written with the same colors + (report/testcase by Thomas Glanzmann).</li> + + <li>rename <code>$CMD</code> variable in <code>plink.sh</code> + because it is a reserved symbol in bash 3.00.16 (report by Ted + Taylor).</li> + + <li>add environment variables <code>$XTERM_SHELL</code> and + <code>$XTERM_VERSION</code> (request by Zdenek Sekera).</li> + + <li>corrected workaround for background color of menubar, which + gave a too-broad expression, coloring the background of the + VT100 widget unless overridden by another resource + setting.</li> + + <li>correct an error in the logic which decides when + <code>sched_yield()</code> is run; it would occasionally hang + when contending with other pseudo-terminal applications such as + screen (report by Kirill Ponomarew).</li> + + <li>modify initialization to decide whether to default to + built-in <code>wcwidth()</code> versus system's version based + on the starting locale and whether the system's version is poor + quality (suggested by Bram Moolenaar).</li> + + <li>update table for <code>mk_width()</code> from UnicodeData + 4.1.0 using Markus Kuhn's <code>uniset</code> script.</li> + </ul> + + <h1><a name="xterm_201" id="xterm_201">Patch #201 - 2005/4/21 - + XFree86 4.5.99.2</a></h1> + + <ul> + <li>improve resource files to show how the menubar and popup + menus can be colored (prompted by report by Joe Wells).</li> + + <li>modify parsing of OSC (and SOS, etc), strings so their + contents are not interpreted as UTF-8. This allows non-ASCII + title strings to be set, provided that the window manager + complies (report by Thomas Wolff).</li> + + <li>improved some of the built-in line-drawing glyphs.</li> + + <li>correct color of "box" character drawn for line-drawing + glyph 1 (report by Nicolas George).</li> + + <li>improve behavior when switching to UTF-8 mode after startup + so xterm will check if the current fonts are already wide + (ISO10646-1). If they are not, xterm will use the + <code>utf8Fonts</code> subresource to load appropriate fonts + (request by Bram Moolenaar).</li> + + <li>modify logic for setting title-string so it applies to the + current widget rather than the vt100 widget.</li> + + <li>modify initialization for wide-bold fontname, to search for + one if none is given (report by Michael Schroeder).</li> + + <li>add resource <code>mkWidth</code> and command-line option + <code>-mk_width</code> to control whether xterm uses the + built-in version of wcwidth().</li> + + <li>add resource settings for minimum/maximum input buffer + size, and call to <code>sched_yield</code> to improve + performance with newer Linux kernels (adapted from patch by + Nicolas George).</li> + + <li>correct computation of width for wide characters with the + invisible attribute (report by Thomas Wolff).</li> + + <li>modify interaction between <code>+u8</code> and + <code>locale</code> resource to allow the command-line option + to override the resource (requested by Thomas Wolff).</li> + + <li>add a limit check for scrolling margins in a one-line + screen, overlooked in fixes for <a href="#xterm_198">patch + #198</a> (Debian #297430).</li> + + <li>correct treatment of <code>iconBorderWidth</code> for + resizing an active-icon, and its description in manpage (Debian + #296592).</li> + + <li>modify configure script <code>--disable-imake</code> to use + the script's definitions anyway if it cannot detect imake + (prompted by FreeBSD bug 77408).</li> + + <li>ignore error in the I/O initialization that tries to set + the tty to 7-bit input for the case where + <code>eightBitInput</code> resource is false (Debian + #298551).</li> + + <li>modify command-processing to accept an optional parameter + that tells xterm which shell program to use (request by Zdenek + Sekera).</li> + + <li>add simpler resource <code>keyboardType</code> which, when + set, overrides the individual keyboard-type resources and + eliminates the possibility of conflict between them.</li> + + <li>add initialization for <code>scoFunctionKeys</code> + resource (report by Rick K).</li> + + <li>correct logic of <code>ReallocateBufOffsets()</code> which + did not copy the content of the old screen buffer to the proper + location, making a repaint clear after switching to + wide-character mode (report by Bram Moolenaar):</li> + + <li>implement the remaining pieces to make xterm allocate cells + for wide-characters when the "UTF-8" menu entry is selected. + Also, load the UTF-8 font when that menu entry is selected, or + the escape sequence for UTF-8 mode is received (report by Bram + Moolenaar):</li> + + <li>add command-line options (<code>-tb</code>, + <code>+tb</code>) and resource <code>toolBar</code> to allow + menu/toolbar to disabled or enabled at startup (prompted by + reports by Joe Wells).</li> + + <li>correct typo in configure script's --enable-dec-locator + option (report by Bram Moolenaar).</li> + </ul> + + <h1><a name="xterm_200" id="xterm_200">Patch #200 - 2005/2/6 - + XFree86 4.4.99.23</a></h1> + + <ul> + <li>increase color pairs value for xterm-256color and + xterm-88color to match ncurses, which has an experimental + option to support this.</li> + + <li>modify ifdef's to make AIX use termios rather than termio; + the struct sizes for the two were not the same.</li> + + <li>improve CF_WITH_IMAKE_CFLAGS configure macro script for + OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and + AIX.</li> + + <li>modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch + by Min Sik Kim).</li> + + <li>modify find_utmp() to initialize the whole utmpx struct + (except ut_id), since that is needed for OSF1 4.0D to prevent + an infinite loop on exit.</li> + + <li>add configure check before adding -D_POSIX_SOURCE since + some platforms predefine it, e.g., cygwin.</li> + + <li>add simplified sed expressions in CF_IMAKE_CFLAGS configure + script macro to ensure value for PROJECTROOT is quoted on + Solaris, i.e., when nested <code>\(</code> and <code>\)</code> + are not interpreted correctly.</li> + + <li>correct DEC rectangle operations to reset state after + completing the operations.</li> + + <li>modify CASE_ST handling in charproc.c to ensure that the + parse state is reset even if xterm is not currently processing + an OSC or other string (patch by Johnny Billquist forwarded by + Matthias Scheler, NetBSD xsrc/29003).</li> + + <li>fix OS/2 build for innotek_libc (patch by David Yeo).</li> + + <li>fix a regression from <a href="#xterm_197">patch #197</a> + fix for Debian #277832 which disowned the selection if it was + scrolled, e.g., by the user pressing return at the bottom of + the screen (Debian #291787).</li> + + <li>move the warning/exit for missing $DISPLAY into the error + handler in case <code>-display</code> is given, and the connect + fails for some other reason.</li> + </ul> + + <h1><a name="xterm_199" id="xterm_199">Patch #199 - 2005/1/17 - + XFree86 4.4.99.22</a></h1> + + <ul> + <li>instead of setting <code>$DISPLAY</code>, check for the + unset variable and warn/exit on this condition (comments by H + Merijn Brand and Bernhard R Link).</li> + + <li>fix a typo in Imakefile from <a href="#xterm_198">patch + #198</a> (reports/patches by Stefan Dirsch, Mike Castle).</li> + </ul> + + <h1><a name="xterm_198" id="xterm_198">Patch #198 - 2005/1/13 - + XFree86 4.4.99.21</a></h1> + + <ul> + <li>set <code>$DISPLAY</code> to ":0" if it is not set.</li> + + <li>add <code>utmpDisplayId</code> resource to allow users to + control whether the display identifier (display number and + screen number) are retained in the connection information + recorded in utmp (discussion with Edoardo Tirtarahardja).</li> + + <li>add <code>bellOnReset</code> resource to allow users to + disable bell which sounds on hard reset since <a href= + "#xterm_183">patch #183</a> changes to DECSCL (discussion with + Danek Duvall).</li> + + <li>improve <code>$WINDOWID</code> for configuration with + toolbar by making it refer to the top-level shell rather than + the parent of the current window. For that case, the parent is + a form widget, which does not have a name, which made the + <code>$WINDOWID</code> not very useful as a parameter for + <code>xwininfo</code> (suggested by Dave Bodenstab).</li> + + <li>fix a typo in WhichVFont() macro from <a href= + "#xterm_197">patch #197</a> changes which broke the + --disable-active-icon configuration (report by Ralf S. + Engelschall).</li> + + <li>improve some limit checks (Gentoo Bugzilla #75604).</li> + + <li>add --disable-setuid option to configure script (Gentoo + Bugzilla #76543).</li> + + <li>add --disable-full-tgetent option to configure script, + allowing one to ignore a termcap library in favor of + ncurses/curses (Gentoo Bugzilla #69926).</li> + + <li>modify configure script to choose useful warning options + for Intel version 8.0 compiler.</li> + + <li>update config.guess, config.sub</li> + + <li>make active-icon work properly when TrueType fonts are used + (Debian #286068).</li> + + <li>correct change from <a href="#xterm_157">patch #157</a> + which uses getlogin() to check for an alias; the storage used + for the related getpwuid() call was overwritten by the data + used for comparison (patch by Per Hedeland).</li> + + <li>correct case of SCS for character set 0 (line-drawing) to + allow it to be selected into GR.</li> + + <li>fix a file-descriptor leak (Redhat Bugzilla #139597).</li> + + <li>modify <code>creat_as()</code> to only fork if xterm is + actually running as setuid and/or setgid. This works around a + Cygwin bug which hangs when logging is enabled and makes xterm + a little faster for systems using interfaces such as utempter + (report by Al Goodman).</li> + + <li>modify <code>Cleanup()</code> to avoid operations such as X + calls that might use unsafe functions when it is called by a + signal handler (report by Michiel Boland).</li> + + <li>fix bugs in <a href="#xterm_191">patch #191</a> and in SRM + changes from <a href="#xterm_197">patch #197</a> that broke + DECSET 38: switch to Tek4014 emulation (report by Dave + Bodenstab).</li> + + <li>fix for manpage escapes (Marc La France).</li> + + <li>improve on IRIX-specific change for Imakefile in XFree86 + CVS versus resize linking against termcap library to reflect + definitions for USE_TERMCAP in resize.c</li> + </ul> + + <h1><a name="xterm_197" id="xterm_197">Patch #197 - 2004/11/30 - + XFree86 4.4.99.19</a></h1> + + <ul> + <li>modify configure script to remove empty "-DPROJECTROOT=" + definition which resulted unusable values for luit's default + path.</li> + + <li>update precompose.c based on Unicode 4.0.1</li> + + <li>several minor fixes based on Intel compiler warnings.</li> + + <li>change default translations so a <code>BtnDown</code> which + is not recognized is simply ignored rather than emitting a + bell. That makes it less obtrusive when the user tries to use a + mouse which provides more capabilities than the X mouse driver + supports, e.g., one with a horizontal scroll wheel (Debian + #265133).</li> + + <li>note in xterm's manpage that <code>translations</code> is + not specific to xterm (Debian #278897).</li> + + <li>modify uxterm script to use locale program to verify if the + derived locale is installed (Debian #246398).</li> + + <li>correct font handling for active icon when in UTF-8 mode + (report by Paolo Liberatore).</li> + + <li>make active-icon and toolbar configurations work + together.</li> + + <li>modify the criteria for disowning primary selection. + Previously, this happened anytime the cursor was moved before + the end of the selection. That would ensure that any + insert/delete of char or line, as well as scrolling, would + disown the selection. The new criteria change this to checking + if the operations would modify the data which is highlighted + (Debian #277832).</li> + + <li>reimplement <code>DECALN</code> with functions for vt420 + rectangles, fixes selection for this case.</li> + + <li>implement vt420 rectangle operations.</li> + + <li>add parsing, for debug/test of vt220 soft-fonts.</li> + + <li>add menu entry, actions and escape sequence to allow + enabling/disabling toolbars at runtime.</li> + + <li>improve rendering for Xft, allow it to draw non-linedrawing + characters such as "pi", which were drawn from internal tables + with <a href="#xterm_180">patch #180</a> (Freedesktop.org + Bugzilla #1260).</li> + + <li>add configure option <code>--enable-mini-luit</code>, + ifdef'd the mini-luit feature with + <code>OPT_MINI_LUIT</code>.</li> + + <li>add mini-luit feature, which supports Latin9 directly + rather than via luit, provided that Unicode fonts are used + (Freedesktop.org Bugzilla #1571, request by Stefan Dirsch, + patch by Michael Schroeder).</li> + + <li>for Linux, if IUTF8 is defined, e.g., on recent 2.6.x + kernels, set the corresponding flag for the slave pty, to + enable UTF-8 interpretation of backspace in cooked mode + (Freedesktop.org Bugzilla #1578, request by Stefan + Dirsch).</li> + + <li>modify <code>faceSize</code> resource to use a + floating-point internal value (adapted from patch by Sam + Stephenson).</li> + + <li>correct handling selection of tabs over cleared space in + UTF-8 mode. In this special case, xterm represents the + whitespace with a null rather than a space character (Debian + #276447).</li> + + <li>amend fix for infinite loop from <a href="#xterm_192">patch + #192</a> to check if there is wrapped text to output in a + following iteration (Debian #273202).</li> + + <li>fixes ifdef'd with <code>__INTERIX</code> to allow building + with Interix (Windows Services for UNIX) 3.5 using the xlibs + libraries from freedesktop.org (patch by Min Sik Kim).</li> + + <li>amend solution for Debian #252873, #260471 from <a href= + "#xterm_194">patch #194</a> by making the cursor not explicitly + colored if only the foreground color is set, and the cursor is + on a blank space (Debian #275473).</li> + + <li>correct logic for send/receive mode (SRM) with regard to + control characters.</li> + + <li>fix masking of invisible text in wide-character mode, which + did not work for line-drawing characters.</li> + + <li>incorporate CF_XOPEN_SOURCE into configure script, + replacing CF_GNU_SOURCE.</li> + </ul> + + <h1><a name="xterm_196" id="xterm_196">Patch #196 - 2004/8/15 - + XFree86 4.4.99.12</a></h1> + + <ul> + <li>add a special case to configure script to ignore NetBSD's + <code>grantpt()</code> which was recently added (but not part + of a release), until someone is able to ensure that xterm can + use it (report by Min Sik Kim).</li> + + <li>clear the buffer returned by getutid(). This fixes an + infinite loop on some platforms introduced in <a href= + "#xterm_193">patch #193</a> by Debian #256468 fix (report by + David Ellement).</li> + </ul> + + <h1><a name="xterm_195" id="xterm_195">Patch #195 - 2004/8/8 - + XFree86 4.4.99.11</a></h1> + + <ul> + <li>correct length used for blinking text, make the last column + blink (patch by Alexander V Lukyanov).</li> + + <li>start changes to make doublesize characters work with + TrueType fonts (see <a href="#xterm_44">patch #44</a>).</li> + + <li>trim leading/trailing blanks from color resources as done + for other strings in <a href="#xterm_167">patch #167</a>.</li> + + <li>fixes for <code>showBlinkAsBold</code> resource (report by + Christoph Berg).</li> + </ul> + + <h1><a name="xterm_194" id="xterm_194">Patch #194 - 2004/7/27 - + XFree86 4.4.99.11</a></h1> + + <ul> + <li>change clearing operations so foreground color attribute is + not set. Usually this is benign, but in some cases when the + cursor color is not set explicitly, the cursor would show this + color (Debian #252873, #260471).</li> + + <li>add extra state (cursor-moved) to guard against deciding + that the cursor did not require repainting after an indexing + operation that leaves the cursor in the same location on the + screen.</li> + + <li>fix a case where a full-screen indexing operation would not + restore the cursor-busy state.</li> + + <li>fix a repainting bug introduced in <a href= + "#xterm_180">patch #180</a>: when using a font lacking + line-drawing characters, a repaint of the screen could skip + horizontally an extra amount after filling in the missing + character (reports by Nicolas George, Hans de Goede, Redhat + Bugzilla #128341).</li> + + <li>rename terminfo fragment "xterm-pc-fkeys" to + "xterm+pcfkeys" for consistency with ncurses.</li> + </ul> + + <h1><a name="xterm_193" id="xterm_193">Patch #193 - 2004/7/19 - + XFree86 4.4.99.10</a></h1> + + <ul> + <li>fix for wide-character selection from OpenBSD CVS + (report/patch by Matthieu Herrb).</li> + + <li>modify initialization and cleanup of utmp data to also + compare the <code>ut_line</code> member (Debian #256468).</li> + + <li>modify check on focus-change to ignore + <code>FocusOut</code> events generated by + <code>XGrabKeyboard</code>. This fixes a case where the text + cursor would act as if focus were lost when selecting the + "Secure Keyboard" menu option.</li> + + <li>add <code>gen-pc-fkeys.pl</code> script, use that to + generate terminfo fragment corresponding to the pc-style + function keys.</li> + + <li>fix a case where the checkmark by the "VT220 Keyboard" menu + entry was not set on startup.</li> + + <li>separated two methods for making the cursor blink (menu and + escape sequence) by using the menu as the primary method and + XOR'ing the state of the escape sequence against that.</li> + + <li>modify logic for enabling blinking cursor via escape + sequence as well as the related save/restore operations so this + is only available if the <code>cursorBlink</code> resource was + set on startup.</li> + </ul> + + <h1><a name="xterm_192" id="xterm_192">Patch #192 - 2004/7/12 - + XFree86 4.4.99.9</a></h1> + + <ul> + <li>change resource settings for color4 and color12, add some + discussion in <code>XTerm-col.ad</code> (Debian #241717).</li> + + <li>add a note in xterm manpage discussing the difference + between alt- and meta-keys, and the way the latter is used in + the <code>eightBitInput</code> resource.</li> + + <li>add a note in xterm manpage regarding possible conflict + between resource settings for <code>xterm.vt100.font</code> and + <code>xterm.vt100.utf8Fonts.font</code> (Debian #254650).</li> + + <li>add compile-time customization of + <code>backarrowKeyIsErase</code> and + <code>ptyInitialErase</code> default resource values (adapted + from OpenBSD CVS).</li> + + <li>change parameter of <code>FIONREAD</code> + <code>ioctl()</code> call from long to int (discussion on + tech-x11@netbsd.org regarding LP64 by John Heasley and Matthias + Scheler).</li> + + <li>modify configure script options for Athena widgets to work + as expected for "--without-Xaw3d", etc., (GenToo Bugzilla + #53455).</li> + + <li>add case to uxterm to accommodate locales ending with + "@euro", e.g., fr_FR.UTF-8@euro (Debian #255197, + report/analysis by Matthieu Lagouge).</li> + + <li>add special case for VT100 graphic's "box" character + (discussion with Ben Armstrong).</li> + + <li>add missing initialization for bitmap-font sizes needed to + make fonts menu work with TrueType fonts (report by Ben + Armstrong).</li> + + <li>save the fontnames for bold fonts that are derived from + normal fonts, or from the <code>boldFont</code> resource, so + the same value is restored when switching with the VT Fonts + menu (Debian #256086).</li> + + <li>fix manpage preprocessing (Marc La France).</li> + + <li>fix typo in manpage's description of character classes + (Debian #257073).</li> + + <li>modify terminfo to accommodate luit, which relies on G1 + being used via an ISO-2022 escape sequence (Debian #254316, + analysis by Juliusz Chroboczek).</li> + + <li>modify Makefile.in rule for ctlseqs.txt to work around + groff SGR misfeature.</li> + + <li>modify <code>XTerm.ad</code> to set <code>saveLines</code> + default to 1024 (Redhat Bugzilla #127132).</li> + + <li>add a limit-check in <code>dotext()</code> to prevent + infinite loop in a corner case of UTF-8 configuration.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_191" id="xterm_191">Patch #191 - 2004/6/6 - + XFree86 4.4.99.7</a></h1> + + <ul> + <li>correct options parsing for <code>-into</code> option so it + can be combined with <code>-e</code> (Redhat Bugzilla #124518, + report/patch by James Armstrong).</li> + + <li>fix ifdef's for <code>OPT_COLOR_RES2</code> so that the + fake resource table introduced in <a href="#xterm_188">patch + #188</a> is not compiled if it is empty. This happened to work + with gcc (report by Joel Konkle-Parker).</li> + + <li>reorganize ptydata.c to use one input buffer shared between + the VTxxx and tek4014 emulators. In the new scheme, UTF-8 + decoding is performed on characters as they are needed by the + state machine rather than on buffers as they are read.</li> + + <li>work around change in quoting of PROJECTROOT symbol when + using configure script, from changes made in <a href= + "#xterm_187">patch #187</a> for CF_IMAKE_CFLAGS (GenToo + Bugzilla #50982).</li> + </ul> + + <h1><a name="xterm_190" id="xterm_190">Patch #190 - 2004/5/25 - + XFree86 4.4.99.6</a></h1> + + <ul> + <li>correct state for values in the range 128-159 after + translating from UTF-8: this should be ignored unless the user + overrides it with the <code>allowC1Printable</code> resource + (reported by Simon Strandgaard).</li> + + <li>add configure-script check for nl_langinfo(CODESET), use + this to replace check of environment variables for UTF-8.</li> + + <li>change Makefile.in rules for 256colres.h and 88colres.h so + they are only made if they do not exist. The maintainer-clean + rule will remove these files; they require perl to be + made.</li> + + <li>remove check in configure script --enable-toolbar that + suppressed this option when building with Xaw7.</li> + + <li>apply fixes to Tektronix widget used for VT100 widget to + make toolbar work with Xaw7 (XFree86 4.x).</li> + </ul> + + <h1><a name="xterm_189" id="xterm_189">Patch #189 - 2004/5/16 - + XFree86 4.4.99.6</a></h1> + + <ul> + <li>do not call xim_real_init() if <code>openIm</code> resource + is false (Debian #249025).</li> + + <li>minor improvements to built-in line-drawing.</li> + + <li>fix a few portability issues with dynamic abbreviation + support, i.e., did not compile on Tru64.</li> + + <li>modify constraints in form used to layout toolbar, to work + with newer Xaw in XFree86 4.x.</li> + </ul> + + <h1><a name="xterm_188" id="xterm_188">Patch #188 - 2004/5/12 - + XFree86 4.4.99.6</a></h1> + + <ul> + <li>correct table entry for DEL in the ground state, which + marked it as a printable character from <a href= + "#xterm_171">patch #171</a> (report by D Hugh Redelmeier).</li> + + <li>improve fix in <a href="#xterm_186">patch #186</a> for + failure in xim_real_init() by adding a sleep.</li> + + <li>fix a typo in os2main.c (XFree86 Bugzilla #1358, + report/patch by Frank Giessler).</li> + + <li>make escape sequence reporting dynamic colors consistent + with the logic that sets it; choosing the opposite color when + reverse video is set (XFree86 Bugzilla #1361, reported by Bradd + W Szonye).</li> + + <li>modify initialization of 256- and 88-colors so that colors + beyond 16 are normally not X resources. This works around a + hard-coded limit in Xt which breaks xterm when 256-colors and + luit are both configured (report by Noah Friedman).</li> + + <li>remove <code>ncv</code> from <code>xterm-256color</code> + terminfo entry since it is no longer needed (report by Eli + Zaretskii).</li> + + <li>add "erase2" and "eol2" keywords to <code>ttyModes</code> + resource, for recent/current FreeBSD.</li> + + <li>improve ifdef's for utempter library to omit direct calls + to <code>setutent()</code> or <code>getutent()</code> (adapted + from patch by Christian Biere).</li> + + <li>add dynamic abbreviation support like Emacs (patch by + Tomasz Cholewo). This is ifdef'd with <code>OPT_DABBREV</code>, + and enabled via the configure script + <code>--enable-dabbrev</code> option.</li> + + <li>fix problem responding to session management events, e.g., + which would make logging out very slow (patch by Eddy De Greef, + Debian #233883).</li> + + <li>work around a newer bug in toolbar with XFree86 by forcing + menus to be fully initialized at startup. In older versions of + XFree86 and X11R6, it was possible to delay initialization of + the menu contents until it was popped up. (The longstanding bug + with XFree86 4.x layout for toolbar still exists, though).</li> + + <li>modify <code>xtermAddInput</code> to work around core dump + on IRIX64 when initializing scrollbar translations if toolbar + is compiled-in.</li> + + <li>fix some minor conflicts in the 2-character entry names in + the termcap file.</li> + </ul> + + <h1><a name="xterm_187" id="xterm_187">Patch #187 - 2004/4/27 - + XFree86 4.4.99.4</a></h1> + + <ul> + <li>change xterm version string to use + <code>__vendorversion__</code> where that is available, and + "XTerm" otherwise.</li> + + <li>improve description of <code>utf8</code> resource in + manpage (Debian #179407).</li> + + <li>modify configure macros CF_IMAKE_CFLAGS and CF_ADD_CFLAGS + to handle <code>-D</code> options that define string values, + e.g., for <code>XVENDORNAME</code>.</li> + + <li>modify configure macro CF_IMAKE_CFLAGS to allow (if + <code>$PATH</code> is set accordingly) to use the + <code>xmkmf</code> script within an X build tree.</li> + + <li>add missing <code>#undef OPT_SESSION_MGT</code> to + xtermcfg.hin to make the configure script's + --disable-session-mgt option work.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_186" id="xterm_186">Patch #186 - 2004/4/18 - + XFree86 4.4.99.4</a></h1> + + <ul> + <li>change reset on <code>DECSCL</code> to a soft-reset + (appears some DEC manuals have errors).</li> + + <li>add a section to ctlseqs.ms elaborating on normal/alternate + screens.</li> + + <li>modify initialization of Acolors[] so that any + XtDefaultForeground or XtDefaultBackground values are + translated as in the Tcolors[], to use the window's + foreground/background colors. This affects the + <code>colorBD</code> and similar resources which normally have + no explicit color assigned.</li> + + <li>modify initialization of Tektronix window so that control + sequences setting its color before the window is popped up will + apply to its initial colors.</li> + + <li>add control sequence to set Tektronix window's + text-cursor.</li> + + <li>modify initialization of terminal colors, e.g., mouse + pointer and text cursor, to treat + <code>XtDefaultForeground</code> and + <code>XtDefaultBackground</code> values as the actual + foreground and background colors of the terminal rather than + white and black (Debian #241717).</li> + + <li>remove an incorrect comparison against + <code>PTYCHARLEN</code> in parsing the <code>-S</code> option + (report by Michael B Taylor).</li> + + <li>minor restructuring of terminfo/termcap files, having noted + some packager's customizations which caused the structure to be + confused.</li> + + <li>eliminate an isolated use of MIN/MAX in charproc.c</li> + + <li>replace <code>XtExtdefaultfont</code> and + <code>XtExtdefaultbackground</code> by their more familiar + equivalents <code>XtDefaultFont</code> and + <code>XtDefaultBackground</code>.</li> + + <li>replace ifdef's using <code>SCO</code>, <code>sco</code> + and <code>SCO325</code> with <code>__SCO__</code> (XFree86 + Bugzilla #1301, Kean Johnston). But ensure that it still builds + on platforms where this symbol is not defined.</li> + + <li>add <code>scoFunctionKeys</code> resource, to match + manpage.</li> + + <li>update manpage discussion of menus and related + resources.</li> + + <li>enable utmpx support for NetBSD 1.6C and newer (patch by + Matthias Scheler).</li> + + <li>add a note in the manpage discussing xterm's treatment of + open file-descriptors (request by Dan Shearer).</li> + + <li>modify <code>Help()</code> to make "xterm -h" write to + standard output rather than standard error (patch by Bram + Moolenaar).</li> + + <li>check for type of failure in xim_real_init() to avoid + looping when the problem is an unsupported input method rather + than a failure to connect to the XIM server. Problem was + introduced in <a href="#xterm_175">patch #175</a> (XFree86 + Bugzilla #1306).</li> + + <li>modify <code>Imakefile</code> to remove dependency of + "install" target on the <code>xterm</code> executable to make + installs from tree without attempting to rebuild anything + (commit by David Dawes, report/patch from Lee Olsen).</li> + + <li>remove call to <code>ShowCursor</code> from + <code>SetCursorBlink()</code> since that is redundant, and can + cause display glitches if the cursor is already blinking + (XFree86 Bugzilla #1158, patch/report by Andreas Schwab).</li> + </ul> + + <h1><a name="xterm_185" id="xterm_185">Patch #185 - 2004/3/3 - + XFree86 4.4</a></h1> + + <ul> + <li>fix tcap-query logic for the backspace key (XFree86 + Bugzilla #1233, report/patch by Anton Kovalenko).</li> + + <li>add test-scripts resize.pl and tcapquery.pl</li> + + <li>add translation to ASCII of commonly-used characters that + groff translates to Unicode, when the font in use does not + provide the corresponding glyphs (Debian #219551).</li> + + <li>modify RequestMaximize(), which performs maximize/restore + via control sequences, to account for window-frame (patch by + Jess Thrysoee).</li> + + <li>improve pattern used in <code>uxterm</code> to check for + UTF-8 locale, e.g., for HPUX (patch by H Merijn Brand).</li> + + <li>add <code>-fd</code> option and resource + <code>faceNameDoublesize</code> to specify double-wide fonts + with Xft (adapted from patch by Zarick Lau).</li> + + <li>change a couple of resource classes from "Boolean" to + specific values: <code>freeBoldBox</code>, + <code>forceBoxChars</code>.</li> + + <li>add resource <code>showMissingGlyphs</code> to outline + places on the screen where a font lacks the corresponding + glyph.</li> + + <li>add resource <code>showBlinkAsBold</code> to control + whether blinking text should be shown as bold or actual + blinking text.</li> + + <li>improve logic in ShowCursor() to avoid repainting the + cursor when it is already visible, e.g., in response to the + DECTCEM escape sequence. This also addresses XFree86 Bugzilla + #1158.</li> + + <li>implement blinking text, using the timer for blinking + cursor.</li> + + <li>modify FreeType support to allow resizing the font, in the + same ways the window can be resized if fixed fonts are used. + The relative font sizes are derived from the fixed font + sizes.</li> + + <li>add menu items and corresponding actions for switching + on/off the UTF-8 mode and Xft (TrueType) support.</li> + + <li>add logic to handle switching UTF-8 mode on/off. It worked + if the escape sequences were flushed, but if data was mixed in + with the same write, some were not handled properly (report by + Nicolas George).</li> + + <li>modify to allow turning UTF-8 mode on/off via escape + sequence even if <code>-wc</code> option was not given at + startup (patch by Peter Berg Larsen).</li> + + <li>amend fix for XFree86 Bugzilla #981, adjusting for + savedlines value (report by Tim Adye).</li> + + <li>fix a typo in computing relative font size (Jess + Thrysoee).</li> + </ul> + + <h1><a name="xterm_184" id="xterm_184">Patch #184 - 2003/12/31 - + XFree86 4.3.99.903</a></h1> + + <ul> + <li>improve configure-script checks for FreeType and related + libraries, using <code>xft-config</code> or + <code>freetype-config</code> scripts when available.</li> + + <li>fix configure-script check for <code>SYSV</code> definition + by ensuring whether <code>sys_errlist[]</code> is declared, and + by modifying the test program to include + <code>X11/Intrinsic.h</code> to check that <code>wchar_t</code> + is declared consistently (report by H Merijn Brand).</li> + </ul> + + <h1><a name="xterm_183" id="xterm_183">Patch #183 - 2003/12/26 - + XFree86 4.3.99.903</a></h1> + + <ul> + <li>correct logic for configurations that may attempt to open + both old/new-style pseudoterminals. In this case, the old-style + are preferred. Logic was broken in <a href="#xterm_145">patch + #145</a> (XFree86 Bugzilla #997, report/patch by Kean + Johnston).</li> + + <li>modify handling of <code>eightBitInput</code> resource in + UTF-8 mode to translate the value into UTF-8. Otherwise an + illegal UTF-8 code is sent to the application (report by Bram + Moolenaar).</li> + + <li>modify <code>uxterm</code> script to interpret help and + version options so xterm does not always create a window when + the user requests this information (Debian #223926).</li> + + <li>add a limit check to ScrnTstWrapped() (XFree86 Bugzilla + #981).</li> + + <li>modify DECSCL to perform a hard reset (RIS) as per DEC + manuals. Extended DECSCL to accept parameters for vt4XX and + vt5xx terminals.</li> + + <li>correct logic for ANSI conformance level escape sequences, + which were confused with DEC conformance level escape + sequences.</li> + + <li>correct state for vt52 shift-in/shift-out, which was not + reset properly after <a href="#xterm_171">patch #171</a>.</li> + + <li>correct handling of graphics characters for vt52 mode, + which did not display line-drawing characters after G1 fix from + <a href="#xterm_182">patch #182</a>.</li> + + <li>fixes for configure script to work with current Cygwin + headers and libraries.</li> + + <li>modify <code>Imakefile</code> to put the current directory + at the beginning of the include searchpath (patch by David + Dawes).</li> + </ul> + + <h1><a name="xterm_182" id="xterm_182">Patch #182 - 2003/12/2 - + XFree86 4.3.99.901</a></h1> + + <ul> + <li>correct logic for <code>metaSendsEscape</code> resource to + allow for the meta-right key to be tested. Improve check for + meta/alt modifiers by dropping the assumption that a keysym is + associated with only one modifier, and by ignoring NoSymbol + entries in the xmodmap data (XFree86 Bugzilla #924, patch by + David Dawes).</li> + + <li>correct wrapping logic for line-drawing characters written + in non-UTF-8 mode of xterm build for wide-characters (XFree86 + Bugzilla #918, report/patch by Jürgen Keil).</li> + + <li>improve manpage description of resources, in particular the + <code>utf8Fonts</code> class (XFree86 Bugzilla #905).</li> + + <li>add definitions to compile with glibc-based GNU/Hurd, + GNU/KFreeBSD and GNU/KNetBSD (XFree86 Bugzilla #893).</li> + + <li>compiler-warning fixes (patch by Christian Biere).</li> + + <li>add README.i18n (Tomohiro Kubota).</li> + + <li>correct initialization of G1 character set mapping, which + used line-drawing set as a result of confusion between "DEC + Supplemental Graphic" and "DEC Special Graphic" character sets + (see <a href="#xterm_34">patch #34</a> regarding DECSTR).</li> + + <li>correct ifdef in main.c for variable utret (patch by + Bernhard Rosenkraenzer).</li> + + <li>document in xterm's manpage how to use XFree86 ":unscaled" + keyword to suppress scaling of bold fonts.</li> + + <li>when deriving bold fontname from normal fontname, use the + normal font's average width to avoid for example selecting + 7x13bold from an 8x13 normal font (Debian #107769).</li> + </ul> + + <h1><a name="xterm_181" id="xterm_181">Patch #181 - 2003/10/26 - + XFree86 4.3.99.15</a></h1> + + <ul> + <li>implement <code>boldMode</code> for wide-character logic in + <code>drawXtermText()</code> (report by Michael + Schroeder).</li> + + <li>modify <code>UXTerm.ad</code> resource file to include + "XTerm-color" rather than "XTerm", in case the latter file + contains no color resource definitions, e.g., after <a href= + "#xterm_180">patch #180</a>.</li> + + <li>add action <code>load-vt-fonts()</code> and configure + option <code>--enable-load-vt-fonts</code> which allows users + to define additional sets of VT-fonts which can be loaded at + runtime.</li> + + <li>add logic to wide-character support which attempts to load + fonts specified by <code>utf8Fonts</code> subresources at + startup. The subresources have the same names as the fonts + which they replace, e.g., <code>font</code>, + <code>font1</code>, etc., so that the ISO-10646-1 fonts can be + specified in the <code>XTerm</code> app-defaults file (adapted + from patch by Tomohiro Kubota).</li> + + <li>improve Set Font escape string handling by making the + relative settings apply to the size of the font, as in shift + keypad plus/minus rather than the menu index.</li> + + <li>simplify parameter passing for the <code>set-vt-font</code> + action and related code.</li> + + <li>cleanup some include-ordering, moving some recently-added + hardcoded stuff into xterm.h where it will not interfere with + the configure script.</li> + + <li>modify <code>xtermAddInput()</code> (see note on + augmentation in <a href="#xterm_158">patch #158</a>) to use the + complete set of default keyboard translations so that one can + use shifted pageup, wheel mouse, etc., while the mouse pointer + is over the scrollbar. (Debian #178812).</li> + + <li>make save/restore mode controls apply to show/blink cursor + states.</li> + + <li>add escape sequence to start/stop blinking cursor, which + allows implementing <code>cvvis</code> terminfo capability + (request by Nate Bargmann).</li> + + <li>add <code>indp</code> and <code>rin</code> to terminfo + entry.</li> + + <li>fix an out-of-bounds array reference in ScrnRefresh() for + wide characters (report by Dan Harnett, patch by Todd Miller). + This bug dates from <a href="#xterm_141">patch #141</a>.</li> + </ul> + + <h1><a name="xterm_180" id="xterm_180">Patch #180 - 2003/10/12 - + XFree86 4.3.99.15</a></h1> + + <ul> + <li>several fixes for rendering using Xft via option + <code>-fa</code>: + + <ul> + <li>translate Unicode values, i.e,. from UTF-8 output to + xterm, for line-drawing to xterm's internal code, etc., + since TrueType fonts generally do not have either set of + line-drawing glyphs. xterm can draw these directly (report + by Abigail Brady).</li> + + <li>pass 16-bit values rather than 8-bit values to + xtermXftDrawString() to allow for wide-characters.</li> + + <li>remove spurious check for <code>colorBDMode</code> + resource in logic that does bold fonts.</li> + + <li>implement underlining.</li> + </ul> + </li> + + <li>patches by Ilya Zakharevich: + + <ul> + <li>improve drawXtermText() by making the recursive calls + communicate through arguments, and not through + saving/restoring global variables.</li> + + <li>make double-width characters work with <code>-u8</code> + option.</li> + + <li>modify lookup of double-sized fonts by checking for a + match ignoring x/y resolution if the first check + fails.</li> + </ul> + </li> + + <li>make height of TrueType fonts match ascent+descent (patch + by Keith Packard).</li> + + <li>correct configure-script check for imake $CFLAGS, which did + not check properly if imake was not available.</li> + + <li>correct install rule in Makefile.in for + <code>uxterm</code>, which was attempting to strip the script + (newsgroup posting by Fernan Aguero).</li> + + <li>correct AF/AB strings in termcap for xterm-256color and + xterm-88color entries (report by Josh Howard).</li> + + <li>update wcwidth.c to incorporate changes from Markus Kuhn's + 2003-05-20 (Unicode 4.0) version of that file.</li> + + <li>modify <code>scroll-back</code> and + <code>scroll-forw</code> actions to accept an adjustment value, + e.g., + <pre> + <code>scroll-back(1, page-2)</code> +</pre>to scroll back by 2 lines less than a page (patch by Greg +Klanderman). + </li> + + <li>use color resource setting from Debian package for xterm + VT100 widget, since the choice of blues provides better + contrast.</li> + + <li>remove color resources from <code>XTerm.ad</code>, leaving + them only in <code>XTerm-col.ad</code> (prompted by Debian + package for xterm).</li> + + <li>correct configure script option --enable-pty-handshake + (report by Paul Gilmartin).</li> + + <li>add <code>visualBellDelay</code> resource to modify the + length of time used for visual bell, for very slow displays or + very fast computers (reports by Ingo van Lil and Doug + Toppin).</li> + + <li>correct logic for initializing dynamic highlight color + (patch by Jess Thrysoee).</li> + + <li>add a check for non-zero size in call to + <code>XCopyArea()</code> to accommodate a Solaris bug.</li> + + <li>correct typo in example for character classes in xterm + manpage (Debian #198910).</li> + + <li>link xterm with bind_on_load option on Darwin to work + around a deadlock in the dynamic loader when a signal is + received while the dynamic loader is looking up symbols + (patches by Rob Braun, Torrey Lyons).</li> + + <li>modify configure script to avoid using "head -1".</li> + + <li>update config.guess, config.sub</li> + + <li>modify ifdef's to work around inclusion of types FcChar32 + and XftCharSpec with FreeType 2.0 (see <a href= + "#xterm_175">patch #175</a>).</li> + + <li>modify the predictable version of the generated logfile + name (see <a href="#xterm_171">patch #171</a>) to append the + process-id rather than a random value.</li> + + <li>resync with XFree86 CVS + + <ul> + <li>Enable SCO function keys in xterm</li> + + <li>Make Delete key send DEL by default on SCO in + xterm</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_179" id="xterm_179">Patch #179 - 2003/5/21 - + XFree86 4.3.99.5</a></h1> + + <ul> + <li>modify ifdef's for WTMPX_FILE to allow building on cygwin + again.</li> + + <li>change the default of pty-handshaking configure option (and + related default for imake) to assume this feature is + needed.</li> + + <li>add ifdef's so configure option for XawPlus library works + (patch by Pavel Roskin).</li> + + <li>add <code>$(MAIN_DEFINES)</code> to the variables checked + by the configure script that may contain information set by + imake. This allows xterm to build/run properly using the + configure script on IRIX64.</li> + + <li>add configure check for ".exe" suffix on cygwin.</li> + </ul> + + <h1><a name="xterm_178" id="xterm_178">Patch #178 - 2003/5/18 - + XFree86 4.3.99.5</a></h1> + + <ul> + <li>modify default for configure + <code>--enable-pty-handshake</code> option to enable it for + Solaris (report by Nelson Beebe).</li> + + <li>modify <code>in_put()</code> function to call + <code>PreeditPosition()</code> only when the cursor's position + has changed. This addresses report by Stefan Baums of high CPU + usage while xterm with chinput are running in the background + (patch by Yong Li).</li> + + <li>improved explanation of <code>-ls</code> conflict with + <code>-e</code> option in xterm manpage (adapted from comments + by Henning Makholm).</li> + + <li>correct comment in terminfo file regarding modifier used + for <code>kDC</code> (Debian #189764, report by Henning + Makholm).</li> + + <li>correct/extend some of the keypad description in ctlseqs.ms + (report by Henning Makholm).</li> + + <li>correct keypad-mapping table in input.c so + <code>XK_KP_Equal</code> works (report by Henning + Makholm).</li> + + <li>modified to work with CJK double-width (bi-width/monospace) + fonts. They're similar to Roman Czbora and David Starner's + gnuunifonts in that Latin letters and numbers have all the same + width which is exactly the half of the width of East Asian + characters. (patch by Jungshik Shin + <jshin@mailaps.org>).</li> + + <li>add configure option <code>--enable-broken-osc</code> and + resource <code>brokenLinuxOSC</code> to accommodate scripts + which do not distinguish between running in the Linux console + and running in X. Linux console recognizes malformed control + strings which start with an <code>OSC</code>, but are + fixed-length, with no terminator.</li> + + <li>add configure option <code>--enable-broken-st</code> and + resource <code>brokenStringTerm</code> to allow user to revert + one part of the parsing table corrections from <a href= + "#xterm_171">patch #171</a>. (reports by Matthias Scheler and + Kirill Ponomarew indicate that someone's network firmware sends + an <code><escape>X</code>).</li> + + <li>modify configure <code>--disable-imake</code> to provide + values for <code>OSMAJORVERSION</code>, + <code>OSMINORVERSION</code>, <code>FUNCPROTO</code> and + <code>NARROWPROTO</code> (report by Heiko Schlichting).</li> + + <li>correct <code>vttests/16colors.sh</code>, which omitted the + <code>$SUF</code> variable in output strings (patch by Paul + Gilmartin).</li> + + <li>modify shell scripts in <code>vttests</code> directory to + attempt to use named signals in the <code>trap</code> + statement, making this portable to OS/390 (report by Paul + Gilmartin). Tested on SunOS 4.1.4, which implements only + numbers.</li> + </ul> + + <h1><a name="xterm_177" id="xterm_177">Patch #177 - 2003/3/23 - + XFree86 4.3.0</a></h1> + + <ul> + <li>fix definition of <code>USE_HANDSHAKE</code>, must be + numeric (reported by Jens Schleusener).</li> + </ul> + + <h1><a name="xterm_176" id="xterm_176">Patch #176 - 2003/3/22 - + XFree86 4.3.0</a></h1> + + <ul> + <li>add configure option <code>--enable-pty-handshake</code> to + allow one to compile-in support for the pty handshaking logic, + and resource <code>ptyHandshake</code> to enable or disable it + (suggested by Ian Collier).</li> + + <li>restore <code>USE_HANDSHAKE</code> ifdef removed in + <a href="#xterm_159">patch #159</a> to address Debian + #39964.</li> + + <li>move ifdef's for ttysize/winsize into xterm_io.h</li> + + <li>simplify loop on <code>tgetent</code>, check if the + successive entries in the lookup table are the same. That makes + xterm do one less lookup if there is no "xterm" entry in the + termcap file (report by Derek Martin).</li> + + <li>correct manpage discussion of <code>$TERM</code> and + <code>$TERMCAP</code> variables, which omitted the Tektronix + emulation and a note of the final "dumb" fallback.</li> + + <li>broaden ifdef for + <code>XRegisterIMInstantiateCallback()</code> from <a href= + "#xterm_175">patch #175</a> (XIM fix) to exclude non-XFree86 + (report by Nelson Beebe indicates this breaks for Solaris, IRIX + and OSF/1).</li> + + <li>correct resource-size for <code>iconFont</code> (this was + added by X11R6.3).</li> + + <li>improve configure check for XKB bell extension, to work + around inconsistent implementation of this feature (reports by + Nelson Beebe, Kriston Rehberg and David Ellement).</li> + + <li>modify configure-check for <code>tty</code> group to be + less strict in batch mode (report by Nelson Beebe).</li> + + <li>modify to allow building with g++, to use its compiler + warnings (suggested by Nelson Beebe).</li> + + <li>modify <code>dec2ucs[]</code> table to reflect newer codes + available for scanlines 1, 3, 7, 9 (report by Michael + Schroeder).</li> + + <li>add configure option for XawPlus library.</li> + </ul> + + <h1><a name="xterm_175" id="xterm_175">Patch #175 - 2003/3/9 - + XFree86 4.3.0</a></h1> + + <ul> + <li>fix a SIGSEGV which could occur if xterm is connecting to + XIM server, and the XIM server is destroyed (patch by Nam + SungHyun).</li> + + <li>modify to use built-in line-drawing characters for Xft + fonts (patch by Andrew Tipton).</li> + + <li>make menu reflect the state of the <code>tekInhibit</code> + resource.</li> + + <li>make <code>signalInhibit</code> resource work, i.e., + disable the menu entries that would send signals to, or exit + xterm. This was probably broken in X11R5 when logging was + disabled (report by Sven Mascheck).</li> + + <li>changed classes of <code>colorBDMode</code> and similar + resources that override colors when a video attribute is set to + <code>ColorAttrMode</code>, to make them distinct from + <code>ColorMode</code>. This avoids an unexpected rendering of + reverse video, for example (report by Paul Fox).</li> + + <li>changed class of <code>veryBoldColors</code> to + <code>VeryBoldColors</code>, since <code>ColorMode</code> is + associated with boolean resources.</li> + + <li>add option <code>-k8</code> and resource + <code>allowC1Printable</code> to allow users of non-VTxxx + character sets such as KOI-8 to treat the C1 control area + (character codes 128-159) as printable rather than control + characters.</li> + + <li>add a null-pointer check for return-value of + <code>ptsname()</code> in HPUX-specific code (report by David + Ellement).</li> + + <li>revise the ifdef's used for <code>XKB</code> bell support. + The code was using a nonstandard call + <code>XkbStdBell()</code>. Changed to use + <code>XkbBell()</code> (based on patch by + <derek@signalmarketing.com>).</li> + + <li>add a null-pointer check in <code>xtermLoadFont()</code> in + case there is no wide-bold font (Nam SungHyun).</li> + + <li>change <code>Makefile.in</code> to use autoconf's + <code>bindir</code>, <code>libdir</code> and + <code>mandir</code> variables (report by Nam SungHyun).</li> + + <li>add <code>le</code> to termcap <code>xterm-basic</code> + entry. Though missing from older termcaps for xterm, some + applications check for it (report by Matthias Buelow).</li> + + <li>modify <code>uxterm</code> script to strip modifiers such + as "@euro" from the locale setting before adding ".UTF-8" + (Debian #179929).</li> + + <li>modify the remaining places where tek4014 emulation uses + <code>XDefineCursor()</code>, to make it work as originally + implemented, e.g., when switching back to alpha mode. Added + test-screen in vttest to test this feature properly.</li> + </ul> + + <h1><a name="xterm_174" id="xterm_174">Patch #174 - 2003/2/25 - + XFree86 4.2.99.903</a></h1> + + <ul> + <li>work-around for XFree86 bug which made + <code>XDefineCursor()</code> on a shell-window no longer work. + The tek4014 emulation used this. Use the next lower window + (report by Karl Rudolf Bauchspiess).</li> + + <li>add a resource setting <code>allowWindowOps</code> to + control whether the extended window operations should be + allowed, e.g., resize, iconify, report window attributes. This + is to accommodate people who are not capable of using a pager + to view log-files.</li> + </ul> + + <h1><a name="xterm_173" id="xterm_173">Patch #173 - 2003/2/6 - + XFree86 4.2.99.902</a></h1> + + <ul> + <li>reset mouse mode to normal on a full reset. This does not + apply to mouse hilite tracking mode, of course (see + ctlseqs.ms).</li> + + <li>add a time-delay at the point where mouse hilite tracking + mode choses to not handle X events, to avoid runaway CPU usage + (report by D Hugh Redelmeier).</li> + + <li>check for illegal character in DECUDK string, quit if + detected.</li> + </ul> + + <h1><a name="xterm_172" id="xterm_172">Patch #172 - 2002/12/27 - + XFree86 4.2.99.3</a></h1> + + <ul> + <li>fixes to make repainting of 256-color example work properly + (reports by Abigail Brady and Scott A Crosby). + + <ul> + <li>set flag in <code>AllocateAnsiColor()</code> to ensure + the color is allocated once only.</li> + + <li>fix check in <code>ScrnRefresh</code>, which was + comparing background colors only if the ANSI foreground + colors also were set.</li> + </ul> + </li> + + <li>merge <code>Error()</code> calls and some + <code>exit()</code> calls into <code>SysError()</code>, and + change that to add the brief explanation for each error code + which is provided in the manpage. Change a few + <code>SysError()</code>, calls to avoid using code 1, to avoid + confusion with exit status from places that do not use + <code>SysError()</code>.</li> + + <li>simplify logic used to open a debug logfile as the standard + error.</li> + + <li>modify the <code>-e</code> option so that if it fails, + xterm will check if only one argument follows, e.g., it was + quoted, and then retry using <code>sh -c</code>.</li> + + <li>modify parsing of DECUDK string parameter to allow a comma + between pairs of hexadecimal digits (Ray Neuman + <raymond@one.com.au> reports that "real" terminals accept + this; perhaps they simply ignore unexpected characters).</li> + + <li>fix a few problems with the <code>$TERMCAP</code> string + generated by <code>resize</code>: + + <ul> + <li>for Bourne shell, add an <code>export</code> command. + This was missing as far back as X11R5.</li> + + <li>escape exclamation marks, used in xterm's reset + string.</li> + + <li>translate literal <code>\177\</code> to "^?".</li> + </ul> + </li> + + <li>improve configure check for <code>tgetent()</code> to work + when <code>$TERMCAP</code> has been set to a specific + entry.</li> + + <li>modify <code>minstall.sh</code> to use "%" rather than "@", + to avoid problems with AFS (report by Zdenek Sekera).</li> + + <li>list fatal error codes from <code>error.h</code> in the + manpage, remove unused codes in <code>error.h</code>.</li> + + <li>use more explicit wording for manpage list of color + resources, since at least one user confused the generic names + such as "black" with the names in rgb.txt (the latter are now + used).</li> + + <li>minor fix to description of 1003 mouse mode in ctlseqs.ms + (Larry Riedel).</li> + </ul> + + <h1><a name="xterm_171" id="xterm_171">Patch #171 - 2002/12/12 - + XFree86 4.2.99.3</a></h1> + + <ul> + <li>modify parser tables to improve detection of malformed + control sequences, making xterm behave more like a real DEC + terminal (patch by Paul Williams).</li> + + <li>update comment in <code>input.c</code> to document + <code>Meta</code> as a modifier for escape sequences (patch by + D Roland Walker).</li> + + <li>add ifdef'd code for logging option which adds the hostname + and a timestamp to the generated logfile name. The ifdef's are + setup with the configure script (patch by Nelson Beebe).</li> + + <li>remove <code>xevents()</code> call from the end of + <code>BlinkCursor()</code>, to fix an occasional problem which + caused xterm to pause until a key was pressed. The reason for + this was that there was no check to ensure that there really + were events for <code>xevents()</code> to process. (patch by + Semen A Ustimenko <semenu@FreeBSD.org>).</li> + + <li>remove unused mode-params from <code>open()</code> calls + that do not create a file.</li> + + <li>modify configure script to put new items first on + <code>$CPPFLAGS</code> and <code>$CFLAGS</code> to avoid + conflict with environment's <em>-I</em> and <em>-D</em> + options.</li> + + <li>update config.guess, config.sub</li> + + <li>resync with XFree86 CVS + + <ul> + <li>fix va_args glitches for xterm/libfontconfig: 0 == + (void*)0 isn't true for all platforms (Egbert Eich).</li> + + <li>initialise ProgramName in xterm's main before + referencing it (#5473, Peter Valchev).</li> + + <li>some cleanup of Imakefile ifdef's (Marc La + France).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_170" id="xterm_170">Patch #170 - 2002/10/13 - + XFree86 4.2.1</a></h1> + + <ul> + <li>correct an off-by-one allocating data for sorted help + message.</li> + + <li>modify configure script to check for Xpm library, on which + XFree86 Xaw library depends.</li> + + <li>update config.guess, config.sub</li> + </ul> + + <h1><a name="xterm_169" id="xterm_169">Patch #169 - 2002/10/5 - + XFree86 4.2.1</a></h1> + + <ul> + <li>modify wording of some options in help message to make them + use <code>-/+</code> consistently with respect to "on/off" or + "off/on".</li> + + <li>sort options list which is displayed in help- and + syntax-messages at runtime to simplify maintenance.</li> + + <li>remove support for Amoeba and Minix (Juliusz Chroboczek + noted it was removed from XFree86 server; there have been no + users since 1996).</li> + + <li>add configure script option + <code>--disable-session-mgt</code> to control whether the + session management code should be compiled-in (request by H + Merijn Brand).</li> + + <li>ifdef'd the session-management changes with + <code>OPT_SESSION_MGT</code>, to accommodate X11R5 which + predates the related definitions.</li> + + <li>fix <code>decode_keyvalue()</code>, which did not properly + parse multiple settings as needed for the <code>ttyModes</code> + resource, since it did not skip over the parsed data.</li> + + <li>fix an option-parsing conflict between <code>-class</code> + and <code>-cjk_width</code> (Nam SungHyun)</li> + + <li>add a missing null in <code>XtVaSetValues()</code> call + used in <code>Cleanup()</code> (Nam SungHyun)</li> + </ul> + + <h1><a name="xterm_168" id="xterm_168">Patch #168 - 2002/9/29 - + XFree86 4.2.1</a></h1> + + <ul> + <li>improve data reported for control sequence that requests + window position by taking into account the window decorations, + e.g., border and title (patch by Jess Thrysoee + <jess@thrysoee.dk>).</li> + + <li>add <code>-cjk_width</code> and corresponding resource + <code>cjkWidth</code> (patch by Jungshik Shin + <jshin@mailaps.org>).</li> + + <li>add <code>-into</code> option, for embedding xterm in a + Tcl/Tk application (patch by George Peter Staplin + <georgeps@xmission.com>).</li> + + <li>add simple session management (XSM) client capabilities to + xterm. So a session manager such as, e.g., xsm, should be able + to respawn or kill xterms without the help of an SM proxy (like + smproxy), which is a hack and almost always buggy (patch by + David Madore).</li> + + <li>fix conflict between ifdef's for + <code>OPT_DEC_LOCATOR</code> and <code>OPT_READLINE</code> in + button.c (reported by Ilya Zakharevich).</li> + + <li>fix for inconsistent use of <code>struct utmp</code> versus + <code>struct utmpx</code> introduced in <a href= + "#xterm_167">patch #167</a> (patches by Paul Gilmartin, Marc La + France).</li> + + <li>modify logic for <code>metaSendsEscape</code> to allow it + to work in a setup where the Meta-key is not recognized as a + modifier by the key-translations logic (discussion of + eightBitInput with H.J.Lu). Note however that Vincent Lefevre + reported this in January).</li> + + <li>use null pointer values consistently, rather than literal + "0", for ending variable-length argument lists, e.g., for + <code>execlp()</code> (based on patch by Matthieu Herrb).</li> + + <li>correct logic of <code>ChangeAnsiColorRequest()</code>, + which would do a screen repaint after replying to a request for + information.</li> + + <li>improve scripts in vttests to work with systems whose + shells support <code>echo -n</code> and have, as does Debian, + an unrelated <code>print</code> utility.</li> + + <li>add vttests/acolors.sh to demonstrate OSC 4, which queries + or sets ANSI colors.</li> + + <li>fixes for ctlseqs.ms (Pavel Roskin, Ilya Zakharevich).</li> + + <li>typos in xterm manpage (Jens Schweikhardt)</li> + + <li>remove a redundant GCC_UNUSED from InitPopup() (Nam + SungHyun)</li> + </ul> + + <h1><a name="xterm_167" id="xterm_167">Patch #167 - 2002/8/24 - + XFree86 4.2.0</a></h1> + + <ul> + <li>correct ifdef's for <code>USE_TERMCAP</code> to match + cygwin configuration.</li> + + <li>fix several places in ctlseqs.ms which had no boxes around + the literal text (report by Ilya Zakharevich).</li> + + <li>extend mouse support for readline, ifdef'd with + OPT_READLINE (integrated patch from Ilya Zakharevich).</li> + + <li>modify terminfo description to match default for + <code>modifyCursorKeys</code> resource.</li> + + <li>add <code>modifyCursorKeys</code> resource to control how + the shift- and similar modifiers are used to make a cursor + escape sequence. The default makes a modified escape sequence + always start with CSI and puts the modifier as the second + parameter, to avoid confusing applications that would interpret + the first parameter as a repeat count. The original behavior + can be obtained by setting the resource to 0 (newsgroup + discussion with Stephen J Turnbull, Jeffrey Altman).</li> + + <li>correct missing initializations for + <code>appdefaultCursor</code> and <code>appdefaultKeypad</code> + resources.</li> + + <li>add configure option <code>--enable-luit</code> and ifdef'd + the luit-related code with OPT_LUIT_PROG.</li> + + <li>modify xterm to invoke luit (integrated patch by Tomohiro + Kubota)</li> + + <li>update wcwidth.c to match Markus Kuhn's 2002-05-18 + version.</li> + + <li>correct limit-checking in <code>ComputeSelect()</code> to + handle selections that extend off the visible area; rather than + modify the parameters to <code>TrackText()</code>, use + <code>ScrollSelection()</code> to update the highlighting + limits. (reported by Yegappan Lakshmanan and Nelson Beebe, + patch by Alexander V Lukyanov).</li> + + <li>correct manpage description of <code>tiXtraScroll</code> + resource (reported by Tony Finch).</li> + + <li>changes from OpenBSD: + + <ul> + <li>Make xterm setgid utmp to be able to update utmp even + with root privileges revoked.</li> + + <li>If not updating utmp, revoke group privileges totally + too.</li> + </ul> + </li> + + <li>changes from NetBSD: + + <ul> + <li>Check that the return value from ttyslot() is greater + than 0 before writing the utmp file. Fixes w's "w: Stale + utmp entry: <user> <tty> <pty>" + errors.</li> + + <li>Use openpty() to deal with new pty naming scheme.</li> + </ul> + </li> + + <li>add <code>print-redir</code> action and menu entry to allow + user to switch terminal in/out of printer controller mode. It + appears from the manual that a real vt220 would not switch back + to normal mode, so another mechanism is used (addresses Debian + #37517).</li> + + <li>check if <code>printerCommand</code> resource string is + empty, use this to allow user to disable printer function.</li> + + <li>trim trailing blanks from resource strings.</li> + + <li>check return value from <code>ptsname()</code>, which may + return null for example if someone has changed the permissions + of /dev/pts to zero (Debian #121899).</li> + + <li>modify OS/2 version to use <code>__UNIXOS2__</code> + definition rather than <code>__EMX__</code>, related cleanup + (patch by Holger Veit).</li> + + <li>used modified indent 2.0 (patch <a href= + "ftp://invisible-island.net/gnu-patches/">20020428</a>) to + reformat most of the C source files, to simplify + maintenance.</li> + + <li>fix a couple of places where there were leading tabs on + symbol-definition lines in Imakefile (Marc La France from + report by Tony Finch)</li> + + <li>add imake variable (TraceXTerm) to allow building debug + version (Egbert Eich).</li> + </ul> + + <h1><a name="xterm_166" id="xterm_166">Patch #166 - 2002/03/25 - + XFree86 4.2.0</a></h1> + + <ul> + <li>correct a bug in selection: double clicking on a word which + was partly scrolled off the screen may select that text (report + by Vincent Lefevre <vincent@vinc17.org>).</li> + + <li>implement <code>veryBoldColors</code> resource to control + whether the corresponding video attribute such as + <code>bold</code> is displayed when using + <code>colorBDMode</code>, etc. (request by Josh Howard + <jrh@vicor-nb.com>).</li> + + <li>define escape sequences for function keys F21-F35 (patch by + Steve Wall).</li> + + <li>change the colors for the 256-color model, making them less + skewed toward black (patch by Steve Wall).</li> + + <li>add <code>vt100Graphics</code> resource (see <a href= + "#xterm_115">patch #115</a>, based on discussion with Glenn + Maynard).</li> + + <li>ifdef'd Xaw/Xaw3d/neXtaw includes separately to avoid + potential incompatibilities between these flavors of Athena + widgets.</li> + + <li>add configure check for XFree86 4.x Xaw library, whose + geometry management is broken, to avoid trying to use it for + toolbar configuration.</li> + + <li>updates to configure script from vile and lynx to allow + configure.in to be compiled with autoconf 2.5x</li> + + <li>add a check for null pointer return by + <code>ptsname()</code> (newsgroup posting from Mike Silva + <mikesilva@lucent.com>).</li> + + <li>fill in a few details needed to allow UTF-8 mode to switch + on/off after startup. This requires that <code>wideChars</code> + resource be set. (based on comments in 4 Aug 2001 by Alexey + Marinichev <lyosha@lyosha.2y.net>).</li> + + <li>remove duplicate install rules that make directories, e.g., + so installing manpage will not create app-defaults + directory.</li> + + <li>add comment in in <code>do_osc()</code>, reserving cases 30 + and 31 for for Konsole (request by Stephan Binner + <Stephan.Binner@gmx.de>).</li> + + <li>fixes for ctlseqs.ms and xterm.man (patch by Werner Lemberg + <wl@gnu.org>).</li> + + <li>add check for monochrome display, disabling colorMode in + that case (fixes Debian #134130).</li> + + <li>resync with XFree86 CVS + + <ul> + <li>Fix some xterm build warnings on *BSD (patch by David + Dawes).</li> + + <li>Only use SA_RESTART in xterm when it's available (patch + by Frank Liu).</li> + + <li>Fix incorrect code in signal handlers in most of the + clients, xterm and xdm not done yet (patch by Matthieu + Herrb).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_165" id="xterm_165">Patch #165 - 2002/01/05 - + XFree86 4.1.0</a></h1> + + <ul> + <li>modify <code>uxterm</code> script to strip encoding part + from environment variable before adding ".UTF-8" (based on + Debian #125947, but using a more portable solution).</li> + + <li>add an assignment statement in VTInitialize() to make + <code>awaitInput</code> resource work.</li> + + <li>use new macros init_Bres(), etc., in VTInitialize() to add + trace of the initialization of resources.</li> + + <li>modify checks for $LC_ALL, related environment variables to + ensure the resulting strings are nonempty (report by Markus + Kuhn).</li> + + <li>add an ifdef in charproc.c for num_ptrs variable in case + all configure options are disabled.</li> + + <li>modify definition of getXtermBackground() to avoid negative + array index warning on Tru64 (report by Jeremie Petit).</li> + + <li>improve fix from patch #165 (still Debian #117184, report + by Matt Zimmerman <mdz@debian.org>)</li> + + <li>correct install rule for uxterm in Makefile.in, to handle + the case where building in a different directory than xterm's + source (patch by Paul Gilmartin).</li> + + <li>documented ANSI.SYS-style cursor save/restore escape + sequences in ctlseqs.ms, which are in xterm since X11R5.</li> + + <li>correct two entries in the default charClass table, which + did not follow the manpage comment about the character number + corresponding to the class (patch by Marc Bevand + <bevand_m@epita.fr>).</li> + + <li>fix a couple of typos in comments in the app-defaults files + (David Krause <xfree86@davidkrause.com>).</li> + + <li>resync with XFree86 CVS + + <ul> + <li>update language of copyrights in some files to reflect + the fact that they were reassigned from X Consortium to The + Open Group in 1998. Note that this xterm source is derived + from the 1996 version from X Consortium, does not + incorporate changes made by X Consortium or The Open Group + after that date, hence we do not add The Open Group's 1998 + copyright date to related files.</li> + + <li>save/restore <code>errno</code> in signal catcher + (patch by Matthieu Herrb).</li> + + <li>modify UXTerm.ad's font5 resource so that xterm can + display double width characters using a font distributed + with XFree86 (Tomohiro Kubota).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_164" id="xterm_164">Patch #164 - 2001/11/13 - + XFree86 4.1.0</a></h1> + + <ul> + <li>correct a case where <code>ptyInitialErase</code> and + <code>backarrowKeyIsErase</code> resources combine to set + <code>DECBKM</code> mode, but a <code>reset</code> command + would not reset xterm to that state, making the erase character + revert to ^H (Debian #117184)</li> + </ul> + + <h1><a name="xterm_163" id="xterm_163">Patch #163 - 2001/11/04 - + XFree86 4.1.0</a></h1> + + <ul> + <li>correct ifdef's for <code>__QNX__</code> and + <code>USE_SYSV_PGRP</code> in main.c call to + <code>tcsetpgrp</code>, which broke bash behavior around + <a href="#xterm_140">patch #140</a> (report/patch by Frank Liu + <fliu@mail.vipstage.com>).</li> + + <li>modify trace.c to fix missing definition of GCC_UNUSED for + compilers other than gcc when configured for trace code + (report/patch by Paul Gilmartin).</li> + + <li>change format in TraceOptions() to use long rather than + int, since the latter could lose precision on 64-bit machines + (report/patch by Nelson Beebe).</li> + + <li>modify xterm manual page and minstall.sh to allow imake + rules to define location of app-defaults directory (Debian + #87611).</li> + + <li>review/update list of conflicting preprocesor symbols to + remove from $CPPFLAGS at the end of the configure script. In + particular, this allows one to configure xterm without the + utempter library on Redhat 7.1 (report/patch by Adam + Sulmicki).</li> + </ul> + + <h1><a name="xterm_162" id="xterm_162">Patch #162 - 2001/10/23 - + XFree86 4.1.0</a></h1> + + <ul> + <li>correct logic that processes <code>-class</code> option, so + that a following <code>-e</code> option is handled (Debian + #116297).</li> + + <li>improve options-decoding to allow <code>-version</code> and + <code>-help</code> options to be combined (Debian + #110226).</li> + + <li>add a 10 millisecond delay in event loop when processing + <code>-hold</code> option, to avoid using too much CPU time + (Debian #116213).</li> + + <li>prefix final program execution in <code>uxterm</code> with + "exec" to avoid a useless shell hanging around (Christian + Weisgerber).</li> + </ul> + + <h1><a name="xterm_161" id="xterm_161">Patch #161 - 2001/10/10 - + XFree86 4.1.0</a></h1> + + <ul> + <li>modify logic that resets keypad application mode to avoid + doing this if there is no modifier associated with the Num_Lock + keysym (report by John E Davis <davis@space.mit.edu> and + Alan W Irwin <irwin@beluga.phys.uvic.ca>).</li> + + <li>add built-in translation for Control/KP_Separator to + KP_Subtract, to accommodate users who wish to use xmodmap to + reassign the top row of the numeric keypad.</li> + + <li>correct Imakefile install-rule for <code>uxname</code> + script (reported by Nam SungHyun <namsh@lge.com>).</li> + + <li>resync with XFree86 CVS – correct typo in + <code><ncurses/term.h></code> ifdef.</li> + </ul> + + <h1><a name="xterm_160" id="xterm_160">Patch #160 - 2001/10/7 - + XFree86 4.1.0</a></h1> + + <ul> + <li>modify logic in main.c (see <a href="#xterm_145">patch + #145</a>) to avoid generating the same identifier, for example, + for /dev/tty1 and /dev/pts/1, which is used to denote an entry + in the utmp file (Debian bug report #84676), A similar fix was + also sent by Jerome Borsboom <borsboom@westbrabant.net> + in May, but I overlooked it when reviewing bug reports.</li> + + <li>add configure check for <code><ncurses/term.h></code> + to get rid of hardcoded <code>__CYGWIN__</code> ifdef in + resize.c + + <p>NOTE: The CYGWIN port should not be linking + <code>resize</code> with ncurses. It appears that the only + reason it is, is because both the ncurses and termcap ports + on that platform are badly misconfigured (essential pieces + have been removed, etc). Checking for + <code><ncurses/term.h></code> does not hurt anything, + since there are some correct installations that are set up + that way.</p> + </li> + + <li>add a sample <code>uxterm</code> script, which uses the + <code>UXTerm</code> application defaults for UTF-8 + environments.</li> + + <li>undo change to xterm application defaults, since this + introduced an unnecessary incompatibility. The intended + functionality was already addressed by the <a href= + "#xterm_141">UXTerm</a> app-defaults file.</li> + + <li>resync with XFree86 CVS + + <ul> + <li>Modified xterm app default to use LFD fontnames instead + of old type (Michael Schroeder).</li> + + <li>Fix xterm when XIM is disabled - caused a segfault + (Tomohiro Kubota).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_159" id="xterm_159">Patch #159 - 2001/9/19 - + XFree86 4.1.0</a></h1> + + <ul> + <li>remove an ifdef for <code>USE_HANDSHAKE</code> added in + patch #158 from the second <code>TIOCSSIZE</code> ioctl call in + the initialization code. Paul Gilmartin reports that for + Solaris 2.6 (sparc), stty does not show that xterm sets rows + and columns unless the second ioctl is executed.</li> + + <li>correct treatment of empty parameter list for some OSC + strings (report by Sami Farin <sfarin@ratol.fi>).</li> + </ul> + + <h1><a name="xterm_158" id="xterm_158">Patch #158 - 2001/9/8 - + XFree86 4.1.0</a></h1> + + <ul> + <li>augment key translations for scrollbar widget to ensure + that keystrokes intended for the text area are not lost if the + mouse pointer happens to fall on the scrollbar. This can + happen, for instance, if the user's <code>app-defaults</code> + or <code>.Xdefaults</code> file contains a translations + resource, though it may also happen through unrelated resource + settings: probably a bug in libXt (reported by Paul Fox + <pgf@foxharp.boston.ma.us> and Dmitry Yu. Bolkhovityanov + <D.Yu.Bolkhovityanov@inp.nsk.su>).</li> + + <li>widen ifdef's in xterm.h to define + <code>__EXTENSIONS__</code> on Solaris, for compilers other + than gcc. This was added along <code>_POSIX_C_SOURCE</code> + with in <a href="#xterm_151">patch #151</a>, but is not + sufficient since Sun's compiler does not define + <code>__STDC__</code> by default (report by Matthias Scheler + <tron@zhadum.de>).</li> + + <li>modify xterm to obtain the closest matching color if an + exact color is not available, e.g., on 8-bit displays (patch by + Steve Wall)</li> + + <li>implement "OverTheSpot" preedit type of XIM input (patch by + Tomohiro Kubota): + + <ul> + <li>This preedit type is a reasonable compromise between + simpleness of implementation and usefulness. "Root" preedit + type is easy to implement but not useful; "OnTheSpot" + preedit type is the best in the point of view of user + interface but very complex. And more, "OverTheSpot" is the + preedit type which the most XIM servers support. Thus, to + achieve reasonable usability, support of "OverTheSpot" + preedit type is needed.</li> + + <li>In "OverTheSpot" preedit type, the preedit + (preconversion) string is displayed at the position of the + cursor. On the other hand, it is XIM server's + responsibility to display the preedit string. Thus, it is + needed for XIM client (here XTerm) to inform the XIM server + of the cursor position. And more, to achieve good visual + proportion, preedit string must be written using proper + font. Thus, it is XIM client's responsibility to inform the + XIM server of the proper font. The font must be supplied by + "fontset". Fontset is a set of fonts with charsets which + are specified by the current locale. Since XTerm uses + ISO10646 fonts regardless of the current locale, the fonts + for XIM must be prepared separately. It is difficult to + prepare fonts which are similar to XTerm font. Thus, my + patch uses a simple way - the default font is "*" which + matches every fonts and X library will automatically choose + fonts with proper charsets. I added "-fx" command option + and "ximFont" resource to override this default font + setting.</li> + + <li>changed the definition of "OverTheSpot" preedit type + from XIMPreeditPosition|XIMStatusArea to + XIMPreeditPosition|XIMStatusNothing. This matches the + behavior of other programs such as Rxvt, Kterm, Gedit.</li> + + <li>A tiny XIM bugfix is also included. By calling + XSetLocaleModifiers() with parameter of "", it can consier + XMODIFIERS environmental variable which is a standard way + for users to specify XIM server to be used.</li> + </ul> + </li> + + <li>adjust configure script to accommodate repackaging of + keysym2ucs.c as include-file for xutf8.c (patch by Tomohiro + Kubota).</li> + + <li>add the <code>UXTerm</code> app-defaults file to makefile + install rules (request by Juliusz Chroboczek).</li> + + <li>correct logic in <code>get_termcap()</code>, which returned + false if the <code>tgetent()</code> call indicated that xterm + was linked with terminfo. Although the <code>$TERMCAP</code> + variable cannot be adjusted in this case, xterm still needs + information from this call to extract data to initialize the + erase-mode when the <code>ptyInitialErase</code> resource is + false.</li> + + <li>modify <code>ScrollbarReverseVideo()</code> function to + cache the original border color, so it can restore that when an + application flashes the screen (Bugzilla #38872).</li> + + <li>resync with XFree86 CVS + + <ul> + <li>remove ifdef's for X_NOT_STDC_ENV (patch by David + Dawes).</li> + + <li>add Cygwin to special errno handling case in ptydata.c + (Alan Hourihane)</li> + + <li>set screen size earlier in initialization, to address a + race with window manager resizing its clients (Keith + Packard).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_157" id="xterm_157">Patch #157 - 2001/6/18 - + XFree86 4.1.0</a></h1> + + <ul> + <li>clean up button.c and input.c (patch by Juliusz + Chroboczek). The basic idea is to use a single set of APIs in + the XTerm core, and put a set of workarounds in a separate + file. As you will notice, this drastically simplifies parts of + the code; in particular, the only remaining ifdefs related to + the differences between Xutf8 and legacy systems are related to + the selection provider logic. This defines two new files, + xutf8.h and xutf8.c, provide some half-hearted but fully + portable emulation for the three Xutf8* functions that XTerm + uses. Putting these in a separate file will allow people to + experiment with more complex versions without making the core + of XTerm more difficult to maintain. The functionality of the + emulation is as follows. + + <ul> + <li>Xutf8TextListToTextProperty fully handles XStringstyle + and XUTF8StringStyle. It will only generate STRING for + XStdICCTextStyle, and wil only generate Latin-1 in + XCompoundTextStyle (but label it as COMPOUND_TEXT, as the + spec requires). (I have hesitated to make this function + fail for XStdICCTextStyle and XCompoundTextStyle; this + might be a smart thing to do, in the hope that the + selection requestor will try UTF8_STRING afterwards; + opinions?)</li> + + <li>Xutf8TextPropertyToTextList fully handles STRING and + UTF8_STRING. It systematically fails for + COMPOUND_TEXT.</li> + + <li>Xutf8LookupString will properly handle single-keystroke + input for the keysyms covered by Markus' keysym2ucs + function. It will not handle either compose key input or + external input methods.</li> + </ul> + </li> + + <li>add an ifdef for <code>SunXK_F36</code>, used in + <code>xtermcapKeycode()</code> (patch by Mark Waggoner + <waggoner@ichips.intel.com>).</li> + + <li>modify check for login name to try <code>getlogin()</code> + and $LOGNAME, $USER environment variables to detect if the user + has logged in under an alias, i.e., an account with the same + user id but a different name (Debian bug report #70084).</li> + + <li>add resource <code>tiXtraScroll</code>, which can be used + to preserve the screen contents in the scrollback rather than + erasing it when starting a fullscreen application such as + <code>vi</code> (patch by Ken Martin + <fletcher@catsreach.org>).</li> + + <li>two patches by Denis Zaitsev <zzz@cd-club.ru>: + + <ul> + <li>added <code>forceBoxChars</code> resource to control + the "line-drawing characters" option.</li> + + <li>added <code>freeBoldBox</code> resource, which, when + set true, suppresses check in + <code>same_font_size()</code>, so xterm does not attempt to + ensure that the bold font is the same size as the normal + font.</li> + </ul> + </li> + + <li>change the color class for ANSI colors and similar ones + such as bold-color, etc., to follow the convention that the + classname is the instance name with a leading capital (e.g., + <code>color0</code> and <code>Color0</code> rather than + <code>color0</code> and <code>Foreground</code>). There was + little use for Foreground as a class other than to create + occasional confusion and bug reports, most recently by Nelson + Beebe who reports that it disables colors in xterm but not on + Linux, which is probably due to a difference in resource + evaluation order. A configure script option + (--disable-color-class) is provided for anyone who did use the + older behavior.</li> + + <li>fix a signal-handling bug. When running xterm with + <code>ksh</code> or similar shell such as bash 2.05, xterm will + hang and not respond to keystrokes after the user types + <code>suspend</code>. Additionally the popup menus do not + respond, so it is not possible to send SIGCONT to the shell. + What is happening is that the shell is sending itself SIGSTOP, + and it is being stopped. Per specification it also means that + the operating system is sending SIGCHLD to parent to the bash + (XTERM). Now the issue is that xterm assumes it cannot happen + and it expects to receive SIGCHLD only upon + <em>termination</em> of its children. This causes a deadlock + with xterm waiting for the child to die, and the child waiting + for SIGCONT. (report/patch by Adam Sulmicki), analysis/testing + by Sven Mascheck + <sven.mascheck@student.uni-ulm.de>).</li> + + <li>correct some inconsistent checks for + <code>XtReleaseGC()</code> calls in + <code>xtermLoadFont()</code> (patch by Nam SungHyun + <namsh@lge.com>).</li> + + <li>updated wcwidth.c and keysym2ucs.c to versions dated + 2001/1/12 and 2001/4/18, respectively from + http://www.cl.cam.ac.uk/~mgk25/ucs/</li> + + <li>correction to change from <a href="#xterm_90">patch + #90</a>, which was intended to reset the saved cursor position + for normal/alternate screens on a soft reset, but actually + wiped out all of the saved cursor information. Just reset the + saved position for the current screen (report by Michael + Schroeder).</li> + + <li>modify ShowCursor() and HideCursor() so that if the cursor + points to the second part of a wide character, make the + show/hide operate on the first position of the wide character + (patch by Sven Verdoolaege).</li> + + <li>scrolling in the alternate screen just before switching + back to the main screen can cause extra blank lines to be + inserted into the scrollback buffer (patch by Paul Vojta + <vojta@math.berkeley.edu>).</li> + + <li>resync with XFree86 4.1.0: + + <ul> + <li>Use TermcapLibrary as -lncurses instead of -ltermcap, + fixes problem building xterm/resize on Cygwin/XFree86 + (Harold Hunt).</li> + + <li>Install xterm.termcap and xterm.terminfo when + installing xterm (Torrey T. Lyons).</li> + + <li>Fix some build issues on Cygwin/XFree86 (Suhaib + Siddiqi).</li> + + <li>Define CBAUD, when it's missing in xterm, on LynxOS + (Stuart Lissaman).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_156" id="xterm_156">Patch #156 - 2001/4/28 - + XFree86 4.0.3</a></h1> + + <ul> + <li>change order of selection-target types to make 8-bit xterm + prefer UTF8_STRING to COMPOUND_TEXT (patch by Juliusz + Chroboczek).</li> + + <li>document <code>-fa</code>, <code>-fs</code> command-line + options and <code>faceName</code>, <code>faceSize</code> + resources which are used by the freetype library support.</li> + + <li>if configure script finds freetype libraries, but imake + definitions do not have the XRENDERFONT definition, define it + anyway.</li> + + <li>modify configure script check for freetype libraries to + include <code><Xlib.h></code>, since an older version of + the related headers relies on this (patch by Adam + Sulmicki).</li> + </ul> + + <h1><a name="xterm_155" id="xterm_155">Patch #155 - 2001/4/20 - + XFree86 4.0.3</a></h1> + + <ul> + <li>correct return type of in_put() from <a href= + "#xterm_155">patch #153</a> changes, which left it not wide + enough for UTF-8 (patch by Bruno Haible).</li> + </ul> + + <h1><a name="xterm_154" id="xterm_154">Patch #154 - 2001/4/11 - + XFree86 4.0.3</a></h1> + + <ul> + <li>undo check for return value from <code>pututline</code> + (used for debugging) since that function does not return a + value on Slackware 3.6.</li> + + <li>correct length in ScreenWrite, when rendering invisible + text (patch by Sven Verdoolaege <skimo@kotnet.org>).</li> + + <li>fixes/improvements for the <code>i18nSelection</code> + resource from patch #153, by Bruno Haible: + + <ul> + <li>add missing initialization for + <code>i18nSelection</code> resource.</li> + + <li>split-out the non-ICCM aspect of the + <code>i18nSelection</code> resource as a new resource, + <code>brokenSelections</code>.</li> + </ul> + </li> + + <li>add configure check for <code><time.h></code> and + <code><sys/time.h></code>, to allow for Unixware 7, + which requires both. If the configure script is not used, only + <code><time.h></code> will be included as before (report + by Thanh Ma).</li> + + <li>fix redefinition of <code>dup2</code>, + <code>getutent</code>, <code>getutid</code>, + <code>getutline</code> and <code>sleep</code> functions on + Unixware 7 (report by Thanh Ma + <Thanh.Ma@casi-rusco.com>)</li> + + <li>add a fall-back definition for <code>__hpux</code>, which + is apparently not defined in some compilers on HPUX 11.0 + (reported by Clint Olsen).</li> + + <li>change VAL_INITIAL_ERASE, which is used as a fallback for + the <code>"kb"</code> termcap string to 8, since that matches + the xterm terminal description (request by Alexander V + Lukyanov).</li> + + <li>correct an off-by-one in <code>ClearInLine</code>, which + caused the erase-characters (ECH) control to display + incorrectly (patch by Alexander V Lukyanov).</li> + + <li>correct escape sequences shown in terminfo for shifted + editing keys. The modifier code was for the control key rather + than the shift key.</li> + </ul> + + <h1><a name="xterm_153" id="xterm_153">Patch #153 - 2001/3/29 - + XFree86 4.0.3</a></h1> + + <ul> + <li>increase PTYCHARLEN to 8 for os390, add some debugging + traces for UTMP functions (patch by Paul Gilmartin).</li> + + <li>correct an misplaced brace in + <code>SelectionReceived()</code> (patch by Bruno Haible).</li> + + <li>correct an assignment dropped in + <code>SelectionReceived()</code> which made it not compile for + wide-characters combined with debug traces.</li> + + <li>correct typo, clarify description of 88- and 256-color + controls (report by Bram Moolenaar).</li> + + <li>correct a typo in ctlseqs.ms which caused DEC Locator + control sequences using single quote "'" display grave "`" + instead (reported by Paul Williams, apparently in patch + #114).</li> + </ul> + + <h1><a name="xterm_152" id="xterm_152">Patch #152 - 2001/3/13 - + XFree86 4.0.2</a></h1> + + <ul> + <li>correct index in inner loop in <code>VTInitI18N()</code> + from patch #151 changes, which resulted in infinite loop under + some conditions (report/analysis by Paul Gilmartin).</li> + + <li>remove spurious "%|" from terminfo sgr capabilities + (report/analysis by Adam M Costello, Debian #89222).</li> + + <li>add shell script to adjust list of dynamic libraries linked + by <code>resize</code> when building with the standalone + configure script. Otherwise it uses the same list as for xterm, + which is excessive.</li> + + <li>fix a few compiler warnings reported by the 20010305 gcc + snapshot.</li> + </ul> + + <h1><a name="xterm_151" id="xterm_151">Patch #151 - 2001/3/10 - + XFree86 4.0.2</a></h1> + + <ul> + <li>alter the behaviour of selections in XTerm (patch by + Juliusz Chroboczek). It is believed to follow the ICCCM + + UTF8_STRING to the letter, both in UTF-8 and in eight-bit mode. + From his description: + + <ul> + <li>When compiled against XFree86 4.0.2, the patched XTerm + will make the selection available as COMPOUND_TEXT, STRING + or UTF8_STRING in both modes. It will request selections in + the following order: + + <p>UTF-8 mode: UTF8_STRING, TEXT, COMPOUND_TEXT, + STRING.<br> + eight-bit mode: TEXT, COMPOUND_TEXT, UTF8_STRING, + STRING.</p> + </li> + + <li>When compiled against an earlier version of XFree86 (or + compiled with OPT_UTF8_API=0), it will still obey the + ICCCM, but will neither request nor provide UTF8_STRING in + eight-bit mode, and neither TEXT nor COMPOUND_TEXT in UTF-8 + mode.</li> + + <li>For compatibility with previous versions of XTerm, a + resource <code>i18nSelections</code> is provided, please + see the manpage for details. However, due to an unexpected + combination of ICCCM extensions by various bits and pieces + of the libraries, interacting with previous versions of + XTerm will work in many locales even without this flag. + (Please do not set this resource to true by default, as + this would violate the ICCCM.)</li> + </ul> + </li> + + <li>improved error checking/reporting in VTInitI18N(), ensuring + that lack of input method styles is treated distinctly from a + mismatch.</li> + + <li>remove an incorrect ifdef from patch #141 which suppressed + overstriking to simulate bold font when xterm was compiled to + support wide characters (report/analysis by Adam M Costello + <amc@cs.berkeley.edu>, Debian #76404, Debian + #77575).</li> + + <li>modify <code>RequestResize()</code> function to + save/restore window manager hints. Its call to + <code>XtMakeResizeRequest()</code> had the undesirable + side-effect of clearing window manager hints, e.g., when + switching to 132-columns via DECCOLM escape sequence. Window + manager hints make it simple to resize xterm in terms of + character cells rather than pixels (reports by Christian + Weisgerber, Debian #79939). + + <p>This applies to the normal configuration. When built with + toolbar support, the hints are applied to a different widget + level (more work will be needed to make hints work with the + toolbar).</p> + </li> + + <li>fix a redefinition warning for resize.c on OpenBSD (patch + by Christian Weisgerber).</li> + + <li>change resource corresponding to <code>-T</code> option to + match Xt library's <code>-title</code>, i.e., + <code>.title</code> rather than <code>*title</code> so the + command-line options are interchangeable as documented (Debian + bug report #68843).</li> + + <li>add script used from autoconf'd makefile for installing + manpages, since recent XFree86 changing the way section numbers + are represented makes the install dependent on extra + scripts.</li> + + <li>add configure check for freetype libraries and configure + option --disable-freetype to override this feature.</li> + + <li>modify some configure script macros to avoid using + changequote(), which has been rendered useless in the latest + autoconf alpha 2.49c</li> + + <li>update config.guess, config.sub to 2001-2-13</li> + + <li>remove redundant/contradictory __CYGWIN__ definitions from + resize.c</li> + + <li>correct manpage typo introduced by X11R6.5 resync.</li> + </ul>Changes from XFree86 4.0.2: + + <ul> + <li>add definition of <code>_POSIX_C_SOURCE</code> for Solaris + to make this compile with <code>gcc -ansi -pedantic</code> + (report by <mark@zang.com>.</li> + </ul> + + <h1><a name="xterm_150" id="xterm_150">Patch #150 - 2000/12/29 - + XFree86 4.0.2</a></h1> + + <ul> + <li>move the binding for shifted keypad plus/minus, which + invokes the <code>larger-vt-font()</code> and + <code>smaller-vt-font()</code> actions, respectively, into the + translations resource (suggested by Marius Gedminas + <mgedmin@puni.osf.lt>).</li> + + <li>modify configure script to support the + <code>--program-prefix</code>, <code>--program-suffix</code> + and <code>--program-transform-name</code> options (request by + Alison Winters <alison@mirrabooka.com>).</li> + + <li>fixes for wide/combining characters (Robert Brady): + + <ul> + <li>fix a scrolling / combining characters display + anomaly</li> + + <li>fix a problem with double-width characters where if the + primary font had no box-drawing characters, the right hand + half of double-width characters was erased (reported by Yao + Zhang <yzhang@sharemedia.com>).</li> + + <li>fix special case of null byte for key handling in UTF-8 + locales.</li> + </ul> + </li> + + <li>modify logic that compares sizes of normal and bold fonts + to be more forgiving of the font server's choice of bold font + which must match the normal font's size. Now + <code>same_font_size()</code> compares the height of the fonts + rather than individually ascent and descent, and allows the + bold font to be one pixel smaller than the normal font + (addresses a report by Alan Citterman <alan@mticket.com>, + who says that something in patches #146 to #148 made xterm more + likely to overstrike bold fonts, and indirectly Debian bug + report #76404, which reports the opposite).</li> + + <li>make configure script use $CFLAGS and $CPPFLAGS + consistently, including removing a chunk from configure.in + which attempted to save/restore $CPPFLAGS while processing + value set by the --x-includes option, but lost values set in an + intervening AC_CHECK_HEADERS. This change modifies macros + CF_ADD_CFLAGS, CF_ANSI_CC_CHECK and CF_X_TOOLKIT, as well as + removing variables IMAKE_CFLAGS and X_CFLAGS from the generated + makefile (the AC_CHECK_HEADERS problem was reported by Albert + Chin-A-Young <china@thewrittenword.com<).</li> + + <li>correct a comparison in SELECTWORD case of ComputeSelect(), + which resulted in a word-selection wrapping past the first + column without checking the first column's character class + (reported by Christian Lacunza + <celacunza@netscape.net></li> + + <li>correct a logic in UTF-8 mode for selecting double-width + characters; a combining character was omitted (patch by Markus + Kuhn).</li> + + <li>add feature to pop (raise) window when a bell is received + (patch by Gael Roualland + <gael.roualland@dial.oleane.com>).</li> + + <li>add __NetBSD__ and __OpenBSD__ to special-case in + xterm_io.h for USE_POSIX_TERMIOS definition (patch by Christian + Weisgerber).</li> + + <li>move special-case HPUX include for <sys/bsdtty.h> to + xterm_io.h to define TIOCSLTC, making HAS_LTCHARS defined for + HPUX 10.20 (report by Bruno Betro).</li> + </ul> + + <h1><a name="xterm_149" id="xterm_149">Patch #149 - 2000/12/6 - + XFree86 4.0.1h</a></h1> + + <ul> + <li>restructured includes for <code>termios.h</code>, + <code>termio.h</code> and related definitions for main.c, + os2main.c, screen.c and resize.c so they will share equivalent + definitions in a new header <code>xterm_io.h</code>. This is + intended to solve some problems mainly for HPUX which appear to + arise from inconsistent definitions for SIGWINCH- and + HAS_LTCHARS-related symbols (reports by Bruno Betro, Jeremie + Petit and Clint Olsen).</li> + + <li>improve usability of double-width fonts by allowing normal + fonts to be given as double-width (from a patch by Fabrice + Bellard <bellard@email.enst.fr>).</li> + + <li>correct a few compiler warnings in TRACE() macros for + signed/unsigned variable differences (reported by Clint + Olsen).</li> + + <li>make configure script use $CFLAGS and $CPPFLAGS more + consistently, i.e., by using CF_ADD_CFLAGS in CF_ANSI_CC + macro.</li> + + <li>expanded description of environment variables in + manual-page.</li> + + <li>modify OPT_TCAP_QUERY feature to always return the termcap + or terminfo capability string in the response, and to + read/write the names in hexadecimal form to allow for the + special case of termcap's <code>k;</code> name (patch by Bram + Moolenaar).</li> + + <li>add OPT_SAME_NAME and OPT_TCAP_QUERY to xtermcfg.hin, so + the corresponding configure options work (patch by Bram + Moolenaar).</li> + + <li>resync with XFree86 4.0.1g: + + <ul> + <li>Rewrite Xft library for Render extension/core text and + font management Change xterm to use new interface (Keith + Packard).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_148" id="xterm_148">Patch #148 - 2000/10/31 - + XFree86 4.0.1d</a></h1> + + <ul> + <li>document logfile options in man-page.</li> + + <li>correct spelling of <code>-samename</code> option in help + message.</li> + + <li>add configure script option + <code>--enable-tcap-query</code> (request by Bram + Moolenaar).</li> + + <li>add a "Co" or "colors" entry to the OPT_TCAP_QUERY feature + (patch by Bram Moolenaar).</li> + + <li>patch by Kiyokazu Suto <suto@ks-and-ks.ne.jp>: + + <ul> + <li>add support for bold font for double width characters. + The font name may be specified with the command line option + <code>-fwb</code> or with resource + <code>wideBoldFont</code> (class + <code>WideBoldFont</code>).</li> + + <li>correct underlining of double width character string, + which was drawn only half width.</li> + + <li>correct binary search of precomposed character table, + which may return wrong result when <code>int</code> is just + 32 bits.</li> + </ul> + </li> + + <li>some changes to align terminfo with ncurses 5.2: + + <ul> + <li>remove xtermm description, retaining xterm-mono since + the former conflicts with ncurses.</li> + + <li>modify initialization and reset strings to avoid + putting the save/restore cursor operations bracketing + changes to video attributes, since the changes could be + lost when the cursor is restored. This affects xterm-r6 and + xterm-8bit (the xterm-xfree86 entry uses the soft-reset + feature which resets scrolling margins and origin mode + without requiring us to save/restore the cursor + position).</li> + + <li>make a few entries explicitly inherit from + xterm-xfree86 rather than xterm: xterm-rep, xterm-xmc, + xterm-nrc</li> + </ul> + </li> + + <li>ensure that sign-extension does not affect + <code>ctype</code> macros by using <code>CharOf()</code> macro + to coerce the parameter to an unsigned char.</li> + + <li>resync with XFree86 4.0.1d: + + <ul> + <li>Add primitive support in xterm for Xft based fonts + (Keith Packard). The changes are ifdef'd with + <code>-DXRENDERFONT</code>.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_147" id="xterm_147">Patch #147 - 2000/10/26 - + XFree86 4.0.1c</a></h1> + + <ul> + <li>correct implementation of <code>ptyInitialErase</code>: the + value assigned to <code>initial_erase</code> was for the + control terminal, which is correct as far as it goes. But there + was no following test for the pseudo-terminal's erase value, + which would overwrite the default obtained from the control + terminal (reported by Christian Weisgerber + <naddy@mips.inka.de>).</li> + + <li>modify check for printable-characters in OSC string to use + xterm's ansi_table rather than isprint() macro, to isolate this + check from locale settings. This fixes a problem using 8-bit + characters to set the title (reported by Ricardas Cepas + <rch@richard.eu.org>).</li> + + <li>modify sample scripts to check for printf before print, + since the latter is not as well standardized (e.g., on + Linux).</li> + + <li>updated config.sub, config.guess to reflect changes on + subversions.gnu.org</li> + </ul> + + <h1><a name="xterm_146" id="xterm_146">Patch #146 - 2000/9/12 - + XFree86 4.0.1c</a></h1> + + <ul> + <li>correct two instances overlooked from patch #141 which + assumed UTF-8 mode without checking, causing a core dump in + non-UTF-8 mode (one instance was reported by Tommi Virtanen + <tv@debian.org>).</li> + + <li>correct a problem selecting from the scrollback buffer in + UTF-8 mode by changing remaining getXtermCell() calls to + XTERM_CELL() as in the non-UTF-8 cases (report by Markus Kuhn, + patch by Robert Brady).</li> + </ul> + + <h1><a name="xterm_145" id="xterm_145">Patch #145 - 2000/9/11 - + XFree86 4.0.1c</a></h1> + + <ul> + <li>changes for UTF-8 configuration (Robert Brady): + + <ul> + <li>doublewide characters don't lose their accents when the + cursor moves onto or from them (a visual bug)</li> + + <li>fix logic in addXtermCombining, which mean that if the + low byte of a cell's first combining char was 0, a + following combining char would go into combining slot 1, + not 2.</li> + + <li>modify logic for cut-buffers so UTF-8 data is first + converted to Latin1.</li> + + <li>collapse surrogates, 0xfffe, 0xffff to UCS_REPL.</li> + + <li>modify to allow xterm to to show combining characters + attached to doublewidth characters.</li> + + <li>correct bug in linewrap with -u8 option (reported by + Andreas Koenig <andreas.koenig@anima.de>).</li> + </ul> + </li> + + <li>several changes to PTY logic (based on request by Tim Ryan + <timryan@nortelnetworks.com>). + + <ul> + <li>modify treatment of <code>-S</code> option to to make + it work with Unix98 PTY's.</li> + + <li>restore sense of IsPts flag in <code>get_pty()</code>, + which was lost in Unix98 changes.</li> + + <li>use new functions <code>my_pty_id()</code> and + <code>my_pty_name()</code> to simplify/fix strings used for + utmp, wtmp identifiers.</li> + + <li>simplify <code>get_pty()</code> function, making it + have a single return point so its inputs/outputs can be + identified.</li> + </ul> + </li> + + <li>update config.guess and config.sub and scripts to my + 20000819 patch, adding cases for OS/2 EMX.</li> + + <li>add special case for os390 compiler options to configure + script (patch by Paul Gilmartin)</li> + + <li>fix some unused-variable compiler warnings (reported by + Zdenek Sekera).</li> + + <li>split-out some string functions into xstrings.c, to use + them more consistently among main.c, os2main.c and + resize.c</li> + + <li>align termcap/terminfo files, adding entries to make them + match. The termcap entries are necessarily less complete than + the terminfo, to fit within 1023 character per entry.</li> + + <li>add terminfo entry for xterm-sco (SCO function keys).</li> + + <li>modify <code>same_font_name()</code> to properly handle + wildcard introduced in <code>bold_font_name()</code>, making + comparison for different fonts succeed when only the normal + font is specified. This is needed to decide if 1-pixel offset + should be used. (reported in a newsgroup by Bart Oldeman + <enbeo@enbeo.resnet.bris.ac.uk>)</li> + + <li>correct preprocessor line for OPT_WIDE_CHARS in + drawXtermText() from patch #141 which resulted in overstriking + for bold fonts not working.</li> + + <li>correct Imakefile from 4.0.1c resync so UTF-8 modules are + in UTF8SRC, UTF8OBJ lists, allowing build without UTF-8 + support.</li> + </ul> + + <h1><a name="xterm_144" id="xterm_144">Patch #144 - 2000/8/23 - + XFree86 4.0.1b</a></h1> + + <ul> + <li>remove a spurious assignment in ScreenWrite() from Robert + Brady's patch which set a null at the "end" of the buffer to be + written. That made the autowrap feature write a blank in the + first column for the non-UTF-8 configuration, rather than the + actual character (reported by Alan Citterman + <alan@mticket.com>).</li> + </ul> + + <h1><a name="xterm_143" id="xterm_143">Patch #143 - 2000/8/19 - + XFree86 4.0.1b</a></h1> + + <ul> + <li>add a check to ensure that <code>-class</code> command-line + option is not confused with <code>-c</code> (reported by Paul + Townsend <aab@aab.cc.purdue.edu>).</li> + </ul> + + <h1><a name="xterm_142" id="xterm_142">Patch #142 - 2000/8/18 - + XFree86 4.0.1b</a></h1> + + <ul> + <li>correction to precompose scripts, so 0061 + 0300 will now + be really be displayed as 00C0 (patch by Robert Brady + <robert@susu.org.uk>).</li> + + <li>correct macro ClassSelects() in button.c, used to hide + ifdef's for OPT_WIDE_CHARS in patch #141 (reported by Andreas + Paul <paula@informatik.tu-muenchen.de>).</li> + + <li>change wcwidth.h to include stddef.h rather than wchar.h, + which is not present on OpenBSD and FreeBSD (reported by + Christian Weisgerber and Bram Moolenaar).</li> + + <li>newer config.sub and config.guess, from lynx + 2.8.4dev.7</li> + </ul> + + <h1><a name="xterm_141" id="xterm_141">Patch #141 - 2000/8/14 - + XFree86 4.0.1b</a></h1> + + <ul> + <li>changes for doublewidth and combining characters, from + http://www.ecs.soton.ac.uk/~rwb197/xterm/ (integrated patch by + Robert Brady). In this context, doublewidth refers to 16-bit + character sets which may have glyphs occupying two cells.</li> + + <li>add command-line option <code>-class</code>, which allows + one to override xterm's resource class. Also add resource file + <code>UXTerm.ad</code>, which simplifies using xterm for both + 8-bit character sets and UTF-8.</li> + + <li>fixes/improvements to OPT_TCAP_QUERY logic (patches by Bram + Moolenaar, Steve Wall).</li> + </ul> + + <h1><a name="xterm_140" id="xterm_140">Patch #140 - 2000/7/23 - + XFree86 4.0.1</a></h1> + + <ul> + <li>modify Makefile.in to circumvent GNU make's built-in suffix + rule for ".sh" which confuses install.sh with the "make + install" target (report/patch by Paul Gilmartin).</li> + + <li>implement an experimental control sequence which an + application may use to query the terminal to determine what + sequence of characters it would send for a given function key. + This is ifdef'd with OPT_TCAP_QUERY (request by Bram + Moolenaar).</li> + + <li>add /usr/local to search path in CF_X_ATHENA configure + macro to build with Xaw3d on OpenBSD (patch by Christian + Weisgerber).</li> + + <li>add missing <code>#undef HAVE_TERMIO_C_ISPEED</code> to + xtermcfg.hin, omitted in patch #133 fix for IRIX 6.5 baudrate + (report by Alain Filbois <Alain.Filbois@loria.fr>).</li> + + <li>correct a few errors in xterm.man: font in filename example + for Tektronix emulation, and description of -nul/+nul + command-line options (report by Eric Fischer + <enf@pobox.com>).</li> + + <li>update config.guess and config.sub, from tin and lynx.</li> + </ul> + + <h1><a name="xterm_139" id="xterm_139">Patch #139 - 2000/6/17 - + XFree86 4.0d</a></h1> + + <ul> + <li>back out change to <code>-name</code> command-line option, + restoring its original behavior (as noted by David Madore, the + correct interpretation of this option is the application + instance rather than the application class).</li> + </ul> + + <h1><a name="xterm_138" id="xterm_138">Patch #138 - 2000/6/15 - + XFree86 4.0c</a></h1> + + <ul> + <li>workaround for fixed fonts which are generated from Unicode + fonts: they omit glyphs for some xterm's less-used line-drawing + characters, which caused xterm to set a flag telling it to use + only its internal line-drawing characters. Do not set the flag + (it can be set from the popup menu), and xterm will generate + only the line-drawing glyphs which actually are missing.<br> + Otherwise, when used for large fonts, xterm may generate a + 2-pixel wide line, which can leave dots on the screen.</li> + + <li>restore first line of 256colres.pl, omitted in 4.0c + diffs.</li> + </ul> + + <h1><a name="xterm_137" id="xterm_137">Patch #137 - 2000/6/10 - + XFree86 4.0b</a></h1> + + <ul> + <li>make command-line <code>-name</code> option work as + documented. Apparently this was lost in X11R5 when coding to + use <code>XtAppInitialize</code>.</li> + + <li>limit numeric parameters of control sequences to 65535 to + simplify checks for numeric overflow.</li> + + <li>change index into UDK list to unsigned to guard against + numeric overflow making the index negative (Taneli Huuskonen + <huuskone@cc.helsinki.fi>).</li> + + <li>change <code>sun function-keys</code> resource name to + <code>sunFunctionKeys</code> to work around redefinition of the + token <code>sun</code> by xrdb on Solaris. Similarly, renamed + resource <code>sun keyboard</code> to + <code>sunKeyboard</code> (Steve Wall).</li> + + <li>change similar resource names for HP and SCO to avoid + potential conflict with xrdb symbols on other systems, as well + as for consistency.</li> + + <li>reorganized the install targets in the autoconf'd Makefile, + adding install-app, install-bin, install-dirs and install-man. + The app-defaults class can be overridden by setting the make + variable 'CLASS', simplifying customization of xterm as a + Unicode terminal, e.g., CLASS=UXTerm.</li> + + <li>add limit checks to <code>ClearInLine()</code>, + <code>ScrnInsertChar()</code>, <code>ScrnDeleteChar()</code> to + correct potential out-of-bounds indexing (prompted by Debian + bug report #64713, which reported a problem with ICH escape + sequences).</li> + + <li>updates to config.sub and config.guess Kevin Buettner + <kev@primenet.com> for elf64_ia64 Bernd Kuemmerlen + <bkuemmer@mevis.de> and MacOS X.</li> + + <li>for os390, add check for errno set to ENODEV on failure to + open /dev/tty when there is no controlling terminal (patch by + Paul Gilmartin).</li> + + <li>fixes for building on Digital Unix 4.0 and AIX 4.2 (patch + from H Merijn Brand <h.m.brand@hccnet.nl>).</li> + + <li>modify DECRQSS reply for DECSCL to additionally report if + the terminal is set for 8-bit controls.</li> + </ul> + + <h1><a name="xterm_136" id="xterm_136">Patch #136 - 2000/6/3 - + XFree86 4.0b</a></h1> + + <ul> + <li>add a resource (<code>limitResize</code>) limiting resizing + via the CSI 4 t and CSI 8 t sequences.</li> + + <li>ignore out-of-bounds resize requests, i.e., where + sign-extension or truncation of the parameters would + occur.</li> + </ul> + + <h1><a name="xterm_135" id="xterm_135">Patch #135 - 2000/5/29 - + XFree86 4.0b</a></h1> + + <ul> + <li>remove code introduced in #134 which made some backgrounds + bold.</li> + + <li>minor correction to format of updated $TERMCAP when adding + <code>kb</code> capability for <code>ptyInitialErase</code> + logic.</li> + + <li>improved test for SVR4 definition.</li> + </ul> + + <h1><a name="xterm_134" id="xterm_134">Patch #134 - 2000/5/28 - + XFree86 4.0b</a></h1> + + <ul> + <li>update URL's and mailing addresses, moved to + http://dickey.his.com and dickey@herndon4.his.com</li> + + <li>correct missing quotes in CF_TTY_GROUP configure script + macro in case the script is run in batch mode.</li> + + <li>modify ownership-check of log file to ignore the group + ownership. Otherwise xterm cannot create logfiles in + directories with set-gid permissions.</li> + + <li>simplify the logic that reads termcap data.</li> + + <li>add fallback definition for B9600 in case line speed + definition for 38400 is missing (report by Jack J Woehr + <jwoehr@ibm.net>, for OpenBSD 2.6).</li> + + <li>fix: Set highlightColor, and select a region containing the + text cursor. If the window loses focus, the cursor becomes + hollow, with the region inside the cursor being + background/foreground, unlike the rest of the selection, which + is foreground/highlight (patch by Ross Paterson + <ross@soi.city.ac.uk>).</li> + + <li>add configure script tests to define SVR4, SYSV and + USE_POSIX_WAIT, which enables xterm to compile on Solaris 7 and + SCO Openserver without imake, though there are still a few + features for the latter which require <code>sco</code> to be + predefined.</li> + + <li>patches from Steve Wall: + + <ul> + <li>add support for two Sun-specific function keys. These + keys are labeled F11 and F12 on Sun Type 5 keyboards, but + return SunXK_F36 and SunXK_F37. Support will only be + compiled in if the header file <X11/Sunkeysym.h> + exists and contains the appropriate symbol definitions. The + keycodes for the DEC keycodes were arbitrary unused codes, + but the ones for the Sun keycodes are what cmdtool and + shelltool actually send.</li> + + <li>add <code>colorRV</code> and <code>colorRVMode</code> + resources to allow specifying a color to use for reverse + video, similar to the existing UL, BD, and BL modes.</li> + + <li>add <code>alwaysUseMods</code> resource, to override + check if <code>alt</code> or <code>meta</code> modifiers + are used in <code>translations</code> resource. Revamped + the code to calculate the modifier value, and included Meta + if alwaysUseMods is TRUE, using values 9-16.</li> + </ul> + </li> + + <li>fixes for os390 (Paul Gilmartin): + + <ul> + <li>regularize the definition of CONTROL() and remove an + acknowledged "trial and error" table.</li> + + <li>translate "^?" into A2E(0177) which is the EBCDIC "DEL" + rather than plain 0177 which is the EBCDIC quotation + mark.</li> + + <li>modify <code>xtermMissingChar()</code> so that EBCDIC + codes 128-159 are not rendered as blanks by X server + running on Solaris, which sees those as control + characters.</li> + + <li>make debugging traces (configure --enable-trace) work + properly with EBCDIC.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_133" id="xterm_133">Patch #133 - 2000/5/2 - + XFree86 4.0a</a></h1> + + <ul> + <li>add substitutions in autoconf'd Makefile for CPPFLAGS, + LDFLAGS and AWK (reported by Neil Bird).</li> + + <li>correct uninitialized <code>childstat</code> variable from + patch #131 in <code>creat_as()</code> function, which caused + logging to not work on Solaris, whose <code>waitpid()</code> + function does not initialize its parameter. Add check for EINTR + on return from <code>waitpid()</code> as well (reported by Neil + Bird <neil.bird@rdel.co.uk>).</li> + + <li>remove a redundant check for working <code>setuid()</code> + function introduced in patch #132. Greg Smith reports that this + does not work as intended on os390.</li> + + <li>change line speed from 9600bd to 38400bd, to accommodate + people who mistakenly use $TERM set to <em>vt100</em>, to + reduce the effect of padding associated with this terminal + type.</li> + + <li>add configure script check for IRIX 6.5's redefinition of + baud rates associated with <code>struct termio</code>, to + correct a situation where the baud rate was initialized to zero + (reported by Andrew Isaacson <adi@lcse.umn.edu>).</li> + + <li>remove unused configure script check for VDISABLE.</li> + </ul> + + <h1><a name="xterm_132" id="xterm_132">Patch #132 - 2000/4/11 - + XFree86 4.0a</a></h1> + + <ul> + <li>undo an incorrect change from patch #113 caused the right + scrollbar to be positioned incorrectly when re-enabling it + (analysis by D Roland Walker).</li> + + <li>add ctrlFKeys resource, replacing constant for adjusting + control-F1 to control-F12 to VT220-style F10-F20. The resource + changes the constant 12 to a default value of 10 (request by + Jim Knoble <jmknoble@pobox.com>).</li> + + <li>correct ifdef'ing for conflict between definitions in AIX's + <sys/select.h> and <X11/Xpoll.h> (reported by Clint + Olsen).</li> + + <li>add checks for return-values of getutid(), initgroups() and + setuid() in main.c, as well as modifying ifdef's for __osf__ to + include tty-group and WTMP logic (adapted from patch by Paul + Szabo <psz@maths.usyd.edu.au>)</li> + + <li>modify resize.c to build and work on os390 (uses EBCDIC) + (adapted from patch by Phil Sidler + <Phil.Sidler@airborne.com>)</li> + + <li>use Ires(), Bres() and Sres() macros to simplify resource + list in charproc.c</li> + + <li>resync with XFree86 4.0a: + + <ul> + <li>correct a typo in os2main.c (Holger Veit, from + 4.0a).</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_131" id="xterm_131">Patch #131 - 2000/3/3 - + XFree86 3.9.18b</a></h1> + + <ul> + <li>improve logfile security (integrated patch by Branden + Robinson) + + <ul> + <li>make the <code>creat_as()</code> function more strict + by using O_EXCL rather than O_APPEND.</li> + + <li>fixes to make DEBUG ifdef's compile/run, including + making the debug logfile more unique by appending a + timestamp to its name.</li> + + <li>include <term.h> in resize.c, to fix a + missing-prototype warning.</li> + </ul> + </li> + + <li>modified <code>creat_as()</code> a little more, retaining + the ability to append to a logfile If the user specifies the + name. Also, check if the opened file (which patch #130 ensures + is owned by the effective user) is not writable by other + users.</li> + + <li>use <code>creat_as()</code> logic to make tek4014 + screen-copy more secure (noted by Branden Robinson).</li> + + <li>ifdef'd some of Branden's changes to build/work on older + machines.</li> + + <li>correct missing initialization of the <code>.mode</code> + flag in <code>ColorRes</code> struct, from patch #129. This + worked on Linux because <code>malloc()</code> zeroes memory on + that platform (reported by Christian Weisgerber).</li> + + <li>modify logic for <code>deleteIsDEL</code> resource so it + has internally 3 states: unspecified, true and false. If + unspecified, the keyboard type determines whether the Delete + key transmits <code><ESC>[3~</code> or <code>\177</code>, + and the popup menu entry reflects the internal state. + Otherwise, the popup menu entry overrides the keyboard type + (suggested by Dr Werner Fink, to make it simpler to set + resources that imitate the legacy X11R6 xterm).</li> + </ul> + + <h1><a name="xterm_130" id="xterm_130">Patch #130 - 2000/3/1 - + XFree86 3.9.18a</a></h1> + + <ul> + <li>modify <code>scroll-forw()</code> and + <code>scroll-back()</code> actions, adding a third parameter + which will direct xterm to ignore the action when mouse + reporting is enabled. This is needed for the wheel mouse to be + used to report to the application rather than scroll the + window.</li> + + <li>add menu entry and action to allow disabling xterm's + assumption that the current font contains line-drawing + characters if the font cells 1-31 are nonempty. Some fonts may + have other characters (reported by Bruno Betro + <bruno@iami.mi.cnr.it>).</li> + + <li>add a check in <code>creat_as()</code> to ensure that the + user really owns the logfile that has been opened.</li> + + <li>add logic to implement SCO function-keys. (This is really + incomplete, since I intend to revisit this and make xterm able + to emulate scoansi better than just the function-keys).</li> + + <li>add configure script option --enable-sco-fkeys, minor + related fixes (patch by Dr Werner Fink).</li> + + <li>fix typos in ctlseqs.ms (reported by Bram Moolenaar)</li> + + <li>fix typo in sinstall.sh default for $TST_PROG (reported by + Paul Gilmartin <pg@sweng.stortek.com>)</li> + </ul> + + <h1><a name="xterm_129" id="xterm_129">Patch #129 - 2000/2/26 - + XFree86 3.9.18a</a></h1> + + <ul> + <li>improve initialization of ANSI colors by delaying + allocation until each color is first used.</li> + + <li>remove ifdef that prevented colorBD/colorUL/colorBL + resources from working when 256-color configuration was built + (reported by Todd Larason).</li> + + <li>fix some minor inconsistencies in terminfo (Debian + #58530).</li> + </ul> + + <h1><a name="xterm_128" id="xterm_128">Patch #128 - 2000/2/17 - + XFree86 3.9.18</a></h1> + + <ul> + <li>correct logic for <code>oldXtermFKeys</code> resource, + fixes a core dump when attempting to set it from the + command-line (reported by Dr Werner Fink).</li> + + <li>correct ifdef for meta-sends-escap so configure + --disable-num-lock builds.</li> + </ul> + + <h1><a name="xterm_127" id="xterm_127">Patch #127 - 2000/2/12 - + XFree86 3.9.17e</a></h1> + + <ul> + <li>add resource, popup menu entry and control sequence to + allow changing the Delete key to send either DEL or the + VT220-style Remove escape sequence.</li> + + <li>remove logic for metaSendsEscape that would allow xterm to + send <code><ESC>[3~</code> before a function key that + would begin with <code><ESC>[3~</code> (request by + Christian Weisgerber).</li> + + <li>add missing action and documentation for + meta-sends-escape.</li> + + <li>correct a few typos in ctlseqs.ms (incorrect code for Cyan + color)</li> + </ul> + + <h1><a name="xterm_126" id="xterm_126">Patch #126 - 2000/2/8 - + XFree86 3.9.17c</a></h1> + + <ul> + <li>ensure that xterm will automatically activate the UTF-8 + mode whenever the name of the locale environment variable + suggests that a UTF-8 locale is in use (patch by Markus Kuhn). + This will help that by simply setting LC_CTYPE an entire system + can be switched over to UTF-8, without users having to remember + the UTF-8 command line options ("-u8", etc.) of the various + applications. Command line options and X resource entries can + still be used to override this default choice.</li> + + <li>add old function-keys control sequences and popup menu + entry, for compatibility with legacy X11R6 xterm.</li> + + <li>revert translation of editing keypad "Delete" key to legacy + \177.</li> + + <li>simplify the color-resource data expressions with macro + COLOR_RES, for later use in restructuring color + initialization.</li> + + <li>change encoding of wheel mouse (buttons 4 and 5) to avoid + conflict with legacy mouse modifiers (suggested by Bram + Moolenaar).</li> + </ul> + + <h1><a name="xterm_125" id="xterm_125">Patch #125 - 2000/1/31 - + XFree86 3.9.17c</a></h1> + + <ul> + <li>make this work on OpenVMS (integrated patch by David + Mathog).</li> + + <li>rename some functions, e.g., <code>Index</code> to + <code>xtermIndex</code> so that ports such as VMS which link + externals ignoring case will not have library conflicts + (reported by David Mathog).</li> + + <li>correct logic of <code>do_reversevideo()</code>, which did + not update the corresponding popup menu check mark (reported by + David Mathog, this was a detail overlooked in patch #94).</li> + + <li>change TRACE macro so semicolon is not within definition, + making <em>indent</em> and similar programs work better.</li> + + <li>add <code>depend</code> rule to Makefile.in</li> + + <li>modify logic of boldColors resource to suppress it if an + extended color control has been used, e.g., for 88-color or + 256-color mode (patch by Todd Larason).</li> + + <li>revise logic that handles menus and input translation for + keyboard type so only one can be selected at a time.</li> + + <li>restore kdch1=\177 for the Sun function-key type, and make + the the Delete key send DEL (\177) if the oldXtermFKeys + resource is set.</li> + + <li>rephrase logic and ifdef's for POSIX VDISABLE to avoid + preprocessor expression that will not compile on NetBSD/x86 + 1.4.1 (reported by Takaaki Nomura + <amadeus@yk.rim.or.jp>).</li> + </ul> + + <h1><a name="xterm_124" id="xterm_124">Patch #124 - 2000/1/27 - + XFree86 3.9.17b</a></h1> + + <ul> + <li>change coding of editing keypad's "Delete" key to + <escape>[3~, in the default (Sun/PC) keyboard mode. This + makes the terminfo kdch1 capability independent of the coding + of the backarrow key, which sends either backspace (8) or DEL + (127). The reason for doing this (compatibility with the + <em>screen</em> program) outweighs the choice of DEL (127) + which was used in X11R5/X11R6 xterms. The <em>screen</em> + program translates whatever matches kdch1 into + <escape>[3~, even if it happens to be the stty erase + character.</li> + + <li>add encoding for control/?, to work around xmodmap or key + translations which may confuse backspace and delete. A + control/? will send DEL (127), and a control/H will of course + send backspace (8).</li> + + <li>add encoding for kcbt to <escape>[Z (fixes Debian + #54840).</li> + + <li>minor correction to logic that encodes Sun and DEC function + keys to avoid sending an escape sequence if the key symbol is + not found in xterm's lookup table.</li> + + <li>simplify ifdef's in main.c for POSIX VDISABLE so the "^-" + pattern is more likely to be implemented when <em>imake</em> + configures xterm (fixes Debian #55105).</li> + + <li>change manpage to make it clearer what codes are sent by + the backarrow key.</li> + </ul> + + <h1><a name="xterm_123" id="xterm_123">Patch #123 - 2000/1/22 - + XFree86 3.9.17a</a></h1> + + <ul> + <li>add a note reserving OSC 51 for use in Emacs shell (request + by Rob Mayoff <mayoff@dqd.com>).</li> + + <li>correct a missing backslash in xterm-vt220 termcap.</li> + + <li>cleanup remaining quoted includes, preferring bracketed + form.</li> + + <li>minor configure-script macro updates from tin and + vile.</li> + + <li>add configure-script option for using utempter library, + adapted from Redhat 6.1 patch for XFree86 3.3.5</li> + + <li>resync with XFree86 3.9.17a: + + <ul> + <li>correction to QNX support (Frank Guangxin Liu)</li> + + <li>some cosmetic changes that did not correct any reported + problems.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_122" id="xterm_122">Patch #122 - 1999/12/28 - + XFree86 3.9.16f</a></h1> + + <ul> + <li>move the suggested wheel-mouse button translations into + charproc.c to simplify customization. Correct some minor logic + errors in the support for buttons 4 and 5, used for wheel mice + (reported by Bram Moolenaar).</li> + + <li>implement <em>metaSendsEscape</em> resource, with + corresponding control sequence and menu entry. Like + <em>eightBitInput</em>, this causes xterm to send ESC prefixing + the given key, but applies to all keys and is independent of + the 8-bit/7-bit terminal setting. (requests by Alexander V + Lukyanov and Marc Feeley).</li> + + <li>correct potential indexing with negative subscript in + udk_lookup(), (reported by Ian Collier + <Ian.Collier@comlab.ox.ac.uk>).</li> + + <li>modify configure script that sets TERMINFO_DIR to use + ${prefix} rather than /usr if the --prefix option was specified + (request by Zdenek Sekera <zs@sgi.com>).</li> + + <li>modify checks for repeat-character control sequence to test + the character class against xterm's state table, rather than + the isprint() macro (patch by Alexander V Lukyanov).</li> + + <li>change several functions to macros to improve speed</li> + + <li>two corrections to simulation of bold font via + overstriking: + + <ul> + <li>use clipping to avoid leaving trash at end of the text, + and</li> + + <li>add brackets so wide-character logic does not + fall-through into the overstriking logic (reported by Marc + Feeley <feeley@IRO.UMontreal.CA>)</li> + </ul> + </li> + + <li>add several entries to termcap file to make it have the + same set of aliases as the terminfo file.</li> + + <li>scale the color values used for xterm-256color terminfo + entry to 0..1000, as expected by ncurses.</li> + + <li>change xterm-r6 terminfo definitions for F1-F4 to match + program.</li> + + <li>Add QNX/Neutrino support (Frank Guangxin Liu + <frank@ctcqnx4.ctc.cummins.com>)</li> + </ul> + + <h1><a name="xterm_121" id="xterm_121">Patch #121 - 1999/11/14 - + XFree86 3.9.16c</a></h1> + + <ul> + <li>change label on "Sun/PC Keyboard" popup menu entry to + "VT220 Keyboard", since the checked state corresponds to VT220 + rather than Sun/PC.</li> + + <li>add configure test CF_UTMP_UT_XSTATUS to handle the + variants of utmp exit status (reports by Dave Ellement, Jeremie + Petit, Tomas Vanhala).</li> + + <li>amend treatment of ALT key (see <a href="#xterm_94">patch + #94</a>) so that if ALT is used as a modifier in key + translations, then no parameter will be sent in escape + sequences for Sun/PC function keys (request by Dr Werner + Fink).</li> + + <li>modify default for OPT_I18N_SUPPORT to assume that + <code>XtSetLanguageProc()</code> is available in X11R5. + + <p>Caveat: <code>XtSetLanguageProc()</code> was added fairly + late in the X11R5 patches, and some vendors shipped buggy + versions of this function (request by Tomas Vanhala).</p> + </li> + + <li>correct configure macro CF_SYSV_UTMP to test-link with + functions consistent with the header, e.g., getutent() for + utmp.h and getutxent() for utmpx.h (reported by Greg + Smith).</li> + + <li>modify terminfo entry for <code>xterm-xfree86</code> to + reflect modifiers for shift and control which (from a patch by + Alexander V Lukyanov).</li> + + <li>modify terminfo entry for <code>xterm-sun</code> to match + the function-key definitions in ncurses. The pageup/pagedown + and related function keys correspond to the Sun keyboard, which + does not necessarily correspond with X's notion of those + keys.</li> + + <li>modify treatment of XK_Delete keysym so it transmits + parameterized VT220-style <code><ESC>[3~</code> if + modifiers (shift, control alt) are given (request by Alexander + V Lukyanov).</li> + + <li>corrected misspelled resource name in command-line option + for HP function keys.</li> + </ul> + + <h1><a name="xterm_120" id="xterm_120">Patch #120 - 1999/10/28 - + XFree86 3.9.16c</a></h1> + + <ul> + <li>refine the change to <code>SGR_Background()</code> in patch + #119, by not flushing the pending scrolling operation if the + background color is not actually changing. This combination + occurs when using color-ls to display a long listing, since + each line ends with an SGR0 which affects only the foreground + color. The unnecessary flushing made it noticeably slower + (reported by D Roland Walker <walker@pobox.com>).</li> + + <li>remove obsolete documentation about modifiers which can be + returned in mouse tracking mode, and modify logic to ignore + modifiers other than the existing ones, e.g., NumLock (prompted + by discussions with Christian Weisgerber and Brad Pepers + <brad@linuxcanada.com>).</li> + + <li>use free bit from obsolete shift-modifier coding of mouse + tracking button events to encode buttons 4 and 5, e.g., for a + wheel mouse (requests by Brad Pepers and Bram Moolenaar).</li> + + <li>correct a place where the ptyInitialErase logic did not set + the backarrowKey state, and modify it further to use tgetstr() + rather than parse the termcap data returned from tgetent() so + the ptyInitialErase logic will work when xterm is linked with a + terminfo library (based on a patch by Dr Werner Fink + <werner@suse.de>).</li> + + <li>fix definition of HAVE_UTMP_UT_HOST for ISC configuration + (patch by Michael Rohleder).</li> + + <li>improve configure script's utmp tests (based on reports by + Greg Smith for os390, and David Ellement for HPUX).</li> + + <li>modify sinstall.sh to use uid=0 rather than 'root' to + determine if the installer is privileged. This is needed on + some systems since more than one account may be privileged + (report by Greg Smith).</li> + + <li>add an application resource, <code>messages</code> (and a + corresponding -/+mesg option) which controls the initial + permission on the terminal: if messages is set to true (the + default), behavior is as without the patch; if it is set to + false (as per -mesg), the terminal is opened in mode 0600, thus + producing the effect of the <code>mesg n</code> command. This + is useful for users who want to redirect all their messages to + one particular xterm: it is more pleasant to do this with xterm + resources than with explicit calls to the <code>mesg</code> + program (patch, description by David Madore + <david.madore@ens.fr>).</li> + </ul> + + <h1><a name="xterm_119" id="xterm_119">Patch #119 - 1999/10/16 - + XFree86 3.9.16c</a></h1> + + <ul> + <li>add responses (DA and DSR) for DEC locator mode</li> + + <li>add coding for ANSI color to DA response</li> + + <li>implement UTF-8 translation for Media Copy (print) + operations.</li> + + <li>implement vt320 control sequences for Print Composed Main + Display and for Print All Pages. The latter directs xterm to + print the current screen as well as the scrollback buffer.</li> + + <li>correct error in _GNU_SOURCE configure test, which left it + always defined.</li> + + <li>add more information, i.e., with strerror for some system + calls in the main program which may fail due to insufficient + permissions (prompted by a problem report for <code>-C</code> + by Jeremie Petit <Jeremie.Petit@digital.com>).</li> + + <li>add workaround for conflict between <X11/Xpoll.h> and + <sys/select.h> on AIX 4.3 (Richard Griswold + <griswold@acm.org>).</li> + + <li>add configure script test to resolve conflict between + between <X11/Xpoll.h> and <sys/select.h></li> + + <li>modify translation of UTF-8 sequences to reject "overly + long" variations (patch by Markus Kuhn).</li> + + <li>remove <code>utf8controls</code> resource, since Markus' + change removes the corresponding logic.</li> + + <li>correct a case where colors were not rendered properly. + This happened when an application inserted several lines, then + changed colors. If this was done all in one write, then there + would be no intervening refresh, and the new color was applied + to the pending scrolling operation which was awaiting the next + refresh (reported by Stephane Chazelas + <Stephane_Chazelas@Raytheon.com>).</li> + </ul> + + <h1><a name="xterm_118" id="xterm_118">Patch #118 - 1999/10/5 - + XFree86 3.9.16b</a></h1> + + <ul> + <li>refine configure test for utmp versus utmpx, to build on + HP-UX 10.x (reported by David Ellement).</li> + + <li>move the configure check for <code>const</code> after the + check for ANSI C compiler options, since those may be required + to make it work properly on HP-UX.</li> + + <li>add configure test for defining + <code>_GNU_SOURCE</code></li> + + <li>correction to <em>-hold</em> option, ensure that if data is + already in the output buffer that it will be displayed before + closing the PTY.</li> + + <li>move the configure checks for setuid install of xterm into + a script to avoid installing it setuid'd to a non-root user + (reported by Adam Sulmicki <adam@cfar.umd.edu>).</li> + + <li>correct configure script's check for termcap.h to avoid + using ncurses' version of it on systems that have a working + <code>tgetent()</code> function. This is needed to make + <code>resize</code> work properly.</li> + + <li>fix some typography in ctlseqs.ms description of DEC + locator events (reported by Steve Wall).</li> + </ul> + + <h1><a name="xterm_117" id="xterm_117">Patch #117 - 1999/9/29 - + XFree86 3.9.16b</a></h1> + + <ul> + <li>change order of tests in configure script for utmp and + utmpx to test utmpx first, to compile on Solaris (reported by + Leena Heino <liinu@uta.fi> and Patrik Hagglund + <patha@ida.liu.se>).</li> + + <li>add a configure test for utmp.ut_xtime, needed for SCO + Openserver, and for lastlog, needed for Redhat 6.0, to refine + the utmp/utmpx auto-configure.</li> + + <li>remove a spurious comma in an #undef (reported by David + Green <greendjf@cvhp152.marconicomms.com> and David + Ellement <ellement@sdd.hp.com> both on HP-UX, whose + compiler does care about syntax).</li> + + <li>change ifdef's using __CYGWIN32__ to __CYGWIN__ (reported + by Suhaib M. Siddiqi <Ssiddiqi@InspirePharm.Com>, who is + told that the next Cygnus release will drop that symbol in + their next release).</li> + + <li>minor cleanup of ifdef's for makeColorPair (patch by Steve + Wall).</li> + + <li>work around problem observed in XFree86 3.3.5 (patch by + Alexander V Lukyanov, Mozilla #5419). From the problem report: + + <blockquote> + xterm consumes cpu when selecting text with mouse (holding + down left mouse button) and when a program working under + the xterm outputs something to stdout. + + <p>Easy way to reproduce:<br> + <code>while :; do echo aaa; sleep 1; done</code><br> + (while this runs, select text and hold down left mouse + button) watch cpu load.<br> + release left mouse button - spinning stops.</p> + </blockquote> + </li> + </ul> + + <h1><a name="xterm_116" id="xterm_116">Patch #116 - 1999/9/25 - + XFree86 3.9.16a</a></h1> + + <ul> + <li>modify warning if change-ownership of PTY fails; some + configurations may not happen to have old-style pty's (reported + by Bob Maynard).</li> + + <li>improve check in configure script for group ownership of + installed xterm; some platforms use the -g option of ls to + toggle group off rather than on (reported by Greg Smith).</li> + + <li>minor improvement to toolbar geometry, to make it not + resizable. This still is not satisfactory (but is usable) since + the toolbar overlaps the xterm widget if the window is resized + to make it smaller. It appears that some work is needed for the + xterm widget's geometry management to make it function + properly.</li> + + <li>implement configure script tests for utmp, tty group.</li> + + <li>implement <em>-hold</em> option, allowing users to retain + the window after a shell has exited (this is recently an FAQ, + but prompted by a comment by Joachim Plaettner-Hochwarth + <plaettner@aem.umn.edu> in comp.unix.programmer, that the + IRIX winterm provides this option).</li> + + <li>add support for DEC Locator control sequences for xterm + (integrated patch by Steve Wall): + <pre> + + DECEFR, "Enable Filter Rectangle" + DECELR, "Enable Locator Reports" + DECSLE, "Select Locator Events" + DECRQLP, "Request Locator Position" + +</pre>This allows the xterm mouse to be used with applications that +use the DEC Locator sequences, such as VAX Tpu, or SMG$ based +applications. + </li> + + <li>improve print action (patch by Matthias Baake). From his + notes, + + <ul> + <li>Bug 1<br> + Underlined text is preceded by ESC [0;2m . This should + be ESC [0;4m , ESC [2m doesn't seem to have + any effect. (print.c/send_SGR)</li> + + <li>Bug 2<br> + The check for the last non-empty column (while (last > + 0) ... in print.c/printLine) omits the rightmost column of + the screen, the loop must start with last = + screen->max_col+1 instead of last = + screen->max_col.</li> + + <li>Bug 3<br> + Any attributes of the first character (and of all + immediately following characters with the same attributes) + are ignored. The variable attr (print.c/printLine) should + be initialized with 0, not with *a & SGR_MASK.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_115" id="xterm_115">Patch #115 - 1999/9/18 - + XFree86 3.9.16a</a></h1> + + <ul> + <li>integrated changes by Steve Wall to implement an 88-color + model for systems where 256-colors cannot be allocated.</li> + + <li>when 256-color configuration is compiled, colored bold and + underlining is not available; ifdef'd to avoid possible odd + effects in this case (reported by Steve Wall).</li> + + <li>add resource <em>cacheDoublesize</em>, to limit the caching + of font information for double-sized characters. This addresses + a problem reported by Aryeh Koenigsberg for X terminals with + limited font memory.</li> + + <li>modify treatment of line-drawing characters in UTF-8 mode + so that the Unicode values are used rather than the C0 codes + for storing the translated characters (request by Markus + Kuhn).</li> + </ul> + + <h1><a name="xterm_114" id="xterm_114">Patch #114 - 1999/9/15 - + XFree86 3.9.16</a></h1> + + <ul> + <li>add configure script checks for Athena headers and + libraries under /usr/contrib to work on HPUX (reported by + several people: David Nixon <djn@csc.liv.ac.uk> Aryeh + Koenigsberg <aryeh.koenigsberg@telrad.co.il> Johannes + Mähner <johanm@camline.com> Andrew Gaylard + <andrew.gaylard@bsw.co.za>).</li> + + <li>add check to configure script if xterm is installed setgid + rather than setuid, since wtmp and utmp may be installed with + group-writable permissions other than root (based on Debian bug + report #7112 by Bo Branten <bosse@ing.umu.se>).</li> + + <li>rewrote logic that removes data from termcap entry, e.g., + for titeInhibit, to make it less likely to remove the wrong + data.</li> + + <li>correct logic which checks for missing characters used for + line drawing. The 0 character was tested unnecessarily, leading + to some inefficiency when rendering.</li> + + <li>change termcap capability which is used as input or output + of ptyInitialErase logic from <em>kD</em> to <em>kb</em>. + Christian Weisgerber <naddy@mips.rhein-neckar.de> pointed + out in effect that <em>kD</em> (in terminfo <em>kdch1</em>) + should correspond to the control sequence for <em>dch1</em>, + which deletes from the current position toward the right.</li> + + <li>check for failure to change ownership of the PTY device and + warn when xterm is running setuid'd to root. This was reported + to happen on the FreeBSD/NetBSD/OpenBSD systems as a result of + the chflags() call.</li> + + <li>add xterm-noapp terminfo entry to illustate a nominally + bash-compatible terminal description.</li> + </ul> + + <h1><a name="xterm_113" id="xterm_113">Patch #113 - 1999/8/15 - + XFree86 3.9.15b</a></h1> + + <p>Several fixes. The main one is a first draft of pulldown + menus. It's not complete (I have some minor/annoying geometry + problems to correct), but is usable. Once it's complete I plan to + add a menu to support additional selections that won't fit on the + current popup menus. Also, this fits into my longterm plan to + allow configuring with Motif libraries.</p> + + <ul> + <li>correct error in input conversion for NRC mode (reported by + Stefan Traby <stefan@sime.com>).</li> + + <li>fix initialization of num_lock data in Misc struct (since + those fields of the reference widget aren't initialized), and + add logic to deal with XVision whose NumLock key does not + transmit but does alter keypad state.</li> + + <li>correct a missing return-value in get_pty(), for SCO</li> + + <li>add E2A fix for backspace (patch by Greg Smith), i.e.,<br> + #define VAL_INITIAL_ERASE A2E(127)</li> + + <li>correct foreground color within cursor outline when the + window is unfocused (reported by Stephane Chazelas).</li> + + <li>corrected position of scrollbar set in ResizeScrollBar(), + which left it positioned incorrectly if the right scrollbar + were enabled from the popup menu but was not initially enabled. + + <p>I have noticed some additional problems with + right-scrollbar on X11R5 which I will correct later.</p> + </li> + + <li>integrate changes by Jean-Claude Michot for QNX from + XFree86 3.3.4c</li> + + <li>add resources menuBar/MenuBar, menuHeight/MenuHeight for + later use in toolbar geometry.</li> + + <li>add configure option --enable-toolbar</li> + + <li>add missing definition to make ziconbeep logic not + compile-in when configure script disables it.</li> + + <li>add configure-check for input-method support in X + libraries</li> + </ul> + + <h1><a name="xterm_112" id="xterm_112">Patch #112 - 1999/7/17 - + XFree86 3.9Pw</a></h1> + + <ul> + <li>add null-pointer check to FlushLog(), fixes a core dump + when both -l and -lf options are used when xterm is configured + with wide-character support.</li> + + <li>remove "ISO" case for SD, which was due to a typographical + error in ECMA-48 (reported by Paul Williams + <paul@celigne.co.uk> for vttest).</li> + + <li>add "FILES" section to manpage.</li> + + <li>generate header file to initialize default resources for + colors 16-255.</li> + + <li>fixes for os390 (Greg Smith): + + <ul> + <li>add README.os390</li> + + <li>use the pty_search() function to find an available + pty/tty pair.</li> + + <li>move E2A() call out of getXtermCell() to SaveText() + function so it will be available in all + configurations.</li> + </ul> + </li> + + <li>patches by Todd Larason: + + <ul> + <li>enable SGR 48 5 in ISO color mode, not just 256 color + mode</li> + + <li>change configure's --disable-256-color option to + --enable-256-color, to match its effect</li> + + <li>fix OSC 4 xx ? (report ansi color) to report a string + which can actually be used to set the color back</li> + + <li>fix OSC 4 xx yy (change ansi color) to not allow + setting colors > 15 in 16 color mode</li> + + <li>simplify the COLOR_ settings a bit in ptyx.h, along + with setting NUM_ANSI_COLORS needed for #1 and #4 + above</li> + + <li>correct string-terminator code passed for reference to + OSC responses; when in 7-bit mode, only the final byte of + ST was seen.</li> + + <li>Allow multiple color #;name pairs in OSC 4, and + document changes to match.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_111" id="xterm_111">Patch #111 - 1999/7/10 - + XFree86 3.9Pw</a></h1> + + <ul> + <li>add control sequences for specifying the RGB value of the + ANSI colors, and for configuring with 256 colors (patch by Todd + Larason <jtl@molehill.org>). I made the default + configuration to 16-colors, because xterm uses the default + color map (which has only 256 colors).</li> + + <li>correct an error in DCS $ q m reporting for colors 8-15 + (Todd Larason).</li> + + <li>add test/demo script for double size characters. Used this + to test/correct display of double size characters that should + wrap, underlined double size characters.</li> + + <li>increased cache size for double size fonts to 8, to allow + for both normal and bold fonts (discussion with Aryeh + Koenigsberg <aryeh.koenigsberg@telrad.co.il>).</li> + + <li>add fixes for port to OS390 aka MVS (integrated patch from + Greg Smith <rys@epaibm.rtpnc.epa.gov>). OS390 uses EBCDIC + rather than ASCII.</li> + + <li>correct an off-by-one in binary search limits in + keysym2ucs.c (Markus Kuhn).</li> + + <li>implement logging for UTF-8 mode. The output is written in + UTF-8 form.</li> + </ul> + + <h1><a name="xterm_110" id="xterm_110">Patch #110 - 1999/6/29 - + XFree86 3.9Pu</a></h1> + + <ul> + <li>If colorMode is enabled by default, compile-in default + resources to match the colors listed in XTerm-col.ad (this + should fix a longstanding FAQ).</li> + + <li>added new OSC 3 ; PROPNAME=VALUE ST + escape sequence to set an arbitrary X property on the top level + xterm X11 window. Omit "=VALUE" to delete the X property (patch + by Greg Badros <gjb@cs.washington.edu>).</li> + + <li>change internal flag used for <em>utf8controls</em> + resource so we allow 31-bit range of characters (suggested by + Thomas Wolff).</li> + + <li>add check for 16-bit characters in OSC strings, change them + to '?' (reported by Thomas Wolff).</li> + + <li>modify logic of same_font_name() to avoid trying to + interpret both parameters as wildcard patterns. That does not + (cannot) work, and in some instances the font server will + return unresolved wildcards for the normal or bold fontnames, + making them match inadvertently, triggering the fallback + overstrike logic (reported by Tim Adye).</li> + </ul> + + <h1><a name="xterm_109" id="xterm_109">Patch #109 - 1999/6/23 - + XFree86 3.9Pt</a></h1> + + <ul> + <li>correct range-check from patch #108, which resulted in not + being able to select from the scrollback buffer (reported by + Tim Adye <T.J.Adye@rl.ac.uk>)</li> + + <li>correct "no available ptys" problem with Cygwin B20.1 + (patch by Tim Adye).</li> + + <li>modified install-ti rule in Makefile.in to allow override + of the terminfo directory when doing a "make install", i.e., by + assigning to TERMINFO_DIR (request by Zdenek Sekera + <zs@sgi.com>).</li> + + <li>added install-full rule to Makefile.in</li> + + <li>resync mkdirs.sh and install.sh scripts against current + autoconf</li> + + <li>implement $(DESTDIR) in Makefile.in, making it simple to + install xterm and associated files into a directory just for + packaging a binary release (suggested by CaT + <cat@zip.com.au>).</li> + + <li>change IChar type to unsigned, rather than unsigned short, + making room for a flag to keep with 16-bit characters to + prevent them from being interpreted as C0 or C1 controls + (reported by Thomas Wolff).</li> + + <li>correct a typo from patch #107, incorrect array name, in + the filterUTF8 function (patch by Bruno Haible + <haible@ilog.fr>)</li> + + <li>add <em>utf8controls</em> resource to specify whether xterm + should interpret 16-bit characters unpacked from UTF-8 form as + control characters if they happen to fall into that range. This + behavior is left unspecified by the Unicode standard (request + by Thomas Wolff).</li> + + <li>modify handling of OSC to recover if application sends + 16-bit characters with codes above 255. We cannot display them + as is, but translate out-of-range characters to a '?' (reported + by Thomas Wolff).</li> + </ul> + + <h1><a name="xterm_108" id="xterm_108">Patch #108 - 1999/6/19 - + XFree86 3.9Ps</a></h1> + + <ul> + <li>add a range-check to LastTextCol(), to guard against + indexing before the beginning of the scrollback buffer. This + appears to happen with certain fonts under X11R5 (reported by + Stephane Chazelas <Stephane_Chazelas@Raytheon.com>).</li> + + <li>implement resource <em>boldMode</em>, to allow disabling + the simulation of bold fonts when the bold and normal fonts are + not different (requested by Will Day + <willday@rom.oit.gatech.edu>).</li> + + <li>change the atom "UTF-8" to "UTF8_STRING", and fixes a few + bugs in the UTF-8 selection (patch by Juliusz Chroboczek).</li> + + <li>correct logic of binary-search in keysym2ucs.c (patch by + Markus Kuhn).</li> + + <li>add special interpretation of keysym codes above 0x1000000 + as the corresponding UCS value plus 0x1000000 (patch by Markus + Kuhn).</li> + </ul> + + <h1><a name="xterm_107" id="xterm_107">Patch #107 - 1999/6/12 - + XFree86 3.9Pq</a></h1> + + <ul> + <li>Two changes from Stephen P Wall. From his description: + + <blockquote> + The first change is simple - I added ESC[3J to erase the + stored lines above the screen. That's what the changes to + util.c and ctlseqs.ms are. + + <p>The second change is to get the blinking cursor working. + I took out the cursorBlinkTime resource, and put in + cursorBlink (Boolean), cursorOnTime (time cursor is on in + msecs) and cursorOffTime, and added a cursorblink item to + the vtMenu to enable/disable it.</p> + </blockquote> + </li> + + <li>improve selection (integrated patch by Juliusz Chroboczek). + From his description: + + <blockquote> + With this patch, selection conversion works properly: + <pre> + ISO 8859-1 xterm -> ISO 8859-1 xterm (transferred as STRING); + ISO 8859-1 xterm -> UTF-8 xterm (transferred as STRING); + UTF-8 xterm -> ISO 8859-1 xterm (transferred as STRING); + UTF-8 xterm -> UTF-8 xterm (transferred as UTF-8). +</pre>It will not work properly if one xterm is in, say, ISO +8859-2. Actually, for this case xterm breaks the ICCCM routinely +(sending ISO 8859-2 data as STRING), so I wouldn't worry too much +about it. I have not changed the behaviour in eight-bit mode in any +way. + </blockquote> + </li> + </ul> + + <h1><a name="xterm_106" id="xterm_106">Patch #106 - 1999/6/9 - + XFree86 3.9Pq</a></h1> + + <ul> + <li>remove duplicate fix for OpenBSD in resize.c</li> + + <li>correct logic in ScreenWrite, which did not reset the high + bytes of 16-bit characters when overwriting them with a 8-bit + character string (reported by Thomas Wolff).</li> + + <li>provide limited support for input of UTF-8 16-bit data by a + lookup table (integrated patch by Markus Kuhn).</li> + + <li>correct check in non_blank_line to ensure we're in + wide-character mode before looking at the high bytes, for + InsertChar.</li> + </ul> + + <h1><a name="xterm_105" id="xterm_105">Patch #105 - 1999/6/5 - + XFree86 3.9Pp</a></h1> + + <ul> + <li>implement new resource <em>trimSelection</em>, which allows + xterm to trim trailing blanks from selected lines. This does + not affect the highlighting. (reported by several people using + <em>mutt</em>, including Hans Morten Kind <edphk@uib.no>, + Jeremy <jeremy@exit109.com> and (Michael Fuller + <msf@mds.rmit.edu.au>).</li> + + <li>include term.h in resize for OpenBSD (patch by Matthieu + Herrb).</li> + + <li>correct logic for UTF-8 in functions that hide and show the + cursor; it was displaying a space whenever the low byte of the + character at the cursor position was zero (reported by Thomas + Wolff <Thomas.Wolff@icn.siemens.de>).</li> + </ul> + + <h1><a name="xterm_104" id="xterm_104">Patch #104 - 1999/5/30 - + XFree86 3.9Pn</a></h1> + + <p>This is a resync patch against XFree86 3.9Pn, reflecting + changes which were submitted by Branden Robinson, who worked with + Wichert Akkerman <wichert@cs.leidenuniv.nl> to set up + ifdef's to handle GNU libc 2.1, and use getpt() which lets xterm + avoid having to know the actual PTY name.</p> + + <p>I have also added a few fixes for signed/unsigned mismatches, + and corrected a problem in the configure script (the UTF-8 code + was always configured since the Imakefile defines this).</p> + + <h1><a name="xterm_103" id="xterm_103">Patch #103 - 1999/5/14 - + XFree86 3.9Pm</a></h1> + + <ul> + <li>correct selection logic: I omitted an offset that accounts + for the distance into the scrollback buffer when rewriting this + for patch #101. Also fixed a similar problem for selecting + double size characters from the scrollback buffer (first was + reported by D Roland Walker <walker@pobox.com>).</li> + + <li>improved support for Unix98 PTY's, using patch in Debian + bug report #35650, by J.H.M. Dassen + <jdassen@wi.leidenuniv.nl>. From the patch description: + + <blockquote> + <ul> + <li>No longer links xterm against libutil on a glibc2.1 + system. libutil is a compatibility library and should + only be used when necessary. Rather than having get_pty() + use openpty() from this compatibility library, use the + real UNIX98 pty support in get_pty() (open()ing the + master pty, through getpt() if available (glibc + extension)). Use openpty() only under glibc2.0.</li> + + <li>GNU libc2 is not Linux-specific; already it runs on + the Hurd. It provides the UNIX98 pty functions (plus the + getpt() extension), regardless of the underlying OS. + Changed two constructs to look for GNU libc2 only, not + GNU libc2 on Linux.</li> + </ul> + </blockquote> + </li> + + <li>improve font configuration, by checking if the user's + resource settings for normal and bold fonts give the same font + sizes (fixes problem reported by Peter Waltenberg + <peterw@dascom.com>).</li> + </ul> + + <h1><a name="xterm_102" id="xterm_102">Patch #102 - 1999/5/12 - + XFree86 3.9Pm</a></h1> + + <ul> + <li>revert change to openpty call in patch #101; this causes + xterm to fail on DEC-Alpha OSF/1 4.0B (reported by H Merijn + Brand).</li> + + <li>modify print.c to move include of stdio.h after the + autoconf'd xtermcfg.h since HP's ANSI C compiler otherwise sees + inconsistent prototype for getopt, probably due to problem with + const (reported by H Merijn Brand).</li> + </ul> + + <h1><a name="xterm_101" id="xterm_101">Patch #101 - 1999/5/10 - + XFree86 3.9Pm</a></h1> + + <ul> + <li>moved includes and definitions for 'select' from data.h to + xterm.h to fix problem introduced by prototype for getPtyData, + part of UTF-8 changes (reported by Jens Schleusener + <Jens.Schleusener@dlr.de>)</li> + + <li>added "Meta <Btn2Down>:clear-saved-lines()" default + translation (patch by H Merijn Brand)</li> + + <li>fixes to configure script and ifdef's in main.c to build on + a HP9000/D390 (hppa-2.0w) running HP-UX 11.00 (64 bit) with + egcs 1.1.2 and HP's ANSI C compiler (patch by H Merijn Brand + <PROCURA_BV@CompuServe.com>)</li> + + <li>add more parentheses in ifdef's (patch by Bob + Maynard).</li> + + <li>eliminate conflicting definitions for USE_TERMINFO in + resize.c (reported by Jeremy Buhler).</li> + + <li>change openpty call to pass NULL rather than ttydev + parameter, since that was used only to estimate the length of + the corresponding data, and may not really be long enough + (reported by Andreas Jaeger)</li> + + <li>update description in xterm manpage for character class + table, which said it handles only 7-bit codes.</li> + + <li>correct a typo in ScrnDeleteChar() which made it not clear + the high byte of wide-character data.</li> + + <li>add logic to convert selection to UTF-8 form when + appropriate. This makes select/paste "work", but further work + is needed to make UTF-8 recognized as a locale in Xlib.</li> + + <li>correct right-limit check when selecting double-width + characters.</li> + + <li>change default answerback response to an empty string.</li> + </ul> + + <h1><a name="xterm_100" id="xterm_100">Patch #100 - 1999/5/3 - + XFree86 3.9Pl</a></h1> + + <ul> + <li>Correct a typo in the default resource value for + backarrowKeyIsErase: it was always true (reported by Bram + Moolenaar).</li> + + <li>improve configure script's test if the installed xterm is + setuid, in case that is a symbolic link.</li> + + <li>correct "install-ti" rule in Makefile.in, by not setting a + blank $TERMINFO value. That is interpreted as "." by ncurses' + tic.</li> + </ul> + + <h1><a name="xterm_99" id="xterm_99">Patch #99 - 1999/5/2 - + XFree86 3.9Pk</a></h1> + + <ul> + <li>correct logic that computes num_ptrs count of the number of + indices into the screen buffer. This is the maximum of the + colors and character-set indices; was incorrect in patch + #97.</li> + + <li>correct argument type for sigsetjmp, incidental change in + patch #96's Unix88 PTY patch (reported by Bram Moolenaar).</li> + + <li>correct description of secondary DA in ctlseqs.ms (reported + by Bram Moolenaar).</li> + + <li>decouple the backarrowKey and ptyInitialErase resources by + adding a new resource backarrowKeyIsErase, to accommodate + people using applications which have hardcoded tests for + characters 8 and 127 rather than relying on the stty + settings.</li> + + <li>modify the UTF-8 decoder so that all possible illegal UTF-8 + sequences are properly represented by U+FFFD. This should be + very helpful for developers of code that output UTF-8 strings + for debugging. See the file utf-8-test.txt in + http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz for a + demonstration text that contains numerous illegal UTF-8 values. + (patch by Markus Kuhn).</li> + + <li>correct a place in ScrnRefresh where I was filling the high + byte of a wide character with a space rather than a null + (reported by Markus Kuhn).</li> + </ul> + + <h1><a name="xterm_98" id="xterm_98">Patch #98 - 1999/4/26 - + XFree86 3.9Pk</a></h1> + + <ul> + <li>correct data manipulation in unparseputc(), broken for + little-endian machines by patch #97's UTF-8 changes. This meant + that keyboard input on SunOS did not work, though Linux i386 + was fine.</li> + + <li>modify initialization for backarrowKey and logic for + initial-erase to prevent the initial-erase from overriding an + explicitly set backarrowKey resource (reported by Vikas + Agnihotri).</li> + + <li>add a missing null-pointer check in ScrnRefresh, for the + wide-characters configuration.</li> + </ul> + + <h1><a name="xterm_97" id="xterm_97">Patch #97 - 1999/4/25 - + XFree86 3.9Pk</a></h1> + + <ul> + <li>add configure script test for -lutil, needed for openpty + call when configuring xterm for Glibc-2.1 and Unix98 PTY's + (first reported by Martin Lorentz" + <m.lorentz@w12.link-goe.de>).</li> + + <li>completely parenthesize ifdef expressions for Glibc + (suggested by Bob Maynard).</li> + + <li>add initial-erase options (-ie, +ie) to help message + (reported by Vikas Agnihotri).</li> + + <li>remove duplicate definition of USE_USG_PTYS (reported by + Jeremy Buhler).</li> + + <li>change termcap <em>kD</em> and terminfo <em>kdch1</em> to a + DEL (\177). I overlooked this when separating the styles of + keyboard with the <em>sunKeyboard</em> resources in patch #94, + so that it normally matches the value of the stty erase + character: + + <ul> + <li>Reported by Jae Gangemi + <jgangemi@ccf.rutgers.edu>, this caused emacs to not + process the DEL properly, combining it with succeeding + characters.</li> + + <li>This does not appear to be related to a problem which I + have found with <em>screen</em>, which translates the stty + erase into the termcap <em>kD</em> or terminfo + <em>kdch1</em> value (depending on how it is linked) if the + $TERMCAP variable is set when <em>screen</em> is + invoked.</li> + </ul> + </li> + + <li>add command-line options for enabling UTF-8 mode: -u8 and + +u8. The more obvious -utf8 and +utf8 would conflict with + xterm's -ut and +ut (utmp) options. The UTF-8 changes were + requested by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>. This + patch does not complete UTF-8 implementation, but makes it + usable, i.e., display and refresh work, and I am able to + display the test cases which Markus provides. More work is + needed to complete this feature: + + <ul> + <li>the control sequences for switching in/out of UTF-8 + mode are partly implemented (don't use them). Similarly, + the switching between vt100 and tek4014 emulations when + UTF-8 mode is enabled will not work properly. + + <p>You must use the -u8 command line option to use this + feature, as well as compile with the OPT_WIDE_CHARS + definition.</p> + </li> + + <li>cut/paste only copies 8-bit characters.</li> + + <li>logging is disabled in the wide-character + configuration</li> + + <li>printing only writes 8-bit characters.</li> + + <li>input only does 8-bit characters. This is the area that + I know least about.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_96" id="xterm_96">Patch #96 - 1999/4/19 - + XFree86 3.9Pj</a></h1> + + <ul> + <li>modify Makefile.in to work with configure script's --srcdir + option. (patch by Jeremy Buhler + <jbuhler@cs.washington.edu>)</li> + + <li>add checks for 'echo -n' equivalent for 8colors.sh and + 16colors.sh scripts (reported by Vikas Agnihotri).</li> + + <li>improve logic that looks for bold fonts to allow for + wildcards in the specification for normal fonts, and to ensure + that if a bold font is specified as normal, that xterm will + simulate a bold version of that using a one-pixel offset + overstrike (reported by Henrik Harmsen + <harmsen@erv.ericsson.se>).</li> + + <li>correct horizontal spacing of double width line-drawing + characters that xterm simulates.</li> + + <li>improve support for Unix98 PTY's, using patch in Debian bug + report #35650, by Topi Miettinen + <Topi.Miettinen@medialab.sonera.fi>. Andreas Jaeger says + this also corrects a permissions problem reported by + cat@zip.net.au</li> + + <li>modify initial-erase logic to ensure that + <code>ttyModes</code> resource overrides it.</li> + </ul> + + <h1><a name="xterm_95" id="xterm_95">Patch #95 - 1999/4/5 - + XFree86 3.9Ph</a></h1> + + <ul> + <li>modify primary DA response to allow a '1' parameter.</li> + + <li>add printer and national replacement character sets to + VT220 primary DA response.</li> + + <li>document primary and secondary DA responses in + ctlseqs.ms</li> + + <li>use the patch number (e.g., 95) in the secondary DA + response, providing user applications a means of determining + the version of xterm for feature comparison (request by Bram + Moolenaar).</li> + + <li>make xterm respond to secondary DA when the decTerminalID + is set for VT100.</li> + + <li>limit user-defined keys (DECUDK) to VT220-style keyboard + when sunKeyBoard resource is true.</li> + + <li>modify ifdef's for Linux-2.2.x with Glibc-2.1 to work with + Glibc-2.1 and no Unix98 PTY support (patch from Andreas Jaeger + <aj@arthur.rhein-neckar.de>)</li> + + <li>add optional feature (resource and command-line options) to + make xterm use the PTY's sense of erase character on startup, + rather than requiring it to be \177, or set the PTY's erase + character to match xterm's configuration. Note that while + $TERMCAP is modified to reflect the actual configuration, the + terminfo kdch1 string is not (request by Dirk H Hohndel + <hohndel@suse.de>)</li> + + <li>improve scripts in vttests to work with newer shells that + do not use 'echo -n'.</li> + + <li>add fonts.sh example script</li> + + <li>correct inequality in handling of "#1" font + specification.</li> + + <li>correct call to XGetWMNormalHints() used for computing + maximum screen size; the size hints may not have been set.</li> + + <li>begin implementation of support for wide-characters + (configure option --enable-wide-chars defines OPT_WIDE_CHARS, + invoke xterm with -wc option to activate this feature). This + patch optionally widens internal data structures, invokes the + 16-bit text output rather than the 8-bit version and adds some + tables.</li> + </ul> + + <h1><a name="xterm_94" id="xterm_94">Patch #94 - 1999/3/27 - + XFree86 3.9Pf</a></h1> + + <ul> + <li>further fixes for terminfo: ka1, ka3, etc., differ between + the default xterm-xfree86 and xterm-vt220 entries.</li> + + <li>change default (with sunKeyboard resource false) behavior + of the editing keypad "Delete" to send a 127, like xterm-r6. + The VT220-style <code><ESC>[3~</code> is sent when + sunKeyboard is true (reported by Tomas Vanhala).</li> + + <li>add parameters to function keys to indicate if shift, + control or alt are set. The codes are based on a description of + a DEC VT510 with a PC keyboard, from Jeffrey Altman + <jaltman@watsun.cc.columbia.edu>.</li> + + <li>add control sequence 1035, set-num-lock action and num-lock + menu entry to control the use of the NumLock and Alt keys for + the Sun/PC and VT220 keyboard extensions.</li> + + <li>implement DECSET/DECRST numeric keypad (DECNKM) mode.</li> + + <li>modify terminfo and termcap to use recommended "X Window" + or "X11" names rather than "X Windows" (reported by Tomas + Vanhala).</li> + + <li>suppress translation of shifted keypad "+" when sunKeyboard + is true.</li> + + <li>workaround unexpected behavior (perhaps bug) in + XmbLookupString, which returns trash in the string buffer for + numlock and control-key combined with keypad-keys.</li> + + <li>modify ScrollBarReverseVideo() to keep scrollbar border + visible when reverse video is toggled.</li> + + <li>correct missing case for parameter 17 (set highlight color) + in dynamic colors control sequences.</li> + + <li>extend dynamic colors control sequences to allow users to + determine the colors and font which are currently active.</li> + + <li>minor tweak to OSC responses, to use BEL if the application + used that to end the request, rather than ST. This works better + with shell scripts, which may not handle an + <code><ESC>backslash</code> very well.</li> + + <li>separate menu settings for reverse video from that done + under program control.</li> + + <li>corrected ifdef's for menus, which did not allow tek4014 to + be suppressed properly (reported by Clint Olsen).</li> + + <li>changes for Linux-2.2.x with GLibc-2.1 and /dev/ptmx + support (integrated patch from Pavel Roskin): + + <ul> + <li>main.c and resize.c were using different rules to + determine whether ATT should be defined (actually + USE_USG_PTYS is more apt).</li> + + <li>copy definitions from main.c to resize.c to prevent + sys/stream.h and sys/ptem.h from inclusion when SYSV is not + defined</li> + + <li>define CNUL if not already defined like other + variables.</li> + + <li>/dev/tty does exist in Linux, but it doesn't mean, it + should be used. Therefore EACCES is now an acceptable + result.</li> + + <li>ifdef'd several calls such as <code>ioctl (ptyfd, + I_PUSH, "ptem")</code> to build on Linux (I_PUSH is not + defined when sys/stropts.h is not included).</li> + </ul> + </li> + + <li>initialize second "ltc" variable in main.c (reported by + David Dawes).</li> + + <li>provide definition for USE_USG_PTYS in screen.c</li> + + <li>add resource-files to install rule in standalone + Makefile.in</li> + + <li>add sample scripts to illustrate titlebar controls, + resizing and colors.</li> + </ul> + + <h1><a name="xterm_93" id="xterm_93">Patch #93 - 1999/3/14 - + XFree86 3.9Pd</a></h1> + + <p>Here are several fixes and minor enhancements. The chief ones + are the fixes for NumLock mode and reverse video, since we had + become used to working around the problems.</p> + + <ul> + <li>remove kfnd/kll/kslt strings from terminfo, because curses + applications do not necessarily return khome/kend pairs + (reported by Vikas Agnihotri).</li> + + <li>implement NumLock resource which overrides the keyboard + tables for the special case of keypad keys. This is a problem + introduced in xterm by X11R6 changes, i.e., an ambiguity which + in effect discarded vt100 keypad support.</li> + + <li>modify Sun/PC keyboard mode to extend this (emulation of + DEC vt100 keypad) to the remainder of the numeric keypad. Now, + the default operating mode of xterm uses the keyboard tables + as-is (except if the NumLock mode overrides), but provides good + vt100 keypad compatibility if the Sun/PC keyboard menu item is + checked.</li> + + <li>separate command-line settings for reverse video from that + done under program control. This is a problem which was + introduced by X11R6. Though <em>correct</em>, most users are + confused by allowing the reset command to undo the effect of + the command-line <kbd>-rv</kbd> option.</li> + + <li>add description of function keys, keypad and cursor keys to + ctlseqs.ms</li> + + <li>add terminfo entries for xterm-vt52, xterm-sun and + xterm-hp</li> + + <li>correct typo (missing case value) for DECSET 35, + enable/disable shifted keypad action and a few compiler + warnings (reported by Zdenek Sekera <zs@sgi.com>).</li> + + <li>correct reporting of color values 8-15 in DECRQSS (reported + by Vikas Agnihotri).</li> + + <li>modify parsing of ttyModes resource to recognize "^-" as + "undef" (requested by Tomas Vanhala).</li> + + <li>integrate/extend changes to add iconify/maximize actions + (from Edward S. Arthur <eda@ultranet.com>).</li> + + <li>add control sequences for maximizing/restoring window, and + for reporting maximum screen size.</li> + + <li>add 'interpret' action, to support local function-key + interpretation. Used properly, this makes most of the + specialized actions of xterm redundant.</li> + + <li>add control sequence private modes 1051, 1052 and 1052, for + setting the Sun and HP function key modes, and for setting the + Sun/PC keyboard mode.</li> + + <li>add configure option --disable-maximize</li> + + <li>add configure option --disable-num-lcok</li> + + <li>extend descriptions of configure script options in + INSTALL.</li> + </ul> + + <h1><a name="xterm_92" id="xterm_92">Patch #92 - 1999/2/5 - + XFree86 3.9Nz</a></h1> + + <ul> + <li>increase buffer size for tgetent (i.e., termcap) to 1500. + This fixes a problem where <em>screen</em> is built using + ncurses or GNU termcap and <em>xterm</em> is built using the + standard termcap interface. The former does not limit the + termcap size, while the latter is assumed to be no longer than + 1023 characters. The <em>screen</em> program's termcap entry is + about 1200 characters long.</li> + + <li>change update_menu_item() to a function, to simplify + debugging. This also reduces the executable by 4Kb.</li> + + <li>add control sequences for DECSET 30, 1010, 1011 like rxvt + (enable or disable some features that were only settable via + resources or command line arguments).</li> + + <li>add control sequence for DECSET 35, which enables/disables + the shifted keypad functions.</li> + + <li>add support for switching font sizes, by stepping through + the font menu using shifted keypad plus and minus.</li> + + <li>correct missing initialization of tekInhibit and tekSmall + resources.</li> + + <li>correct ifdef's in charproc.c for XtNgeometry and + XtCGeometry (reported by Bram Moolenaar).</li> + </ul> + + <h1><a name="xterm_91" id="xterm_91">Patch #91 - 1999/1/21 - + XFree86 3.9Nw</a></h1> + + <ul> + <li>Implement logic to translate input characters which are + mapped when in vt220 National Replacement Character mode + (requested by Tomas Vanhala).</li> + + <li>Resync configure scripts with my patches to autoconf + 2.13</li> + + <li>Change order of -lXmu and -lXext to accommodate cygwin32 + (reported by Vikas Agnihotri).</li> + + <li>Add "-ti" option to set terminal emulation level from + command line rather than via resource.</li> + + <li>Simplify some of the preprocessor logic using #elif.</li> + </ul> + + <h1><a name="xterm_90" id="xterm_90">Patch #90 - 1998/12/13 - + XFree86 3.9Nq</a></h1> + + <p>This implements several small fixes and enhancements. The + chief one implements fallback support for line drawing characters + with fonts that do not include those characters. But I + implemented that last.</p> + + <ul> + <li>If any of the glyphs in positions 0-31 (used by xterm to + implement the VT100 alternate character set) are zero-sized + (i.e., missing), xterm will reserve a normal space for the + glyph when drawing. I implemented a simple stroke-drawing + function to draw the line-drawing characters and a couple of + the other (simpler) characters such as diamond. (This was + suggested by Vikas Agnihotri).</li> + + <li>Modify the computation of doublesize characters to work + around font servers which shift the scaled characters up/down + or do not give the correct width.</li> + + <li>Add popup menu item and corresponding resource settings to + disable the font-scaling logic for doublesize characters to + work around (older) font servers which simply do not draw the + fonts scaled to the size that they said they would. I see this + problem on a SunOS system running X11R5; the X11R6 servers seem + well behaved.</li> + + <li>Implement new escape sequence, private mode 1049, which + combines the switch to/from alternate screen mode with screen + clearing and cursor save/restore. Unlike the existing escape + sequence, this clears the alternate screen when switching to it + rather than when switching to the normal screen, thus retaining + the alternate screen contents for select/paste operations. + + <p>When I implemented the popup menu entry to toggle between + the normal and alternate screens, I considered only pasting + from the normal screen to the alternate; this improvement + allows either direction.</p> + </li> + + <li>Changed the termcap and terminfo for xterm-xfree86 and + xterm-8bit to use the new 1049 private mode.</li> + + <li>Modify the logic which switches between normal and + alternate screens so that the save/restore cursor operations + apply only to the current screen. That means that applications + which use the terminfo smcur/rmcur or termcap ti/te + capabilities will restore the cursor to the original position + on the normal screen rather than to the most recent place where + a save-cursor operation was performed. + + <p>I note that a real VT100 terminal would not behave in this + way, but it is a moot point since the VT100 does not + implement alternate screen, and therefore the save/restore + cursor sequence would not be used in this context. I reviewed + the logic which switches between normal and alternate screens + based on some recent newsgroup postings as well as a proposed + patch in the Debian group which attempts to do this (the + patch has a bug, however, so I did not use it).</p> + </li> + + <li>Add popup menu entry for toggling the titeInhibit + resource.</li> + + <li>Add new resource answerbackString, which overrides the + default "xterm" returned by xterm when responding to an ENQ + (control/E) character (request by Rajesh Vaidheeswarran + <rv@fore.com>).</li> + + <li>Add new resource keyboardDialect for setting the NRC + display character set (request by Tomas Vanhala, who notes that + I should add logic to translate the keyboard as well).</li> + + <li>Add new command-line option and corresponding resources for + making xterm generate escape sequences compatible with HP + terminals. Like the existing Sun escape sequences, this is + available as a popup menu item. It is enabled by the configure + script with the option --enable-hp-fkeys (requested by Toni + Mueller <sales@oeko.net>).</li> + + <li>Add configure script option --disable-boxchars to disable + the fallback support for line drawing characters.</li> + + <li>Fix ifdef's for configure script --disable-ansi-color, and + reviewed all configure options to ensure that all can be + enabled/disabled appropriately.</li> + + <li>Update config.guess and config.sub, from Lynx.</li> + </ul> + + <h1><a name="xterm_89" id="xterm_89">Patch #89 - 1998/11/20 - + XFree86 3.9Nm</a></h1> + + <p>This patch completes the implementation of double-sized + character support for the VT100 emulation, and fixes a few minor + bugs:</p> + + <ul> + <li>corrected the cursor position in HideCursor, which did not + multiply the column by two when in doublesize mode. This bug, + which did not appear in normal use, dates back to my original + <a href="#xterm_44">changes</a> to partly implement + double-sized characters. I noticed it when cat'ing a typescript + from vttest's double-sized character test.</li> + + <li>ensure that the current line is repainted when switching + between single and double width characters.</li> + + <li>reduce the number of bits used for double-sized character + coding from 3 to 2, to make more room for soft-font codes.</li> + + <li>copy newer ifdef's from the XFree86 3.3.3 release's main.c, + which address details of glibc and powerpc.</li> + + <li>moved definition of DECL_ERRNO in xterm.h to match XFree86 + 3.3.3</li> + + <li>modify <em>resize</em> to remove the ifdef on SVr4 that + suppressed printing the script for $LINES and $COLUMNS. + Solaris' resize utility does this; suppressing the behavior is + unnecessary.</li> + </ul>I tested the double-sized characters using vttest and the + xfsft patch. These fonts worked reasonably well: + <pre> + -bitstream-courier-medium-r-normal--0-0-0-0-m-0-iso8859-1 + 9x15 +</pre>The iso8859 font does not include box characters, of course, +but looks good. + + <h1><a name="xterm_88" id="xterm_88">Patch #88 - 1998/10/31 - + XFree86 3.9Nk and 3.3.2h</a></h1> + + <p>This refines my #85 patch by checking for a case where the + font server returns a bold font that does not quite correspond to + the normal font. When I asked for a bold version of the 6x12 + font, the font server returned a near equivalent where the ascent + and descent values did not match, causing xterm to leave lines + across the display. This patch makes xterm reject that type of + mismatch, falling back to the old font behavior.</p> + + <h1><a name="xterm_87" id="xterm_87">Patch #87 - 1998/10/21 - + XFree86 3.9Nj and 3.3.2f</a></h1> + + <p>This corrects a problem reported by Stefan Dalibor. My table + entries for the <em>printerExtent</em> and + <em>printerFormFeed</em> resources used the wrong types for + sizeof, causing the printer to not work properly on some + platforms because the <em>printAttributes</em> resource was + overwritten (e.g., Digital Unix with DEC Alpha).</p> + + <p>I reviewed all of the resource table entries and fixed a + potential problem with <em>resizeGravity</em>, which was typed as + <em>int</em> rather than <em>XtGravity</em>.</p> + + <h1><a name="xterm_86" id="xterm_86">Patch #86 - 1998/10/14 - + XFree86 3.9Nj and 3.3.2e</a></h1> + + <p>A small fix: when switching to/from the continuous mouse + reporting mode, the event mask was incorrect if xterm was built + under X11R5 because the original data was saved under an ifdef + for active-icon.</p> + + <h1><a name="xterm_85" id="xterm_85">Patch #85 - 1998/10/12 - + XFree86 3.9Nj and 3.3.2e</a></h1> + + <p>Some cleanup (I noticed the pixel droppings a few months ago + after getting a new 17" monitor):</p> + + <ul> + <li>split-out the functions that load/reload fonts for xterm as + new file fontutils.c to extend them to support automatic + loading of bold font corresponding to the normal font. Adapted + logic from EMU 1.3 for this purpose. This fixes most + occurrences of pixel droppings from bold characters.</li> + + <li>modified by renaming variables and adding casts to permit + compile with g++.</li> + + <li>modify headers so they can all be compiled without order + dependencies, and use bracketed rather than quoting includes to + allow compile from separate directory.</li> + + <li>renamed xtermm terminfo entry to xterm-mono, to avoid + conflict with Solaris entry now in ncurses.</li> + </ul> + + <h1><a name="xterm_84" id="xterm_84">Patch #84 - 1998/10/9 - + XFree86 3.9Ni</a> and 3.3.2e</h1> + + <p>Several small fixes and enhancements, including a patch from + Bjorn Helgaas:</p> + + <ul> + <li>correct initialization of TERMCAP environment variable, + which was frequently set to garbage on non-Linux systems + because "termcap" and "newtc" contained random data from the + stack.</li> + + <li>remove the LINEWRAPPED attribute from lines as they are + cleared. Previously, the attribute was set but never + cleared.</li> + + <li>make word and line selections work even when lines are + wrapped by xterm. Previously, selections were limited to one + screen line.</li> + </ul>as well as + + <ul> + <li>modify logic for line-wrapping to reset the associated flag + if the application deletes a character. This fixes a problem + reported by Bjorn Helgaas where word/line selection would still + wrap even after deleting characters from the first line.</li> + + <li>add kll/kH capabilities to xterm-xfree86 entries in termcap + and terminfo (request by Michael Schroeder).</li> + + <li>shorten descriptions in termcap to make resolved entries + all shorter than 1023 character limit.</li> + + <li>use DECSTR control sequence to shorten initialization and + reset strings in xterm-xfree86 termcap and terminfo.</li> + + <li>use rmul/smul and rmir/smir in xterm-r5 terminfo to match + termcap.</li> + + <li>correct typos in initialization and reset strings in + xterm-r5 termcap and terminfo.</li> + + <li>disable special translations of key symbols (the backarrow + key, the editing keypad and the keypad "+") when a modifier + other than shift, control or numlock is used. This makes xterm + handle the meta key as expected by people using emacs (reported + by Pete Harlan <harlan@pointofchoice.com> in + linux.debian.user newsgroup).</li> + </ul> + + <h1><a name="sync_83" id="sync_83">Resync #83 - 1998/10/7 - + XFree86 3.3.2e</a></h1> + + <p>Merge changes through patch #83 with the 3.3.2e version.</p> + + <p>This follows a change from XFree86 CVS which adds checks for + non-null return from malloc (patch by Matthieu Herrb).</p> + + <h1><a name="xterm_83" id="xterm_83">Patch #83 - 1998/8/25 - + XFree86 3.9Nb</a></h1> + + <p>Several small fixes and enhancements:</p> + + <ul> + <li>add configure test to infer if xterm should be installed + setuid based on previously installed xterm (reported by Stephen + Marley and Stefan Dalibor).</li> + + <li>implement quasi-continuous mouse reporting (integrated + patch by Jason Bacon).</li> + + <li>correct control sequences transmitted by function keys F1 + to F4 when sunFunctionKeys resource is true (it was still using + the VT100 control sequences).</li> + + <li>modify handling of backarrow key so that the control + modifier toggles the backspace/delete interpretation set by the + backarrowKey resource.</li> + + <li>limit the row and column values used to report mouse + position.</li> + </ul>From resync with XFree86 3.9Nb: + + <ul> + <li>add support for the VSTATUS control character (patch by + Robert Earl <rearl@teleport.com>).</li> + </ul> + + <h1><a name="xterm_82" id="xterm_82">Patch #82 - 1998/7/15 - + XFree86 3.9Aj</a></h1> + + <p>Bug fix for patch #81:</p> + + <ul> + <li>remove an #undef for NBBY, which caused compile problem on + FreeBSD (reported by David Dawes).</li> + </ul> + + <h1><a name="xterm_81" id="xterm_81">Patch #81 - 1998/7/14 - + XFree86 3.9Aj</a></h1> + + <p>More bug fixes:</p> + + <ul> + <li>fix conflicting ifdef's for TIOCSLTC when building with + Linux on AXP aka DEC Alpha (reported by Robin Cutshaw).</li> + + <li>correction to patch #79, move assignment for + *utptr->ut_user = 0; back into non-SVR4 ifdef in main.c, + since this clobbers username on Solaris 2.5.1 (analysis by Will + Day <willday@rom.oit.gatech.edu>).</li> + + <li>corrected khome/kend in xterm-8bit terminfo + description.</li> + + <li>improve cursor color by making it always the reverse of + fg/bg unless the cursorColor resource is set, i.e., to + something other than the default foreground (reported by Vikas + Agnihotri and Bram Moolenaar).</li> + + <li>minor fixes for compiler warnings, including a syntax error + in the AMOEBA ifdef's.</li> + </ul>From resync with XFree86 3.9Aj: + + <ul> + <li>correction to patch #73, supply missing #else for fallback + definitions of size_t, time_t (Robin Cutshaw + <robin@intercore.com>).</li> + </ul> + + <h1><a name="xterm_80" id="xterm_80">Patch #80 - 1998/6/29 - + XFree86 3.9Ai</a></h1> + + <p>This fixes a couple of items leftover or introduced by patch + 79:</p> + + <ul> + <li>take out the logic that suppresses editing-keypad in vt100 + mode (those keys are too valuable to give up for a fine point + of emulation).</li> + + <li>corrected a couple of places in terminfo where I missed + using the vt220-style editing-keypad codes for Find/Select + (mapped to Home/End).</li> + + <li>checked termcap file against terminfo, fix several places + where it was inconsistent.</li> + </ul> + + <h1><a name="xterm_79" id="xterm_79">Patch #79 - 1998/6/28 - + XFree86 3.9Ai</a></h1> + + <p>This patch fixes several small bugs:</p> + + <ul> + <li>use X_EXTRA_LIBS in standalone Makefile.in (patch by Tomas + Vanhala).</li> + + <li>add new resource 'oldXtermFKeys' which provides backward + compatibility for F1-F4 control sequences with TOG's + xterm.</li> + + <li>determine the server's default foreground/background Pixel + values, needed if the -flipPixels X server option is used + (reported by David Dawes).</li> + + <li>correct logic for F1-F4 function keys so that they generate + VT100 compatible escape sequences in VT220 mode, since that is + what the numeric keypad is supposed to do (reported by Ron + Johnson, Jr. <ronjohn@communique.net>).</li> + + <li>modify logic for editing keypad to work more like VT220: + don't pass those codes in VT100-mode unless oldXtermFKeys mode + is set.</li> + + <li>correct an interaction with the editing-keypad logic that + prevented backarrow key from sending a 127 for the delete key + (the 'remove' escape sequence was being sent instead).</li> + + <li>use return-value from getuid() rather than the parameter, + to work on systems which do not update the latter (patch by + Kevin Buhr <buhr@mozart.stat.wisc.edu>)</li> + + <li>correct scrollbar border color when toggling to/from secure + keyboard mode (patch by Jeff Uphoff + <juphoff@tarsier.cv.nrao.edu>)</li> + + <li>modifications to terminfo file: + + <ul> + <li>rename description to xterm-xfree86, adding an entry + 'xterm' which is derived from xterm-xfree86 to simplify + customization.</li> + + <li>change string for kdch1 from \177 to \E[3~, to address + complaints from Debian developers. (This applies to the key + labeled "Delete", and does not affect the backarrow + key).</li> + + <li>add user-strings u6, u7, u8, u9 to entries to make them + work with Daniel Weaver's "tack" program.</li> + + <li>modify xterm-24, xterm-bold, xterm-boldso entries to + disentangle them from explicit dependency upon + xterm-xfree86.</li> + + <li>add generic 'xterm-color' entry.</li> + + <li>minor corrections to xterm-xfree86, xterm-8bit, + xterm-r5 and xterm-r6 entries.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_78" id="xterm_78">Patch #78 - 1998/6/3 - + XFree86 3.9Ah and 3.3.2</a></h1> + + <p>Again, most of the bulk of this patch is for ANSI conversion. + I used the IRIX compiler's -wlint option to find the remaining + functions that use K&R syntax (since gcc does not do this + properly). Also, I changed the logic in the print code slightly + to close unwanted files before opening a pipe to the printer. + This may help in some configurations where the line printer hangs + until xterm closes the pipe.</p> + + <h1><a name="xterm_77" id="xterm_77">Patch #77 - 1998/5/26 - + XFree86 3.9Ah and 3.3.2</a></h1> + + <p>Most of the bulk of this patch is to convert the extended C + (K&R functions with prototypes) to ANSI. I verified that on + Linux by comparing object files, to ensure that I did not, for + example, interchange parameters in the function declarations.</p> + + <p>The rest of the patch fixes several minor bugs, and adds a few + features:</p> + + <ul> + <li>back-out my use of ncurses "captoinfo -f" option + (if/then/else/endif) formatting, since ncurses did not + correctly filter embedded newlines in terminfo capability + strings until _after_ ncurses 4.1, thus corrupting + setf/setb/sgr strings (reported by Darren Hiebert and + others).</li> + + <li>document SGR 8, 28 (invisible/visible), add corresponding + capabilities to terminfo description. + + <p>I would also add the 'prot protected capability, but the + control sequences for that would not be recognized or + properly ignored by the older xterm programs.</p> + </li> + + <li>modify ChangeGroup to not suppress a null-resource, but + treat it as an empty string (recommended by Stefan + Dalibor).</li> + + <li>add printerAutoClose resource to control whether printer is + closed when going offline. More than one person reports + problems (on Solaris 2.6 and Digital Unix 4.0) getting the + printer to proceed unless xterm exits; I think that it is a + problem flushing the pipe. Closing it ought to flush it.</li> + + <li>adapt TOG fix-3 to in HandleKeymapChange and VTInitI18N + (but adapt XtStackAlloc/XtStackFree for clarity, as well as + fixing memory leak).</li> + + <li>change calls on FillCurBackground to ClearCurBackground, in + effect using XClearArea rather than XFillRectangle when + clearing as a side-effect of scrolling and insertion (patch by + Alexander V Lukyanov)</li> + + <li>correct some places where insert/delete did not _move_ the + color attributes, using memmove (patch by Alexander V Lukyanov + <lav@long.yar.ru>)</li> + + <li>add ifdef's for __CYGWIN32__, for port to cygnus version + B19.1 (patch by Andrew Sumner + <andrew_sumner@hotmail.com>).</li> + + <li>remove #define for hpux that turned on USE_SYSV_ENVVARS, + since this causes some applications (such as 'less') to get + incorrect $LINES and $COLUMNS values (reported by Clint + Olsen).</li> + + <li>modify behavior for HP-UX, to set the "reserved" process + group controls to _POSIX_VDISABLE so the TIOCSLTC ioctl does + not produce an error (patch by Ben Yoshino + <ben@wiliki.eng.hawaii.edu>).</li> + + <li>correct length of underlining, reducing it by one pixel to + avoid leaving a dot when the application does not clear the + whole screen I noticed this only recently myself (and other + people as well); it depends on the font chosen. A 6x10 font + shows it, but the other fonts from XTerm.ad do not. I also see + a similar problem with the emulation of bold fonts. (patch by + Sergei Laskavy <Laskavy@cs.msu.su>).</li> + + <li>add include for Xos.h to xterm.h, to ensure proper + definitions (reported by Holger Veit).</li> + + <li>update config.guess to recognize Unixware 2.1 and 7 (patch + by Mike Hopkirk <hops@sco.com>).</li> + </ul> + + <h1><a name="xterm_76" id="xterm_76">Patch #76 - 1998/5/8 - + XFree86 3.9Ah and 3.3.2</a></h1> + + <p>A fix for the print-window function, and some minor + cleanup:</p> + + <ul> + <li>modify logic that closes pipe in the print-window function + to not use pclose, which does not work on all systems, since I + did not open the pipe with popen (reported by Stefan + Dalibor).</li> + + <li>correct name of $(EXTRA_LOAD_FLAGS) imake variable + (reported by Stefan Dalibor).</li> + + <li>guard logic in ChangeGroup() function against null pointer + (reported by Stefan Dalibor).</li> + + <li>ensure that menu entry for toggling sunKeyboard resource is + initialized (reported by Branden Robinson + <branden@purdue.edu>).</li> + + <li>gcc unused-variable warnings (reported by Bernd Ernesti + <bernd@arresum.inka.de>)</li> + + <li>rename global variable 'buffer' to 'VTbuffer'</li> + </ul> + + <h1><a name="xterm_75" id="xterm_75">Patch #75 - 1998/5/7 - + XFree86 3.9Ah and 3.3.2</a></h1> + + <p>This incorporates fixes from several people, as well as some + improvements that I made based on feedback from users:</p> + + <ul> + <li>add option to standalone configure script, + "--with-own-terminfo-dir", which causes xterm to pass a + predefined value of $TERMINFO to the application. Also use this + value in install rule "make install-ti", for the standalone + configure script. (patch & feedback from Tor Lillqvist + <tml@hemuli.tte.vtt.fi>)</li> + + <li>change ifdef's for "hpux" to "__hpux" (patch by Tor + Lillqvist). The imake configuration uses the former, but the + latter is predefined by HP's compilers.</li> + + <li>define USE_SYSV_ENVVARS for HP-UX, curses does not use + $TERMCAP (patch by Tor Lillqvist).</li> + + <li>on HP-UX, use the /dev/ptym/clone device to allocate PTY's. + Works both on HP-UX 9 and 10. (patch by Tor Lillqvist).</li> + + <li>modify configure script to obtain the $(EXTRA_LOADFLAGS) + value from imake, needed for compiling under DEC OSF/1 + (reported by Stefan Dalibor)</li> + + <li>modify print-window action so that the printer is closed + after printing a window, unless the printer was already opened + (i.e., by an application running in the window). This makes the + printing complete without having to exit xterm, since not all + systems treat fflush through a pipe very well (reported by + Stefan Dalibor)</li> + + <li>modify printing code so that the ^M's are not printed if + the printAttribute resource is set to zero (request by Stefan + Dalibor).</li> + + <li>correct typo in xterm.man, for the default value of + printAttribute (reported by Stefan Dalibor).</li> + + <li>correct printing code so that the alternate character set + is printed, like other attributes, with escape sequences.</li> + + <li>correct termcap description, removing spurious 'm' + character from the 'op' capability (reported by Greg Woods + <woods@weird.com>).</li> + + <li>correct trace code so that the initial timestamp is + set.</li> + + <li>correct/modify utmp data for the Linux glibc 2 + configuration, so that the ut_line member is set before using + it to update wtmp (patch by Bill Nottingham + <wen1@cec.wustl.edu>).</li> + </ul> + + <h1><a name="xterm_74" id="xterm_74">Patch #74 - 1998/4/27 - + XFree86 3.9Ag and 3.3.2</a></h1> + + <p>This corrects a couple of recent bugs and adds a new + resource:</p> + + <ul> + <li>modify definition of TRACE_CHILD so that it does not + conflict with ifdef's for USE_USG_PTYS in main.c (reported by + Vikas Agnihotri <VikasA@att.com> and Stefan + Dalibor).</li> + + <li>correct ownership of file (actually pipe) written by the + print controls. When undoing the setuid changes in patch #69, I + overlooked this. Now xterm forks a process which resets setuid + and routes the printer data as the real user.</li> + + <li>add a new resource, "printAttributes", which controls + whether color attributes (or any attributes) are sent to the + printer.</li> + </ul> + + <h1><a name="xterm_73" id="xterm_73">Patch #73 - 1998/4/25 - + XFree86 3.9Ag and 3.3.2</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>implements a print-window facility for xterm. Though useful + in itself, I added it as part of some debugging which I am + doing. (Occasionally during an exposure event xterm fails to + restore the proper colors for highlighted text, and printing + the screen will show the internal states nicely). + + <p>The print facility now also displays the color + information. (I will probably make this a resource).</p> + </li> + + <li>modified the xterm-16color terminfo description to use the + setaf and setab strings, which is a little more efficient + (requested by Stephen Marley).</li> + + <li>reduced some clutter of the ifdef/includes (e.g., stdlib.h, + unistd.h, errno) making the configure script test for these. + + <p>I removed the symbols Size_t and Time_t, since they no + longer serve a useful purpose.</p> + </li> + + <li>added some debugging traces to show the initial screen + size, and the success/failure of the ioctl calls pass handle + window resizing events to the application (for Clint Olsen). + + <p>I also modified the trace code to produce two files since + some of the information is produced by the child process. So + now they are Trace-parent.out and Trace-child.out</p> + </li> + + <li>updated configure test for ANSI compiler options to handle + a special case for HP-UX 10.x (reported by Clint Olsen).</li> + </ul> + + <h1><a name="xterm_72" id="xterm_72">Patch #72 - 1998/4/17 - + XFree86 3.9Ag and 3.3.2</a></h1> + + <p>This is a patch from Chris Siebenmann + <cks@hawkwind.utcs.toronto.edu>, which I have cleaned up a + little, and integrated into the configure script.</p> + + <p>From his description:</p> + + <blockquote> + This set of patches is the latest incarnation of patches + originally written by Ian! D Allen, then of the University of + Waterloo and now of who knows where; I have been carrying them + forward from xterm to xterm ever since about X11R4. What they + do is add an option so that when an iconified xterm receives + output it prepends '*** ' to its icon title and (optionally) + beeps the bell; deiconifying the xterm removes the '*** '. Over + the years I've found this to be incredibly convenient for + monitoring all sorts of low-activity things. + </blockquote> + + <h1><a name="xterm_71" id="xterm_71">Patch #71 - 1998/4/12 - + XFree86 3.9Ag and 3.3.2</a></h1> + + <p>This patch is a slightly modified version of one by Richard + Braakman, which prevents buffer overflow in the input-method and + preedit-type parsing in xterm. I changed a couple of details to + make the code more maintainable, and looked for similar things - + copying into a fixed-size buffer (found none, though I did spot + an unused variable).</p> + + <h1><a name="xterm_70" id="xterm_70">Patch #70 - 1998/3/29 - + XFree86 3.9Af and 3.3.2</a></h1> + + <p>This patch corrects some minor bugs in xterm, and fills in + some more details in the VT220 emulation:</p> + + <ul> + <li>modify Imakefile to use SpecialCObjectRule for menu and + data modules, making xterm build properly if logging is enabled + (patch by Scott Sewall <scott@iprg.nokia.com>).</li> + + <li>restore "ich" capability to terminfo entries, since Michael + Schroeder points out that "ich1" is the one which is the + problem in Solaris vi.</li> + + <li>correct color of cursor, which would disappear on + inverse-video since the initialization did not compare the + cursor color against both foreground and background (reported + by Olivier Calle).</li> + + <li>correct abbreviation-test for -version and -help options, + making command-line option -vb work (reported by Stefan + Dalibor).</li> + + <li>correct a dependency between ifdef's for OPT_I18N_SUPPORT + and OPT_INPUT_METHOD (reported by Stefan Dalibor).</li> + + <li>split-out character-set translations as new module + charsets.c, to implement VT220 national replacement character + sets (a mode where some of the characters are displayed as + specific European glyphs). This relies on xterm using an ISO + 8859-1 font (approach suggested by Kenneth R. Robinette + <zkrr01@mailbox.neosoft.com>).</li> + + <li>correct a missing increment, which made SS2 and SS3 + controls repeat the shifted character.</li> + + <li>add xterm-nrc to terminfo to illustrate the VT220 national + replacement character sets.</li> + + <li>reformat terminfo using new ncurses tic option "-f", which + makes if/then/else/endif expressions easier to read.</li> + </ul> + + <h1><a name="xterm_69" id="xterm_69">Patch #69 - 1998/3/16 - + XFree86 3.9Ad and 3.3.2</a></h1> + + <p>This corrects the problem in xterm with utmp, reported by + Olivier Calle <olivier@tc.fluke.com> as well as some other + people after the XFree86 3.3.2 release.</p> + + <p>The error was introduced by my patch #53 in XFree86 3.9r + (October 1997).</p> + + <p>The correction removes the reset of setuid/setgid before the + main event loop, and solves the problem which I had worked around + in a different manner: for some reason, the particular waitpid() + call in creat_as() hangs, does not return when the child process + exits. I changed the ifdef's to force the Linux configuration to + use wait() instead. This call appears to work properly on other + platforms such as SunOS and Solaris.</p> + + <p>I also added tests in the standalone configure script to check + for the existence of waitpid().</p> + + <h1><a name="xterm_68" id="xterm_68">Patch #68 - 1998/3/4 - + XFree86 3.9Ad and 3.3.1z</a></h1> + + <p>This corrects another problem with the logic for + highlightColor resource. As reported by David Dawes:</p> + + <blockquote> + I've just noticed a problem with with the "inverse" control + sequence (ESC[7m) with the 3.3.2 xterm. What it does is sets + the background black, and the text the usual foreground colour + rather than simply swapping the foreground/background. + </blockquote>This appears to be because when I added logic to + check that the highlightColor was distinct from foreground and + background colors, I did not add a further check to see that it + was not black (I would make an explicit check for the resource + not being set, but see nothing definite in the headers that would + let me reference an explicitly-undefined Pixel value, though + there are some implications in xpm.h). But this should work. + + <h1><a name="xterm_67" id="xterm_67">Patch #67 - 1998/2/23 - + XFree86 3.9Ad and 3.3.1e</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>improve test for highlightColor so that xterm does not + attempt to use that unless it is different from the foreground + and background colors (reported by Stefan Dalibor + <Stefan.Dalibor@informatik.uni-erlangen.de>. + + <p>I could not reproduce this until I noticed that the -rev + option exposed it nicely.</p> + </li> + + <li>remove ich and ich1 from xterm and xterm-8bit terminfo + descriptions. SVr4 terminfo documents that you must not combine + these with smir/rmir, but ncurses allows it, opening a hole. + Solaris 2.6 vi does not work properly if it is using a terminfo + description when these are combined, since it was written to + accommodate old terminals that required it (reported by Stephen + Marley).</li> + + <li>restore 1-pixel overlap of scrollbar border with left edge + of window (reported by Jim Burmeister + <jimb@metrolink.com>).</li> + + <li>add a configure option, --enable-logfile-exec, which allows + the user to specify a pipe for logfile. This defines + ALLOWLOGFILEEXEC.</li> + + <li>makes the ALLOWLOGFILEEXEC code compile & run, if + configured.</li> + + <li>minor documentation nits.</li> + </ul> + + <h1><a name="xterm_66" id="xterm_66">Patch #66 - 1998/2/16 - + XFree86 3.9Ad and 3.3.1d</a></h1> + + <p>This fixes the problem reported with failure to build the + <em>resize</em> program (BSDI, OSF/1) due to not having + <termcap.h>, by changing the ifdef to one that would be set + only if the file exists (not currently specified, except by the + standalone configure script). We do not really need to include + <termcap.h> to build, but only for a clean compile, since + it may declare the tgetent() prototype. I also updated the + man-page for <em>resize</em>, since I had recently noticed that + it can be used to resize <em>xterm</em> using the "Sun" control + sequences option.</p> + + <h1><a name="xterm_65" id="xterm_65">Patch #65 - 1998/2/14 - + XFree86 3.9Ad and 3.3.1c</a></h1> + + <p>This is a small patch to xterm's 8-bit terminal description. I + noticed while testing ncurses that I had specified the wrong + (VT100-style) codes for the F1-F4. Xterm only uses VT220-style + function keys in 8-bit mode.</p> + + <h1><a name="xterm_64" id="xterm_64">Patch #64 - 1998/2/8 - + XFree86 3.9Ad</a></h1> + + <p>This fixes the following problems with xterm:</p> + + <ul> + <li>save/restore the ANSI foreground and background colors with + the other visible attributes in the save-cursor and + restore-cursor operations. This works around a problem with + vim, which apparently assumed that switching between the normal + and alternate screens resets the colors (reported by Jim Battle + <jb@chromatic.com>). + + <p>It would be nice to implement save/restore cursor as a + stack (and solve this type of problem completely), but that + would lead to incompatibility with applications which assume + they are running with a VT100 or VT220.</p> + </li> + + <li>corrects behavior of a restore-cursor operation which does + not follow a save-cursor (it is supposed to set the character + sets to a known initial state).</li> + + <li>extends the sunKeyboard resource (and menu toggle) to + modify the home, end and delete keys on a Sun or PC editing + keypad, making them generate codes compatible with DEC VT220's + Find, Select and Remove keys.</li> + + <li>corrects a length in checking command-line options, which + caused the "-help" message to not work when X was not + running.</li> + + <li>add some detail to the man-page (requested by Jason Bacon + <acadix@execpc.com>)</li> + + <li>modify the standalone configure script to ignore the broken + nsl and socket libraries on IRIX 6.2 (the ones on 5.2 also are + broken, so this change just widens the check for the system + version number).</li> + </ul> + + <h1><a name="xterm_63" id="xterm_63">Patch #63 - 1998/2/5 - + XFree86 3.9Ad</a></h1> + + <p>This is another patch from Bjorn Helgaas + <helgaas@rsn.hp.com>, which I've reviewed (and learned + some). Following are his notes:</p> + + <p>I poked around some more and finally got xterm-62 to build and + run cleanly on HP-UX 10.20. Here are the patches. They look sort + of ugly, so here's a little explanation:</p> + + <ul> + <li>aclocal.m4: Removed side effects from the AC_CACHE_VAL + commands in CF_FUNC_TGETENT. Previously, LIBS was set inside + AC_CACHE_VAL, which worked fine the first time configure was + run, but failed if there were cached values.</li> + + <li>aclocal.m4: Added temporary setting of LIBS before + AC_TRY_LINK in CF_FUNC_TGETENT. Previously, the last value set + by the AC_TRY_RUN loop was used, so only -lcurses was + checked.</li> + + <li>configure.in: Added temporary setting of CPPFLAGS before + AC_CHECK_HEADERS for X11 files. Previously + <X11/DECkeysym.h> and <X11/Xpoll.h> were found only + if they were in the compiler's default include directories, + even if `--x-includes=DIR' had been used or AC_PATH_XTRA had + found them elsewhere.</li> + </ul>The problem on HP-UX was that we were linking with -lcurses + rather than -ltermcap due to the second bullet above, and + apparently something in HP-UX curses is broken. This seems very + strange, because the only thing used is tgetent, which should + affect any tty/pty configuration, but I lost interest in tracking + down the exact problem. + + <h1><a name="xterm_62" id="xterm_62">Patch #62 - 1998/1/23 - + XFree86 3.9Ac</a></h1> + + <p>This is a patch mostly by Bjorn Helgaas + <helgaas@dhc.net> (I added the os2main.c change, and a + little of the documentation). From Bjorn's description:</p> + + <ul> + <li>If you use the "-hc <color>" option or set the + "highlightColor" resource, text is highlighted by changing only + the background color, rather than using reverse video. I find + this easier to read, especially when selecting multi-colored + text, and it is similar to the way Netscape shows + selections.</li> + + <li>Most of the code changes are under "#if + OPT_HIGHLIGHT_COLOR". The principal exception is in screen.c, + where I added a couple calls to resetXtermGC(). This seems like + it could be a bug even without the color highlighting changes + (though I don't pretend to understand all the logic).</li> + </ul> + + <h1><a name="xterm_61" id="xterm_61">Patch #61 - 1998/1/17 - + XFree86 3.9Ac</a></h1> + + <p>This patch modifies the reset behavior of xterm slightly:</p> + + <ul> + <li>change the terminfo entry so that rs1 (one of the strings + used by the 'reset' program) does a hard reset rather than + switching character sets. This is more in accord with other + terminal descriptions.</li> + + <li>modifies the treatment of hard reset by the xterm program + to reset the saved lines.</li> + + <li>corrects hard reset by also resetting user-defined keys, + i.e., DECUDK.</li> + </ul> + + <h1><a name="xterm_60" id="xterm_60">Patch #60 - 1998/1/10 - + XFree86 3.9Ab</a></h1> + + <p>This fixes some minor bugs and adds new functionality:</p> + + <ul> + <li>add support for blinking text. + + <ul> + <li>This does not actually cause the text to flash, but + text with the blink attribute can be displayed in color, + using new resources colorBL and colorBLMode.</li> + + <li>If colors are not used, the blinking text will be + displayed as before (just like bold). The main purpose of + this is to make applications work properly when they assume + the emulator supports blinking text.</li> + + <li>I did this by moving the per-cell LINEWRAPPED flag to a + per-line flag, to make room for the new BLINK flag. There + were no per-line flags, so this changes a lot of + logic.</li> + </ul> + </li> + + <li>corrected missing save-cursor logic in the handling of SGR + 1048 (the new control sequence I added in patch #54, + 1997/10/17). Reported by Darren Hiebert.</li> + + <li>flush the output of the transparent printing after each + line Reported by Tomas Vanhala + <vanhala@ling.helsinki.fi>.</li> + + <li>correct the modes that are affected by save/restore cursor + by adding WRAPAROUND and PROTECTED.</li> + + <li>corrected placement of one of the XSync calls that I added + in patch #51, 1997/9/15, which had the side-effect of writing + on the window border when the xterm was resizing from 132 to 80 + columns.</li> + + <li>work around an incompatibility of the XKB definition used + in xterm versus that symbol from IRIX 6.2's imake definitions + (by adjusting the standalone configure script).</li> + </ul> + + <h1><a name="xterm_59" id="xterm_59">Patch #59 - 1998/1/5 - + XFree86 3.9Ab</a></h1> + + <p>My last patch has an off-by-one error in the comparison for + argc. Douglas Kosovic <douglask@dstc.edu.au> showed me + where (he got a core dump). Also, I think this explains Clint + Olsen's problem, but the symptoms were more subtle (EINVAL for a + system call if the -display option is omitted).</p> + + <h1><a name="xterm_58" id="xterm_58">Patch #58 - 1998/1/3 - + XFree86 3.9Ab</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>implement logic to permit xterm to work with proportional + fonts. + + <ul> + <li>Thomas Wolff <Thomas.Wolff@sietec.de> requested + this (but it isn't exactly what he's asking for - that's a + more involved task).</li> + + <li>I chose to do this by rendering the characters on a + fixed pitch, because it would not be useful for existing + applications to display varying numbers of characters on + each line.</li> + + <li>Except that this forces the display to be wider, it + works reasonably well. A couple of special cases (reverse + + colorBD, for example) do not display with proper colors, + since the inter-character gaps are painted with the + background.</li> + </ul> + </li> + + <li>added a version number to the program (several people have + requested this).</li> + + <li>make the -version and -help options interpreted before the + program attempts to open the display.</li> + + <li>minor reorganization of the man-page (ordered the options, + resources and translations alphabetically - and eliminated some + duplication).</li> + + <li>corrected a misspelled filename in Makefile.in, and added a + lint rule.</li> + + <li>updated the configure script to correct behavior when it + cannot find imake, as well as to fix the IRIX+gcc build + (conflict with /usr/include).</li> + + <li>regenerated the configure script with a newer patch to + autoconf that fixes a problem with environment space vs the + configure --help message.</li> + </ul> + + <h1><a name="xterm_57" id="xterm_57">Patch #57 - 1997/12/26 - + XFree86 3.9Aa</a></h1> + + <p>This patch is mostly concerned with the standalone configure + script; a few minor corrections are added:</p> + + <ul> + <li>add configure option --disable-tek4014, to allow xterm to + be built without the tek4014 emulation.</li> + + <li>add configure option --with-terminal-type, to allow xterm + to be compiled with default $TERM value other than "xterm" + (e.g., "xterm-16color") -- requested by Stephen Marley + <stephen@memex.com>.</li> + + <li>fix a typo in the configure --help message -- reported by + Darren Hiebert <darren@hmi.com>.</li> + + <li>review diffs between main.c and os2main.c, to make them + more alike. (applies some minor bug-fixes to OS/2's + version).</li> + + <li>add missing quotes in memmove/bcopy configure test</li> + </ul> + + <h1><a name="xterm_56" id="xterm_56">Patch #56 - 1997/11/28 - + XFree86 3.9x</a></h1> + + <p>This patch is based on analysis by Arfst Ludwig + <arfst@luxor.IN-Berlin.DE>, who reported:</p> + + <blockquote> + Setting the following resources xterm (all current versions) + receives a segmentation fault on <Btn2Up> after + scrolling: + <pre> + + *XTerm*VT100*translations: #override \ + ~Shift~Ctrl<Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0)\n\ + Shift~Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1)\n\ + ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0)\n\ + Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) +</pre>(The above resources intention is to be able to paste the +latest selection even if the xterm was cleared.) + + <p>And here is how it works (and a fix!): The widget given to + the action handler as first argument is not guaranteed to be a + XtermWidget (it can be the ScrollbarWidget). Instead of + accessing the widget's member directly XtDisplay gives the + required pointer in a safe way.</p> + </blockquote>I noticed that this was not the only instance (by + reading the code, and testing with his example), and extended the + solution to check the widget-class to ensure that it is indeed + xterm's widget class before attempting to use it in the context + of translations. + + <h1><a name="xterm_55" id="xterm_55">Patch #55 - 1997/11/25 - + XFree86 3.9x</a></h1> + + <p>This fixes the segmentation violation noted by Rogier Wolff + about a month ago. He'd set xterm to 400 (rows) by 150 columns, + which broke because there were limited buffers (200 rows) used + for juggling data when adding or deleting lines and for switching + between alternate and normal screens. I replaced this by an + allocated buffer.</p> + + <p>The bug is simple to test if you set titeInhibit false.</p> + + <h1><a name="xterm_54" id="xterm_54">Patch #54 - 1997/10/17 - + XFree86 3.9s</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>correct a minor placement problem with the right + scrollbar.</li> + + <li>implement a new set of control sequences for switching + between the normal and alternate VT100 screens. These work + around the older sequences limitation that required + modification of the runtime $TERMCAP to cooperate with the + titeInhibit resource (that can't work with terminfo). I do this + by moving all of the functionality of the rmcur terminfo + capability into the control sequences.</li> + + <li>implement the alternate-screen menu entry</li> + </ul> + + <h1><a name="xterm_53" id="xterm_53">Patch #53 - 1997/10/12 - + XFree86 3.9r</a></h1> + + <p>This patch adds a fix and implements a new feature (as well as + some minor typos):</p> + + <ul> + <li>JCHANDRA@Inf.COM (JCHANDRA) noted that there was still a + problem with the wait call with the logging option. It hung + when the logfile was opened as a command-line option. I fixed + this by moving the StartLogging() call down past the place + where I'd reset the setuid mode. So the logfile is opened as + the real user, without having to fork.</li> + + <li>improve Rohleder's changes by renaming the command-line + options and reducing the number of ifdef's.</li> + + <li>implement right-scrollbars for xterm (patch by Michael + Rohleder <michael.rohleder@stadt-frankfurt.de>).</li> + </ul> + + <h1><a name="xterm_52" id="xterm_52">Patch #52 - 1997/9/29 - + XFree86 3.9q</a></h1> + + <p>This patch addresses bugs and requests reported by</p> + + <ul> + <li>Bob Maynard <rmaynard@montana.com>,</li> + + <li>Clint Olsen <olsenc@ichips.intel.com>,</li> + + <li>JCHANDRA@Inf.COM (JCHANDRA),</li> + + <li>Michael Schroeder + <Michael.Schroeder@informatik.uni-erlangen.de>,</li> + + <li>Pablo Ariel Kohan <pablo@memco.co.il></li> + </ul>Some of the changes are interrelated (it was an unusually + busy week). + + <ul> + <li>change the default resource value for colorMode to true, + matching the Xterm.ad file.</li> + + <li>correct behavior of 'ech' control, making the default and 0 + parameters erase one character rather than to the end of line + (reported by Michael Schroeder).</li> + + <li>add resource boldColors, command-line options +pc and -pc + and configure-script option to specify behavior of xterm's + mapping bold colors 0 through 7 to colors 8 through 15. + (request by Pablo Ariel Kohan).</li> + + <li>add resource colorAttrMode to specify whether colorULMode + and colorBDMode can override the ANSI colors (report by Clint + Olsen).</li> + + <li>correct a conflict between colorULMode/colorBDMode versus + ANSI colors, where exposure events would occasionally pick up + the former (e.g., colorBD) rather than ANSI colors. Testing the + colorAttrMode made this apparent, though it has been in the + code since 3.2A (patch #35 in Jan 1997).</li> + + <li>correct two problems with the optional logging support. On + Linux at least, the waitpid call in creat_as hangs when the + logging is toggled from the popup menu. Also, the mktemp + template has the wrong number of X's (since X11R5!). Fixed the + waitpid problem by exploiting the fact that the setuid behavior + is reset before the popup menus are available. (reported by + Jayachandran C.).</li> + + <li>add configure script options for building with the Xaw3d + and neXtaw libraries.</li> + + <li>correct CF_IMAKE_CFLAGS standalone configure script macro, + so that it will pick up $(ALLDEFINES) rather than + $(STD_DEFINES). This is needed to make scrollbars work on + Linux, since that uses narrow prototypes. (reported by Bob + Maynard).</li> + + <li>various minor updates to configure-script macros.</li> + </ul> + + <h1><a name="xterm_51" id="xterm_51">Patch #51 - 1997/9/15 - + XFree86 3.9p</a></h1> + + <p>Most of this patch is related to the standalone configure + script, though there are fixes/enhancements as well:</p> + + <ul> + <li>add a new resource sunKeyboard, with associated + command-line option and menu-toggle that allows using a normal + Sun or PC keyboard to generated the complete DEC-style function + keys and keypad.</li> + + <li>correct a reversed foreground/background test in the + control sequence that replies with the current SGR + settings.</li> + + <li>correct, by invoking XSync, a display problem that caused + the program to not properly update newly exposed areas when a + font change or 80/132 resize request was not completely + accepted.</li> + + <li>restructured autoconf macros (I made a library of all of + the macros across the complicated configure scripts I'm working + on).</li> + + <li>use the autoconf config.guess and config.sub scripts to + better identify the host-os.</li> + + <li>improve the configure script that uses 'imake' as a + fallback for definitions.</li> + + <li>correct several instances of unsigned/signed mixed + expressions.</li> + </ul>I've tested the configure script on Linux, SunOS 4.1.3, + Solaris 2.5.1, IRIX 5.2 and 6.2, AIX 3.2.5 and CLIX 3.1 (all but + the last run properly as well). + + <h1><a name="xterm_50" id="xterm_50">Patch #50 - 1997/8/22 - + XFree86 3.9m</a></h1> + + <p>This is a collection of small fixes, and a couple of minor + enhancements:</p> + + <ul> + <li>plug a security hole in the implementation of Media Copy + (print) by invoking setuid just before the main loop.</li> + + <li>add an ifdef'd include for <sys/termio.h> for HP-UX, + which allows the program to process SIGWINCH events (this is a + bug in X11R6.3)</li> + + <li>add state-table entries for VT52 emulation to enter/exit + keypad application mode.</li> + + <li>disable the popup-menu entry for 8-bit controls when the + terminal-id is less than 200 (e.g., VT52 or VT100).</li> + + <li>ensure that the popup-menu entry for 8-bit controls is + updated when the application enables/disables this mode, + including the response to a full-reset.</li> + + <li>implement VT300 DECBKM feature: set interpretation of the + backarrow key to either backspace or delete. The initial + setting is via resource; it can also be modified in the main + popup menu.</li> + + <li>implement VTxxx KAM (ISO AM), which allows a keyboard to be + locked (i.e., the terminal discards input).</li> + + <li>implement VTxxx SRM, which is used to control local echoing + of input on the terminal.</li> + + <li>add terminfo and termcap entries for xterm-8bit, a + variation of the xterm description that uses 8-bit control + characters.</li> + + <li>add fallback definitions for Imakefile to allow it to work + on some X11R5 systems that have no SpecialCObjectRule or + ProgramTargetName macros.</li> + + <li>add .c.o and .c.i rules to standalone Makefile.in</li> + + <li>correct order of -lXmu and -lXext in standalone configure + script.</li> + + <li>add configure script options to allow selective disabling + of active-icon, input-method and i18n code (mainly for users + with X11R5 or an incomplete X11R6 configuration).</li> + + <li>change menu-indices from #define's to enum values, thereby + making it work better with the ifdef's for logging and + active-icon (the X11R6.3 active-icon code is incorrectly + ifdef'd; this corrects an error introduced by incorporating + that code).</li> + + <li>correct minor compile errors in the configuration where + active-icon is not used.</li> + + <li>add configure option to suppress echoing of long compiler + commands</li> + + <li>correct spelling of decTerminalID in configure script help + message</li> + + <li>use gcc __attribute__((unused)) to quiet warnings about + unused parameters when compiling with -W (to make it simpler to + find the real problems).</li> + </ul> + + <h1><a name="xterm_49" id="xterm_49">Patch #49 - 1997/8/10 - + XFree86 3.9k</a></h1> + + <p>This patch implements the VT100/VT220 Media Copy (i.e., + print-screen) control sequences.</p> + + <h1><a name="xterm_48" id="xterm_48">Patch #48 - 1997/7/26 - + XFree86 3.9j</a></h1> + + <p>This patch does the following (all but the first affect only + the standalone configure script):</p> + + <ul> + <li>minor correction to positioning of underlines for small + (e.g., 5x8) font size. + + <p>The existing behavior allowed underlines to be drawn + outside the character-cell, so they weren't cleared properly + under some circumstances.</p> + </li> + + <li>adds more special-case tokens to the standalone configure + script's imake-option filter (e.g., "&&", since a "make + -n main.o" on my IRIX system uses that shell construct).</li> + + <li>adds a '--enable-logging' option for the standalone + configure script.</li> + + <li>adds check and ifdef's for the standalone configure script + to allow for building on platforms with X11R6, which lacks + Xpoll.h (introduced in X11R6.1).</li> + </ul> + + <h1><a name="xterm_47" id="xterm_47">Patch #47 - 1997/7/13 - + XFree86 3.9i</a></h1> + + <p>This patch does the following</p> + + <ul> + <li>corrects an indexing error in the doublesize character + logic (button.c) that caused core dump (this was reported by J. + Wunsch).</li> + + <li>corrects the logic of ShowCursor when it is painting in a + doublesize cell (charproc.c).</li> + + <li>corrects, according to vttest, the behavior when switching + to doublesize characters and back again (doublechr.c).</li> + + <li>adds cbt (back_tab) to the terminfo description (this was + something that I'd overlooked as applicable to curses + optimization last summer).</li> + + <li>corrects, for the standalone xmc test, the logic for + disabling xmc.</li> + </ul> + + <h1><a name="xterm_46" id="xterm_46">Patch #46 - 1997/7/4 - + XFree86 3.9h</a></h1> + + <p>This is a patch to provide test-support for some work I'm + doing on ncurses. It does not modify the normal configuration of + xterm; the code is compiled if the standalone configure option + "--enable-xmc-glitch" is specified.</p> + + <h1><a name="xterm_45" id="xterm_45">Patch #45 - 1997/7/2 - + XFree86 3.9h</a></h1> + + <p>This fixes the problem reported with xterm's cursor color + versus the background (the second chunk in this patch) and also + removes some duplicate initialization of the cursor GC's. If the + cursor color at startup is the same as the background, then xterm + will use the reverse GC, ignoring the setting of the colorMode + resource.</p> + + <h1><a name="xterm_44" id="xterm_44">Patch #44 - 1997/6/22 - + XFree86 3.9g</a></h1> + + <p>This implements the first part of the VT100 doublesize + characters for xterm, as well as fixing a handful of bugs:</p> + + <ul> + <li>the doublesize character support uses the normal font + (using scaled fonts will be another patch) with blanks to + simulate doublesize characters. This patch does most of the + global changes that'll be required. I've hidden most of the + details in macros and ifdef's so it's easy to configure out + (part of the patch is a configure option for that + purpose).</li> + + <li>corrected limits in DeleteChar() function -- it's always + ignored the size of the left border and scrollbar. I noticed + this when working on the doublesize characters since the glitch + was doubled in size (i.e., it wrapped some garbage around the + right margin).</li> + + <li>corrected 'memmove()' logic, for standalone builds (it + referenced a malloc wrapper from my development library).</li> + + <li>add a check for HideCursor() to prevent repeated screen + updates (which can cause a spurious cursor glitch to appear, + e.g., during scrolling). I noticed this with the 3.2A version + (but only a few weeks ago, when I started working on this + patch).</li> + </ul> + + <h1><a name="xterm_43" id="xterm_43">Patch #43 - 1997/6/10 - + XFree86 3.9d</a></h1> + + <p>Here's a fix for two problems:</p> + + <ul> + <li>modify handling of tgetent results in xterm and resize + programs to make them tolerant of missing termcap file, or + unknown terminal name. In this scheme, an explicit "-tn" option + will succeed, overriding the fallback list.</li> + + <li>a nit in the configure script (log extra information to + help diagnose which case of the test-compile of tgetent was + used).</li> + </ul> + + <h1><a name="xterm_42" id="xterm_42">Patch #42 - 1997/6/8 - + XFree86 3.2Xl</a></h1> + + <p>Bram Moolenaar reported that the cursor color changed + unexpectedly while scrolling. The cause was that it used the same + GC's as the logic that draws the ANSI colors. The bug only + appears if the cursorColor resource isn't set, and has been + present since the initial implementation early last year. (The + same bug also appears in rxvt ;-). Here's a fix.</p> + + <h1><a name="xterm_41" id="xterm_41">Patch #41 - 1997/5/28 - + XFree86 3.2Xl</a></h1> + + <p>Some nits found by Darren Hiebert (missing part of + install-rule, incorrect assignment for --enable-color-mode + option).</p> + + <h1><a name="xterm_40" id="xterm_40">Patch #40 - 1997/5/26 - + XFree86 3.2Xl</a></h1> + + <p>Patch for the configure script's logic for obtaining imake + predefined symbols.</p> + + <h1><a name="xterm_39" id="xterm_39">Patch #39 - 1997/5/24 - + XFree86 3.2Xl</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>integrate the 16-color change for 'xterm'</li> + + <li>minor fixes/clarification of tgetent in terminfo vs termcap + to 'resize'</li> + </ul>(both changes also modify the configure script) + + <h1><a name="xterm_38" id="xterm_38">Patch #38 - 1997/5/22 - + XFree86 3.2Xh</a></h1> + + <p>This implements a simple configuration script with autoconf + (to which I'll add more options later). It does the + following:</p> + + <ul> + <li>configures xterm to build with X11R5 (at least on SunOS + 4.1, Solaris 2.4, possibly IRIX - sorry network was down today, + but I did test an earlier version yesterday).</li> + + <li>enables/disables the configuration ifdef's for ANSI color + and VT52 emulation.</li> + </ul>It does not make tests for the things that imake does + (that's another project), instead it uses a hybrid of the + autoconf tests for libraries and adds imake's compiler options + (which are necessary in some cases to get main.c to compile). + + <h1><a name="xterm_37" id="xterm_37">Patch #37 - 1997/5/7 - + XFree86 3.9a</a></h1> + + <p>This corrects a minor, but annoying error in the vt220 + emulation: the DECUDK is only supposed to be interpreted for + _shifted_ function keys.</p> + + <h1><a name="xterm_36" id="xterm_36">Patch #36 - 1997/1/16 - + XFree86 3.2r</a></h1> + + <p>This corrects something that I overlooked in patch #27 + (21-aug-1996), which is that when trimming the region to be + repainted for the highlightSelection resource of xterm, I still + have to paint the background past the highlighted region. This + only happens when I first do a selection in a window that's + partly off-screen, then move the window on-screen.</p> + + <h1><a name="xterm_35" id="xterm_35">Patch #35 - 1997/1/7 - + XFree86 3.2o</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>combines the coding for foreground and background colors + into a single byte, reducing the memory required to store + saved-lines in color. (I'll take back that byte in a following + patch to use to ensure the character-set, so there's no + long-term decrease in memory use).</li> + + <li>modifies the PF1-PF4 coding in termcap/terminfo. Because + xterm is still by default emulating vt100, the function key + codes are vt100-compatible (I overlooked this in patch #31). I + also reformatted the whole terminfo file into a single-column, + for consistency.</li> + + <li>adds an interim xterm-vt220 description to accommodate the + old and new styles of function-keys (though probably it'd be + better to drop the old-style altogether).</li> + </ul> + + <h1><a name="xterm_34" id="xterm_34">Patch #34 - 1997/1/5 - + XFree86 3.2o</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>implement DECSTR (soft terminal reset). The biggest diff is + due to adding another state table (note that there's only one + useful state here, but it's only 256 bytes rather than 1k as it + would have been before I reduced the size of state + entries).</li> + + <li>some minor tidying up (e.g., signed/unsigned use bitcpy, + MODE_DECCKM, resetColor, resetCharsets). More is done in patch + #35.</li> + </ul>I got the description of DECSTR from a vt420 user's manual. + I'll do some testing with vttest to ensure that there's nothing + else to do than what was documented. + + <h1><a name="xterm_33" id="xterm_33">Patch #33 - 1996/11/24 - + XFree86 3.2</a></h1> + + <p>This adds to the reset-fix by Matthieu Herrb + <Mathieu.Herrb@mipnet.fr> a small change to make xterm able + to output 8-bit characters in VT100 mode. Applications that run + on real VT100's don't do that anyway, and this feature should be + removed sometime after finishing off the VT220 emulation (VT220's + can do 8-bit characters). That would be a good time to change the + default terminal-id to 220.</p> + + <h1><a name="xterm_32" id="xterm_32">Patch #32 - 1996/11/21 - + XFree86 3.2</a></h1> + + <p>This implements the REP (repeat) control for xterm. That isn't + part of the DEC VTxxx series, but is defined in ISO 6429. (Note + that the base xterm terminal description is <em>not</em> changed + -- I added a variant, "xterm-rep").</p> + + <h1><a name="xterm_31" id="xterm_31">Patch #31 - 1996/11/16 - + XFree86 3.2</a></h1> + + <p>This implements vt52 emulation in xterm (ifdef'd so it can be + removed). I've been using it for testing for the past month or + so.</p> + + <h1><a name="xterm_30" id="xterm_30">Patch #30 - 1996/11/16 - + XFree86 3.2</a></h1> + + <p>From bug-report by <auroux@clipper.ens.fr> (Denis + Auroux), missing reset to ground state. I checked through the + rest of <em>that</em> table and found another, in the + unimplemented MC (screen print).</p> + + <h1><a name="xterm_29" id="xterm_29">Patch #29 - 1996/9/15 - + XFree86 3.1.2Gb</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>corrects the restoration of color for bold/underline color + mode</li> + + <li>adds a resource 'decTerminalID' to control the reporting + level of xterm (e.g., VT100, VT220).</li> + + <li>uses the new resource to implement/correct the DA1, DA2 and + DECRPTUI reports.</li> + + <li>change valid-response code in DECRQSS from 0 to 1 (the + manual says 0, but the VT420 terminal I've been testing on says + 1).</li> + </ul>All of these changes are based on vttest 2.6 + + <p>(Most of the volume in the patch is to add 2 more state tables + for parsing the 2nd/3rd device-attribute controls).</p> + + <h1><a name="xterm_28" id="xterm_28">Patch #28 - 1996/8/31 - + XFree86 3.1.2F</a></h1> + + <p>This patch corrects the following reported by Roland Rosenfeld + <roland@spinnaker.rhein.de>:</p> + + <ul> + <li>handle SGR 22, 24 and 25 in combination with colorUL and + colorBD resources. Also noted & fixed reset of colored + underline/bold with SGR 0.</li> + + <li>a typo in the termcap (missing '['), from 3.1.2Dj (my + error)</li> + </ul>Roland also complained that he couldn't use box characters + with + <pre> + -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 +</pre>but that's a known xterm limitation (the box characters must +be part of the font, in the first 32 locations). + + <h1><a name="xterm_27" id="xterm_27">Patch #27 - 1996/8/21 - + XFree86 3.1.2Ek</a></h1> + + <p>This patch fixes one of my long-term gripes: xterm's selection + doesn't clearly show what's being selected (as per David's + request, it's controlled by a resource, which defaults to the + older behavior).</p> + + <h1><a name="xterm_26" id="xterm_26">Patch #26 - 1996/8/20 - + XFree86 3.1.2Ei</a></h1> + + <p>Here's a patch to fix a problem with xterm's cut/paste and + another to modify the appearance of the highlighting while + selecting. (The changes are independent, so you can see if the + change to screen.c is desirable).</p> + + <h1><a name="xterm_25" id="xterm_25">Patch #25 - 1996/8/18 - + XFree86 3.1.2Ei</a></h1> + + <p>Here's a correction for two minor bugs that I picked up in + testing, plus some lint (from Solaris 2.5) where NULL was used + incorrectly:</p> + + <ul> + <li>make the second alternate font the same as the first + (that's what vt420 and dtterm do)</li> + + <li>corrected DECSCL report when DECSCL hasn't been set (i.e., + don't return a '60').</li> + </ul> + + <h1><a name="xterm_24" id="xterm_24">Patch #24 - 1996/8/11 - + XFree86 3.1.2Ee</a></h1> + + <p>This patch does several things. In effect, xterm can (I think) + do a reasonably good job of emulating vt220 and vt320 terminals + (as well as it was doing vt100, at any rate ;-).</p> + + <p>It does NOT do:</p> + + <ul> + <li>soft fonts</li> + + <li>rigel or sixel graphics</li> + </ul> + + <p>Anyway, I:</p> + + <ul> + <li>added ECH, CPL, CNL, SU, SD, CBT, CHT controls</li> + + <li>added popup-menu for switching between DEC and Sun function + keys. (corrected alignment err wrt logging entry at that + point).</li> + + <li>make xterm recognize both 8-bit and 7-bit controls + (including popup menu for switching modes).</li> + + <li>add user-definable function keys (aka DECUDK)</li> + + <li>support concealed text</li> + + <li>support protected text (both ISO compatible and DEC + compatible - that's not the same thing, btw), with SPA, EPA, + DECSCA, DECSED, DECSEL controls.</li> + + <li>implement DECSCL.</li> + </ul> + + <p>I'll be continuing to test this patch for a while, but don't + expect to add any new functionality (it passes all of the current + tests I've built in vttest, but I need to make more tests)..</p> + + <h1><a name="xterm_23" id="xterm_23">Patch #23 - 1996/7/31 - + XFree86 3.1.2Ec</a></h1> + + <p>This removes the blinking cursor I added last week (for + performance reasons). Time-permitting, I'll revisit this after + 3.2 is released (there <em>will</em> be more work after XFree86 + 3.2, I assume).</p> + + <h1><a name="xterm_22" id="xterm_22">Patch #22 - 1996/7/26 - + XFree86 3.1.2Ec</a></h1> + + <p>I looked more closely at my "double-negative" and realized + that I had been confused by the default color scheme (black on + white) in combination with reverse video. However, I did see that + the original_fg and original_bg data weren't really used - so I + removed that logic.</p> + + <p>Also:</p> + + <ul> + <li>during initialization, check if ANSI colors are set with + non fg/bg values, disable color mode if not. This makes xterm + tolerant of applications that allocate the whole color + map.</li> + + <li>implemented blinking cursor (default is <em>off</em>)</li> + </ul> + + <h1><a name="xterm_21" id="xterm_21">Patch #21 - 1996/7/24 - + XFree86 3.1.2Ec</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>fixes some minor typography in the control-sequences + documentation (it didn't occur to me til I'd sent the last + patch that I could use ghostview for previewing the troff + output ;-)</li> + + <li>adjusts the shell's background color in ReverseVideo so + that flicker in resizing is reduced</li> + + <li>adds an ifdef OPT_ISO_COLORS to allow configuring xterm + without the ISO color support (saves a lot of memory)</li> + + <li>used that ifdef to isolate/modify logic so that if the user + doesn't have the colorMode enabled, then ISO color support is + disabled (saving memory). + + <p>(If anyone needs numbers, I had savedLines set to 2000, + and found a reduction from ~700k to ~400k of allocated + memory, according to Purify).</p> + </li> + </ul> + + <h1><a name="xterm_20" id="xterm_20">Patch #20 - 1996/7/24 - + XFree86 3.1.2Ec</a></h1> + + <p>This documents the changes in control sequences for window + operations that I added in my previous patch. I'm testing another + patch that allows the user to use less memory if colors aren't + needed.</p> + + <h1><a name="xterm_19" id="xterm_19">Patch #19 - 1996/7/21 - + XFree86 3.1.2Ec</a></h1> + + <p>This patch does the following:</p> + + <ul> + <li>fixes the core dump that I reported on IRIX 5.2 (in main.c) + + <p>(it's worth noting that this bug exists in X11R6.1, so I'd + like to assume that someone's already submitted a fix to X + Consortium...)</p> + </li> + + <li>change the interpretation of zero rows or columns in a + resize-window request to use the root window's size (looking + more carefully at dtterm, that seems to be what it does).</li> + + <li>change some memmove calls to memcpy for slightly better + performance. also, a couple of memset calls to bzero, since + Quantify says bzero runs 20% faster, I assume because there's + one less argument.</li> + + <li>interpret character sets 1 and 2 (so that vttest gives a + reasonable result) Both rxvt and dtterm do something + equivalent.</li> + + <li>fix a minor memory leak in the logic that retrieves the + window or icon names (Purify found this for me while I ran + vttest).</li> + </ul> + + <h1><a name="xterm_18" id="xterm_18">Patch #18 - 1996/7/18 - + XFree86 3.1.2Ec</a></h1> + + <p>This implements the following:</p> + + <ul> + <li>escape sequences that act like the CDE dtterm's window + operations (though I have implemented the default width and + height -- I've seen a rather buggy dtterm running that seems to + treat width=0 or height=0 literally -- maybe that's a feature, + not a bug?)</li> + + <li>minor tweak to the screen-repainting when resizing (I still + cannot entirely get rid of flicker).</li> + + <li>still more fixes to terminfo & termcap (I corrected my + error for the hpa code and added some other stuff by comparing + to ncurses' description and rxvt's).</li> + + <li>a tweak to the changes by Michael Rohleder for the color + translation</li> + + <li>re-order attribute codes to allow later implementation of + protected fields (dtterm supposedly does this; it's probably + more useful than blinking or invisible text -- that uses up all + of the available bits without changing the attribute scheme + radically).</li> + </ul> + + <h1><a name="xterm_17" id="xterm_17">Patch #17 - 1996/7/2 - + XFree86 3.1.2Eb</a></h1> + + <p>This patch implements for xterm several minor features from + ISO 6429 which are useful for terminfo applications. The HPA and + VPA control sequences allow cursor movement along a row or + column, cutting down a little on the characters transmitted. The + other codes allow resetting specific graphic rendition attributes + without modifying the other attributes. (now if someone just had + time to implement blinking cursors...)</p> + + <h1><a name="xterm_16" id="xterm_16">Patch #16 - 1996/6/25 - + XFree86 3.1.2Ea</a></h1> + + <p>Adam Tla/lka <atlka@pg.gda.pl> told me a couple of weeks + ago that I'd missed some of the background coloring in xterm. I + investigated, and found that while I'd picked up on the + clear-to-bottom and clear-to-end-of-line operations, I'd + overlooked the insert/delete lines. Just so I wouldn't overlook + any more of these, I updated a copy of vttest to test ISO colors + and bce (background color erase). This patch introduces a new + function, ClearCurBackground, whose calls replace the direct + XClearArea calls that I'd overlooked. (There's also a few + compiler warnings fixed, etc ;-)</p> + + <h1><a name="xterm_15" id="xterm_15">Patch #15 - 1996/5/29 - + XFree86 3.1.2E</a></h1> + + <p>This fixes the problem reported by David Dawes, by making the + 50msec select timeout for the Xaw3d arrow scrollbar a resource. + (I made it a boolean for a variety of reasons -- to make it a + number, you'd need an additional resource, to avoid breaking the + logic).</p> + + <h1><a name="xterm_14" id="xterm_14">Patch #14 - 1996/5/12 - + XFree86 3.1.2Dj</a></h1> + + <p>This patch brings the termcap and terminfo descriptions for + xterm up to date. I made the following changes:</p> + + <ul> + <li>reformatted the terminfo description in a single-column + (this is ok for terminfo, and will simplify future patches -- + can't do that for termcap, since it would impact buffer + requirements on some systems).</li> + + <li>omitted obsolete features in termcap to save a little space + (bs, pt)</li> + + <li>added color capabilities to termcap (ut, Co, NC, op, AB, + AF)</li> + + <li>corrected some capabilities (vi, ve)</li> + + <li>added 'st' (set tab)</li> + + <li>reduced function keys in termcap for 'xterm' to 12 because + color capabilities makes that description larger than 1023 + characters.</li> + + <li>created new termcap name 'xtermm' (monochrome) to match the + terminfo list, and make that description have 20 function + keys.</li> + + <li>added corresponding color capabilities to terminfo (bce, + colors, pairs, op, ncv, setab, setaf)</li> + + <li>corrected corresponding capabilities in terminfo (civis, + cnorm, rmcup, smcup)</li> + + <li>added capabilities (el1, hts)</li> + + <li>in both, corrected home/end keys to match the code + correction made by Thomas Mueller in 3.1.2Bk + + <p>=> (I'm still considering modifying the code & + description to match the rxvt program).</p> + </li> + </ul> + + <h1><a name="xterm_13" id="xterm_13">Patch #13 - 1996/4/23 - + XFree86 3.1.2Df</a></h1> + + <p>This corrects my earlier changes for colors - the inner border + of the xterm was getting painted with the wrong color, since I'd + moved the call to set the background into the logic that tracks + SGR information.</p> + + <h1><a name="xterm_12" id="xterm_12">Patch #12 - 1996/3/16 - + XFree86 3.1.2Dc</a></h1> + + <p>This corrects a memory leak in xterm that happens whenever one + switches fonts.</p> + + <h1><a name="xterm_11" id="xterm_11">Patch #11 - 1996/3/5 - + XFree86 3.1.2Db</a></h1> + + <p>This patch corrects the behavior of the ANSI colors in xterm + when reverse video is used, as well as some other lesser + sins:</p> + + <ul> + <li>button.c + + <ul> + <li>(compiler warnings: shadowing of 'time', redundant + cast)</li> + </ul> + </li> + + <li>charproc.c + + <ul> + <li>renamed screen.colors[] array to screen.Acolors[] to + more easily distinguish the non-ANSI colors from the ANSI + colors.</li> + + <li>moved logic of SGR_Save() into VTInitialize, getting + rid of local private variables original_fg and + original_bg.</li> + + <li>moved some logic into getXtermForeground and + getXtermBackground from SGR_Foreground, SGR_Background, + etc.</li> + + <li>corrected misleading 'row' to 'col' in case for CUF, + CUB sequences.</li> + </ul> + </li> + + <li>ctlseqs.ms</li> + + <li>xterm.man + + <ul> + <li>(correct a misconception which I'd added that the + color0 through color6 resource values apply to non-ANSI + colors)</li> + </ul> + </li> + + <li>ptyx.h + + <ul> + <li>added original_fg, original_bg to TScreen + structure.</li> + </ul> + </li> + + <li>scrollbar.c + + <ul> + <li>(compiler warnings: redundant cast)</li> + </ul> + </li> + + <li>util.c + + <ul> + <li>new functions getXtermForeground and getXtermBackground + replace the macros GET_FG and GET_BG, with the added + functionality of checking for the reverse-video status of + xterm.</li> + + <li>in ReverseVideo, swap the SGR foreground and background + colors also.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_10" id="xterm_10">Patch #10 - 1996/2/14 - + XFree86 3.1.2Cd</a></h1> + + <p>I observed an occasional glitch in the xterm's color behavior; + a clear to end of line would get a color that had been used in a + program that supposedly reset colors. I traced this down to the + way xterm was modifying colors of GC's on the fly; it didn't + restore the original color of the GC, even though it would later + be used in functions (such as ClearRight) that assumed (my error) + that the GC would have the current foreground or background + color.</p> + + <p>I fixed this by resetting the GC's colors with a new function + 'resetXtermGC()', and direct calls on + SGR_Foreground/SGR_Background, as appropriate and using a new + function 'updatedXtermGC()' to encapsulate the logic that + modifies the GC's color. (I also removed some commented-out code + that was trying to do this -- the problem was a little more + obscure).</p> + + <h1><a name="xterm_09" id="xterm_09">Patch #9 - 1996/2/10 - + XFree86 3.1.2Cb</a></h1> + + <p>This patch fixes the remaining problems that I had making + xterm run with x11r5, as well as a couple of other bugs. It + follows my patch from yesterday, that added ifdef's for some of + the input-method resources.</p> + + <ul> + <li>corrected ifdef's that suppress the input-method code + (doesn't exist in my x11r5, and xterm works adequately without + it).</li> + + <li>corrected fallback definition for 'Select()' macro (oops: + I'd copied the wrong text...)</li> + + <li>moved the declarations for the fd_set variables to + data.[ch]</li> + + <li>corrected an ifdef in resize.c (sunos 4.x doesn't have + termcap.h)</li> + + <li>corrected (in main.c) some unused/orphaned variables.</li> + </ul> + + <h1><a name="xterm_08" id="xterm_08">Patch #8 - 1996/2/9 - + XFree86 3.1.2Cb</a></h1> + + <p>This is mostly a documentation patch for xterm. It describes + the color control sequences in more detail, and documents some + other features of xterm that aren't described elsewhere.</p> + + <p>I've also added a couple of ifdef's to fix (part of) the + problem that I'm working on (making the program work properly on + x11r5, where I'm doing memory testing -- I have a "good" version + from mid-January, but my resync version doesn't work properly on + x11r5). I'm not done with <em>that</em> yet.</p> + + <h1><a name="xterm_07" id="xterm_07">Patch #7 - 1996/1/28 - + XFree86 3.1.2n</a></h1> + + <p>I did a (clean) build of 3.1.2n on Linux 1.2.13 (ELF). I've + got an S3 card.</p> + + <p>This fixes the following in the 3.1.2n xterm:</p> + + <ul> + <li>initialize cur_foreground, cur_background in charproc.c + (Purify told me they weren't initialized).</li> + + <li>add interpretation of codes 39, 49, to reset background and + foreground to default value (I'm told that ISO 6429 does this; + but I don't have a written reference -- yet -- can anyone help + here?). Anyway, rxvt does it, and it'll solve my remaining + color management problems.</li> + + <li>shadowing of 'time' in menu.c</li> + + <li>'Cardinal' vs 'int' in scrollbar.c</li> + + <li>several changes to permit compile with X11R5 (the system + that I've got Purify on won't be upgraded to X11R6 for a long + time).</li> + </ul> + + <p>I built this version (with a minor nit that I'll patch soon) + on SunOS 4.1.3 so that I can test it some more with Purify.</p> + + <p><em>btw</em>: the changes made in Xpoll.h won't work on some + older systems, because fd_set isn't a defined type (I've got one + machine at least that this applies to).</p> + + <h1><a name="xterm_06" id="xterm_06">Patch #6 - 1996/1/8</a></h1> + + <p>This patch does all of the SGR foreground/background fixes + (i.e., clearing the screen after an SGR color is set causes that + color to be used in the foreground and/or background). If the + FG_COLOR and/or BG_COLOR flags aren't set, then the xterm + foreground and background default to the window's values. This + usage is consistent with various types of hardware (especially + the IBM PC), and is also used in rxvt.</p> + + <ul> + <li>charproc.c: + + <ul> + <li>add/use new macros GET_FG, GET_BG - n/c.</li> + + <li>add/use new functions SGR_Foreground() and + SGR_Background() to set corresponding colors in GC's, and + to retain sense of "original" colors. + + <p>=> This makes redundant some of the corresponding + logic in HideCursor to set the foreground and background, + but I left it in since it <em>may</em> be fixing an + unrelated requirement.</p> + </li> + + <li>set GC's in LoadNewFont() according to whether the SGR + fg/bg colors are active. + + <p>=> This fixes some glitches in the accompanying + resize, that leaves parts of the window in the original + background color.</p> + </li> + </ul> + </li> + + <li>screen.c: + + <ul> + <li>modified ClearBufRows() to use the SGR fg/bg colors if + they're set.</li> + + <li>added function ScrnClearLines(), used this to replace + portions of ScrnInsertLine() and ScrnDeleteLine(). The new + function uses the SGR fg/bg colors if they're set. + + <p>=> Otherwise, selection after an index or reverse + index will paint the wrong colors.</p> + </li> + + <li>modified ScrnDeleteChar() and ScrnInsertChar() to use + SGR fg/bg colors.</li> + </ul> + </li> + + <li>util.c: + + <ul> + <li>modified ClearRight() so that if either of the SGR + fg/bg colors is set, we don't bzero the attributes and + color arrays, but instead fill them with the appropriate + codes.</li> + + <li>modified ClearLeft to use SGR fg/bg colors.</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_05" id="xterm_05">Patch #5 - 1996/1/7</a></h1> + + <p>This patch modifies the object code, by replacing indexing + expressions with temporary variables with the full indexing + expression. At first glance, this seems inefficient (it did to me + ;-), until remembering comments made in the compilers newsgroups + that trying to "help" the compiler doesn't really work that well. + A good optimizing compiler can do a better job than the + programmer can. (There's a moral in the use of 'register' + variables also, but I won't fix those...).</p> + + <p>Anyway, the revised code generates a smaller object...</p> + + <ul> + <li>charproc.c: + + <ul> + <li>recode index expressions in ShowCursor() and + HideCursor() using SCRN_BUF_xxxxS macros - changes + object.</li> + + <li>replace constant '4' by MAX_PTRS - n/c.</li> + </ul> + </li> + + <li>ptyx.h: + + <ul> + <li>defined the SCRN_BUF_xxxxS macros in terms of BUF_xxxxS + macros, to pick up references to ScrnBuf data directly, and + added MAX_PTRS symbol to pick up those '4' constants strewn + about the code - n/c.</li> + </ul> + </li> + + <li>screen.c: + + <ul> + <li>recode index expressions in ScreenWrite() using + SCRN_BUF_xxxxS macros - changes object.</li> + + <li>replace constant '4' by MAX_PTRS - n/c.</li> + + <li>use macros BUF_CHARS, BUF_ATTRS - n/c.</li> + + <li>cast calloc to 'Char *' to fix compiler warning on IRIX + - n/c</li> + </ul> + </li> + + <li>scrollbar.c: + + <ul> + <li>replace constant '4' by MAX_PTRS - n/c.</li> + + <li>cast calloc to 'Char *' to fix compiler warning on IRIX + - n/c</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_04" id="xterm_04">Patch #4 - 1996/1/7</a></h1> + + <p>When setting up for this phase, I saw that you'd corrected the + bug that I found in ClearLeft. I decided to make this series of + patches anyway, since readability never hurt (and there's the + potential for finding another bug while reviewing this set).</p> + + <ul> + <li>button.c: + + <ul> + <li>use SCRN_BUF_xxxxS macros - n/c</li> + </ul> + </li> + + <li>charproc.c: + + <ul> + <li>use SCRN_BUF_xxxxS macros - n/c</li> + </ul> + </li> + + <li>ptyx.h: + + <ul> + <li>added four macros: SCRN_BUF_CHARS, SCRN_BUF_ATTRS, + SCRN_BUF_FORES, SCRN_BUF_BACKS to represent the four arrays + that are derived from screen->buf.</li> + </ul> + </li> + + <li>screen.c: + + <ul> + <li>use SCRN_BUF_xxxxS macros - n/c</li> + </ul> + </li> + + <li>util.c: + + <ul> + <li>use SCRN_BUF_xxxxS macros - n/c</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_03" id="xterm_03">Patch #3 - 1996/1/7</a></h1> + + <p>This is my third (and final cleanup) patch for xterm. It gets + rid of the unused stuff, and converts several functions to static + (thereby reducing their scope).</p> + + <p>At this point, the only compile warnings I've got (on Linux) + are those about the select arguments (int vs fd_set type), and a + missing declaration for waitpid. Those both are hard to get right + without autoconfigure.</p> + + <p>The next patches will address the functional changes...</p> + + <ul> + <li>Tekproc.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + </ul> + </li> + + <li>charproc.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + + <li>deleted unused function unparsefputs -- changes + object.</li> + </ul> + </li> + + <li>main.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + + <li>ifdef'd out unused function 'consolepr()' -- changes + object</li> + + <li>removed unused variable 'dummy_tio' -- changes + object</li> + + <li>moved variable 'discipline' to quiet unused-warning -- + changes object</li> + </ul> + </li> + + <li>main.h: + + <ul> + <li>deleted unused definition of DEFBORDERWIDTH - n/c</li> + </ul> + </li> + + <li>misc.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + + <li>provide dummy return statements for xerror and xioerror + to quiet compiler warnings -- changes object</li> + </ul> + </li> + + <li>ptyx.h: + + <ul> + <li>change sbuf_address and abuf_address to 'Char *' - + n/c</li> + </ul> + </li> + + <li>resize.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + </ul> + </li> + + <li>screen.c: + + <ul> + <li>remove unnecessary 'Char **' casts - n/c</li> + </ul> + </li> + + <li>util.c: + + <ul> + <li>changed several functions to 'static' that aren't used + outside this module -- changes object</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_02" id="xterm_02">Patch #2 - 1996/1/7</a></h1> + + <p>This is my second patch to xterm. It corrects most of the gcc + warnings (except for some that are due to X header files ;-). I + compared objects to keep track of the changes that don't affect + the object code (n/c) versus those that do.</p> + + <p>At this point, I'm compiling (fairly) clean with gcc + options</p> + <pre> + -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wnested-externs +</pre>(I also compiled with -Wshadow, but while that found some +things that I wanted to find, there's far too many warnings from +the X headers to be usable in this context). + + <p>The changes:</p> + + <ul> + <li>Tekproc.c: + + <ul> + <li>parenthesized expression to avoid gcc warning -- + n/c.</li> + + <li>corrected nested-extern declaration for Bool + waiting_for_initial_map; ourTopLevelShellArgs, and + number_ourTopLevelShellArgs - n/c</li> + </ul> + </li> + + <li>charproc.c: + + <ul> + <li>corrected potentially-unintialized variables 'scstype', + 'xim', and 'input_style' -- changes object.</li> + + <li>adjusted logic of VTparse so that gcc won't warn about + setjmp clobbering parsestate -- changes object.</li> + + <li>corrected initialization of 'scstype', which could have + been clobbered by setjmp/longjmp - changes object.</li> + + <li>corrected nested-extern declaration of 'term', + 'ProgramName' - n/c</li> + </ul> + </li> + + <li>cursor.c: + + <ul> + <li>corrected nested-extern declaration of 'term' -- + n/c</li> + + <li>renamed 'term' parameters to avoid gcc -Wshadow warning + - n/c</li> + </ul> + </li> + + <li>input.c: + + <ul> + <li>change interface of StringInput to assume size_t (i.e., + unsigned) nbytes -- changes object.</li> + + <li>change interface of funcvalue, and sunfuncvalue to use + 'KeySym' type instead of 'int' - changes object.</li> + </ul> + </li> + + <li>main.c: + + <ul> + <li>moved definitions of SIGNAL_T, SIGNAL_RETURN to proto.h + - n/c</li> + + <li>corrected missing params of 'do_hangup()' -- changes + object (note: the missing params were not used).</li> + + <li>corrected missing param of 'Error()' -- changes + object</li> + + <li>corrected nested-extern 'environ' - n/c</li> + + <li>adjusted assignments to 'tty_got_hung' and 'no_dev_tty' + so that gcc can see they won't be clobbered by the longjmp + - changes object.</li> + + <li>use Size_t type - n/c.</li> + </ul> + </li> + + <li>menu.c: + + <ul> + <li>removed redundant prototype for 'do_hangup()' -- + n/c.</li> + + <li>renamed 'time' parameters to avoid gcc -Wshadow warning + - n/c</li> + </ul> + </li> + + <li>menu.h: + + <ul> + <li>renamed 'time' parameters to avoid gcc -Wshadow warning + - n/c</li> + </ul> + </li> + + <li>misc.c: + + <ul> + <li>corrected definition of 'HandleFocusChange()' -- + changes object</li> + + <li>cast parameters in call to 'TekExpose()' -- n/c</li> + + <li>corrected nested-extern declarations of 'term', + 'toplevel', ProgramName, and 'environ' -- n/c.</li> + + <li>use Size_t type - n/c.</li> + </ul> + </li> + + <li>proto.h: + + <ul> + <li>moved definition of SIGNAL_T (and SIGNAL_RETURN) here + from main.c, resize.c to allow use of this symbol in + prototypes (mostly in xterm.h).</li> + + <li>added definition 'Size_t' to use as corrected type for + strncpy, malloc sizes - n/c.</li> + </ul> + </li> + + <li>resize.c: + + <ul> + <li>moved SIGNAL_T definition to proto.h -- n/c.</li> + + <li>use Size_t type - n/c.</li> + </ul> + </li> + + <li>screen.c: + + <ul> + <li>use Size_t type - n/c.</li> + </ul> + </li> + + <li>tabs.c: + + <ul> + <li>corrected nested-extern declaration of 'term' -- + n/c</li> + </ul> + </li> + + <li>util.c: + + <ul> + <li>corrected/supplied parameters to 'TekExpose()' -- + changes object (note: 'TekExpose()' doesn't use its + parameters).</li> + + <li>corrected nested-extern declaration of + 'waiting_for_initial_map' -- n/c.</li> + + <li>renamed 'term' parameters to avoid gcc -Wshadow warning + - n/c</li> + </ul> + </li> + + <li>xterm.h: + + <ul> + <li>prototype 'do_hangup()', 'HandleFocusChange()', + 'TekExpose()', 'Error()', 'Exit()' - forces changes in + various places.</li> + + <li>adjusted prototypes that pass 'Boolean' arguments to + use 'int' (this is the "correct" ANSI approach to extended + compiles; it's worth mentioning that gcc doesn't meet the + ANSI spec here). I used gcc -Wconversion to find these, but + there's a lot of unrelated warnings that are due to setting + NARROWPROTO in the config - n/c.</li> + + <li>renamed 'term' parameters to avoid gcc -Wshadow warning + - n/c</li> + </ul> + </li> + </ul> + + <h1><a name="xterm_01" id="xterm_01">Patch #1 - 1996/1/6</a></h1> + + <p>This is my first cleanup patch for xterm. It addresses all of + the gcc warnings for -Wall, -Wmissing-prototypes and + -Wstrict-prototypes that I can change without modifying the + object code. (I'm compiling this with gcc 2.7.0 for an aout + target, which makes it simple to compare objects. When I do + ELF-only, I've got a tool that compares that sort of thing as + well).</p> + + <p>Briefly, this patch adds (and uses) two header files in the + xterm directory:</p> + <pre> + proto.h + xterm.h +</pre>I expect this to be the biggest patch by far. However +(barring a misplaced prototype), it shouldn't break anything, since +the intent of the patch is to provide missing declarations. +</body> +</html> diff --git a/app/xterm/xterm.man b/app/xterm/xterm.man index b47ff328d..0656348e0 100644 --- a/app/xterm/xterm.man +++ b/app/xterm/xterm.man @@ -1,5 +1,5 @@ '\" t -.\" $XTermId: xterm.man,v 1.528 2012/05/10 13:35:30 tom Exp $ +.\" $XTermId: xterm.man,v 1.554 2012/11/22 18:42:30 tom Exp $ .\" .\" Copyright 1996-2011,2012 by Thomas E. Dickey .\" @@ -56,6 +56,9 @@ .\" .\" updated by Thomas E. Dickey for XFree86, July 1996 - February 2006. .\" +.ds N Xterm +.ds n xterm +.\" .\" Bulleted paragraph .de bP .IP \(bu 4 @@ -71,7 +74,6 @@ .de NE .fi .ft P -.sp .in -4 .. .\" Escape single quotes in literal strings from groff's Unicode transform. @@ -81,21 +83,21 @@ .el .ds `` `` .ie \n(.g .ds '' \(rq .el .ds '' '' -.TH XTERM 1 __vendorversion__ +.TH XTERM 1 "__app_date__" "__app_version__" "X Window System" .SH NAME -xterm \- terminal emulator for X +\*n \- terminal emulator for X .SH SYNOPSIS -.B xterm +.B \*n [\-\fItoolkitoption\fP ...] [\-\fIoption\fP ...] [\fIshell\fP] .SH DESCRIPTION -The \fIxterm\fP program is a terminal emulator for the X Window System. +The \fI\*n\fP program is a terminal emulator for the X Window System. It provides DEC VT102/VT220 and selected features from higher-level terminals such as VT320/VT420/VT520 (VTxxx). It also provides Tektronix 4014 emulation for programs that cannot use the window system directly. If the underlying operating system supports terminal resizing capabilities (for example, the SIGWINCH signal in systems -derived from 4.3bsd), \fIxterm\fP will use the facilities to notify programs +derived from 4.3bsd), \fI\*n\fP will use the facilities to notify programs running in the window whenever it is resized. . .PP @@ -123,7 +125,7 @@ scalable fonts. The VT220 emulation does not support soft fonts, it is otherwise complete. .IR Termcap (5) entries that work with -.I xterm +.I \*n include an optional platform-specific entry (\*(``__default_termname__\*(''), \*(``xterm\*('', @@ -131,18 +133,18 @@ an optional platform-specific entry (\*(``__default_termname__\*(''), \*(``vt100\*('', \*(``ansi\*('' and \*(``dumb\*(''. -.I xterm +.I \*n automatically searches the termcap file in this order for these entries and then sets the \*(``TERM\*('' and the \*(``TERMCAP\*('' environment variables. You may also use \*(``vt220\*('', but must set the terminal emulation level with the \fBdecTerminalID\fP resource. -(The \*(``TERMCAP\*('' environment variable is not set if \fIxterm\fP is linked +(The \*(``TERMCAP\*('' environment variable is not set if \fI\*n\fP is linked against a terminfo library, since the requisite information is not provided by the termcap emulation of terminfo libraries). . .PP Many of the special -.I xterm +.I \*n features may be modified under program control through a set of escape sequences different from the standard VT102 escape sequences. @@ -156,7 +158,7 @@ It supports 12-bit graphics addressing, scaled to the window size. Four different font sizes and five different lines types are supported. There is no write-through or defocused mode support. The Tektronix text and graphics commands are recorded internally by -.I xterm +.I \*n and may be written to a file by sending the COPY escape sequence (or through the .B Tektronix @@ -172,13 +174,13 @@ and .I ss are the year, month, day, hour, minute and second when the COPY was performed (the file is created in the directory -.I xterm +.I \*n is started in, or the home directory for a login -.IR xterm ). +.IR \*n ). . .PP Not all of the features described in this manual are necessarily available in -this version of \fIxterm\fP. +this version of \fI\*n\fP. Some (e.g., the non-VT220 extensions) are available only if they were compiled in, though the most commonly-used are in the default configuration. @@ -202,7 +204,7 @@ normal screen is restored. The .IR termcap (5) entry for -.I xterm +.I \*n allows the visual editor .IR vi (1) to switch to the alternate screen for editing and to restore the screen @@ -214,7 +216,7 @@ alternate screens for cut and paste. In either VT102 or Tektronix mode, there are escape sequences to change the name of the windows. Additionally, in VT102 mode, -\fIxterm\fP implements the window-manipulation control +\fI\*n\fP implements the window-manipulation control sequences from \fIdtterm\fP, such as resizing the window, setting its location on the screen. . @@ -227,7 +229,7 @@ See \fIXterm Control Sequences\fP for details. . . .SH OPTIONS -The \fIxterm\fP terminal emulator +The \fI\*n\fP terminal emulator accepts the standard X Toolkit command line options as well as many application-specific options. If the option begins with a @@ -235,79 +237,80 @@ If the option begins with a instead of a .RB ` \- ', the option is restored to its default value. -The \fB\-version\fP and \fB\-help\fP options are interpreted even if \fIxterm\fP +The \fB\-version\fP and \fB\-help\fP options are interpreted even if \fI\*n\fP cannot open the display, and are useful for testing and configuration scripts. Along with \fB\-class\fP, they are checked before other options. .TP 8 .B \-version -This causes \fIxterm\fP to print a version number to the standard output, +This causes \fI\*n\fP to print a version number to the standard output, and then exit. .TP 8 .B \-help -This causes \fIxterm\fP to print out a verbose message describing its options, +This causes \fI\*n\fP to print out a verbose message describing its options, one per line. The message is written to the standard output. -After printing the message, \fIxterm\fP exits. -\fIXterm\fP generates this message, sorting it and noting whether +After printing the message, \fI\*n\fP exits. +\fI\*N\fP generates this message, sorting it and noting whether a \*(``\fB\-\fR\fIoption\fP\*('' or a \*(``\fB+\fR\fIoption\fP\*('' turns the feature on or off, since some features historically have been one or the other. -\fIXterm\fP generates a concise help message (multiple options per line) +\fI\*N\fP generates a concise help message (multiple options per line) when an unknown option is used, e.g., .NS -\fBxterm \-z\fP +\fB\*n \-z\fP .NE +.PP If the logic for a particular option such as logging is not compiled -into \fIxterm\fP, the help text for that option also is not displayed +into \fI\*n\fP, the help text for that option also is not displayed by the \fB\-help\fP option. . .PP One parameter (after all options) may be given. -That overrides \fIxterm\fP's built-in choice of shell program. -Normally \fIxterm\fP checks the SHELL variable. -If that is not set, \fIxterm\fP tries to use the shell program specified +That overrides \fI\*n\fP's built-in choice of shell program. +Normally \fI\*n\fP checks the SHELL variable. +If that is not set, \fI\*n\fP tries to use the shell program specified in the password file. -If that is not set, \fIxterm\fP uses \fI/bin/sh\fP. +If that is not set, \fI\*n\fP uses \fI/bin/sh\fP. If the parameter is not a relative path, i.e., beginning with \*(``./\*('' or \*(``../\*('', -\fIxterm\fP looks for the file in the user's PATH. +\fI\*n\fP looks for the file in the user's PATH. In either case, it constructs an absolute path. The \fB\-e\fP option cannot be used with this parameter since it uses all parameters following the option. .PP The other options are used to control the appearance and behavior. -Not all options are necessarily configured into your copy of \fIxterm\fP: +Not all options are necessarily configured into your copy of \fI\*n\fP: .TP 8 .B \-132 Normally, the VT102 DECCOLM escape sequence that switches between 80 and 132 column mode is ignored. This option causes the DECCOLM escape sequence to be recognized, and the -.I xterm +.I \*n window will resize appropriately. .TP 8 .B \-ah This option indicates that -.I xterm +.I \*n should always highlight the text cursor. By default, -.I xterm +.I \*n will display a hollow text cursor whenever the focus is lost or the pointer leaves the window. .TP 8 .B +ah This option indicates that -.I xterm +.I \*n should do text cursor highlighting based on focus. .TP 8 .B \-ai This option disables active icon support if that feature was compiled -into \fIxterm\fP. +into \fI\*n\fP. This is equivalent to setting the \fIvt100\fP resource \fBactiveIcon\fP to \*(``false\*(''. .TP 8 .B +ai This option enables active icon support if that feature was compiled -into \fIxterm\fP. +into \fI\*n\fP. This is equivalent to setting the \fIvt100\fP resource \fBactiveIcon\fP to \*(``true\*(''. .TP 8 @@ -382,7 +385,7 @@ The default is \*(``false\*('' Reset the \fBcjkWidth\fP resource. .TP 8 .BI \-class " string" -This option allows you to override \fIxterm\fP's resource class. +This option allows you to override \fI\*n\fP's resource class. Normally it is \*(``__default_class__\*('', but can be set to another class such as \*(``U__default_class__\*('' to override selected resources. .TP 8 @@ -410,7 +413,7 @@ use the same foreground color that is used for text. It sets the \fIcursorColor\fP resource according to the parameter. .TP 8 .B \-cu -This option indicates that \fIxterm\fP should work around a bug in the +This option indicates that \fI\*n\fP should work around a bug in the .IR more (1) program that causes it to incorrectly display lines that are exactly the width of the window and @@ -422,7 +425,7 @@ in the cursor motion package. .TP 8 .B +cu -This option indicates that \fIxterm\fP should not work around the +This option indicates that \fI\*n\fP should not work around the .IR more (1) bug mentioned above. .TP 8 @@ -442,14 +445,14 @@ The option sets the \fIdynamicColors\fP option to \*(``true\*(''. .TP 8 .BI \-e " program \fP[ \fIarguments \fP.\|.\|. ]\fI" This option specifies the program (and its command line arguments) to be -run in the \fIxterm\fP window. +run in the \fI\*n\fP window. It also sets the window title and icon name to be the basename of the program being executed if neither \fI\-T\fP nor \fI\-n\fP are given on the command line. \fBThis must be the last option on the command line.\fP .TP 8 .BI \-en " encoding" -This option determines the encoding on which \fIxterm\fP runs. +This option determines the encoding on which \fI\*n\fP runs. It sets the \fBlocale\fR resource. Encodings other than UTF-8 are supported by using \fIluit\fR. The \fB\-lc\fR option should be used instead of \fB\-en\fR for @@ -467,7 +470,7 @@ See also the discussion of \fBboldMode\fP and \fBalwaysBoldMode\fP resources. .TP 8 .BI \-fa " pattern" This option sets the pattern for fonts selected from the FreeType -library if support for that library was compiled into \fIxterm\fP. +library if support for that library was compiled into \fI\*n\fP. This corresponds to the \fBfaceName\fP resource. When a CJK double-width font is specified, you also need to turn @@ -478,50 +481,50 @@ which combines with this to determine whether FreeType fonts are initially active. .TP 8 .BI \-fbb -This option indicates that \fIxterm\fP should compare normal and bold fonts bounding +This option indicates that \fI\*n\fP should compare normal and bold fonts bounding boxes to ensure they are compatible. It sets the \fBfreeBoldBox\fP resource to \*(``false\*(''. .TP 8 .BI +fbb -This option indicates that \fIxterm\fP should not compare normal and bold fonts bounding +This option indicates that \fI\*n\fP should not compare normal and bold fonts bounding boxes to ensure they are compatible. It sets the \fBfreeBoldBox\fP resource to \*(``true\*(''. .TP 8 .BI \-fbx -This option indicates that \fIxterm\fP should not assume that the +This option indicates that \fI\*n\fP should not assume that the normal and bold fonts have VT100 line-drawing characters. -If any are missing, \fIxterm\fP will draw the characters directly. +If any are missing, \fI\*n\fP will draw the characters directly. It sets the \fBforceBoxChars\fP resource to \*(``false\*(''. .TP 8 .BI +fbx -This option indicates that \fIxterm\fP should assume that the +This option indicates that \fI\*n\fP should assume that the normal and bold fonts have VT100 line-drawing characters. It sets the \fBforceBoxChars\fP resource to \*(``true\*(''. .TP 8 .BI \-fd " pattern" This option sets the pattern for double-width fonts selected from the FreeType -library if support for that library was compiled into \fIxterm\fP. +library if support for that library was compiled into \fI\*n\fP. This corresponds to the \fBfaceNameDoublesize\fP resource. .TP 8 .BI \-fi " font" This option sets the font for active icons if that feature was compiled -into \fIxterm\fP. +into \fI\*n\fP. .IP See also the discussion of the \fBiconFont\fP resource. .TP 8 .BI \-fs " size" This option sets the pointsize for fonts selected from the FreeType -library if support for that library was compiled into \fIxterm\fP. +library if support for that library was compiled into \fI\*n\fP. This corresponds to the \fBfaceSize\fP resource. .TP 8 .BI \-fullscreen -This option indicates that \fIxterm\fP should ask the window manager to +This option indicates that \fI\*n\fP should ask the window manager to let it use the full-screen for display, e.g., without window decorations. It sets the \fBfullscreen\fP resource to \*(``true\*(''. .TP 8 .BI +fullscreen -This option indicates that \fIxterm\fP should not ask the window manager to +This option indicates that \fI\*n\fP should not ask the window manager to let it use the full-screen for display. It sets the \fBfullscreen\fP resource to \*(``false\*(''. .TP 8 @@ -563,26 +566,26 @@ for function keys. It sets the \fBhpFunctionKeys\fP resource to \*(``false\*(''. .TP 8 .BI \-hm -Tells \fIxterm\fP to use +Tells \fI\*n\fP to use \fBhighlightTextColor\fP and \fBhighlightColor\fP to override the reversed foreground/background colors in a selection. It sets the \fBhighlightColorMode\fP resource to \*(``true\*(''. .TP 8 .BI +hm -Tells \fIxterm\fP not to use +Tells \fI\*n\fP not to use \fBhighlightTextColor\fP and \fBhighlightColor\fP to override the reversed foreground/background colors in a selection. It sets the \fBhighlightColorMode\fP resource to \*(``false\*(''. .TP 8 .BI \-hold Turn on the \fBhold\fP resource, i.e., -\fIxterm\fP will not immediately destroy its window when the shell command completes. +\fI\*n\fP will not immediately destroy its window when the shell command completes. It will wait until you use the window manager to destroy/kill the window, or if you use the menu entries that send a signal, e.g., HUP or KILL. .TP 8 .BI +hold Turn off the \fBhold\fP resource, i.e., -\fIxterm\fP will immediately destroy its window when the shell command completes. +\fI\*n\fP will immediately destroy its window when the shell command completes. .TP 8 .B \-ie Turn on the \fBptyInitialErase\fP resource, i.e., @@ -604,22 +607,22 @@ Turn off the \fBuseInsertMode\fP resource. .BI \-into " windowId" Given an X window identifier (an integer, which can be hexadecimal, octal or decimal according to whether it begins with "0x", "0" or neither), -\fIxterm\fP will reparent its top-level shell widget to that window. -This is used to embed \fIxterm\fP within other applications. -.PP +\fI\*n\fP will reparent its top-level shell widget to that window. +This is used to embed \fI\*n\fP within other applications. +.IP For instance, there are scripts for Tcl/Tk and Gtk which can be used to demonstrate the feature. When using Gtk, there is a limitation of that toolkit which requires -that \fIxterm\fP's \fBallowSendEvents\fP resource is enabled. +that \fI\*n\fP's \fBallowSendEvents\fP resource is enabled. .TP 8 .B \-j -This option indicates that \fIxterm\fP should do jump scrolling. +This option indicates that \fI\*n\fP should do jump scrolling. It corresponds to the \fBjumpScroll\fP resource. Normally, -text is scrolled one line at a time; this option allows \fIxterm\fP to move +text is scrolled one line at a time; this option allows \fI\*n\fP to move multiple lines at a time so that it does not fall as far behind. Its use is -strongly recommended since it makes \fIxterm\fP much faster when scanning +strongly recommended since it makes \fI\*n\fP much faster when scanning through large amounts of text. The VT100 escape sequences for enabling and disabling smooth scroll as well as the \*(``VT Options\*('' @@ -627,11 +630,11 @@ menu can be used to turn this feature on or off. .TP 8 .B +j -This option indicates that \fIxterm\fP should not do jump scrolling. +This option indicates that \fI\*n\fP should not do jump scrolling. .TP 8 .B \-k8 This option sets the \fBallowC1Printable\fP resource. -When \fBallowC1Printable\fP is set, \fIxterm\fP overrides the mapping +When \fBallowC1Printable\fP is set, \fI\*n\fP overrides the mapping of C1 control characters (code 128-159) to treat them as printable. .TP 8 .B +k8 @@ -664,8 +667,8 @@ using the Sun/PC keyboard layout. .B \-l Turn logging on. Normally logging is not supported, due to security concerns. -Some versions of \fIxterm\fP may have logging enabled. -The logfile is written to the directory from which \fIxterm\fP is +Some versions of \fI\*n\fP may have logging enabled. +The logfile is written to the directory from which \fI\*n\fP is invoked. The filename is generated, of the form .sp @@ -675,7 +678,7 @@ or .sp Xterm.log.\fIhostname.yyyy.mm.dd.hh.mm.ss.XXXXXX\fR .sp -depending on how \fIxterm\fP was built. +depending on how \fI\*n\fP was built. .TP 8 .B +l Turn logging off. @@ -712,16 +715,16 @@ Specify the log-filename. See the \fB\-l\fP option. .TP 8 .B \-ls -This option indicates that the shell that is started in the \fIxterm\fP window +This option indicates that the shell that is started in the \fI\*n\fP window will be a login shell (i.e., the first character of argv[0] will be a dash, indicating to the shell that it should read the user's .login or .profile). .IP The \fB\-ls\fP flag and the \fBloginShell\fP resource are ignored if \fB\-e\fP is also given, -because \fIxterm\fP does not know how to make the shell +because \fI\*n\fP does not know how to make the shell start the given command after whatever it does when it is a login shell \- the user's shell of choice need not be a Bourne shell after all. -Also, \fIxterm\ \-e\fP is supposed to provide a consistent +Also, \fI\*n\ \-e\fP is supposed to provide a consistent functionality for other applications that need to start text-mode programs in a window, and if \fBloginShell\fP were not ignored, the result of ~/.profile might interfere with that. @@ -729,15 +732,16 @@ result of ~/.profile might interfere with that. If you do want the effect of \fB\-ls\fP and \fB\-e\fP simultaneously, you may get away with something like .NS 15 -xterm \-e /bin/bash \-l \-c "my command here" +\*n \-e /bin/bash \-l \-c "my command here" .NE +.IP Finally, \fB\-ls\fP is not completely ignored, -because \fIxterm\ \-ls\ \-e\fP does write a \fI/etc/wtmp\fP entry +because \fI\*n\ \-ls\ \-e\fP does write a \fI/etc/wtmp\fP entry (if configured to do so), -whereas \fIxterm\ \-e\fP does not. +whereas \fI\*n\ \-e\fP does not. .TP 8 .B \-maximized -This option indicates that \fIxterm\fP should ask the window manager to +This option indicates that \fI\*n\fP should ask the window manager to maximize its layout on startup. This corresponds to the \fBmaximized\fP resource. .IP @@ -745,15 +749,15 @@ Maximizing is not the reverse of iconifying; it is possible to do both with certain window managers. .TP 8 .B +maximized -This option indicates that \fIxterm\fP should ask the window manager to -maximize its layout on startup. +This option indicates that \fI\*n\fP should ask the window manager to +not maximize its layout on startup. .TP 8 .B +ls This option indicates that the shell that is started should not be a login shell (i.e., it will be a normal \*(``subshell\*(''). .TP 8 .B \-mb -This option indicates that \fIxterm\fP should ring a margin bell when +This option indicates that \fI\*n\fP should ring a margin bell when the user types near the right end of a line. .TP 8 .B +mb @@ -772,7 +776,7 @@ allow write access to the terminal. .TP 8 .B "\-mk_width" Set the \fBmkWidth\fP resource to \*(``true\*(''. -This makes \fIxterm\fP use a built-in version of the wide-character width +This makes \fI\*n\fP use a built-in version of the wide-character width calculation. The default is \*(``false\*('' .TP 8 @@ -834,14 +838,14 @@ the \*(``VT Options\*('' menu. This option indicates that reverse-wraparound should not be allowed. .TP 8 .B \-s -This option indicates that \fIxterm\fP may scroll asynchronously, meaning that +This option indicates that \fI\*n\fP may scroll asynchronously, meaning that the screen does not have to be kept completely up to date while scrolling. -This allows \fIxterm\fP to run faster when network latencies are very high +This allows \fI\*n\fP to run faster when network latencies are very high and is typically useful when running across a very large internet or many gateways. .TP 8 .B +s -This option indicates that \fIxterm\fP should scroll synchronously. +This option indicates that \fI\*n\fP should scroll synchronously. .TP 8 .B \-samename Does not send title and icon name change requests when the request @@ -914,11 +918,11 @@ The default is \*(``64\*(''. .TP 8 .B \-sm This option, corresponding to the \fBsessionMgt\fR resource, -indicates that \fIxterm\fR should +indicates that \fI\*n\fR should set up session manager callbacks. .TP 8 .B +sm -This option indicates that \fIxterm\fR should +This option indicates that \fI\*n\fR should not set up session manager callbacks. .TP 8 .B \-sp @@ -931,39 +935,39 @@ This option indicates that the standard escape codes should be generated for keypad and function keys. .TP 8 .B \-t -This option indicates that \fIxterm\fP should start in Tektronix mode, rather +This option indicates that \fI\*n\fP should start in Tektronix mode, rather than in VT102 mode. Switching between the two windows is done using the \*(``Options\*('' menus. .IR Termcap (5) entries that work with -.I xterm +.I \*n \*(``tek4014\*('', \*(``tek4015\*('', \*(``tek4012\*('', \*(``tek4013\*('', \*(``tek4010\*('', and \*(``dumb\*(''. -.I xterm +.I \*n automatically searches the termcap file in this order for these entries and then sets the \*(``TERM\*('' and the \*(``TERMCAP\*('' environment variables. .TP 8 .B +t -This option indicates that \fIxterm\fP should start in VT102 mode. +This option indicates that \fI\*n\fP should start in VT102 mode. .TP 8 .B \-tb This option, corresponding to the \fBtoolBar\fR resource, -indicates that \fIxterm\fR should display a toolbar (or menubar) +indicates that \fI\*n\fR should display a toolbar (or menubar) at the top of its window. The buttons in the toolbar correspond to the popup menus, e.g., control/left/mouse for \*(``Main Options\*(''. .TP 8 .B +tb -This option indicates that \fIxterm\fR should +This option indicates that \fI\*n\fR should not set up a toolbar. .TP 8 .BI \-ti " term_id" -Specify the name used by \fIxterm\fP to select the +Specify the name used by \fI\*n\fP to select the correct response to terminal ID queries. It also specifies the emulation level, used to determine the type of response to a DA control sequence. @@ -986,21 +990,21 @@ environment variable. It corresponds to the \fBtermName\fP resource. This terminal type must exist in the terminal database -(termcap or terminfo, depending on how \fIxterm\fP is built) +(termcap or terminfo, depending on how \fI\*n\fP is built) and should have \fIli#\fP and \fIco#\fP entries. -If the terminal type is not found, \fIxterm\fP uses the built-in list +If the terminal type is not found, \fI\*n\fP uses the built-in list \*(``xterm\*('', \*(``vt102\*('', etc. .TP 8 .B \-u8 This option sets the \fButf8\fP resource. -When \fButf8\fP is set, \fIxterm\fP interprets incoming data as UTF-8. +When \fButf8\fP is set, \fI\*n\fP interprets incoming data as UTF-8. This sets the \fBwideChars\fP resource as a side-effect, but the UTF-8 mode set by this option prevents it from being turned off. If you must turn it on and off, use the \fBwideChars\fP resource. .IP This option and the \fButf8\fR resource are overridden by the \fB\-lc\fP and \fB\-en\fP options and \fBlocale\fR resource. -That is, if \fIxterm\fP has been compiled to support \fIluit\fR, +That is, if \fI\*n\fP has been compiled to support \fIluit\fR, and the \fBlocale\fP resource is not \*(``false\*('' this option is ignored. We recommend using @@ -1037,11 +1041,11 @@ enables the display of characters with underline attribute as italics rather than with underlining. .TP 8 .B \-ut -This option indicates that \fIxterm\fP should not write a record into the +This option indicates that \fI\*n\fP should not write a record into the the system \fIutmp\fP log file. .TP 8 .B +ut -This option indicates that \fIxterm\fP should write a record into +This option indicates that \fI\*n\fP should write a record into the system \fIutmp\fP log file. .TP 8 .B \-vb @@ -1054,24 +1058,24 @@ This option indicates that a visual bell should not be used. .TP 8 .B \-wc This option sets the \fBwideChars\fP resource. -When \fBwideChars\fP is set, \fIxterm\fP maintains internal structures for 16-bit +When \fBwideChars\fP is set, \fI\*n\fP maintains internal structures for 16-bit characters. If you do not set this resource to \*(``true\*('', -\fIxterm\fP will ignore the escape sequence which turns UTF-8 mode on and off. +\fI\*n\fP will ignore the escape sequence which turns UTF-8 mode on and off. The default is \*(``false\*(''. .TP 8 .B +wc This option resets the \fBwideChars\fP resource. .TP 8 .B \-wf -This option indicates that \fIxterm\fP should wait for the window to be mapped +This option indicates that \fI\*n\fP should wait for the window to be mapped the first time before starting the subprocess so that the initial terminal size settings and environment variables are correct. It is the application's responsibility to catch subsequent terminal size changes. .TP 8 .B +wf -This option indicates that \fIxterm\fP should not wait before starting the +This option indicates that \fI\*n\fP should not wait before starting the subprocess. .TP 8 .B \-ziconbeep \fIpercent\fP @@ -1081,7 +1085,7 @@ will cause an XBell sound at the given volume and have \*(``***\*('' prepended to their icon titles. Most window managers will detect this change immediately, showing you which window has the output. -(A similar feature was in x10 \fIxterm\fP.) +(A similar feature was in x10 \fI\*n\fP.) .TP 8 .B \-C This option indicates that this window should receive console output. @@ -1095,7 +1099,7 @@ need to have the session startup and reset programs explicitly change the ownership of the console device in order to get this option to work. .TP 8 .B \-S\fIccn\fP -This option allows \fIxterm\fP to be used as an input and +This option allows \fI\*n\fP to be used as an input and output channel for an existing program and is sometimes used in specialized applications. The option value specifies the last few letters of the name of a pseudo-terminal @@ -1112,11 +1116,13 @@ since the descriptor follows the last \*(``/\*(''): -S123/45 -Sab34 .NE -Note that \fIxterm\fP does not close any file descriptor +.IP +Note that \fI\*n\fP does not close any file descriptor which it did not open for its own use. It is possible (though probably not portable) to have an application -which passes an open file descriptor down to \fIxterm\fP past the -initialization or the \fB\-S\fP option to a process running in the \fIxterm\fP. +which passes an open file descriptor down to \fI\*n\fP past the +initialization or the \fB\-S\fP option to a process running in the \fI\*n\fP. +.SS OLD OPTIONS .PP The following command line arguments are provided for compatibility with older versions. @@ -1132,14 +1138,16 @@ This option specifies the preferred position of the icon window. It is shorthand for specifying the \*(``\fI*iconGeometry\fP\*('' resource. .TP 8 .BI \-T " string" -This option specifies the title for \fIxterm\fP's windows. +This option specifies the title for \fI\*n\fP's windows. It is equivalent to \fB\-title\fP. .TP 8 .BI \-n " string" -This option specifies the icon name for \fIxterm\fP's windows. +This option specifies the icon name for \fI\*n\fP's windows. It is shorthand for specifying the \*(``\fI*iconName\fP\*('' resource. Note that this is not the same as the toolkit option \fB\-name\fP (see below). The default icon name is the application name. +.IP +If no suitable icon is found, \fI\*n\fP provides a compiled-in pixmap. .TP 8 .B \-r This option indicates that reverse video should be simulated by swapping @@ -1151,14 +1159,15 @@ It is equivalent to This option specifies the width in pixels of the border surrounding the window. It is equivalent to \fB\-borderwidth\fP or \fB\-bw\fP. . +.SS X TOOLKIT OPTIONS .PP The following standard X Toolkit command line arguments are commonly used -with \fIxterm\fP: +with \fI\*n\fP: .TP 8 .B \-bd \fIcolor\fP This option specifies the color to use for the border of the window. The corresponding resource name is \fIborderColor\fP. -\fIxterm\fP uses the X Toolkit default, which is \*(``XtDefaultForeground\*(''. +\fI\*n\fP uses the X Toolkit default, which is \*(``XtDefaultForeground\*(''. .TP 8 .B \-bg \fIcolor\fP This option specifies the color to use for the background of the window. @@ -1173,7 +1182,7 @@ It sets the \fBborderWidth\fP resource of the shell widget, and may provide advice to your window manager to set the thickness of the window frame. Most window managers do not use this information. -See the \fB\-b\fP option, which controls the inner border of the \fIxterm\fP +See the \fB\-b\fP option, which controls the inner border of the \fI\*n\fP window. .TP 8 .B \-display \fIdisplay\fP @@ -1198,7 +1207,7 @@ This option specifies the preferred size and position of the VT102 window; see \fIX(__miscmansuffix__)\fP. .TP 8 .B \-iconic -This option indicates that \fIxterm\fP should ask the window manager to +This option indicates that \fI\*n\fP should ask the window manager to start it as an icon rather than as the normal window. The corresponding resource name is \fIiconic\fP. .TP 8 @@ -1237,12 +1246,13 @@ Application specific resources (e.g., \*(``\fB__default_class__.\fP\fINAME\fP\*( Tie the VTxxx \fBbackarrowKey\fP and \fBptyInitialErase\fP resources together by setting the DECBKM state according to whether the initial value of \fIstty\fP erase is a backspace (8) or delete (127) character. -The default is \*(``false\*('', which disables this feature. +A \*(``false\*('' value disables this feature. +The default is \*(``__backarrow_key_erase__\*(''. .TP 8 .B "fullscreen (\fPclass\fB Fullscreen)" -Specifies whether or not \fIxterm\fP should ask the window manager to +Specifies whether or not \fI\*n\fP should ask the window manager to use a fullscreen layout on startup. -\fIXterm\fP accepts either a keyword (ignoring case) +\fI\*N\fP accepts either a keyword (ignoring case) or the number shown in parentheses: .RS .TP 3 @@ -1268,7 +1278,7 @@ The default is .TP 8 .B "hold (\fPclass\fB Hold)" If true, -\fIxterm\fP will not immediately destroy its window when the shell command completes. +\fI\*n\fP will not immediately destroy its window when the shell command completes. It will wait until you use the window manager to destroy/kill the window, or if you use the menu entries that send a signal, e.g., HUP or KILL. You may scroll back, select text, etc., to perform most graphical operations. @@ -1285,9 +1295,65 @@ See also the \fBkeyboardType\fP resource. Specifies the preferred size and position of the application when iconified. It is not necessarily obeyed by all window managers. .TP 8 +.B "iconHint (\fPclass\fB IconHint)" +Specifies a icon which will be added to the window manager hints. +\fI\*n\fP provides no default value. +.IP +Set this resource to \*(``none\*('' to omit the hint entirely, +using whatever the window manager may decide. +.IP +If the \fBiconHint\fP resource is given (or is set via the \fB\-n\fP option) +\fI\*n\fP searches for a pixmap file with that name, +in the current directory as well as in __pixmapsdir__. +if the resource does not specify an absolute pathname. +In each case, \fI\*n\fP adds \*(``_48x48\*('' +and/or \*(``.xpm\*('' to the filename +after trying without those suffixes. +If it is able to load the file, \fI\*n\fP sets the window manager +hint for the icon-pixmap. +These pixmaps are distributed with \fI\*n\fP, and can optionally be +compiled-in: +.RS +.bP +mini.\*n_16x16, +mini.\*n_32x32, +mini.\*n_48x48 +.bP +filled-\*n_16x16 +filled-\*n_32x32 +filled-\*n_48x48 +.bP +\*n_16x16 +\*n_32x32 +\*n_48x48 +.bP +\*n-color_16x16 +\*n-color_32x32 +\*n-color_48x48 +.RE +.IP +In either case, \fI\*n\fP allows for adding a \*(``_48x48\*('' to specify the +largest of the pixmaps as a default. +That is, \*(``mini.\*n\*('' is the same as \*(``mini.\*n_48x48\*(''. +.IP +If no explicit \fBiconHint\fP resource is given +(or if none of the compiled-in names matches), +\*n uses \*(``mini.\*n\*('' (which is always compiled-in). +.IP +The \fBiconHint\fP resource has no effect on \*(``desktop\*('' files, +including \*(``panel\*('' and \*(``menu\*(''. +Those are typically set via a \*(``.desktop\*('' file; +\fI\*n\fP provides samples for itself (and the \fIu\*n\fP script). +The more capable desktop systems allow changing the icon on a per-user basis. +.TP 8 .B "iconName (\fPclass\fB IconName)" -Specifies the icon name. -The default is the application name, e.g., \*(``xterm\*(''. +Specifies a label for \fI\*n\fP when iconified. +\fI\*n\fP provides no default value; +some window managers may assume the application name, e.g., \*(``\*n\*(''. +.IP +Setting the \fBiconName\fP resource sets the icon label +unless overridden by \fBzIconBeep\fP +or the control sequences which change the window and icon labels. .TP 8 .B "keyboardType (\fPclass\fB KeyboardType)" Enables one (or none) of the various keyboard-type resources: @@ -1321,7 +1387,7 @@ On some systems you may want to increase one or both of the if the operating system prefers larger buffer sizes. .TP 8 .B "maximized (\fPclass\fB Maximized)" -Specifies whether or not \fIxterm\fP should ask the window manager to +Specifies whether or not \fI\*n\fP should ask the window manager to maximize its layout on startup. The default is \*(``false\*(''. @@ -1331,7 +1397,7 @@ Specifies whether write access to the terminal is allowed initially. See .BR mesg (1). The default is \*(``true\*(''. -.TP 9 +.TP 8 .B "menuLocale (\fPclass\fB MenuLocale)" Specify the locale used for character-set computations when loading the popup menus. @@ -1346,12 +1412,12 @@ set the resource to an empty string. .TP 8 .B "minBufSize (\fPclass\fB MinBufSize)" Specify the minimum size of the input buffer, i.e., the amount of data -that \fIxterm\fR requests on each read. +that \fI\*n\fR requests on each read. The default is \*(``4096\*(''. You cannot set this to a value less than 64. .TP 8 .B "omitTranslation (\fPclass\fB OmitTranslation)" -Selectively omit one or more parts of \fIxterm\fP's default translations +Selectively omit one or more parts of \fI\*n\fP's default translations at startup. The resource value is a comma-separated list of keywords, which may be abbreviated: @@ -1359,12 +1425,12 @@ which may be abbreviated: \*(``scroll-lock\*('', \*(``shift-fonts\*('' or \*(``wheel-mouse\*(''. -\fIXterm\fP also recognizes \*(``default\*('', +\fI\*N\fP also recognizes \*(``default\*('', but omitting that will make the program unusable unless you provide a similar definition in your resource settings. .TP 8 .B "ptyHandshake (\fPclass\fB PtyHandshake) -If \*(``true\*('', \fIxterm\fP will perform handshaking during initialization +If \*(``true\*('', \fI\*n\fP will perform handshaking during initialization to ensure that the parent and child processes update the \fIutmp\fP and \fIstty\fP state. .IP @@ -1375,19 +1441,19 @@ initialization is complete. The default is \*(``true\*(''. .TP 8 .B "ptyInitialErase (\fPclass\fB PtyInitialErase)" -If \*(``true\*('', \fIxterm\fP will use the pseudo-terminal's sense of the \fIstty\fP erase +If \*(``true\*('', \fI\*n\fP will use the pseudo-terminal's sense of the \fIstty\fP erase value. -If \*(``false\*('', \fIxterm\fP will set the \fIstty\fP erase value to match its own +If \*(``false\*('', \fI\*n\fP will set the \fIstty\fP erase value to match its own configuration, using the \fBkb\fP string from the termcap entry as a reference, if available. In either case, the result is applied to the TERMCAP variable -which \fIxterm\fP sets. +which \fI\*n\fP sets. .IP See also the \fBttyModes\fP resource, which may modify this. The default is \*(``false\*(''. .TP 8 .B "ptySttySize (\fPclass\fB PtySttySize) -If \*(``true\*('', \fIxterm\fP will reset the screen size after +If \*(``true\*('', \fI\*n\fP will reset the screen size after terminal initialization is complete. This is needed for some systems whose pseudo-terminals cannot propagate terminal characteristics. @@ -1400,7 +1466,7 @@ The default is \*(``false\*('' on Linux and OS X systems, \*(``true\*('' otherwise. .TP 8 .B "sameName (\fPclass\fB SameName)" -If the value of this resource is \*(``true\*('', \fIxterm\fP does not send +If the value of this resource is \*(``true\*('', \fI\*n\fP does not send title and icon name change requests when the request would have no effect: the name is not changed. This has the advantage @@ -1418,7 +1484,7 @@ The default value is \*(``1.0\*('', While this resource applies to either bitmap or TrueType fonts, its main purpose is to help work around incompatible changes in the Xft library's font metrics. -\fIXterm\fP checks the font metrics to find what the library claims are +\fI\*N\fP checks the font metrics to find what the library claims are the bounding boxes for each glyph (character). However, some of Xft's features (such as the autohinter) can cause the glyphs to be scaled larger than the bounding boxes, and be partly overwritten @@ -1434,7 +1500,7 @@ See also the \fBkeyboardType\fP resource. .TP 8 .B "sessionMgt (\fPclass\fB SessionMgt)" If the value of this resource is \*(``true\*('', -\fIxterm\fP sets up session manager callbacks +\fI\*n\fP sets up session manager callbacks for \fBXtNdieCallback\fR and \fBXtNsaveCallback\fR. The default is \*(``true\*(''. .TP 8 @@ -1451,9 +1517,9 @@ This causes the keypad \*(``+' to be mapped to \*(``,'. and CTRL F1-F12 to F11-F20, depending on the setting of the \fBctrlFKeys\fP resource. -so \fIxterm\fP emulates a DEC VT220 more accurately. +so \fI\*n\fP emulates a DEC VT220 more accurately. Otherwise (the default, with \fBsunKeyboard\fP set to \*(``false\*(''), -\fIxterm\fP uses PC-style bindings for the function keys and keypad. +\fI\*n\fP uses PC-style bindings for the function keys and keypad. .IP PC-style bindings use the Shift, Alt, Control and Meta keys as modifiers for function-keys @@ -1518,13 +1584,13 @@ an X resource escapes the next character. .IP This is very useful for overriding the default terminal settings without having to do an \fIstty\fP every time -an \fIxterm\fP is started. +an \fI\*n\fP is started. Note, however, that the \fIstty\fP program on a given host may use different -keywords; \fIxterm\fR's table is built-in. +keywords; \fI\*n\fR's table is built-in. .IP If the \fBttyModes\fP resource specifies a value for \fBerase\fP, that overrides the \fBptyInitialErase\fP resource setting, -i.e., \fIxterm\fP initializes the terminal to match that value. +i.e., \fI\*n\fP initializes the terminal to match that value. .TP 8 .B "useInsertMode (\fPclass\fB UseInsertMode)" Force use of insert mode by adding appropriate entries to the TERMCAP @@ -1533,25 +1599,25 @@ This is useful if the system termcap is broken. The default is \*(``false\*(''. .TP 8 .B "utmpDisplayId (\fPclass\fB UtmpDisplayId)" -Specifies whether or not \fIxterm\fP should try to record the display +Specifies whether or not \fI\*n\fP should try to record the display identifier (display number and screen number) as well as the hostname in the system \fIutmp\fP log file. The default is \*(``true\*(''. .TP 8 .B "utmpInhibit (\fPclass\fB UtmpInhibit)" -Specifies whether or not \fIxterm\fP should try to record the user's terminal +Specifies whether or not \fI\*n\fP should try to record the user's terminal in the system \fIutmp\fP log file. -If true, \fIxterm\fP will not try. +If true, \fI\*n\fP will not try. The default is \*(``false\*(''. .TP 8 .B "waitForMap (\fPclass\fB WaitForMap)" -Specifies whether or not \fIxterm\fP should wait for the initial window map +Specifies whether or not \fI\*n\fP should wait for the initial window map before starting the subprocess. This is part of the .B ptyHandshake logic. -When \fIxterm\fP is directed to wait in this fashion, +When \fI\*n\fP is directed to wait in this fashion, it passes the terminal size from the display end of the pseudo-terminal to the terminal I/O connection, e.g., according to the window manager. Otherwise, it uses the size as given in resource values or command-line @@ -1565,7 +1631,7 @@ while iconified will cause an XBell sound at the given volume and have \*(``***\ \*('' prepended to their icon titles. Most window managers will detect this change immediately, showing you which window has the output. -(A similar feature was in x10 \fIxterm\fR.) +(A similar feature was in x10 \fI\*n\fR.) The default is \*(``false\*(''. .TP 8 .B "zIconTitleFormat (\fPclass\fB ZIconTitleFormat)" @@ -1573,7 +1639,7 @@ Allow customization of the string used in the \fBzIconBeep\fP feature. The default value is \*(``***\ %s\*(''. .IP If the resource value contains a \*(``%s\*('', -then \fIxterm\fP inserts the icon title at that point rather +then \fI\*n\fP inserts the icon title at that point rather than prepending the string to the icon title. (Only the first \*(``%s\*('' is used). .\" @@ -1583,7 +1649,7 @@ The following resources are specified as part of the \fIvt100\fP widget (class \fIVT100\fP). They are specified by patterns such as \*(``\fB__default_class__.vt100.\fP\fINAME\fP\*(''. .PP -If your \fIxterm\fP is configured to support the \*(``toolbar\*('', then those +If your \fI\*n\fP is configured to support the \*(``toolbar\*('', then those patterns need an extra level for the form-widget which holds the toolbar and vt100 widget. A wildcard between the top-level @@ -1592,17 +1658,37 @@ either, e.g., \*(``\fB__default_class__*vt100.\fP\fINAME\fP\*(''. .TP 8 .B "activeIcon (\fPclass\fB ActiveIcon)" Specifies whether or not active icon windows are to be used when the -\fIxterm\fP window is iconified, if this feature is compiled into \fIxterm\fR. +\fI\*n\fP window is iconified, if this feature is compiled into \fI\*n\fR. The active icon is a miniature representation of the content of the window and will update as the content changes. -Not all window managers -necessarily support application icon windows. +Not all window managers necessarily support application icon windows. Some window managers will allow you to enter keystrokes into the active icon window. -The default is \*(``false\*(''. +The default is \*(``default\*(''. +.IP +\fI\*N\fP accepts either a keyword (ignoring case) +or the number shown in parentheses: +.RS +.TP +false (0) +No active icon is shown. +.TP +true (1) +The active icon is shown. +If you are using \fItwm\fP, use this setting to enable active-icons. +.TP +default (2) +\fI\*n\fP checks at startup, and shows an active icon only for window +managers which it can identify and which are known to support the feature. +These are \fIfvwm\fP (full support), and \fIwindow maker\fP (limited). +A few other windows managers (such as \fItwm\fP and \fIctwm\fP) +support active icons, +but do not support the extensions which allow \fI\*n\fP +to identify the window manager. +.RE .TP 8 .B "allowBoldFonts (\fPclass\fB AllowBoldFonts)" -When set to \*(``false\*('', \fIxterm\fP will not use bold fonts. +When set to \*(``false\*('', \fI\*n\fP will not use bold fonts. This overrides both the \fBalwaysBoldMode\fP and the \fBboldMode\fP resources. .B "alwaysBoldMode (\fPclass\fB AlwaysBoldMode)" .TP 8 @@ -1629,11 +1715,11 @@ the Scroll Lock key should be allowed, as well as whether the Scroll Lock key responds to user's keypress. The default is \*(``false\*(''. .IP -When this feature is enabled, \fIxterm\fP will sense the state of the +When this feature is enabled, \fI\*n\fP will sense the state of the Scroll Lock key each time it acquires focus. -Pressing the Scroll Lock key toggles \fIxterm\fP's internal state, +Pressing the Scroll Lock key toggles \fI\*n\fP's internal state, as well as toggling the associated LED. -While the Scroll Lock is active, \fIxterm\fP attempts to keep a viewport on the +While the Scroll Lock is active, \fI\*n\fP attempts to keep a viewport on the same set of lines. If the current viewport is scrolled past the limit set by the \fBsaveLines\fP resource, then Scroll Lock has no further effect. @@ -1656,19 +1742,19 @@ The default is \*(``false\*(''. Specifies whether control sequences that query the terminal's notion of its function-key strings, as termcap or terminfo capabilities should be allowed. -The default is \*(``false\*(''. +The default is \*(``true\*(''. .IP A few programs, e.g., \fIvim\fP, use this feature to get an accurate description of the terminal's capabilities, independent of the termcap/terminfo setting: .RS .bP -\fIxterm\fP can tell the querying program how many colors it supports. +\fI\*n\fP can tell the querying program how many colors it supports. This is a constant, depending on how it is compiled, typically 16. It does not change if you alter resource settings, e.g., the \fBboldColors\fP resource. .bP -\fIxterm\fP can tell the querying program what strings are sent by modified +\fI\*n\fP can tell the querying program what strings are sent by modified (shift-, control-, alt-) function- and keypad-keys. Reporting control- and alt-modifiers is a feature that relies on the \fIncurses\fP extended naming. @@ -1709,24 +1795,32 @@ If \*(``true\*('', Alt characters (a character combined with the modifier associated with left/right Alt-keys) are converted into a two-character sequence with the character itself preceded by ESC. -This applies as well to function key control sequences, unless \fIxterm\fP +This applies as well to function key control sequences, unless \fI\*n\fP sees that \fBAlt\fP is used in your key translations. .bP If \*(``false\*('', Alt characters input from the keyboard cause a shift to 8-bit characters (just like \fBmetaSendsEscape\fP). By combining the Alt- and Meta-modifiers, you can create corresponding combinations of ESC-prefix and 8-bit characters. -The default is \*(``false\*(''. .RE .IP -\fIXterm\fP provides a menu option for toggling this resource. +The default is \*(``__alt_sends_esc__\*(''. +\fI\*N\fP provides a menu option for toggling this resource. +.TP 8 +.B "alternateScroll (\fPclass\fB ScrollCond)" +If \*(``true\*('', +the \fBscroll-back\fP and \fBscroll-forw\fP actions +send cursor\-up and \-down keys when \*n is displaying the alternate screen. +The default is \*(``false\*(''. +.IP +The \fBalternateScroll\fP state can also be set using a control sequence. .TP 8 .B "alwaysBoldMode (\fPclass\fB AlwaysBoldMode)" -Specifies whether \fIxterm\fP should check if the normal and bold +Specifies whether \fI\*n\fP should check if the normal and bold fonts are distinct before deciding whether to use overstriking to simulate bold fonts. If this resource is true, -\fIxterm\fP does not make the check for +\fI\*n\fP does not make the check for distinct fonts when deciding how to handle the \fBboldMode\fP resource. The default is \*(``false\*(''. .ne 9 @@ -1741,12 +1835,27 @@ true false same overstrike true false different use font true true ignored overstrike .TE +.RS +.LP +This resource is used only for bitmap fonts: +.bP +When using bitmap fonts, it is possible that the font server will +approximate the bold font by rescaling it from +a different font size than expected. +The \fBalwaysBoldMode\fP resource +allows the user to override the (sometimes poor) +resulting bold font with overstriking (which is at least consistent). +.bP +The problem does not occur with TrueType fonts (though there can be +other unnecessary issues such as different coverage of the normal +and bold fonts). +.RE .IP As an alternative, setting the \fBallowBoldFonts\fP resource to false overrides both the \fBalwaysBoldMode\fP and the \fBboldMode\fP resources. .TP 8 .B "alwaysHighlight (\fPclass\fB AlwaysHighlight)" -Specifies whether or not \fIxterm\fP should always display a highlighted +Specifies whether or not \fI\*n\fP should always display a highlighted text cursor. By default (if this resource is false), a hollow text cursor is displayed whenever the @@ -1754,16 +1863,16 @@ pointer moves out of the window or the window loses the input focus. The default is \*(``false\*(''. .TP 8 .B "alwaysUseMods (\fPclass\fB AlwaysUseMods)" -Override the \fBnumLock\fP resource, telling \fIxterm\fR to use the Alt and Meta +Override the \fBnumLock\fP resource, telling \fI\*n\fR to use the Alt and Meta modifiers to construct parameters for function key sequences even if those modifiers appear in the translations resource. -Normally \fIxterm\fP checks if Alt or Meta is used in a translation that +Normally \fI\*n\fP checks if Alt or Meta is used in a translation that would conflict with function key modifiers, and will ignore these modifiers in that special case. The default is \*(``false\*(''. .TP 8 .B "answerbackString (\fPclass\fB AnswerbackString)" -Specifies the string that \fIxterm\fR sends in response to an ENQ (control/E) +Specifies the string that \fI\*n\fR sends in response to an ENQ (control/E) character from the host. The default is a blank string, i.e., \*(``\*(''. A hardware VT100 implements this feature as a setup option. @@ -1784,7 +1893,7 @@ The default is \*(``true\*(''. .TP 8 .B "awaitInput (\fPclass\fB AwaitInput)" -Specifies whether or not the \fIxterm\fR uses a 50 millisecond timeout to +Specifies whether or not the \fI\*n\fR uses a 50 millisecond timeout to await input (i.e., to support the Xaw3d arrow scrollbar). The default is \*(``false\*(''. .TP 8 @@ -1793,7 +1902,8 @@ Specifies whether the backarrow key transmits a backspace (8) or delete (127) character. This corresponds to the DECBKM control sequence. -The default (backspace) is \*(``true\*(''. +A \*(``true\*('' value specifies backspace. +The default is \*(``__backarrow_key_is_del__\*(''. Pressing the control key toggles this behavior. .TP 8 .B "background (\fPclass\fB Background)" @@ -1843,8 +1953,8 @@ same as the normal font. It may be desirable to disable bold fonts when color is being used for the bold attribute. .IP -Note that \fIxterm\fP has one bold font which you may set explicitly. -\fIXterm\fP attempts to derive a bold font for the other font selections +Note that \fI\*n\fP has one bold font which you may set explicitly. +\fI\*N\fP attempts to derive a bold font for the other font selections (\fBfont1\fP through \fBfont6\fP). If it cannot find a bold font, it will use the normal font. In each case (whether the explicit resource or the derived font), @@ -1854,41 +1964,43 @@ The default is \*(``true\*(''. See the \fBalwaysBoldMode\fP resource which can modify the behavior of this resource. .IP -Although \fIxterm\fP attempts to derive a bold font for other font selections, +Although \fI\*n\fP attempts to derive a bold font for other font selections, the font server may not cooperate. Since X11R6, bitmap fonts have been scaled. -The font server claims to provide the bold font that \fIxterm\fP requests, +The font server claims to provide the bold font that \fI\*n\fP requests, but the result is not always readable. XFree86 introduced a feature which can be used to suppress the scaling. In the X server's configuration file (e.g., \*(``/etc/X11/XFree86\*(''), you can add \*(``:unscaled\*('' to the end of the directory specification for the \*(``misc\*('' fonts, -which comprise the fixed-pitch fonts that are used by \fIxterm\fP. +which comprise the fixed-pitch fonts that are used by \fI\*n\fP. For example .NS FontPath "/usr/lib/X11/fonts/misc/" .NE +.IP would become .NS FontPath "/usr/lib/X11/fonts/misc/:unscaled" .NE +.IP Depending on your configuration, the font server may have its own configuration file. The same \*(``:unscaled\*('' can be added to its configuration file at the end of the directory specification for \*(``misc\*(''. .IP -The bitmap scaling feature is also used by \fIxterm\fP to implement +The bitmap scaling feature is also used by \fI\*n\fP to implement VT102 double-width and double-height characters. .TP 8 .B "brokenLinuxOSC (\fPclass\fB BrokenLinuxOSC)" -If true, \fIxterm\fP applies a workaround to ignore malformed control +If true, \fI\*n\fP applies a workaround to ignore malformed control sequences that a Linux script might send. Compare the palette control sequences documented in \fIconsole_codes\fR with ECMA-48. The default is \*(``true\*(''. .TP 8 .B "brokenSelections (\fPclass\fB BrokenSelections)" -If true, \fIxterm\fP in 8-bit mode will interpret +If true, \fI\*n\fP in 8-bit mode will interpret .B STRING selections as carrying text in the current locale's encoding. Normally @@ -1902,10 +2014,10 @@ The default is \*(``false\*(''. .B "brokenStringTerm (\fPclass\fB BrokenStringTerm)" provides a work-around for some ISDN routers which start an application control string without completing it. -Set this to \*(``true\*('' if \fIxterm\fP appears to freeze when connecting. +Set this to \*(``true\*('' if \fI\*n\fP appears to freeze when connecting. The default is \*(``false\*(''. .IP -\fIXterm\fP's state parser recognizes +\fI\*N\fP's state parser recognizes several types of control strings which can contain text, e.g., .sp .RS @@ -1925,7 +2037,7 @@ cannot appear in these strings). Ordinary control characters found within the string are not ignored; they are processed without interfering with the process of accumulating the control string's content. -\fIXterm\fP recognizes these controls in all modes, +\fI\*N\fP recognizes these controls in all modes, although some of the functions may be suppressed after parsing the control. .IP When enabled, this feature allows the user to exit from an unterminated @@ -1961,9 +2073,17 @@ used to switch between 80 and 132 columns, should be honored. The default is \*(``false\*(''. .TP 8 .B "cacheDoublesize (\fPclass\fB CacheDoublesize)" -Tells whether to cache double-sized fonts by \fIxterm\fR. +Tells whether to cache double-sized fonts by \fI\*n\fR. Set this to zero to disable double-sized fonts altogether. .TP 8 +.B "cdXtraScroll (\fPclass\fB CdXtraScroll)" +Specifies whether \fI\*n\fP should scroll to a new page when clearing +the whole screen. +Like \fBtiXtraScroll\fP, +the intent of this option is to provide a picture of the full-screen +application's display on the scrollback before wiping out the text. +The default for this resource is \*(``false\*(''. +.TP 8 .B "charClass (\fPclass\fB CharClass)" Specifies comma-separated lists of character class bindings of the form [\fIlow\fP-]\fIhigh\fP:\fIvalue\fP. @@ -1972,7 +2092,7 @@ sets of characters should be treated the same when doing cut and paste. See the \fBCHARACTER CLASSES\fP section. .TP 8 .B "cjkWidth (\fPclass\fB CjkWidth)" -Specifies whether \fIxterm\fP should follow +Specifies whether \fI\*n\fP should follow the traditional East Asian width convention. When turned on, characters with East Asian Ambiguous (A) category in UTR 11 have a column width of 2. @@ -1980,7 +2100,7 @@ You may have to set this option to \*(``true\*('' if you have some old East Asian terminal based programs that assume that line-drawing characters have a column width of 2. If this resource is false, the \fBmkWidth\fP resource controls the -choice between the system's \fBwcwidth\fP and \fIxterm\fP's built-in tables. +choice between the system's \fBwcwidth\fP and \fI\*n\fP's built-in tables. The default is \*(``false\*(''. .TP 8 .B "color0 (\fPclass\fB Color0)" @@ -2075,6 +2195,8 @@ The default is \*(``false\*(''. This specifies the color to use to display bold characters if the \*(``colorBDMode\*('' resource is enabled. The default is \*(``XtDefaultForeground\*(''. +.IP +See also the \fBveryBoldColors\fP resource which allows combining bold and color. .TP 8 .B "colorBDMode (\fPclass\fB ColorAttrMode)" Specifies whether characters with the bold attribute should be displayed in @@ -2087,6 +2209,8 @@ The default is \*(``false\*(''. This specifies the color to use to display blink characters if the \*(``colorBLMode\*('' resource is enabled. The default is \*(``XtDefaultForeground\*(''. +.IP +See also the \fBveryBoldColors\fP resource which allows combining underline and color. .TP 8 .B "colorBLMode (\fPclass\fB ColorAttrMode)" Specifies whether characters with the blink attribute should be displayed in @@ -2103,6 +2227,8 @@ The default is \*(``true\*(''. This specifies the color to use to display reverse characters if the \*(``colorRVMode\*('' resource is enabled. The default is \*(``XtDefaultForeground\*(''. +.IP +See also the \fBveryBoldColors\fP resource which allows combining reverse and color. .TP 8 .B "colorRVMode (\fPclass\fB ColorAttrMode)" Specifies whether characters with the reverse attribute should be displayed in @@ -2114,6 +2240,8 @@ The default is \*(``false\*(''. This specifies the color to use to display underlined characters if the \*(``colorULMode\*('' resource is enabled. The default is \*(``XtDefaultForeground\*(''. +.IP +See also the \fBveryBoldColors\fP resource which allows combining underline and color. .TP 8 .B "colorULMode (\fPclass\fB ColorAttrMode)" Specifies whether characters with the underline attribute should be displayed @@ -2146,21 +2274,21 @@ The default is \*(``false\*(''. Specifies whether to make the cursor blink. The default is \*(``false\*(''. .IP -\fIXterm\fP uses two variables to determine whether the cursor blinks. +\fI\*N\fP uses two variables to determine whether the cursor blinks. One is set by this resource. The other is set by control sequences (private mode 12 and DECSCUSR). -\fIXterm\fP tests the XOR of the two variables. +\fI\*N\fP tests the XOR of the two variables. .TP 8 .B "cursorColor (\fPclass\fB CursorColor)" Specifies the color to use for the text cursor. The default is \*(``XtDefaultForeground\*(''. By default, -\fIxterm\fP attempts to keep this color from being the same as the background +\fI\*n\fP attempts to keep this color from being the same as the background color, since it draws the cursor by filling the background of a text cell. The same restriction applies to control sequences which may change this color. .IP Setting this resource overrides -most of \fIxterm\fP's adjustments to cursor color. +most of \fI\*n\fP's adjustments to cursor color. It will still use reverse-video to disallow some cases, such as a black cursor on a black background. .TP 8 @@ -2200,7 +2328,7 @@ e.g., \*(``vt100\*('' and \*(``100\*('' are the same. The default is \*(``__default_termid__\*(''. .TP 8 .B "defaultString (\fPclass\fB DefaultString)" -Specify the character (or string) which \fIxterm\fP will substitute when +Specify the character (or string) which \fI\*n\fP will substitute when pasted text includes a character which cannot be represented in the current encoding. For instance, pasting UTF-8 text into a display of ISO-8859-1 characters @@ -2209,13 +2337,14 @@ Unicode values above 255. The default is \*(``#\*('' (a single pound sign). .IP If the undisplayable text would be double-width, -\fIxterm\fP will add a space after the \*(``#\*('' character, to give roughly +\fI\*n\fP will add a space after the \*(``#\*('' character, to give roughly the same layout on the screen as the original text. .TP 8 .B "deleteIsDEL (\fPclass\fB DeleteIsDEL)" Specifies whether the Delete key on the editing keypad should send DEL (127) or the VT220-style Remove escape sequence. -The default is \*(``false\*('', for the latter. +A \*(``false\*('' value enables the latter. +The default is \*(``__delete_is_del__\*(''. .TP 8 .B "disallowedColorOps (\fPclass\fB DisallowedColorOps)" Specify which features will be disabled if \fBallowColorOps\fP is false. @@ -2226,7 +2355,7 @@ SetColor,GetColor,GetAnsiColor .RE .IP The names are listed below. -\fIxterm\fP ignores capitalization, but +\fI\*n\fP ignores capitalization, but they are shown in mixed-case for clarity. .RS .TP 5 @@ -2250,7 +2379,7 @@ SetFont,GetFont .RE .IP The names are listed below. -\fIxterm\fP ignores capitalization, but +\fI\*n\fP ignores capitalization, but they are shown in mixed-case for clarity. .RS .TP 5 @@ -2270,7 +2399,7 @@ SetTcap,GetTcap .RE .IP The names are listed below. -\fIxterm\fP ignores capitalization, but +\fI\*n\fP ignores capitalization, but they are shown in mixed-case for clarity. .RS .TP 5 @@ -2291,14 +2420,14 @@ The default value is .RE .IP The names are listed below. -\fIxterm\fP ignores capitalization, but +\fI\*n\fP ignores capitalization, but they are shown in mixed-case for clarity. Where a number can be used as an alternative, it is given in parentheses after the name. .RS .TP 5 GetIconTitle (20) -Report xterm window's icon label as a string. +Report \*n window's icon label as a string. .TP 5 GetScreenSizeChars (19) Report the size of the screen in characters as numbers. @@ -2307,22 +2436,22 @@ GetSelection Report selection data as a base64 string. .TP 5 GetWinPosition (13) -Report xterm window position as numbers. +Report \*n window position as numbers. .TP 5 GetWinSizeChars (18) Report the size of the text area in characters as numbers. .TP 5 GetWinSizePixels (14) -Report xterm window in pixels as numbers. +Report \*n window in pixels as numbers. .TP 5 GetWinState (11) -Report xterm window state as a number. +Report \*n window state as a number. .TP 5 GetWinTitle (21) -Report xterm window's title as a string. +Report \*n window's title as a string. .TP 5 LowerWin (6) -Lower the xterm window to the bottom of the stacking order. +Lower the \*n window to the bottom of the stacking order. .TP 5 MaximizeWin (9) Maximize window (i.e., resize to screen size). @@ -2340,10 +2469,10 @@ PushTitle (22) Push title to internal stack. .TP 5 RaiseWin (5) -Raise the xterm window to the front of the stacking order. +Raise the \*n window to the front of the stacking order. .TP 5 RefreshWin (7) -Refresh the xterm window. +Refresh the \*n window. .TP 5 RestoreWin (1) De-iconify window. @@ -2361,7 +2490,7 @@ SetWinSizeChars (8) Resize the text area to given size in characters. .TP 5 SetWinSizePixels (4) -Resize the xterm window to given size in pixels. +Resize the \*n window to given size in pixels. .TP 5 SetXprop Set X property on top-level window. @@ -2400,7 +2529,7 @@ Note that the \fIAlt\fP key is not necessarily the same as the X defines modifiers for shift, (caps) lock and control, as well as 5 additional modifiers which are generally used to configure key modifiers. -\fIxterm\fP inspects the same information to find the modifier associated +\fI\*n\fP inspects the same information to find the modifier associated with either \fIMeta\fP key (left or right), and uses that key as the \fIMeta\fP modifier. It also looks for the NumLock key, @@ -2408,26 +2537,26 @@ to recognize the modifier which is associated with that. .IP If your \fIxmodmap\fP configuration uses the same keycodes for Alt- and Meta-keys, -\fIxterm\fP will only see the Alt-key definitions, since those are tested +\fI\*n\fP will only see the Alt-key definitions, since those are tested before Meta-keys. NumLock is tested first. It is important to keep these keys distinct; -otherwise some of \fIxterm\fP's functionality is not available. +otherwise some of \fI\*n\fP's functionality is not available. .IP The \fBeightBitInput\fP resource is tested at startup time. If \*(``true\*('', -the \fIxterm\fP tries to put the terminal into 8-bit mode. +the \fI\*n\fP tries to put the terminal into 8-bit mode. If \*(``false\*('', -on startup, \fIxterm\fP tries to put the terminal into 7-bit mode. +on startup, \fI\*n\fP tries to put the terminal into 7-bit mode. For some configurations this is unsuccessful; failure is ignored. -After startup, \fIxterm\fP does not +After startup, \fI\*n\fP does not change the terminal between 8-bit and 7-bit mode. .IP As originally implemented in X11, the resource value did not change after startup. However (since patch #216 in 2006) -\fIxterm\fP can modify \fBeightBitInput\fP after startup +\fI\*n\fP can modify \fBeightBitInput\fP after startup via a control sequence. The corresponding terminfo capabilities \fBsmm\fP (set meta mode) and \fBrmm\fP (reset meta mode) @@ -2436,13 +2565,13 @@ Interestingly enough, \fIbash\fP's notion of "meta mode" differs from the standard definition (in the \fIterminfo\fP manual), which describes the change to the eighth bit of a character. It happens that \fIbash\fP views "meta mode" -as the ESC character that \fIxterm\fP puts before a character when a +as the ESC character that \fI\*n\fP puts before a character when a special meta key is pressed. \fIbash\fP's early documentation talks about the ESC character and ignores the eighth bit. .TP 8 .B "eightBitMeta (\fPclass\fB EightBitMeta\fP)" -This controls the way \fIxterm\fP modifies the eighth bit of a single-byte +This controls the way \fI\*n\fP modifies the eighth bit of a single-byte key when the \fBeightBitInput\fP resource is set. The default is \*(``locale\*(''. .IP @@ -2462,13 +2591,13 @@ never The key is always sent unmodified. .RE .IP -Except for the \fBnever\fP choice, \fIxterm\fP honors the +Except for the \fBnever\fP choice, \fI\*n\fP honors the terminfo capabilities \fBsmm\fP (set meta mode) and \fBrmm\fP (reset meta mode), allowing the feature to be turned on or off dynamically. .IP If \fBeightBitMeta\fP is enabled when the locale uses UTF-8, -\fIxterm\fP encodes the value as UTF-8 +\fI\*n\fP encodes the value as UTF-8 (since patch #183 in 2003). .TP 8 .B "eightBitOutput (\fPclass\fB EightBitOutput\fP)" @@ -2478,19 +2607,19 @@ The default is \*(``true\*('', which means that they are accepted as is. .TP 8 .B "eightBitSelectTypes (\fPclass\fB EightBitSelectTypes\fP)" -Override \fIxterm\fP's default selection target list (see SELECT/PASTE) for +Override \fI\*n\fP's default selection target list (see SELECT/PASTE) for selections in normal (ISO-8859-1) mode. The default is an empty string, i.e., \*(``\*('', which does not override anything. .TP 8 .B "faceName (\fPclass\fB FaceName)" Specify the pattern for scalable fonts selected from the FreeType -library if support for that library was compiled into \fIxterm\fR. +library if support for that library was compiled into \fI\*n\fR. There is no default value. .IP If not specified, or if there is no match for both normal and bold fonts, -\fIxterm\fR uses the bitmap \fBfont\fP and related resources. +\fI\*n\fR uses the bitmap \fBfont\fP and related resources. .IP It is possible to select suitable bitmap fonts using a script such as this: .NS @@ -2498,6 +2627,7 @@ It is possible to select suitable bitmap fonts using a script such as this: \&FONT=`xfontsel -print` \&test -n "$FONT" && xfd -fn "$FONT" .NE +.IP However (even though \fIxfd\fP accepts a \*(``\fB\-fa\fP\*('' option to denote FreeType fonts), \fIxfontsel\fP has not been similarly extended. @@ -2505,6 +2635,7 @@ As a workaround, you may try .NS fc-list :scalable=true:spacing=mono: family .NE +.IP to find a list of scalable fixed-pitch fonts which may be used for the \fBfaceName\fP resource value. .TP 8 @@ -2514,11 +2645,11 @@ this, e.g., in CJK applications. There is no default value. .IP If the application uses double-wide characters and this resource is not given, -\fIxterm\fP will use a scaled version of the font given by \fBfaceName\fP. +\fI\*n\fP will use a scaled version of the font given by \fBfaceName\fP. .TP 8 .B "faceSize (\fPclass\fB FaceSize)" Specify the pointsize for fonts selected from the FreeType -library if support for that library was compiled into \fIxterm\fR. +library if support for that library was compiled into \fI\*n\fR. The default is \*(``14.0\*('' On the \fBVT\ Fonts\fP menu, this corresponds to the \fIDefault\fP entry. .IP @@ -2536,16 +2667,16 @@ size-related menu entries such as Medium, Huge, etc., by using one of the following resource values. If you do not specify a value, they default to \*(``0.0\*('', -which causes \fIxterm\fP to use the ratio of font sizes +which causes \fI\*n\fP to use the ratio of font sizes from the corresponding bitmap font resources to obtain a TrueType pointsize. .IP -If all of the \fBfaceSize\fP resources are set, then \fIxterm\fP +If all of the \fBfaceSize\fP resources are set, then \fI\*n\fP will use this information to determine the next smaller/larger TrueType font for the -\fIlarger-vt-font()\fP and -\fIsmaller-vt-font()\fP actions. -If any are not set, \fIxterm\fP will use only the areas of the bitmap fonts. +\fBlarger-vt-font()\fP and +\fBsmaller-vt-font()\fP actions. +If any are not set, \fI\*n\fP will use only the areas of the bitmap fonts. .TP 8 .B "faceSize1 (\fPclass\fB FaceSize1)" Specifies the pointsize of the first alternative font. @@ -2576,14 +2707,17 @@ NOTE: some resource files use patterns such as .NS *font: fixed .NE +.IP which are overly broad, affecting both .NS xterm.vt100.font .NE +.IP and .NS xterm.vt100.utf8Fonts.font .NE +.IP which is probably not what you intended. .TP 8 .B "fastScroll (\fPclass\fB FastScroll)" @@ -2612,16 +2746,16 @@ Specifies the name of the fifth alternative font. Specifies the name of the sixth alternative font. .TP 8 .B "fontDoublesize (\fPclass\fB FontDoublesize)" -Specifies whether \fIxterm\fP should attempt to use font scaling to draw +Specifies whether \fI\*n\fP should attempt to use font scaling to draw double-sized characters. Some older font servers cannot do this properly, will return misleading font metrics. The default is \*(``true\*(''. -If disabled, \fIxterm\fP will simulate double-sized characters by drawing +If disabled, \fI\*n\fP will simulate double-sized characters by drawing normal characters with spaces between them. .TP 8 .B "fontWarnings (\fPclass\fB FontWarnings)" -Specify whether \fIxterm\fP should report an error if it fails to load a font: +Specify whether \fI\*n\fP should report an error if it fails to load a font: .RS .TP 5 0 @@ -2637,26 +2771,26 @@ Always report an error on failure to load a font. The default is \*(``1\*(''. .TP 8 .B "forceBoxChars (\fPclass\fB ForceBoxChars)" -Specifies whether \fIxterm\fP should assume the normal and bold fonts +Specifies whether \fI\*n\fP should assume the normal and bold fonts have VT100 line-drawing characters: .RS .bP -The fixed-pitch ISO-8859-*-encoded fonts used by \fIxterm\fP +The fixed-pitch ISO-8859-*-encoded fonts used by \fI\*n\fP normally have the VT100 line-drawing glyphs in cells 1-31. Other fixed-pitch fonts may be more attractive, but lack these glyphs. .bP When using an ISO-10646-1 font and the \fBwideChars\fP resource is true, -\fIxterm\fP uses the Unicode glyphs which match the VT100 line-drawing glyphs. +\fI\*n\fP uses the Unicode glyphs which match the VT100 line-drawing glyphs. .RE .IP -If \*(``false\*('', \fIxterm\fP checks for missing glyphs in the font +If \*(``false\*('', \fI\*n\fP checks for missing glyphs in the font and makes line-drawing characters directly as needed. -If \*(``true\*('', \fIxterm\fP assumes the font does not contain the +If \*(``true\*('', \fI\*n\fP assumes the font does not contain the line-drawing characters, and draws them directly. The default is \*(``false\*(''. .TP 8 .B "forcePackedFont (\fPclass\fB ForcePackedFont)" -Specifies whether \fIxterm\fP should use the maximum or minimum glyph +Specifies whether \fI\*n\fP should use the maximum or minimum glyph width when displaying using a bitmap font. Use the maximum width to help with proportional fonts. The default is \*(``true\*('', denoting the minimum width. @@ -2682,9 +2816,9 @@ send modified keys as parameters for CSI\ u. .RE .TP 8 .B "freeBoldBox (\fPclass\fB FreeBoldBox)" -Specifies whether \fIxterm\fP should assume the bounding boxes for +Specifies whether \fI\*n\fP should assume the bounding boxes for normal and bold fonts are compatible. -If \*(``false\*('', \fIxterm\fP compares them and will reject choices of +If \*(``false\*('', \fI\*n\fP compares them and will reject choices of bold fonts that do not match the size of the normal font. The default is \*(``false\*('', which means that the comparison is performed. .TP 8 @@ -2698,11 +2832,11 @@ If not specified (i.e., matching the default foreground), reverse video is used. The default is \*(``XtDefaultForeground\*(''. .TP 8 .B "highlightColorMode (\fPclass\fB HighlightColorMode)" -Specifies whether \fIxterm\fP should use +Specifies whether \fI\*n\fP should use \fBhighlightTextColor\fP and \fBhighlightColor\fP to override the reversed foreground/background colors in a selection. The default is unspecified: -at startup, \fIxterm\fP checks if those resources are set to something +at startup, \fI\*n\fP checks if those resources are set to something other than the default foreground and background colors. Setting this resource disables the check. .IP @@ -2762,25 +2896,25 @@ default true set set HFG/HBG .TE .TP 8 .B "highlightReverse (\fPclass\fB HighlightReverse)" -Specifies whether \fIxterm\fP should reverse the selection foreground +Specifies whether \fI\*n\fP should reverse the selection foreground and background colors when selecting text with reverse-video attribute. This applies only to the \fBhighlightColor\fP and \fBhighlightTextColor\fP resources, e.g., to match the color scheme of \fIxwsh\fP. -If \*(``true\*('', \fIxterm\fP reverses the colors, -If \*(``false\*('', \fIxterm\fP does not reverse colors, +If \*(``true\*('', \fI\*n\fP reverses the colors, +If \*(``false\*('', \fI\*n\fP does not reverse colors, The default is \*(``true\*(''. .TP 8 .B "highlightSelection (\fPclass\fB HighlightSelection)" If \*(``false\*('', selecting with the mouse highlights all positions on the screen between the beginning of the selection and the current position. -If \*(``true\*('', \fIxterm\fP highlights only the positions that contain text that +If \*(``true\*('', \fI\*n\fP highlights only the positions that contain text that can be selected. The default is \*(``false\*(''. .IP Depending on the way your applications write to the screen, there may be trailing blanks on a line. -\fIXterm\fP stores data as it is shown on the screen. +\fI\*N\fP stores data as it is shown on the screen. Erasing the display changes the internal state of each cell so it is not considered a blank for the purpose of selection. Blanks written since the last erase are selectable. @@ -2796,12 +2930,12 @@ The default is \*(``XtDefaultBackground\*(''. Specifies whether to work around a bug in HP's \fIxdb\fP, which ignores termcap and always sends ESC F to move to the lower left corner. -\*(``true\*('' causes \fIxterm\fP to interpret ESC F as a request to move to the +\*(``true\*('' causes \fI\*n\fP to interpret ESC F as a request to move to the lower left corner of the screen. The default is \*(``false\*(''. .TP 8 .B "i18nSelections (\fPclass\fB I18nSelections)" -If false, \fIxterm\fP will not request the targets +If false, \fI\*n\fP will not request the targets .B COMPOUND_TEXT or .BR TEXT . @@ -2810,28 +2944,28 @@ ICCCM violations by other X clients. .TP 8 .B "iconBorderColor (\fPclass\fB BorderColor)" Specifies the border color for the active icon window if this feature -is compiled into \fIxterm\fR. +is compiled into \fI\*n\fR. Not all window managers will make the icon border visible. .TP 8 .B "iconBorderWidth (\fPclass\fB BorderWidth)" Specifies the border width for the active icon window if this feature -is compiled into \fIxterm\fR. +is compiled into \fI\*n\fR. The default is \*(``2\*(''. Not all window managers will make the border visible. .TP 8 .B "iconFont (\fPclass\fB IconFont)" Specifies the font for the miniature active icon window, if this feature -is compiled into \fIxterm\fR. +is compiled into \fI\*n\fR. The default is \*(``nil2\*(''. .TP 8 .B "initialFont (\fPclass\fB InitialFont)" Specifies which of the VT100 fonts to use initially. -Values are the same as for the \fIset-vt-font\fP action. +Values are the same as for the \fBset-vt-font\fP action. The default is \*(``d\*('', i.e., \*(``default\*(''. .TP 8 .B "inputMethod (\fPclass\fB XtCInputMethod)" -Tells \fIxterm\fP which type of input method to use. +Tells \fI\*n\fP which type of input method to use. There is no default method. .TP 8 .B "internalBorder (\fPclass\fB BorderWidth)" @@ -2850,7 +2984,7 @@ The default is \*(``true\*(''. See \fBfastScroll\fP for a variation. .TP 8 .B "keepSelection (\fPclass\fB KeepSelection)" -Specifies whether \fIxterm\fR will keep the selection even after the +Specifies whether \fI\*n\fR will keep the selection even after the selected area was touched by some output to the terminal. The default is \*(``true\*(''. .TP 8 @@ -2876,7 +3010,7 @@ The resource value (ignoring case) may be: .RS .TP 4 .I true -\fIxterm\fR will use the +\fI\*n\fR will use the encoding specified by the users' LC_CTYPE locale (i.e., LC_ALL, LC_CTYPE, or LANG variables) as far as possible. This is realized @@ -2884,22 +3018,22 @@ by always enabling UTF-8 mode and invoking \fIluit\fR in non-UTF-8 locales. .TP .I medium -\fIxterm\fR will follow users' +\fI\*n\fR will follow users' LC_CTYPE locale only for UTF-8, east Asian, and Thai locales, where the encodings were not supported by conventional 8bit mode with changing fonts. -For other locales, \fIxterm\fR will use conventional 8bit mode. +For other locales, \fI\*n\fR will use conventional 8bit mode. .TP .I checkfont -If mini-luit is compiled-in, \fIxterm\fR will check if a Unicode font has +If mini-luit is compiled-in, \fI\*n\fR will check if a Unicode font has been specified. If so, it checks if the character encoding for the current locale is POSIX, Latin-1 or Latin-9, uses the appropriate mapping to support those with the Unicode font. -For other encodings, \fIxterm\fR assumes that UTF-8 encoding is required. +For other encodings, \fI\*n\fR assumes that UTF-8 encoding is required. .TP .I false -\fIxterm\fR will use conventional 8bit mode +\fI\*n\fR will use conventional 8bit mode or UTF-8 mode according to \fButf8\fR resource or \fB\-u8\fP option. .RE .IP @@ -2912,8 +3046,8 @@ The default is \*(``medium\*(''. Regardless of your locale and encoding, you need an ISO-10646-1 font to display the result. Your configuration may not include this font, -or locale-support by \fIxterm\fP may not be needed. -At startup, \fIxterm\fP uses a mechanism equivalent to +or locale-support by \fI\*n\fP may not be needed. +At startup, \fI\*n\fP uses a mechanism equivalent to the \fBload-vt-fonts(utf8Fonts,\ Utf8Fonts)\fP action to load font name subresources of the VT100 widget. That is, @@ -2921,13 +3055,13 @@ resource patterns such as \*(``\fB*vt100.utf8Fonts.font\fP\*('' will be loaded, and (if this resource is enabled), override the normal fonts. If no subresources are found, the normal fonts such as \*(``\fB*vt100.font\fP\*('', etc., are used. -The resource files distributed with \fIxterm\fP use ISO-10646-1 fonts, +The resource files distributed with \fI\*n\fP use ISO-10646-1 fonts, but do not rely on them unless you are using the locale mechanism. .TP 8 .B "localeFilter (\fPclass\fB LocaleFilter)" Specifies the file name for the encoding converter from/to locale encodings and UTF-8 which is used with the \fB\-lc\fR option or \fBlocale\fR resource. -The help message shown by \*(``xterm \-help\*('' lists the default value, +The help message shown by \*(``\*n \-help\*('' lists the default value, which depends on your system configuration. .IP If the encoding converter requires command-line parameters, @@ -2935,6 +3069,7 @@ you can add those after the command, e.g., .NS *localeFilter: xterm-filter -p .NE +.IP Alternatively, you may put those parameter within a shell script to execute the converter, and set this resource to point to the shell script. @@ -2954,16 +3089,16 @@ If \*(``true\*('', Meta characters (a character combined with the \fIMeta\fP modifier key) are converted into a two-character sequence with the character itself preceded by ESC. -This applies as well to function key control sequences, unless \fIxterm\fP +This applies as well to function key control sequences, unless \fI\*n\fP sees that \fBMeta\fP is used in your key translations. If \*(``false\*('', Meta characters input from the keyboard are handled according to the \fBeightBitInput\fP resource. -The default is \*(``false\*(''. +The default is \*(``__meta_sends_esc__\*(''. .TP 8 .B "mkSamplePass (\fPclass\fB MkSamplePass)" If \fBmkSampleSize\fP is nonzero, and \fBmkWidth\fP (and \fBcjkWidth\fP) are false, -on startup \fIxterm\fP compares its built-in tables to the system's +on startup \fI\*n\fP compares its built-in tables to the system's wide character width data to decide if it will use the system's data. It tests the first \fBmkSampleSize\fP character values, and allows up to \fBmkSamplePass\fP mismatches before the test fails. @@ -2975,7 +3110,7 @@ initializing wide character width calculations. The default (number of characters to check) is 1024. .TP 8 .B "mkWidth (\fPclass\fB MkWidth)" -Specifies whether \fIxterm\fP should use a built-in version of the wide +Specifies whether \fI\*n\fP should use a built-in version of the wide character width calculation. See also the \fBcjkWidth\fP resource which can override this. The default is \*(``false\*(''. @@ -2999,17 +3134,24 @@ Tells how to handle the special case where Control-, Shift-, Alt- or Meta-modifiers are used to add a parameter to the escape sequence returned by a cursor-key. The default is \*(``2\*('': -.IP -Set it to \-1 to disable it. -.br -Set it to 0 to use the old/obsolete behavior. -.br -Set it to 1 to prefix modified sequences with CSI. -.br -Set it to 2 to force the modifier to be the second parameter if it would +.RS +.TP 5 +\-1 +disables the feature. +.TP 5 +0 +uses the old/obsolete behavior. +.TP 5 +1 +prefixes modified sequences with CSI. +.TP 5 +2 +forces the modifier to be the second parameter if it would otherwise be the first. -.br -Set it to 3 to mark the sequence with a \*(``>\*('' to hint that it is private. +.TP 5 +3 +marks the sequence with a \*(``>\*('' to hint that it is private. +.RE .TP 8 .B "modifyFunctionKeys (\fPclass\fB ModifyFunctionKeys\fP)" Tells how to handle the special case where @@ -3017,21 +3159,28 @@ Control-, Shift-, Alt- or Meta-modifiers are used to add a parameter to the escape sequence returned by a (numbered) function-key. The default is \*(``2\*(''. The resource values are similar to \fBmodifyCursorKeys\fP: -.IP -Set it to \-1 to permit the user to use shift- and control-modifiers +.RS +.TP 5 +\-1 +permits the user to use shift- and control-modifiers to construct function-key strings using the normal encoding scheme. -.br -Set it to 0 to use the old/obsolete behavior. -.br -Set it to 1 to prefix modified sequences with CSI. -.br -Set it to 2 to force the modifier to be the second parameter if it would +.TP 5 +0 +uses the old/obsolete behavior. +.TP 5 +1 +prefixes modified sequences with CSI. +.TP 5 +2 +forces the modifier to be the second parameter if it would otherwise be the first. -.br -Set it to 3 to mark the sequence with a \*(``>\*('' to hint that it is private. +.TP 5 +3 +marks the sequence with a \*(``>\*('' to hint that it is private. +.RE .IP If \fBmodifyFunctionKeys\fP is zero, -\fIxterm\fP uses Control- and Shift-modifiers to allow the user to +\fI\*n\fP uses Control- and Shift-modifiers to allow the user to construct numbered function-keys beyond the set provided by the keyboard: .RS @@ -3046,15 +3195,40 @@ Control/Shift adds three times the value given by the \fBctrlFKeys\fP resource. .RE .IP -As a special case, -legacy (when \fBoldFunctionKeys\fP is true) -or vt220 (when \fBsunKeyboard\fP is true) keyboards interpret only the -Control-modifier when constructing numbered function-keys. +.TP 8 +.B "modifyKeyboard (\fPclass\fB ModifyKeyboard\fP)" +Normally \fI\*n\fP makes a special case regarding +modifiers (shift, control, etc.) +to handle special keyboard layouts (\fBlegacy\fP and \fBvt220\fP). This is done to provide compatible keyboards for DEC VT220 and related terminals that implement user-defined keys (UDK). +.IP +The bits of the resource value selectively enable +modification of the given category when these keyboards are selected. +The default is \*(``0\*('': +.RS +.TP 5 +0 +The legacy/vt220 keyboards interpret only the +Control-modifier when constructing numbered function-keys. +Other special keys are not modified. +.TP 5 +1 +allows modification of the numeric keypad +.TP 5 +2 +allows modification of the editing keypad +.TP 5 +4 +allows modification of function-keys, +overrides use of Shift-modifier for UDK. +.TP 5 +8 +allows modification of other special keys +.RE .TP 8 .B "modifyOtherKeys (\fPclass\fB ModifyOtherKeys\fP)" -Like \fBmodifyCursorKeys\fP, tells \fIxterm\fP to construct an +Like \fBmodifyCursorKeys\fP, tells \fI\*n\fP to construct an escape sequence for other keys (such as \*(``2\*('') when modified by Control-, Alt- or Meta-modifiers. This feature does not apply to function keys and well-defined @@ -3089,7 +3263,7 @@ bell should be rung, when enabled by the \fBmarginBell\fP resource. The default is \*(``10\*(''. .TP 8 .B "numLock (\fPclass\fB NumLock)" -If \*(``true\*('', \fIxterm\fR checks if NumLock is used as a modifier (see \fIxmodmap\fP(__mansuffix__)). +If \*(``true\*('', \fI\*n\fR checks if NumLock is used as a modifier (see \fIxmodmap\fP(__mansuffix__)). If so, this modifier is used to simplify the logic when implementing special NumLock for the \fBsunKeyboard\fP resource. Also (when \fBsunKeyboard\fP is false), similar logic is used to find the @@ -3097,8 +3271,8 @@ modifier associated with the left and right Alt keys. The default is \*(``true\*(''. .TP 8 .B "oldXtermFKeys (\fPclass\fB OldXtermFKeys)" -If \*(``true\*('', \fIxterm\fR will use old-style control sequences for function keys F1 to F4, -for compatibility with X Consortium \fIxterm\fR. +If \*(``true\*('', \fI\*n\fR will use old-style control sequences for function keys F1 to F4, +for compatibility with X Consortium \fI\*n\fR. Otherwise, it uses the VT100-style codes for PF1 to PF4. The default is \*(``false\*(''. @@ -3143,7 +3317,7 @@ follows in the resource value. .TP none No selection action is associated with this resource. -\fIxterm\fP interprets it as the end of the list. +\fI\*n\fP interprets it as the end of the list. For example, you may use it to disable triple (and higher) clicking by setting \fBon3Clicks\fP to \*(``none\*(''. .RE @@ -3152,11 +3326,11 @@ The default values for \fBon2Clicks\fP and \fBon3Clicks\fP are \*(``word\*('' and \*(``line\*('', respectively. There is no default value for \fBon4Clicks\fP or \fBon5Clicks\fP, making those inactive. -On startup, \fIxterm\fP determines the maximum number of clicks +On startup, \fI\*n\fP determines the maximum number of clicks by the \fBon\fP\fIX\fP\fBClicks\fP resource values which are set. .TP 8 .B "openIm (\fPclass\fB XtCOpenIm)" -Tells \fIxterm\fP whether to open the input method at startup. +Tells \fI\*n\fP whether to open the input method at startup. The default is \*(``true\*(''. .TP 8 .B "pointerColor (\fPclass\fB PointerColor)" @@ -3180,7 +3354,7 @@ never. This is the default. .TP 3 1 -the application running in \fIxterm\fP has not activated mouse mode. +the application running in \fI\*n\fP has not activated mouse mode. .TP 3 2 always. @@ -3199,13 +3373,13 @@ However, the \fBzIconBeep\fP resource provides you with the ability to see which iconified windows have sounded a bell. .TP 8 .B "precompose (\fPclass\fB XtCPrecompose)" -Tells \fIxterm\fP whether to precompose UTF-8 data into Normalization Form C, +Tells \fI\*n\fP whether to precompose UTF-8 data into Normalization Form C, which combines commonly-used accents onto base characters. If it does not do this, accents are left as separatate characters. The default is \*(``true\*(''. .TP 8 .B "preeditType (\fPclass\fB XtCPreeditType)" -Tells \fIxterm\fP which types of preedit (preconversion) string to display. +Tells \fI\*n\fP which types of preedit (preconversion) string to display. The default is \*(``OverTheSpot,Root\*(''. .TP 8 .B "printAttributes (\fPclass\fB PrintAttributes)" @@ -3226,7 +3400,7 @@ The default is \*(``1\*(''. .TP 8 .B "printFileImmediate (\fPPrintFileImmediate)" When the \fBprint-immediate\fP action is invoked, -\fIxterm\fP prints the screen contents directly to a file. +\fI\*n\fP prints the screen contents directly to a file. Set this resource to the prefix of the filename (a timestamp will be appended to the actual name). .IP @@ -3235,7 +3409,7 @@ However, when the \fBprint-immediate\fP action is invoked, if the string is empty, then \*(``__default_class__\*('' is used. .TP 8 .B "printFileOnXError (\fPPrintFileOnXError)" -If \fIxterm\fP exits with an X error, +If \fI\*n\fP exits with an X error, e.g., your connection is broken when the server crashes, it can be told to write the contents of the screen to a file. To enable the feature, set this resource to the prefix of the filename @@ -3253,14 +3427,14 @@ ERROR_ICEERROR. .TP 8 .B "printModeImmediate (\fPPrintModeImmediate)" When the \fBprint-immediate\fP action is invoked, -\fIxterm\fP prints the screen contents directly to a file. +\fI\*n\fP prints the screen contents directly to a file. You can use the \fBprintModeImmediate\fP resource to tell it to use escape sequences to reconstruct the video attributes and colors. This uses the same values as the \fBprintAttributes\fP resource. The default is \*(``0\*(''. .TP 8 .B "printModeOnXError (\fPPrintModeOnXError)" -\fIXterm\fP implements the \fBprintFileOnXError\fP feature using +\fI\*N\fP implements the \fBprintFileOnXError\fP feature using the printer feature, although the output is written directly to a file. You can use the \fBprintModeOnXError\fP resource to tell it to use escape sequences to reconstruct the video attributes and colors. @@ -3281,7 +3455,7 @@ the bits of this resource value (checked in descending order) select the range: .RS .TP 3 -8 +8 selects the saved lines. .TP 3 4 @@ -3308,13 +3482,13 @@ The default is \*(``9\*('', which selects the current visible screen plus saved lines, with no special case for the alternated screen. .TP 8 .B "printerAutoClose (\fPclass\fB PrinterAutoClose)" -If \*(``true\*('', \fIxterm\fR will close the printer (a pipe) when the application switches +If \*(``true\*('', \fI\*n\fR will close the printer (a pipe) when the application switches the printer offline with a Media Copy command. The default is \*(``false\*(''. .TP 8 .B "printerCommand (\fPclass\fB PrinterCommand)" Specifies a shell command to which -.I xterm +.I \*n will open a pipe when the first MC (Media Copy) command is initiated. The default is an empty string, i.e., \*(``\*(''. @@ -3323,7 +3497,7 @@ If the resource value is given as an empty string, the printer is disabled. .B "printerControlMode (\fPclass\fB PrinterControlMode)" Specifies the printer control mode. A \*(``1\*('' selects autoprint mode, which causes -.I xterm +.I \*n to print a line from the screen when you move the cursor off that line with a line feed, form feed or vertical tab character, or an autowrap occurs. @@ -3353,7 +3527,7 @@ event types are received during change of focus. The default is \*(``false\*(''. .TP 8 .B "renderFont (\fPclass\fB RenderFont)" -If \fIxterm\fR is built with the Xft library, +If \fI\*n\fR is built with the Xft library, this controls whether the \fBfaceName\fR resource is used. The default is \*(``default\*(''. .IP @@ -3382,7 +3556,7 @@ menu entry to allow runtime switching to/from TrueType fonts. .IP If there is no \fBfaceName\fP resource set, then runtime switching to TrueType fonts is disabled. -\fIXterm\fP has a separate compiled-in value for \fBfaceName\fP +\fI\*N\fP has a separate compiled-in value for \fBfaceName\fP for the special case where \fBrenderFont\fP is \*(``default\*(''. That is normally \*(``mono\*(''. .RE @@ -3405,7 +3579,7 @@ screen; if the window is made shorter, lines will be scrolled off the top of the screen, and the top saved lines will be dropped. .TP 8 .B "retryInputMethod (\fPclass\fB XtCRetryInputMethod)" -Tells \fIxterm\fP how many times to retry, +Tells \fI\*n\fP how many times to retry, in case the input-method server is not responding. This is a different issue than unsupported preedit type, etc. You may encounter retries if your X configuration (and its libraries) @@ -3418,18 +3592,18 @@ Specifies whether or not reverse video should be simulated. The default is \*(``false\*(''. .IP -There are several aspects to reverse video in \fIxterm\fP: +There are several aspects to reverse video in \fI\*n\fP: .RS .bP The command-line \fB\-rv\fP option tells the X libraries to reverse the foreground and background colors. -\fIXterm\fP's command-line options set resource values. +\fI\*N\fP's command-line options set resource values. In particular, the X Toolkit sets the \fBreverseVideo\fP resource when the \fB\-rv\fP option is used. .bP -If the user has also used command-line options \fB\-fg\fP or \fB\-bg\fP +If the user has also used command-line options \fB\-fg\fP or \fB\-bg\fP to set the foreground and background colors, -\fIxterm\fP does not see these options directly. +\fI\*n\fP does not see these options directly. Instead, it examines the resource values to reconstruct the command-line options, and determine which of the colors is the user's intended foreground, etc. @@ -3446,10 +3620,10 @@ Because of the X resource hierarchy, the \fBreverseVideo\fP resource applies to more than the VT100 widget. .RE .IP -Programs running in an \fIxterm\fP can also use control sequences +Programs running in an \fI\*n\fP can also use control sequences to enable the VT100 reverse video mode. These are independent of the \fIreverseVideo\fP resource and the menu entry. -\fIXterm\fP exchanges the current foreground and background colors +\fI\*N\fP exchanges the current foreground and background colors when drawing text affected by these control sequences. .IP Other control sequences can alter the foreground and background colors @@ -3468,7 +3642,7 @@ a program can change the foreground and background colors. .TP 8 .B "reverseWrap (\fPclass\fB ReverseWrap)" Specifies whether or not reverse-wraparound should be enabled. -This corresponds to \fIxterm\fP's private mode 45. +This corresponds to \fI\*n\fP's private mode 45. The default is \*(``false\*(''. .TP 8 @@ -3489,7 +3663,7 @@ The default is .TP 8 .B "scrollBarBorder (\fPclass\fB ScrollBarBorder)" Specifies the width of the scrollbar border. -Note that this is drawn to overlap the border of the \fIxterm\fP window. +Note that this is drawn to overlap the border of the \fI\*n\fP window. Modifying the scrollbar's border affects only the line between the VT100 widget and the scrollbar. The default value is 1. @@ -3497,13 +3671,13 @@ The default value is 1. .B "scrollKey (\fPclass\fB ScrollCond)" Specifies whether or not pressing a key should automatically cause the scrollbar to go to the bottom of the scrolling region. -This corresponds to \fIxterm\fP's private mode 1011. +This corresponds to \fI\*n\fP's private mode 1011. The default is \*(``false\*(''. .TP 8 .B "scrollLines (\fPclass\fB ScrollLines)" Specifies the number of lines that the \fIscroll-back\fP and -\fIscroll-forw\fP actions should use as a default. +\fBscroll-forw\fP actions should use as a default. The default value is 1. .TP 8 .B "scrollTtyOutput (\fPclass\fB ScrollCond)" @@ -3512,7 +3686,7 @@ the scrollbar to go to the bottom of the scrolling region. The default is \*(``true\*(''. .TP .B "selectToClipboard (\fPclass\fB SelectToClipboard)" -Tells \fIxterm\fP whether to use the PRIMARY or CLIPBOARD for +Tells \fI\*n\fP whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the selection mechanism. The \fBset-select\fP action can change this at runtime, allowing the user to work with programs that handle only one of these @@ -3527,26 +3701,26 @@ the shifted KP_Add and KP_Subtract. The default is \*(``true\*(''. .TP 8 .B "showBlinkAsBold (\fPclass\fB ShowBlinkAsBold)" -Tells \fIxterm\fP whether to display text with blink-attribute the same +Tells \fI\*n\fP whether to display text with blink-attribute the same as bold. -If \fIxterm\fP has not been configured to support blinking text, -the default is \*(``true\*('', which corresponds to older versions of \fIxterm\fP, +If \fI\*n\fP has not been configured to support blinking text, +the default is \*(``true\*('', which corresponds to older versions of \fI\*n\fP, otherwise the default is \*(``false\*(''. .TP 8 .B "showMissingGlyphs (\fPclass\fB ShowMissingGlyphs)" -Tells \fIxterm\fP whether to display a box outlining places where +Tells \fI\*n\fP whether to display a box outlining places where a character has been used that the font does not represent. The default is \*(``false\*(''. .TP 8 .B "showWrapMarks (\fPclass\fB ShowWrapMarks)" -For debugging \fIxterm\fP and applications that may manipulate the +For debugging \fI\*n\fP and applications that may manipulate the wrapped-line flag by writing text at the right margin, show a mark on the right inner-border of the window. The mark shows which lines have the flag set. .TP 8 .B "signalInhibit (\fPclass\fB SignalInhibit)" Specifies whether or not the entries in the \*(``Main Options\*('' menu for sending -signals to \fIxterm\fP should be disallowed. +signals to \fI\*n\fP should be disallowed. The default is \*(``false\*(''. .TP 8 .B "tekGeometry (\fPclass\fB Geometry)" @@ -3563,16 +3737,16 @@ The default is .B "tekSmall (\fPclass\fB TekSmall)" Specifies whether or not the Tektronix mode window should start in its smallest size if no explicit geometry is given. -This is useful when running \fIxterm\fP +This is useful when running \fI\*n\fP on displays with small screens. The default is \*(``false\*(''. .TP 8 .B "tekStartup (\fPclass\fB TekStartup)" -Specifies whether or not \fIxterm\fP should start up in Tektronix mode. +Specifies whether or not \fI\*n\fP should start up in Tektronix mode. The default is \*(``false\*(''. .TP 8 .B "tiXtraScroll (\fPclass\fB TiXtraScroll)" -Specifies whether \fIxterm\fP should scroll to a new page when processing +Specifies whether \fI\*n\fP should scroll to a new page when processing the \fIti\fP termcap entry, i.e., the private modes 47, 1047 or 1049. This is only in effect if \fBtiteInhibit\fP is \*(``true\*('', because the intent of this option is to provide a picture of the full-screen @@ -3581,19 +3755,19 @@ would be shown before the application was initialized. The default for this resource is \*(``false\*(''. .TP 8 .B "titeInhibit (\fPclass\fB TiteInhibit)" -Specifies whether or not \fIxterm\fP should remove \fIti\fP and \fIte\fP +Specifies whether or not \fI\*n\fP should remove \fIti\fP and \fIte\fP termcap entries (used to switch between alternate screens on startup of many screen-oriented programs) from the TERMCAP string. If set, -\fIxterm\fP also ignores the escape sequence to switch to the +\fI\*n\fP also ignores the escape sequence to switch to the alternate screen. -\fIXterm\fP supports terminfo in a different way, supporting composite control +\fI\*N\fP supports terminfo in a different way, supporting composite control sequences (also known as private modes) 1047, 1048 and 1049 which have the same effect as the original 47 control sequence. The default for this resource is \*(``false\*(''. .TP 8 .B "titleModes (\fPclass\fB TitleModes)" -Tells \fIxterm\fP whether to accept or return +Tells \fI\*n\fP whether to accept or return window- and icon-labels in ISO-8859-1 (the default) or UTF-8. Either can be encoded in hexadecimal. @@ -3621,7 +3795,7 @@ Query window/icon labels using UTF-8 Specifies the key and button bindings for menus, selections, \*(``programmed strings\*('', etc. The \fBtranslations\fP resource, -which provides much of \fIxterm\fP's configurability, +which provides much of \fI\*n\fP's configurability, is a feature of the X Toolkit Intrinsics library (Xt). See the \fBACTIONS\fP section. .TP 8 @@ -3632,7 +3806,7 @@ Clearing the screen (or a line) resets it to a state containing no spaces. Some lines may contain trailing spaces when an application writes them to the screen. However, you may not wish to paste lines with trailing spaces. -If this resource is true, \fIxterm\fP will trim trailing spaces from +If this resource is true, \fI\*n\fP will trim trailing spaces from text which is selected. It does not affect spaces which result in a wrapped line, nor will it trim the trailing newline from your selection. @@ -3646,19 +3820,19 @@ used for the underline attribute. The default is \*(``true\*(''. .TP 8 .B "useClipping (\fPclass\fB UseClipping)" -Tell \fIxterm\fP whether to use clipping to keep +Tell \fI\*n\fP whether to use clipping to keep from producing dots outside the text drawing area. Originally used to work around for overstriking effects, this is also needed to work with some incorrectly-sized fonts. The default is \*(``true\*(''. .TP 8 .B "utf8 (\fPclass\fB Utf8)" -This specifies whether \fIxterm\fP will run in UTF-8 mode. -If you set this resource, \fIxterm\fP also sets the \fBwideChars\fP resource as a side-effect. +This specifies whether \fI\*n\fP will run in UTF-8 mode. +If you set this resource, \fI\*n\fP also sets the \fBwideChars\fP resource as a side-effect. The resource can be set via the menu entry \*(``UTF-8 Encoding\*(''. The default is \*(``default\*(''. .IP -\fIXterm\fP accepts either a keyword (ignoring case) +\fI\*N\fP accepts either a keyword (ignoring case) or the number shown in parentheses: .RS .TP 3 @@ -3690,13 +3864,13 @@ escape sequences for turning UTF-8 mode on/off are allowed. .TP 8 .B "utf8Fonts (\fPclass\fB Utf8Fonts)" See the discussion of the \fBlocale\fP resource. -This specifies whether \fIxterm\fP will use UTF-8 fonts specified via -resource patterns such as \*(``\fB*vt100.utf8Fonts.font\fP\*('' +This specifies whether \fI\*n\fP will use UTF-8 fonts specified via +resource patterns such as \*(``\fB*vt100.utf8Fonts.font\fP\*('' or normal (ISO-8859-1) fonts via patterns such as \*(``\fB*vt100.font\fP\*(''. The resource can be set via the menu entry \*(``UTF-8 Fonts\*(''. The default is \*(``default\*(''. .IP -\fIXterm\fP accepts either a keyword (ignoring case) +\fI\*N\fP accepts either a keyword (ignoring case) or the number shown in parentheses: .RS .TP @@ -3727,17 +3901,17 @@ via the \fB\-fw\fP option or its corresponding resource value. The default is \*(``false\*(''. .TP 8 .B "utf8SelectTypes (\fPclass\fB Utf8SelectTypes)" -Override \fIxterm\fP's default selection target list (see SELECT/PASTE) for +Override \fI\*n\fP's default selection target list (see SELECT/PASTE) for selections in wide-character (UTF-8) mode. The default is an empty string, i.e., \*(``\*('', which does not override anything. .TP 8 .B "utf8Title (\fPclass\fB Utf8Title)" -Applications can set \fIxterm\fP's title by writing a control sequence. +Applications can set \fI\*n\fP's title by writing a control sequence. Normally this control sequence follows the VT220 convention, which encodes the string in ISO-8859-1 and allows for an 8-bit string terminator. -If \fIxterm\fP is started in a UTF-8 locale, +If \fI\*n\fP is started in a UTF-8 locale, it translates the ISO-8859-1 string to UTF-8 to work with the X libraries which assume the string is UTF-8. .IP @@ -3749,7 +3923,7 @@ That cancels the translation to UTF-8, allowing UTF-8 strings to be displayed as is. .IP This feature is available as a menu entry, since it is related to -the particular applications you are running within \fIxterm\fP. +the particular applications you are running within \fI\*n\fP. You can also use a control sequence (see the discussion of \*(``Title Modes\*('' in the control sequences document), to set an equivalent flag. @@ -3776,7 +3950,7 @@ The default is \*(``0\*(''. .B "visualBell (\fPclass\fB VisualBell)" Specifies whether or not a visible bell (i.e., flashing) should be used instead of an audible bell when Control-G is received. -The default is \*(``false\*('', which tells \fIxterm\fP to use an audible bell. +The default is \*(``false\*('', which tells \fI\*n\fP to use an audible bell. .TP 8 .B "visualBellDelay (\fPclass\fB VisualBellDelay)" Number of milliseconds to delay when displaying a visual bell. @@ -3788,10 +3962,10 @@ This is useful for very slow displays, e.g., an LCD display on a laptop. Specifies whether to flash only the current line when displaying a visual bell. rather than flashing the entire screen: The default is \*(``false\*('', -which tells \fIxterm\fP to flash the entire screen. +which tells \fI\*n\fP to flash the entire screen. .TP 8 .B "vt100Graphics (\fPclass\fB VT100Graphics)" -This specifies whether \fIxterm\fP will interpret VT100 graphic character +This specifies whether \fI\*n\fP will interpret VT100 graphic character escape sequences while in UTF-8 mode. The default is \*(``true\*('', to provide support for various legacy applications. .TP 8 @@ -3804,7 +3978,7 @@ If no double-width font is found, it will improvise, by stretching the bold font. .TP 8 .B "wideChars (\fPclass\fB WideChars)" -Specifies if \fIxterm\fP should respond to control sequences that +Specifies if \fI\*n\fP should respond to control sequences that process 16-bit characters. The default is \*(``false\*(''. .TP 8 @@ -3825,7 +3999,7 @@ string is displayed at the position of the cursor. It is the XIM server's responsibility to display the preedit string. The XIM client must inform the XIM server of the cursor position. For best results, the preedit string must be displayed with a proper font. -Therefore, \fIxterm\fP informs the XIM server of the proper font. +Therefore, \fI\*n\fP informs the XIM server of the proper font. The font is be supplied by a "fontset", whose default value is \*(``*\*(''. This matches every font, the X library automatically chooses fonts with proper charsets. @@ -3860,7 +4034,7 @@ Specifies the height of the Tektronix window in pixels. .TP 8 .B "initialFont (\fPclass\fB InitialFont)" Specifies which of the four Tektronix fonts to use initially. -Values are the same as for the \fIset-tek-text\fP action. +Values are the same as for the \fBset-tek-text\fP action. The default is \*(``large\*(''. .TP 8 .B "width (\fPclass\fB Width)" @@ -4017,8 +4191,8 @@ This entry invokes the \fBset-titeInhibit(toggle)\fP action. .TP 8 .B "activeicon (\fPclass\fB SmeBSB)" This entry toggles active icons on and off if this feature was -compiled into \fIxterm\fP. -It is enabled only if \fIxterm\fP +compiled into \fI\*n\fP. +It is enabled only if \fI\*n\fP was started with the command line option +ai or the \fBactiveIcon\fP resource is set to \*(``true\*(''. .TP 8 @@ -4146,7 +4320,7 @@ foreground and background color. . .PP Once the VT102 window is created, -.I xterm +.I \*n allows you to select text and copy it within the same or other windows. . .SS "SELECTION" @@ -4164,7 +4338,6 @@ and releasing the button. The selected text is highlighted and is saved in the global cut buffer and made the PRIMARY selection when the button is released. Normally (but see the discussion of \fBon2Clicks\fP, etc): -.RS .bP Double-clicking selects by words. .bP @@ -4172,15 +4345,14 @@ Triple-clicking selects by lines. .bP Quadruple-clicking goes back to characters, etc. -.RE .PP Multiple-click is determined by the time from button up to button down, so you can change the selection unit in the middle of a selection. Logical words and lines selected by double- or triple-clicking may wrap -across more than one screen line if lines were wrapped by \fIxterm\fP +across more than one screen line if lines were wrapped by \fI\*n\fP itself rather than by the application running in the window. If the key/button bindings specify that an X selection is to be made, -\fIxterm\fP will leave the selected text highlighted for as long as it +\fI\*n\fP will leave the selected text highlighted for as long as it is the selection owner. . .PP @@ -4198,7 +4370,7 @@ the right edge of the selection than the left, it extends/contracts the right edge of the selection. If you contract the selection past the left edge of the selection, -.I xterm +.I \*n assumes you really meant the left edge, restores the original selection, then extends/contracts the left edge of the selection. Extension starts in the @@ -4259,14 +4431,14 @@ X clients provide select and paste support by responding to requests conveyed by the server. .SS PRIMARY When configured to use the primary selection, -(the default) \fIxterm\fP can +(the default) \fI\*n\fP can provide the selection data in ways which help to retain character encoding information as it is pasted. .PP -A user \*(``selects\*('' text on xterm, which highlights the selected text. +A user \*(``selects\*('' text on \*n, which highlights the selected text. A subsequent \*(``paste\*('' to another client forwards a request to the client owning the selection. -If \fIxterm\fP owns the primary selection, it makes the data +If \fI\*n\fP owns the primary selection, it makes the data available in the form of one or more \*(``selection targets\*(''. If it does not own the primary selection, e.g., if it has released it or another client has @@ -4286,12 +4458,12 @@ client asks for. These are termed \fIselection targets\fP. .PP When asking for the selection data, -\fIxterm\fP tries the following types in this order: +\fI\*n\fP tries the following types in this order: .RS .TP 5 UTF8_STRING This is an XFree86 extension, which denotes that the data is encoded in UTF-8. -When \fIxterm\fP is built with wide-character support, +When \fI\*n\fP is built with wide-character support, it both accepts and provides this type. .TP 5 TEXT @@ -4307,19 +4479,19 @@ STRING This is Latin 1 (ISO-8859-1) data. .RE .PP -The middle two (TEXT and COMPOUND_TEXT) are added if \fIxterm\fP +The middle two (TEXT and COMPOUND_TEXT) are added if \fI\*n\fP is configured with the \fBi18nSelections\fP resource set to \*(``true\*(''. .PP UTF8_STRING is preferred (therefore first in the list) -since \fIxterm\fP stores text as Unicode data when +since \fI\*n\fP stores text as Unicode data when running in wide-character mode, and no translation is needed. On the other hand, TEXT and COMPOUND_TEXT may require translation. If the translation is incomplete, they will insert X's \*(``defaultString\*('' whose value cannot be set, and may simply be empty. -\fIXterm\fP's \fBdefaultString\fP resource specifies the string to +\fI\*N\fP's \fBdefaultString\fP resource specifies the string to use for incomplete translations of the UTF8_STRING. .PP -You can alter the types which \fIxterm\fP tries using the +You can alter the types which \fI\*n\fP tries using the \fBeightBitSelectTypes\fP or \fButf8SelectTypes\fP resources. For instance, you might have some specific locale setting which does not use UTF-8 encoding. @@ -4363,7 +4535,7 @@ name in parenthesis. .\" ************************************************************************ .SS "Main Options" .PP -The \fIxterm\fP \fImainMenu\fP pops up +The \fI\*n\fP \fImainMenu\fP pops up when the \*(``control\*('' key and pointer button one are pressed in a window. This menu contains items that apply to both the VT102 and Tektronix windows. There are several sections: @@ -4410,7 +4582,7 @@ resources. .TP Print-All on Error Invokes the \fBprint-on-error\fP action, -which toggles a flag telling \fIxterm\fP that if it exits with an X error, +which toggles a flag telling \fI\*n\fP that if it exits with an X error, to send the text of the current window directly to a file, as specified by the \fBprintFileXError\fP, @@ -4434,11 +4606,11 @@ Modes for setting keyboard style: .RS .TP 8-Bit Controls (8-bit-control) -Enabled for VT220 emulation, this controls whether \fIxterm\fP will send +Enabled for VT220 emulation, this controls whether \fI\*n\fP will send 8-bit control sequences rather than using 7-bit (ASCII) controls, e.g., sending a byte in the range 128-159 rather than the escape character followed by a second byte. -\fIXterm\fP always interprets both 8-bit and 7-bit control sequences +\fI\*N\fP always interprets both 8-bit and 7-bit control sequences (see the document \fIXterm Control Sequences\fP). This corresponds to the \fBeightBitControl\fP resource. .TP @@ -4495,7 +4667,7 @@ Send TERM Signal (terminate) Send KILL Signal (kill) These send the SIGTSTP, SIGCONT, SIGINT, SIGHUP, SIGTERM and SIGKILL signals respectively, to the process group of the process running under -.I xterm +.I \*n (usually the shell). The .B SIGCONT @@ -4506,7 +4678,7 @@ Quit (quit) Stop processing X events except to support the \fB-hold\fP option, and then send a SIGHUP signal to the the process group of the process running under -.I xterm +.I \*n (usually the shell). .RE .PP @@ -4621,10 +4793,10 @@ resource. . .TP Keep Selection (keepSelection) -Tell \fIxterm\fP whether to disown the selection when it stops highlighting it, +Tell \fI\*n\fP whether to disown the selection when it stops highlighting it, e.g., when an application modifies the display so that it no longer matches the text which has been highlighted. -As long as \fIxterm\fP continues to own the selection, +As long as \fI\*n\fP continues to own the selection, it can provide the corresponding text to other clients via cut/paste. This corresponds to the .B keepSelection @@ -4633,7 +4805,7 @@ There is no corresponding command-line option. . .TP Select to Clipboard (selectToClipboard) -Tell \fIxterm\fP whether to use the PRIMARY or CLIPBOARD +Tell \fI\*n\fP whether to use the PRIMARY or CLIPBOARD for SELECT tokens in the \fBtranslations\fP resource which maps keyboard and mouse actions to select/paste actions. This corresponds to the @@ -4713,7 +4885,7 @@ Do Full Reset (hardreset) The full reset entry will clear the screen, reset tabs to every eight columns, and reset the terminal modes (such as wrap and smooth scroll) to their initial states just after -.I xterm +.I \*n has finished processing the command line options. This corresponds to the VT102 RIS control sequence, with a few obvious differences. @@ -4827,22 +4999,22 @@ The second section allows you to modify the way it is displayed: .TP Bold Fonts This is normally checked (enabled). -When unchecked, \fIxterm\fP will not use bold fonts. +When unchecked, \fI\*n\fP will not use bold fonts. The setting corresponds to the \fBallowBoldFonts\fP resource. .TP Line-Drawing Characters (font-linedrawing) -When set, tells \fIxterm\fP to draw its own line-drawing characters. +When set, tells \fI\*n\fP to draw its own line-drawing characters. Otherwise it relies on the font containing these. Compare to the \fBforceBoxChars\fP resource. .TP Packed Font (font-packed) -When set, tells \fIxterm\fP to use the minimum glyph-width from a font +When set, tells \fI\*n\fP to use the minimum glyph-width from a font when displaying characters. Use the maximum width (unchecked) to help display proportional fonts. Compare to the \fBforcePackedFont\fP resource. .TP Doublesized Characters (font-doublesize) -When set, \fIxterm\fP may ask the font server to produce scaled versions +When set, \fI\*n\fP may ask the font server to produce scaled versions of the normal font, for VT102 double-size characters. .RE .PP @@ -4853,23 +5025,23 @@ TrueType Fonts (render-font) If the .B "renderFont and corresponding resources were set, -this is a further control whether \fIxterm\fP will actually use the +this is a further control whether \fI\*n\fP will actually use the Xft library calls to obtain a font. .TP UTF-8 Encoding (utf8-mode) -This controls whether \fIxterm\fP uses UTF-8 encoding of input/output. -It is useful for temporarily switching \fIxterm\fP to display +This controls whether \fI\*n\fP uses UTF-8 encoding of input/output. +It is useful for temporarily switching \fI\*n\fP to display text from an application which does not follow the locale settings. It corresponds to the \fButf8\fP resource. .TP UTF-8 Fonts (utf8-fonts) -This controls whether \fIxterm\fP uses UTF-8 fonts for display. -It is useful for temporarily switching \fIxterm\fP to display +This controls whether \fI\*n\fP uses UTF-8 fonts for display. +It is useful for temporarily switching \fI\*n\fP to display text from an application which does not follow the locale settings. It combines the \fButf8\fP and \fButf8Fonts\fP resources. .TP UTF-8 Titles (utf8-titles) -This controls whether \fIxterm\fP accepts UTF-8 encoding for +This controls whether \fI\*n\fP accepts UTF-8 encoding for title control sequences. It corresponds to the \fButf8Fonts\fP resource. .IP @@ -4882,12 +5054,13 @@ subresources, then the checkmark also is disabled. The standard \fB__default_class__\fP app-defaults file defines both sets of fonts, while the \fBU__default_class__\fP app-defaults file defines only one set. assuming the standard app-defaults files, -this command will launch \fIxterm\fP able to switch between UTF-8 +this command will launch \fI\*n\fP able to switch between UTF-8 and ISO-8859-1 encoded fonts: .NS -uxterm -class __default_class__ +u\*n -class __default_class__ .NE .RE +.IP The fourth section allows you to enable or disable special operations which can be controlled by writing escape sequences to the terminal. These are disabled if the SendEvents feature is enabled: @@ -4993,13 +5166,13 @@ The best solution to this problem is to use a better authorization mechanism than is provided by X. .PP Subject to all of these caveats, -a simple mechanism exists for protecting keyboard input in \fIxterm\fP. +a simple mechanism exists for protecting keyboard input in \fI\*n\fP. . .PP -The \fIxterm\fP menu (see \fBMENUS\fP above) contains a \fBSecure Keyboard\fP +The \fI\*n\fP menu (see \fBMENUS\fP above) contains a \fBSecure Keyboard\fP entry which, when enabled, attempts to ensure that all keyboard input is directed -\fIonly\fP to \fIxterm\fP (using the GrabKeyboard protocol request). +\fIonly\fP to \fI\*n\fP (using the GrabKeyboard protocol request). When an application prompts you for a password (or other sensitive data), you can enable \fBSecure Keyboard\fP using the menu, type in the data, and then disable \fBSecure Keyboard\fP using @@ -5030,7 +5203,7 @@ You can also bring up the menu again and make sure that a check mark appears next to the entry. . .PP -\fBSecure Keyboard\fP mode will be disabled automatically if your \fIxterm\fP +\fBSecure Keyboard\fP mode will be disabled automatically if your \fI\*n\fP window becomes iconified (or otherwise unmapped), or if you start up a reparenting window manager (that places a title bar or other decoration around the window) while in \fBSecure Keyboard\fP mode. @@ -5132,6 +5305,7 @@ static int charClass[256] = { /\(** o/ u` u\*(AQ u^ u: y\*(AQ P y: */ 48, 48, 48, 48, 48, 48, 48, 48}; .NE +.IP For example, the string \*(``33:48,37:48,45\-47:48,38:48\*('' indicates that the exclamation mark, percent sign, dash, period, slash, and ampersand characters should be treated the same way as characters and numbers. @@ -5139,39 +5313,41 @@ This is useful for cutting and pasting electronic mailing addresses and filenames. . . -.SH ACTIONS +.SH KEY BINDINGS +.PP It is possible to rebind keys (or sequences of keys) to arbitrary strings for input, by changing the \fBtranslations\fP resources for the vt100 or tek4014 widgets. Changing the \fBtranslations\fP resource for events other than key and button events is not expected, and will cause unpredictable behavior. +.SS ACTIONS The following actions are provided for use within the \fIvt100\fP or \fItek4014\fP \fBtranslations\fP resources: .TP 8 .B "allow-color-ops(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowColorOps\fP resource and is also +This action sets, unsets or toggles the \fBallowColorOps\fP resource and is also invoked by the \fBallow-color-ops\fP entry in \fIfontMenu\fP. .TP 8 .B "allow-font-ops(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowFontOps\fP resource and is also +This action sets, unsets or toggles the \fBallowFontOps\fP resource and is also invoked by the \fBallow-font-ops\fP entry in \fIfontMenu\fP. .TP 8 .B "allow-send-events(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowSendEvents\fP resource and is also +This action sets, unsets or toggles the \fBallowSendEvents\fP resource and is also invoked by the \fBallowsends\fP entry in \fImainMenu\fP. .TP 8 .B "allow-tcap-ops(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowTcapOps\fP resource and is also +This action sets, unsets or toggles the \fBallowTcapOps\fP resource and is also invoked by the \fBallow-tcap-ops\fP entry in \fIfontMenu\fP. .TP 8 .B "allow-title-ops(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowTitleOps\fP resource and is also +This action sets, unsets or toggles the \fBallowTitleOps\fP resource and is also invoked by the \fBallow-title-ops\fP entry in \fIfontMenu\fP. .TP 8 .B "allow-window-ops(\fIon/off/toggle\fP)" -This action set or toggles the \fBallowWindowOps\fP resource and is also +This action sets, unsets or toggles the \fBallowWindowOps\fP resource and is also invoked by the \fBallow-window-ops\fP entry in \fIfontMenu\fP. .TP 8 .B "alt-sends-escape()" @@ -5194,7 +5370,7 @@ 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, +This action creates one of the menus used by \fI\*n\fP, if it has not been previously created. The parameter values are the menu names: \fImainMenu\fP, \fIvtMenu\fP, \fIfontMenu\fP, \fItekMenu\fP, respectively. @@ -5213,7 +5389,7 @@ Consecutive identical expansions are ignored. The word here is defined as a sequence of non-whitespace characters. This feature partially emulates the behavior of \*(``dynamic abbreviation\*('' expansion in Emacs (bound there to M\-/). -Here is a resource setting for \fIxterm\fP which will do the same thing: +Here is a resource setting for \fI\*n\fP which will do the same thing: .NS *VT100*translations: #override \\n\\\& Meta <KeyPress> /:dabbrev-expand() @@ -5234,8 +5410,8 @@ by echoing the event's position ^X ESC G <line+\*(`` \*(''> <col+\*(`` \*(''> .in -8 .TP 8 -.B "fullscreen()" -Asks the window manager to change the window to full-screen. +.B "fullscreen(\fIon/off/toggle\fP)" +This action sets, unsets or toggles the \fBfullscreen\fP resource. .TP 8 .B "iconify()" Iconifies the window. @@ -5266,11 +5442,11 @@ The \fBmetaSendsEscape\fP resource is tested first. See the \fBeightBitInput\fP resource for a full discussion. .IP The term \*(``eight-bit\*('' is misleading: -\fIxterm\fP checks if the key is in the range 128 to 255 +\fI\*n\fP checks if the key is in the range 128 to 255 (the eighth bit is set). If the value is in that range, depending on the resource values, -\fIxterm\fP may then do one of the following: +\fI\*n\fP may then do one of the following: .RS .bP add 128 to the value, setting its eighth bit, @@ -5325,8 +5501,8 @@ using the same convention as \*(``%V\*(''. .RE .IP After constructing the command-string, -\fIxterm\fP forks a subprocess and executes the command, -which completes independently of xterm. +\fI\*n\fP forks a subprocess and executes the command, +which completes independently of \*n. .TP 8 .B "exec-selectable(\fIformat\fP, \fIonClicks\fP)" Execute an external command, @@ -5362,7 +5538,7 @@ typically named \fICUT_BUFFER0\fP through \fICUT_BUFFER7\fP. .B "insert-seven-bit()" This action is a synonym for \fBinsert()\fP The term \*(``seven-bit\*('' is misleading: -it only implies that \fIxterm\fP does not try to add 128 to the key's value +it only implies that \fI\*n\fP does not try to add 128 to the key's value as in \fBinsert-eight-bit()\fP. .TP 8 .B "interpret(\fIcontrol-sequence\fP)" @@ -5406,8 +5582,8 @@ significant) include: \fImainMenu\fP, \fIvtMenu\fP, \fIfontMenu\fP, and \fItekMenu\fP. .TP 8 .B "print(\fIprinter-flags\fP)" -This action prints the window and is also invoked by the -\fIprint\fP entry in \fImainMenu\fP. +This action prints the window. +It is also invoked by the \fIprint\fP entry in \fImainMenu\fP. .IP The action accepts optional parameters, which temporarily override resource settings. @@ -5461,7 +5637,7 @@ as specified by the resources. .TP 8 .B "print-on-error()" -Toggles a flag telling \fIxterm\fP that if it exits with an X error, +Toggles a flag telling \fI\*n\fP that if it exits with an X error, to send the text of the current window directly to a file, as specified by the \fBprintFileXError\fP, @@ -5487,8 +5663,8 @@ to request that the host application update its notion of the cursor's position to match the button event. .TP 8 .B "redraw()" -This action redraws the window and is also invoked by the -\fIredraw\fP entry in \fImainMenu\fP. +This action redraws the window. +It is also invoked by the \fIredraw\fP entry in \fImainMenu\fP. .TP 8 .B "restore()" Restores the window to the size before it was last maximized. @@ -5519,8 +5695,8 @@ section named \fBSECURITY\fP, and is invoked from the \fBsecurekbd\fP entry in \fImainMenu\fP. .TP 8 .B "scroll-lock(\fIon/off/toggle\fP)" -This action toggles internal state which tells -\fIxterm\fP whether Scroll Lock is active, +This action sets, unsets or toggles internal state which tells +\fI\*n\fP whether Scroll Lock is active, subject to the \fBallowScrollLock\fP resource. .TP 8 .B "select-cursor-end(\fIdestname\fP [, ...])" @@ -5556,8 +5732,9 @@ the section on \fBPOINTER USAGE\fP for information on making selections. .TP 8 .B "send-signal(\fIsigname\fP)" This action sends the signal named by \fIsigname\fP -to the \fIxterm\fP subprocess (the shell or program specified with -the \fI\-e\fP command line option) and is also invoked by the +to the \fI\*n\fP subprocess (the shell or program specified with +the \fI\-e\fP command line option). +It is also invoked by the .BR suspend , .BR continue , .BR interrupt , @@ -5575,136 +5752,136 @@ as \fItstp\fP), \fIcont\fP \fIalrm\fP, \fIalarm\fP (same as \fIalrm\fP) and \fIkill\fP. .TP 8 .B "set-8-bit-control(\fIon/off/toggle\fP)" -This action toggles the \fBeightBitControl\fP resource and is also invoked from the -\fB8-bit-control\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBeightBitControl\fP resource. +It is also invoked from the \fB8-bit-control\fP entry in \fIvtMenu\fP. .TP 8 .B "set-allow132(\fIon/off/toggle\fP)" -This action toggles the \fBc132\fP resource and is also invoked from the -\fBallow132\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBc132\fP resource. +It is also invoked from the \fBallow132\fP entry in \fIvtMenu\fP. .TP 8 .B "set-altscreen(\fIon/off/toggle\fP)" -This action toggles between the alternate and current screens. +This action sets, unsets or toggles between the alternate and current screens. .TP 8 .B "set-appcursor(\fIon/off/toggle\fP)" -This action toggles the handling Application Cursor Key mode +This action sets, unsets or toggles the handling Application Cursor Key mode and is also invoked by the \fBappcursor\fP entry in \fIvtMenu\fP. .TP 8 .B "set-appkeypad(\fIon/off/toggle\fP)" -This action toggles the handling of Application Keypad mode and is also +This action sets, unsets or toggles the handling of Application Keypad mode and is also invoked by the \fBappkeypad\fP entry in \fIvtMenu\fP. .TP 8 .B "set-autolinefeed(\fIon/off/toggle\fP)" -This action toggles automatic insertion of linefeeds and is also invoked by -the \fBautolinefeed\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles automatic insertion of linefeeds. +It is also invoked by the \fBautolinefeed\fP entry in \fIvtMenu\fP. .TP 8 .B "set-autowrap(\fIon/off/toggle\fP)" -This action toggles automatic wrapping of long lines and is also invoked by -the \fBautowrap\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles automatic wrapping of long lines. +It is also invoked by the \fBautowrap\fP entry in \fIvtMenu\fP. .TP 8 .B "set-backarrow(\fIon/off/toggle\fP)" -This action toggles the \fBbackarrowKey\fP resource and is also invoked from the -\fBbackarrow key\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBbackarrowKey\fP resource. +It is also invoked from the \fBbackarrow key\fP entry in \fIvtMenu\fP. .TP 8 .B "set-bellIsUrgent(\fIon/off/toggle\fP)" -This action toggles the \fBbellIsUrgent\fP resource and is also invoked -by the \fBbellIsUrgent\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBbellIsUrgent\fP resource. +It is also invoked by the \fBbellIsUrgent\fP entry in \fIvtMenu\fP. .TP 8 .B "set-cursorblink(\fIon/off/toggle\fP)" -This action toggles the \fBcursorBlink\fP resource and is also invoked from the -\fBcursorblink\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBcursorBlink\fP resource. +It is also invoked from the \fBcursorblink\fP entry in \fIvtMenu\fP. .TP 8 .B "set-cursesemul(\fIon/off/toggle\fP)" -This action toggles the \fBcurses\fP resource and is also invoked from the -\fBcursesemul\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBcurses\fP resource. +It is also invoked from the \fBcursesemul\fP entry in \fIvtMenu\fP. .TP 8 .B "set-font-doublesize(\fIon/off/toggle\fP)" -This action toggles the \fBfontDoublesize\fP resource and is also invoked by -the \fBfont-doublesize\fP entry in \fIfontMenu\fP. +This action sets, unsets or toggles the \fBfontDoublesize\fP resource. +It is also invoked by the \fBfont-doublesize\fP entry in \fIfontMenu\fP. .TP 8 .B "set-hp-function-keys(\fIon/off/toggle\fP)" -This action toggles the \fBhpFunctionKeys\fP resource and is also invoked by -the \fBhpFunctionKeys\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the \fBhpFunctionKeys\fP resource. +It is also invoked by the \fBhpFunctionKeys\fP entry in \fImainMenu\fP. .TP 8 .B "set-jumpscroll(\fIon/off/toggle\fP)" -This action toggles the \fBjumpscroll\fP resource and is also invoked by the -\fBjumpscroll\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBjumpscroll\fP resource. +It is also invoked by the \fBjumpscroll\fP entry in \fIvtMenu\fP. .TP 8 .B "set-font-linedrawing(\fIon/off/toggle\fP)" -This action toggles the \fIxterm\fR's state regarding whether the current font +This action sets, unsets or toggles the \fI\*n\fR's state regarding whether the current font has line-drawing characters and whether it should draw them directly. It is also invoked by the \fBfont-linedrawing\fP entry in \fIfontMenu\fP. .\" .\" not implemented .\" .TP 8 .\" .B "set-font-loading(\fIon/off/toggle\fP)" -.\" This action toggles the TBD resource +.\" This action sets, unsets or toggles the TBD resource .\" which controls the ability to load VT220 soft fonts. .\" It is also invoked by the \fBfont-loadable\fP entry in \fIfontMenu\fP. .TP 8 .B "set-font-packed(\fIon/off/toggle\fP)" -This action toggles the \fIforcePackedFont\fR's resource +This action sets, unsets or toggles the \fIforcePackedFont\fR's resource which controls use of the font's minimum or maximum glyph width. It is also invoked by the \fBfont-packed\fP entry in \fIfontMenu\fP. .TP 8 .B "set-keep-selection(\fIon/off/toggle\fP)" -This action toggles the \fBkeepSelection\fP resource and is also invoked by -the \fBkeepSelection\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBkeepSelection\fP resource. +It is also invoked by the \fBkeepSelection\fP entry in \fIvtMenu\fP. .TP 8 -.B "set-logging()" -This action toggles the state of the logging option. +.B "set-logging(\fIon/off/toggle\fP)" +This action sets, unsets or toggles the state of the logging option. .TP 8 .B "set-old-function-keys(\fIon/off/toggle\fP)" -This action toggles the state of legacy function keys and is also invoked by -the \fBoldFunctionKeys\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the state of legacy function keys. +It is also invoked by the \fBoldFunctionKeys\fP entry in \fImainMenu\fP. .TP 8 .B "set-marginbell(\fIon/off/toggle\fP)" -This action toggles the \fBmarginBell\fP resource. +This action sets, unsets or toggles the \fBmarginBell\fP resource. .TP 8 -.B "set-num-lock()" +.B "set-num-lock(\fIon/off/toggle\fP)" This action toggles the state of the \fBnumLock\fP resource. .TP 8 .B "set-pop-on-bell(\fIon/off/toggle\fP)" -This action toggles the \fBpopOnBell\fP resource and is also invoked -by the \fBpoponbell\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBpopOnBell\fP resource. +It is also invoked by the \fBpoponbell\fP entry in \fIvtMenu\fP. .TP 8 .B "set-render-font(\fIon/off/toggle\fP)" -This action toggles the \fBrenderFont\fP resource and is also invoked by -the \fBrender-font\fP entry in \fIfontMenu\fP. +This action sets, unsets or toggles the \fBrenderFont\fP resource. +It is also invoked by the \fBrender-font\fP entry in \fIfontMenu\fP. .TP 8 .B "set-reverse-video(\fIon/off/toggle\fP)" -This action toggles the \fBreverseVideo\fP resource and is also invoked by -the \fBreversevideo\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBreverseVideo\fP resource. +It is also invoked by the \fBreversevideo\fP entry in \fIvtMenu\fP. .TP 8 .B "set-reversewrap(\fIon/off/toggle\fP)" -This action toggles the \fBreverseWrap\fP resource and is also invoked by -the \fBreversewrap\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBreverseWrap\fP resource. +It is also invoked by the \fBreversewrap\fP entry in \fIvtMenu\fP. .TP 8 .B "set-scroll-on-key(\fIon/off/toggle\fP)" -This action toggles the \fBscrollKey\fP resource and is also invoked from -the \fBscrollkey\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBscrollKey\fP resource. +It is also invoked from the \fBscrollkey\fP entry in \fIvtMenu\fP. .TP 8 .B "set-scroll-on-tty-output(\fIon/off/toggle\fP)" -This action toggles the \fBscrollTtyOutput\fP resource and is also invoked -from the \fBscrollttyoutput\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBscrollTtyOutput\fP resource. +It is also invoked from the \fBscrollttyoutput\fP entry in \fIvtMenu\fP. .TP 8 .B "set-scrollbar(\fIon/off/toggle\fP)" -This action toggles the \fBscrollbar\fP resource and is also invoked by -the \fBscrollbar\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBscrollbar\fP resource. +It is also invoked by the \fBscrollbar\fP entry in \fIvtMenu\fP. .TP 8 .B "set-select(\fIon/off/toggle\fP)" -This action toggles the \fBselectToClipboard\fP resource and is also invoked by -the \fBselectToClipboard\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBselectToClipboard\fP resource. +It is also invoked by the \fBselectToClipboard\fP entry in \fIvtMenu\fP. .TP 8 .B "set-sco-function-keys(\fIon/off/toggle\fP)" -This action toggles the \fBscoFunctionKeys\fP resource and is also invoked by -the \fBscoFunctionKeys\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the \fBscoFunctionKeys\fP resource. +It is also invoked by the \fBscoFunctionKeys\fP entry in \fImainMenu\fP. .TP 8 .B "set-sun-function-keys(\fIon/off/toggle\fP)" -This action toggles the \fBsunFunctionKeys\fP resource and is also invoked by -the \fBsunFunctionKeys\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the \fBsunFunctionKeys\fP resource. +It is also invoked by the \fBsunFunctionKeys\fP entry in \fImainMenu\fP. .TP 8 .B "set-sun-keyboard(\fIon/off/toggle\fP)" -This action toggles the \fBsunKeyboard\fP resource and is also invoked by -the \fBsunKeyboard\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the \fBsunKeyboard\fP resource. +It is also invoked by the \fBsunKeyboard\fP entry in \fImainMenu\fP. .TP 8 .B "set-tek-text(\fIlarge/2/3/small\fP)" This action sets font used in the Tektronix window to the value of the @@ -5721,31 +5898,31 @@ It is also invoked by the \fItekMenu\fP. .TP 8 .B "set-titeInhibit(\fIon/off/toggle\fP)" -This action toggles the \fBtiteInhibit\fP resource, +This action sets, unsets or toggles the \fBtiteInhibit\fP resource, which controls switching between the alternate and current screens. .TP 8 .B "set-toolbar(\fIon/off/toggle\fP)" -This action toggles the toolbar feature and is also invoked by -the \fBtoolbar\fP entry in \fImainMenu\fP. +This action sets, unsets or toggles the toolbar feature. +It is also invoked by the \fBtoolbar\fP entry in \fImainMenu\fP. .TP 8 .B "set-utf8-mode(\fIon/off/toggle\fP)" -This action toggles the \fButf8\fP resource and is also invoked by -the \fButf8-mode\fP entry in \fIfontMenu\fP. +This action sets, unsets or toggles the \fButf8\fP resource. +It is also invoked by the \fButf8-mode\fP entry in \fIfontMenu\fP. .TP 8 .B "set-utf8-title(\fIon/off/toggle\fP)" -This action toggles the \fButf8Title\fP resource and is also invoked by -the \fButf8-title\fP entry in \fIfontMenu\fP. +This action sets, unsets or toggles the \fButf8Title\fP resource. +It is also invoked by the \fButf8-title\fP entry in \fIfontMenu\fP. .TP 8 .B "set-visibility(\fIvt/tek\fP,\fIon/off/toggle\fP)" -This action controls whether or not the \fIvt\fP or \fItek\fP windows are +This action sets, unsets or toggles whether or not the \fIvt\fP or \fItek\fP windows are visible. It is also invoked from the \fBtekshow\fP and \fBvthide\fP entries in \fIvtMenu\fP and the \fBvtshow\fP and \fBtekhide\fP entries in \fItekMenu\fP. .TP 8 .B "set-visual-bell(\fIon/off/toggle\fP)" -This action toggles the \fBvisualBell\fP resource and is also invoked -by the \fBvisualbell\fP entry in \fIvtMenu\fP. +This action sets, unsets or toggles the \fBvisualBell\fP resource. +It is also invoked by the \fBvisualbell\fP entry in \fIvtMenu\fP. .TP 8 .B "set-vt-font(\fId/1/2/3/4/5/6/e/s\fP [,\fInormalfont\fP [, \fIboldfont\fP]])" This action sets the font or fonts currently being used in the VT102 window. @@ -5755,7 +5932,7 @@ used: .HP \fId\fP or \fID\fP indicate the default font (the font initially used when -\fIxterm\fP was started), +\fI\*n\fP was started), .HP \fI1\fP through \fI6\fP indicate the fonts specified by the \fIfont1\fP through \fIfont6\fP resources, @@ -5768,7 +5945,7 @@ indicate the normal and bold fonts that have been set through escape codes \fIxfontsel(__mansuffix__)\fP) indicated by the second action argument. .RE .IP -If \fIxterm\fR is configured to support wide characters, an +If \fI\*n\fR is configured to support wide characters, an additional two optional parameters are recognized for the \fIe\fP argument: wide font and wide bold font. .TP 8 @@ -5777,24 +5954,24 @@ Set the font to the next smaller one, based on the font dimensions. See also \fBset-vt-font()\fP. .TP 8 .B "soft-reset()" -This action resets the scrolling region and is also invoked from the -\fBsoftreset\fP entry in \fIvtMenu\fP. +This action resets the scrolling region. +It is also invoked from the \fBsoftreset\fP entry in \fIvtMenu\fP. The effect is identical to a soft reset (DECSTR) control sequence. .TP 8 .B "spawn-new-terminal(params)" -Spawn a new \fIxterm\fP process. +Spawn a new \fI\*n\fP process. This is available on systems which have a modern version of the -process filesystem, e.g., \*(``/proc\*('', which \fIxterm\fP can read. +process filesystem, e.g., \*(``/proc\*('', which \fI\*n\fP can read. .IP Use the \*(``cwd\*('' process entry, e.g., /proc/12345/cwd to obtain the -working directory of the process which is running in the current \fIxterm\fP. +working directory of the process which is running in the current \fI\*n\fP. .IP On systems which have the \*(``exe\*('' process entry, e.g., /proc/12345/exe, use this to obtain the actual executable. -Otherwise, use the $PATH variable to find \fIxterm\fP. +Otherwise, use the $PATH variable to find \fI\*n\fP. .IP If parameters are given in the action, -pass them to the new \fIxterm\fP process. +pass them to the new \fI\*n\fP process. .TP 8 .B "start-extend()" This action is similar to \fBselect-start\fP except that the @@ -5818,12 +5995,12 @@ contents to a file in the current directory beginning with the name COPY. It is also invoked from the \fItekcopy\fP entry in \fItekMenu\fP. .TP 8 .B "tek-page()" -This action clears the Tektronix window and is also invoked by the -\fBtekpage\fP entry in \fItekMenu\fP. +This action clears the Tektronix window. +It is also invoked by the \fBtekpage\fP entry in \fItekMenu\fP. .TP 8 .B "tek-reset()" -This action resets the Tektronix window and is also invoked by the -\fItekreset\fP entry in \fItekMenu\fP. +This action resets the Tektronix window. +It is also invoked by the \fItekreset\fP entry in \fItekMenu\fP. .TP 8 .B "vi-button()" Handles a button event (other than press and release) @@ -5854,6 +6031,7 @@ The Tektronix window also has the following action: .B "gin-press(\fIl/L/m/M/r/R\fP)" This action sends the indicated graphics input code. . +.SS DEFAULT KEY BINDINGS .PP The default bindings in the VT102 window use the SELECT token, which is set by the \fBselectToClipboard\fP resource: @@ -5903,6 +6081,7 @@ which is set by the \fBselectToClipboard\fP resource: <BtnUp>:select-end(SELECT, CUT_BUFFER0) \\n\\\& <BtnDown>:ignore() .NE +.PP The default bindings for the scrollbar widget are separate from the VT100 widget: .NS @@ -5915,6 +6094,7 @@ are separate from the VT100 widget: <Btn2Motion>: MoveThumb() NotifyThumb() \\n\\\& <BtnUp>: NotifyScroll(Proportional) EndScroll() .NE +.PP The default bindings in the Tektronix window are: .NS .ta 2.5i @@ -5935,6 +6115,7 @@ The default bindings in the Tektronix window are: Shift ~Meta<Btn3Down>: gin-press(R) \\n\\\& ~Meta<Btn3Down>: gin-press(r) .NE +.PP Here is an example which uses shifted select/paste to copy to the clipboard, and unshifted select/paste for the primary selection. In each case, a (different) cut buffer is @@ -5942,7 +6123,7 @@ also a target or source of the select/paste operation. It is important to remember however, that cut buffers store data in ISO-8859-1 encoding, while selections can store data in a variety of formats and encodings. -While \fIxterm\fP owns the selection, it highlights it. +While \fI\*n\fP owns the selection, it highlights it. When it loses the selection, it removes the corresponding highlight. But you can still paste from the corresponding cut buffer. .NS @@ -5953,6 +6134,7 @@ But you can still paste from the corresponding cut buffer. ~Shift<BtnUp>: select-end(PRIMARY, CUT_BUFFER0) \\n\\\& Shift<BtnUp>: select-end(CLIPBOARD, CUT_BUFFER1) .NE +.PP Below is a sample of how the \fBkeymap()\fP action is used to add special keys for entering commonly-typed works: .NS @@ -5965,6 +6147,7 @@ keys for entering commonly-typed works: <Key>F19: string("continue") string(0x0d) \\n\\\& <Key>F20: string("print ") insert-selection(PRIMARY, CUT_BUFFER0) .NE +.PP Some people prefer using the left pointer button for dragging the scrollbar thumb. That can be setup by altering the translations resource, e.g., @@ -5979,7 +6162,7 @@ That can be setup by altering the translations resource, e.g., .NE .SH "CONTROL SEQUENCES AND KEYBOARD" The \fIXterm Control Sequences\fP document lists the control sequences which -an application can send \fIxterm\fP to make it perform various operations. +an application can send \fI\*n\fP to make it perform various operations. Most of these operations are standardized, from either the DEC or Tektronix terminals, or from more widely used standards such as ISO-6429. . @@ -5997,10 +6180,10 @@ is set according to the termcap (or terminfo) entry which it is using as a reference. .TP 5 WINDOWID -is set to the X window id number of the \fIxterm\fP window. +is set to the X window id number of the \fI\*n\fP window. .TP 5 XTERM_LOCALE -shows the locale which was used by \fIxterm\fP on startup. +shows the locale which was used by \fI\*n\fP on startup. Some shell initialization scripts may set a different locale. .TP 5 XTERM_SHELL @@ -6012,29 +6195,29 @@ it is distinct from \*(``SHELL\*(''. XTERM_VERSION is set to the string displayed by the \fB\-version\fP option. That is normally an identifier for the X Window libraries used to -build \fIxterm\fP, followed by -\fIxterm\fP's patch number in parenthesis. +build \fI\*n\fP, followed by +\fI\*n\fP's patch number in parenthesis. The patch number is also part of the response to a Secondary Device Attributes (DA) control sequence (see \fIXterm Control Sequences\fP). . .PP -Depending on your system configuration, \fIxterm\fP may also set the +Depending on your system configuration, \fI\*n\fP may also set the following: .TP 5 COLUMNS -the width of the \fIxterm\fP in characters (cf: \*(``stty columns\*(''). +the width of the \fI\*n\fP in characters (cf: \*(``stty columns\*(''). .TP 5 HOME -when \fIxterm\fP is configured to update utmp. +when \fI\*n\fP is configured to update utmp. .TP 5 LINES -the height of the \fIxterm\fP in characters (cf: \*(``stty rows\*(''). +the height of the \fI\*n\fP in characters (cf: \*(``stty rows\*(''). .TP 5 LOGNAME -when \fIxterm\fP is configured to update utmp. +when \fI\*n\fP is configured to update utmp. .TP 5 SHELL -when \fIxterm\fP is configured to update utmp. +when \fI\*n\fP is configured to update utmp. It is also set if you provide the shell name as the optional parameter. .TP 5 TERMCAP @@ -6057,10 +6240,10 @@ the system logfile, which records user logins. the system logfile, which records user logins and logouts. .TP 5 .I __apploaddir__/__default_class__ -the \fIxterm\fP default application resources. +the \fI\*n\fP default application resources. .TP 5 .I __apploaddir__/__default_class__\-color -the \fIxterm\fP color application resources. +the \fI\*n\fP color application resources. If your display supports color, use this .in +10 *customization: \-color @@ -6069,15 +6252,18 @@ in your .Xdefaults file to automatically use this resource file rather than .IR __apploaddir__/__default_class__ . If you do not do this, -\fIxterm\fP uses its compiled-in default resource settings for colors. +\fI\*n\fP uses its compiled-in default resource settings for colors. +.TP 5 +.I __pixmapsdir__ +the directory in which \fI\*n\fP's pixmap icon files are installed. . . .SH ERROR MESSAGES -Most of the fatal error messages from \fIxterm\fP use the following format: +Most of the fatal error messages from \fI\*n\fP use the following format: .RS -xterm: Error \fIXXX\fP, errno \fIYYY\fP: \fIZZZ\fP +\*n: Error \fIXXX\fP, errno \fIYYY\fP: \fIZZZ\fP .RE -The \fIXXX\fP codes (which are used by \fIxterm\fP as its exit-code) +The \fIXXX\fP codes (which are used by \fI\*n\fP as its exit-code) are listed below, with a brief explanation. .TP 5 1 @@ -6277,11 +6463,6 @@ Alloc: calloc() failed on rows ERROR_SAVE_PTR .br ScrnPointers: malloc/realloc() failed -.TP -121 -ERROR_MMALLOC -.br -my_memmove: malloc/realloc failed . . .SH BUGS @@ -6289,19 +6470,19 @@ my_memmove: malloc/realloc failed .PP Large pastes do not work on some systems. This is not a bug in -\fIxterm\fP; it is a bug in the pseudo terminal driver of those +\fI\*n\fP; it is a bug in the pseudo terminal driver of those systems. -\fIxterm\fP feeds large pastes to the pty only as fast as the pty +\fI\*n\fP feeds large pastes to the pty only as fast as the pty will accept data, but some pty drivers do not return enough information to know if the write has succeeded. . .PP -When connected to an input method, it is possible for xterm to hang +When connected to an input method, it is possible for \*n to hang if the XIM server is suspended or killed. . .PP Many of the options are not resettable after -.I xterm +.I \*n starts. . .PP @@ -6320,7 +6501,7 @@ There needs to be a dialog box to allow entry of the Tek COPY file name. .na resize(__mansuffix__), luit(__mansuffix__), -uxterm(__mansuffix__), +u\*n(__mansuffix__), X(__miscmansuffix__), pty(4), tty(4) diff --git a/app/xterm/xtermcfg.h b/app/xterm/xtermcfg.h index 1dc4288b1..77ad03326 100644 --- a/app/xterm/xtermcfg.h +++ b/app/xterm/xtermcfg.h @@ -1,4 +1,4 @@ -/* $XTermId: xtermcfg.hin,v 1.182 2010/11/11 01:14:49 tom Exp $ */ +/* $XTermId: xtermcfg.hin,v 1.196 2012/10/05 00:27:29 tom Exp $ */ /************************************************************ @@ -42,6 +42,11 @@ authorization. #define CC_HAS_PROTOS 1 /* CF_ANSI_CC */ /* #undef CSRG_BASED */ /* CF_TYPE_FD_MASK */ /* #undef DECL_ERRNO */ /* CF_ERRNO */ +#define DEFDELETE_DEL 1 /* AC_ARG_ENABLE(delete-is-del) */ +/* #undef DEF_ALT_SENDS_ESC */ /* CF_ARG_ENABLE(alt-sends-esc) */ +/* #undef DEF_BACKARO_DEL */ /* CF_ARG_DISABLE(backarrow-is-del) */ +#define DEF_BACKARO_ERASE 1 /* CF_ARG_ENABLE(backarrow-is-erase) */ +/* #undef DEF_META_SENDS_ESC */ /* CF_ARG_ENABLE(meta-sends-esc) */ /* #undef DFT_COLORMODE */ /* AC_ARG_WITH(default-color-mode) */ #define DFT_DECID "100" /* AC_ARG_WITH(default-terminal-id) */ #define DFT_TERMTYPE "xterm" /* AC_ARG_WITH(default-term-type) */ @@ -52,6 +57,7 @@ authorization. /* #undef HAVE_GRANTPT /* CF_FUNC_GRANTPT */ #define HAVE_LANGINFO_CODESET 1 /* AM_LANGINFO_CODESET */ /* #undef HAVE_LASTLOG_H */ /* CF_LASTLOG */ +#define HAVE_LIBXPM /* CF_WITH_XPM */ /* #undef HAVE_LIB_NEXTAW */ /* CF_X_ATHENA(--with-neXtaw) */ /* #undef HAVE_LIB_PCRE */ /* CF_WITH_PCRE */ #define HAVE_LIB_XAW 1 /* CF_X_ATHENA */ @@ -68,7 +74,6 @@ authorization. #define HAVE_SCHED_YIELD 1 /* AC_CHECK_FUNCS(sched_yield) */ #define HAVE_SETPGID /* AC_CHECK_FUNCS(setpgid) */ #define HAVE_STDLIB_H 1 /* AC_CHECK_HEADERS(stdlib.h) */ -#define HAVE_STRERROR 1 /* AC_CHECK_FUNCS(strerror) */ #define HAVE_STRFTIME 1 /* AC_CHECK_FUNCS(strftime) */ /* #undef HAVE_SYS_TIME_H */ /* AC_HEADER_TIME */ #define HAVE_SYS_TTYDEFAULTS_H 1 /* AC_CHECK_HEADERS(sys/ttydefaults.h) */ @@ -100,6 +105,7 @@ authorization. #define HAVE_X11_XPOLL_H 1 /* AC_CHECK_HEADERS(X11/Xpoll.h) */ #define HAVE_XFTDRAWSETCLIP 1 /* CF_X_FREETYPE */ #define HAVE_XFTDRAWSETCLIPRECTANGLES 1 /* CF_X_FREETYPE */ +#define HAVE_XKBKEYCODETOKEYSYM /* AC_CHECK_FUNCS(XkbKeycodeToKeysym) */ #define HAVE_XKBQUERYEXTENSION /* AC_CHECK_FUNCS(XkbQueryExtension) */ #define HAVE_XKB_BELL_EXT 1 /* CF_XKB_BELL_EXT */ #define LUIT_PATH "/usr/X11R6/bin/luit" /* CF_ARG_ENABLE(luit) */ @@ -118,13 +124,14 @@ authorization. /* #undef OPT_DABBREV */ /* CF_ARG_ENABLE(dabbrev) */ /* #undef OPT_DEC_CHRSET */ /* CF_ARG_DISABLE(doublechars) */ /* #undef OPT_DEC_LOCATOR */ /* CF_ARG_ENABLE(dec-locator) */ +/* #undef OPT_DOUBLE_BUFFER */ /* CF_ARG_ENABLE(double-buffer) */ #define OPT_DEC_RECTOPS 1 /* CF_ARG_ENABLE(rectangles) */ /* #undef OPT_EXEC_XTERM */ /* CF_ARG_ENABLE(exec-xterm) */ /* #undef OPT_FIFO_LINES */ /* CF_ARG_ENABLE(fifo-lines) */ /* #undef OPT_HIGHLIGHT_COLOR */ /* CF_ARG_DISABLE(highlighting) */ /* #undef OPT_HP_FUNC_KEYS */ /* CF_ARG_ENABLE(hp-fkeys) */ /* #undef OPT_I18N_SUPPORT */ /* CF_ARG_DISABLE(i18n) */ -/* #undef OPT_INITIAL_ERASE */ /* CF_ARG_DISABLE(initial-erase) */ +#define OPT_INITIAL_ERASE 1 /* CF_ARG_DISABLE(initial-erase) */ /* #undef OPT_INPUT_METHOD */ /* CF_ARG_DISABLE(input-method) */ /* #undef OPT_ISO_COLORS */ /* CF_ARG_DISABLE(ansi-color) */ /* #undef OPT_LOAD_VTFONTS */ /* CF_ARG_ENABLE(load-vt-fonts) */ @@ -160,8 +167,6 @@ authorization. #define TIME_WITH_SYS_TIME 1 /* AC_HEADER_TIME */ #define TTY_GROUP_NAME "tty" /* CF_TTY_GROUP */ /* #undef USE_LASTLOG */ /* CF_LASTLOG */ -/* #undef USE_MY_MEMMOVE */ /* CF_FUNC_MEMMOVE */ -/* #undef USE_OK_BCOPY */ /* CF_FUNC_MEMMOVE */ #define USE_POSIX_WAIT 1 /* CF_POSIX_WAIT */ /* #undef USE_STRUCT_LASTLOG */ /* CF_STRUCT_LASTLOG */ /* #undef USE_SYSV_UTMP */ /* CF_UTMP */ @@ -173,12 +178,10 @@ authorization. #define USE_UTMP_SETGID 1 /* AC_ARG_WITH(utmp-setgid) */ /* #undef UTMPX_FOR_UTMP */ /* CF_UTMP */ #define XRENDERFONT 1 /* CF_X_FREETYPE */ -/* #undef const */ /* AC_CONST */ /* #undef gid_t */ /* AC_TYPE_UID_T */ /* #undef mode_t */ /* AC_TYPE_MODE_T */ /* #undef off_t */ /* AC_TYPE_OFF_T */ /* #undef pid_t */ /* AC_TYPE_PID_T */ -/* #undef size_t */ /* AC_TYPE_SIZE_T */ /* #undef time_t */ /* AC_CHECK_TYPE(time_t, long) */ /* #undef uid_t */ /* AC_TYPE_UID_T */ /* #undef ut_name */ /* CF_UTMP */ @@ -202,20 +205,6 @@ authorization. /* #undef GCC_UNUSED */ #endif -#ifdef USE_OK_BCOPY -#define memmove(d,s,n) bcopy(s,d,n) -#endif - -#ifdef USE_MY_MEMMOVE -#define memmove(d,s,n) my_memmove(d,s,n) -extern void * my_memmove(void * s1, void * s2, size_t n); -#endif - -#ifndef HAVE_STRERROR -#define strerror(n) my_strerror(n) -extern char *my_strerror(int n); -#endif - #ifndef HAVE_X11_XPOLL_H #define NO_XPOLL_H /* X11R6.1 & up use Xpoll.h for select() definitions */ #endif diff --git a/app/xterm/xtermcfg.hin b/app/xterm/xtermcfg.hin index 76de637de..bebae9267 100644 --- a/app/xterm/xtermcfg.hin +++ b/app/xterm/xtermcfg.hin @@ -1,4 +1,4 @@ -/* $XTermId: xtermcfg.hin,v 1.190 2012/05/07 23:28:24 tom Exp $ */ +/* $XTermId: xtermcfg.hin,v 1.196 2012/10/05 00:27:29 tom Exp $ */ /* * Copyright 1997-2011,2012 by Thomas E. Dickey @@ -40,6 +40,11 @@ #undef CC_HAS_PROTOS /* CF_ANSI_CC */ #undef CSRG_BASED /* CF_TYPE_FD_MASK */ #undef DECL_ERRNO /* CF_ERRNO */ +#undef DEFDELETE_DEL /* AC_ARG_ENABLE(delete-is-del) */ +#undef DEF_ALT_SENDS_ESC /* CF_ARG_ENABLE(alt-sends-esc) */ +#undef DEF_BACKARO_DEL /* CF_ARG_DISABLE(backarrow-is-del) */ +#undef DEF_BACKARO_ERASE /* CF_ARG_ENABLE(backarrow-is-erase) */ +#undef DEF_META_SENDS_ESC /* CF_ARG_ENABLE(meta-sends-esc) */ #undef DFT_COLORMODE /* AC_ARG_WITH(default-color-mode) */ #undef DFT_DECID /* AC_ARG_WITH(default-terminal-id) */ #undef DFT_TERMTYPE /* AC_ARG_WITH(default-term-type) */ @@ -51,6 +56,7 @@ #undef HAVE_GRANTPT_PTY_ISATTY /* CF_FUNC_GRANTPT */ #undef HAVE_LANGINFO_CODESET /* AM_LANGINFO_CODESET */ #undef HAVE_LASTLOG_H /* CF_LASTLOG */ +#undef HAVE_LIBXPM /* CF_WITH_XPM */ #undef HAVE_LIB_NEXTAW /* CF_X_ATHENA(--with-neXtaw) */ #undef HAVE_LIB_PCRE /* CF_WITH_PCRE */ #undef HAVE_LIB_XAW /* CF_X_ATHENA */ @@ -67,7 +73,6 @@ #undef HAVE_SCHED_YIELD /* AC_CHECK_FUNCS(sched_yield) */ #undef HAVE_SETPGID /* AC_CHECK_FUNCS(setpgid) */ #undef HAVE_STDLIB_H /* AC_CHECK_HEADERS(stdlib.h) */ -#undef HAVE_STRERROR /* AC_CHECK_FUNCS(strerror) */ #undef HAVE_STRFTIME /* AC_CHECK_FUNCS(strftime) */ #undef HAVE_SYS_TIME_H /* AC_HEADER_TIME */ #undef HAVE_SYS_TTYDEFAULTS_H /* AC_CHECK_HEADERS(sys/ttydefaults.h) */ @@ -99,6 +104,7 @@ #undef HAVE_X11_XPOLL_H /* AC_CHECK_HEADERS(X11/Xpoll.h) */ #undef HAVE_XFTDRAWSETCLIP /* CF_X_FREETYPE */ #undef HAVE_XFTDRAWSETCLIPRECTANGLES /* CF_X_FREETYPE */ +#undef HAVE_XKBKEYCODETOKEYSYM /* AC_CHECK_FUNCS(XkbKeycodeToKeysym) */ #undef HAVE_XKBQUERYEXTENSION /* AC_CHECK_FUNCS(XkbQueryExtension) */ #undef HAVE_XKB_BELL_EXT /* CF_XKB_BELL_EXT */ #undef LUIT_PATH /* CF_ARG_ENABLE(luit) */ @@ -117,6 +123,7 @@ #undef OPT_DABBREV /* CF_ARG_ENABLE(dabbrev) */ #undef OPT_DEC_CHRSET /* CF_ARG_DISABLE(doublechars) */ #undef OPT_DEC_LOCATOR /* CF_ARG_ENABLE(dec-locator) */ +#undef OPT_DOUBLE_BUFFER /* CF_ARG_ENABLE(double-buffer) */ #undef OPT_DEC_RECTOPS /* CF_ARG_ENABLE(rectangles) */ #undef OPT_EXEC_XTERM /* CF_ARG_ENABLE(exec-xterm) */ #undef OPT_FIFO_LINES /* CF_ARG_ENABLE(fifo-lines) */ @@ -159,8 +166,6 @@ #undef TIME_WITH_SYS_TIME /* AC_HEADER_TIME */ #undef TTY_GROUP_NAME /* CF_TTY_GROUP */ #undef USE_LASTLOG /* CF_LASTLOG */ -#undef USE_MY_MEMMOVE /* CF_FUNC_MEMMOVE */ -#undef USE_OK_BCOPY /* CF_FUNC_MEMMOVE */ #undef USE_POSIX_WAIT /* CF_POSIX_WAIT */ #undef USE_STRUCT_LASTLOG /* CF_STRUCT_LASTLOG */ #undef USE_SYSV_UTMP /* CF_UTMP */ @@ -172,12 +177,10 @@ #undef USE_UTMP_SETGID /* AC_ARG_WITH(utmp-setgid) */ #undef UTMPX_FOR_UTMP /* CF_UTMP */ #undef XRENDERFONT /* CF_X_FREETYPE */ -#undef const /* AC_CONST */ #undef gid_t /* AC_TYPE_UID_T */ #undef mode_t /* AC_TYPE_MODE_T */ #undef off_t /* AC_TYPE_OFF_T */ #undef pid_t /* AC_TYPE_PID_T */ -#undef size_t /* AC_TYPE_SIZE_T */ #undef time_t /* AC_CHECK_TYPE(time_t, long) */ #undef uid_t /* AC_TYPE_UID_T */ #undef ut_name /* CF_UTMP */ @@ -201,20 +204,6 @@ #undef GCC_UNUSED #endif -#ifdef USE_OK_BCOPY -#define memmove(d,s,n) bcopy(s,d,n) -#endif - -#ifdef USE_MY_MEMMOVE -#define memmove(d,s,n) my_memmove(d,s,n) -extern void * my_memmove(void * s1, void * s2, size_t n); -#endif - -#ifndef HAVE_STRERROR -#define strerror(n) my_strerror(n) -extern char *my_strerror(int n); -#endif - #ifndef HAVE_X11_XPOLL_H #define NO_XPOLL_H /* X11R6.1 & up use Xpoll.h for select() definitions */ #endif |