|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| icons/ | H | 03-May-2022 | - | 1,660 | 1,652 |
| package/ | H | 22-Sep-2021 | - | 1,795 | 1,212 |
| tektests/ | H | 03-May-2022 | - | 5 | 3 |
| unicode/ | H | 09-Sep-2018 | - | 1,344 | 1,279 |
| vttests/ | H | 11-Nov-2021 | - | 12,988 | 9,151 |
| 256colres.h | H A D | 12-Jun-2007 | 15.5 KiB | 251 | 243 |
| 256colres.pl | H A D | 08-Jun-2007 | 3 KiB | 94 | 40 |
| 88colres.h | H A D | 12-Jun-2007 | 4.7 KiB | 83 | 75 |
| 88colres.pl | H A D | 08-Jun-2007 | 3.1 KiB | 97 | 41 |
| COPYING | H A D | 03-Jan-2021 | 3.7 KiB | 76 | 59 |
| INSTALL | H A D | 22-Aug-2021 | 32.7 KiB | 888 | 586 |
| Imakefile | H A D | 02-Nov-2019 | 10 KiB | 339 | 298 |
| KOI8RXTerm.ad | H A D | 04-Mar-2010 | 2.3 KiB | 51 | 47 |
| MANIFEST | H A D | 11-Nov-2021 | 16.1 KiB | 259 | 258 |
| Makefile.in | H A D | 23-Dec-2020 | 21.1 KiB | 639 | 500 |
| NEWS | H A D | 13-Nov-2021 | 2.1 KiB | 41 | 38 |
| README | H A D | 24-May-2007 | 943 | 20 | 15 |
| README.i18n | H A D | 13-Nov-2003 | 7.8 KiB | 200 | 141 |
| README.os390 | H A D | 28-Oct-2000 | 2.9 KiB | 75 | 60 |
| THANKS | H A D | 12-Sep-2021 | 3.9 KiB | 253 | 248 |
| TekPrsTbl.c | H A D | 13-Feb-2006 | 53.2 KiB | 2,649 | 2,073 |
| Tekparse.def | H A D | 12-Feb-2006 | 2.2 KiB | 75 | 73 |
| Tekparse.h | H A D | 06-Oct-2016 | 1.9 KiB | 56 | 19 |
| Tekproc.c | H A D | 03-Jun-2021 | 55.6 KiB | 2,110 | 1,699 |
| Tests | H A D | 06-May-1991 | 1.3 KiB | 43 | 26 |
| UXTerm.ad | H A D | 03-May-2022 | 3.7 KiB | 82 | 76 |
| VTPrsTbl.c | H A D | 22-Dec-2020 | 201.7 KiB | 9,508 | 7,552 |
| VTparse.def | H A D | 15-Dec-2020 | 4.4 KiB | 221 | 219 |
| VTparse.h | H A D | 10-Feb-2019 | 3 KiB | 96 | 50 |
| XTerm-col.ad | H A D | 15-Aug-2009 | 5.7 KiB | 164 | 145 |
| XTerm.ad | H A D | 03-Feb-2021 | 10.7 KiB | 273 | 253 |
| aclocal.m4 | H A D | 07-Sep-2021 | 157.3 KiB | 5,414 | 5,111 |
| button.c | H A D | 12-Aug-2021 | 153.1 KiB | 6,104 | 4,902 |
| cachedGCs.c | H A D | 16-Sep-2021 | 19.2 KiB | 881 | 698 |
| charclass.c | H A D | 02-Feb-2021 | 13.2 KiB | 512 | 403 |
| charclass.h | H A D | 18-Jan-2020 | 546 | 24 | 12 |
| charproc.c | H A D | 12-Nov-2021 | 355.3 KiB | 13,388 | 10,984 |
| charsets.c | H A D | 25-Dec-2020 | 75 KiB | 1,801 | 1,584 |
| config.guess | H A D | 04-Jun-2021 | 48.2 KiB | 1,749 | 1,522 |
| config.sub | H A D | 14-Aug-2021 | 34.4 KiB | 1,885 | 1,698 |
| configure | H A D | 07-Sep-2021 | 665.8 KiB | 25,729 | 21,271 |
| configure.in | H A D | 22-Aug-2021 | 38.7 KiB | 1,190 | 1,053 |
| ctlseqs.ms | H A D | 11-Nov-2021 | 141.9 KiB | 4,408 | 4,289 |
| cursor.c | H A D | 12-Jul-2019 | 12 KiB | 469 | 293 |
| data.c | H A D | 27-May-2021 | 3.9 KiB | 133 | 61 |
| data.h | H A D | 27-May-2021 | 7.5 KiB | 271 | 172 |
| df-install.in | H A D | 18-Aug-2020 | 4.1 KiB | 167 | 99 |
| doublechr.c | H A D | 10-Dec-2020 | 9 KiB | 376 | 258 |
| error.h | H A D | 05-Oct-2012 | 5 KiB | 106 | 39 |
| fontutils.c | H A D | 10-Nov-2021 | 144.8 KiB | 5,575 | 4,590 |
| fontutils.h | H A D | 25-Feb-2021 | 7.7 KiB | 180 | 115 |
| gen-charsets.pl | H A D | 22-Aug-2018 | 3.4 KiB | 106 | 60 |
| gen-pc-fkeys.pl | H A D | 30-Nov-2007 | 10.4 KiB | 365 | 260 |
| graphics.c | H A D | 19-Sep-2021 | 47.8 KiB | 1,814 | 1,389 |
| graphics.h | H A D | 29-May-2016 | 6.6 KiB | 128 | 77 |
| graphics_regis.c | H A D | 25-Feb-2021 | 218.9 KiB | 7,690 | 6,460 |
| graphics_regis.h | H A D | 29-May-2016 | 1.8 KiB | 49 | 9 |
| graphics_sixel.c | H A D | 10-Aug-2021 | 19 KiB | 657 | 508 |
| graphics_sixel.h | H A D | 29-May-2016 | 1.8 KiB | 49 | 9 |
| html.c | H A D | 19-Sep-2021 | 8.7 KiB | 300 | 225 |
| input.c | H A D | 12-Sep-2021 | 53.6 KiB | 2,082 | 1,578 |
| install-sh | H A D | 29-Nov-2003 | 7 KiB | 295 | 169 |
| keysym2ucs.c | H A D | 09-Sep-2018 | 66.8 KiB | 872 | 809 |
| keysym2ucs.h | H A D | 13-Jun-1999 | 244 | 10 | 2 |
| koi8rxterm | H A D | 27-Jan-2021 | 3.7 KiB | 116 | 56 |
| koi8rxterm.man | H A D | 23-Jun-2018 | 3.3 KiB | 110 | 84 |
| linedata.c | H A D | 22-Aug-2021 | 8.4 KiB | 287 | 201 |
| link_axp.com | H A D | 09-Feb-2000 | 2.8 KiB | 108 | 107 |
| main.c | H A D | 16-Sep-2021 | 153.7 KiB | 5,811 | 4,692 |
| main.h | H A D | 24-Aug-2021 | 6.3 KiB | 275 | 161 |
| make.com | H A D | 09-Feb-2000 | 1.9 KiB | 91 | 90 |
| menu.c | H A D | 03-Jun-2021 | 91.5 KiB | 4,170 | 3,512 |
| menu.h | H A D | 21-Mar-2021 | 16.7 KiB | 593 | 450 |
| minstall.in | H A D | 27-Jan-2021 | 5.8 KiB | 177 | 97 |
| misc.c | H A D | 12-Nov-2021 | 183.6 KiB | 7,866 | 6,476 |
| plink.sh | H A D | 27-Jan-2021 | 2.4 KiB | 82 | 45 |
| precompose.c | H A D | 22-May-2016 | 28 KiB | 1,065 | 1,050 |
| precompose.h | H A D | 28-Aug-2000 | 260 | 12 | 4 |
| print.c | H A D | 02-Mar-2021 | 21.4 KiB | 876 | 675 |
| ptydata.c | H A D | 12-Oct-2020 | 22.8 KiB | 1,015 | 818 |
| ptyx.h | H A D | 08-Nov-2021 | 102.6 KiB | 3,640 | 2,852 |
| resize.c | H A D | 21-Mar-2021 | 15.7 KiB | 606 | 476 |
| resize.man | H A D | 07-Feb-2019 | 7.6 KiB | 236 | 200 |
| run-tic.sh | H A D | 21-Sep-2021 | 4.1 KiB | 138 | 79 |
| screen.c | H A D | 05-Nov-2021 | 75.9 KiB | 3,030 | 2,273 |
| scrollback.c | H A D | 12-Oct-2020 | 4.1 KiB | 128 | 61 |
| scrollbar.c | H A D | 06-Jun-2021 | 26.1 KiB | 1,033 | 748 |
| sinstall.sh | H A D | 06-Mar-2010 | 6.1 KiB | 199 | 123 |
| svg.c | H A D | 19-Sep-2021 | 7.9 KiB | 286 | 213 |
| tabs.c | H A D | 13-Nov-2019 | 5.2 KiB | 199 | 90 |
| termcap | H A D | 25-Dec-2017 | 10.3 KiB | 249 | 241 |
| terminfo | H A D | 21-Sep-2021 | 54.4 KiB | 2,755 | 2,707 |
| testxmc.c | H A D | 08-Nov-2020 | 6.8 KiB | 233 | 119 |
| trace.c | H A D | 14-Sep-2021 | 32.9 KiB | 1,481 | 1,328 |
| trace.h | H A D | 01-Feb-2021 | 8.2 KiB | 239 | 159 |
| util.c | H A D | 08-Nov-2021 | 138.2 KiB | 5,610 | 4,524 |
| uxterm | H A D | 07-Mar-2020 | 4.2 KiB | 150 | 92 |
| uxterm.desktop | H A D | 06-Feb-2019 | 1.9 KiB | 44 | 43 |
| uxterm.man | H A D | 23-Jun-2018 | 3.2 KiB | 104 | 78 |
| version.c | H A D | 23-Jun-2020 | 2.6 KiB | 81 | 38 |
| version.h | H A D | 13-Nov-2021 | 2 KiB | 51 | 9 |
| vms.c | H A D | 18-Jan-2020 | 17.6 KiB | 725 | 431 |
| vms.h | H A D | 11-Oct-2010 | 912 | 42 | 32 |
| wcwidth.c | H A D | 12-Jun-2021 | 43.1 KiB | 901 | 649 |
| wcwidth.h | H A D | 18-Jun-2017 | 1.9 KiB | 48 | 10 |
| xcharmouse.h | H A D | 03-Aug-2020 | 3.2 KiB | 94 | 36 |
| xstrings.c | H A D | 12-Oct-2020 | 11.6 KiB | 579 | 421 |
| xstrings.h | H A D | 22-Dec-2016 | 3 KiB | 69 | 29 |
| xterm.appdata.xml | H A D | 13-Nov-2021 | 1.8 KiB | 48 | 46 |
| xterm.dat | H A D | 15-Sep-2020 | 5.9 KiB | 165 | 147 |
| xterm.desktop | H A D | 08-Mar-2016 | 1.9 KiB | 44 | 43 |
| xterm.h | H A D | 19-Sep-2021 | 68.8 KiB | 1,775 | 1,473 |
| xterm.man | H A D | 22-Sep-2021 | 305.7 KiB | 8,911 | 8,826 |
| xterm_axp.opt | H A D | 29-Jan-2000 | 371 | 29 | 28 |
| xterm_io.h | H A D | 18-Jan-2020 | 7.2 KiB | 288 | 194 |
| xtermcap.c | H A D | 12-Oct-2020 | 15.6 KiB | 653 | 508 |
| xtermcap.h | H A D | 23-Jun-2013 | 3.2 KiB | 121 | 58 |
| xtermcfg.hin | H A D | 22-Aug-2021 | 11.4 KiB | 255 | 245 |
| xutf8.c | H A D | 23-Jun-2020 | 7.6 KiB | 382 | 309 |
| xutf8.h | H A D | 10-Oct-2010 | 1.7 KiB | 62 | 32 |
README
1-- $XTermId: README,v 1.3 2007/05/24 19:49:19 tom Exp $
2-- Below is the original README for xterm from 1991, for your amusement.
3-- For a better overview, see http://invisible-island.net/xterm/
4-------------------------------------------------------------------------------
5 Abandon All Hope, Ye Who Enter Here
6
7
8This is undoubtedly the most ugly program in the distribution. It was one of
9the first "serious" programs ported, and still has a lot of historical baggage.
10Ideally, there would be a general tty widget and then vt102 and tek4014
11subwidgets so that they could be used in other programs. We are trying to
12clean things up as we go, but there is still a lot of work to do.
13
14If you are porting this to a machine that has problems with overlapping
15bcopy's, watch out!
16
17There are two documents on xterm: the man page, xterm.man, which describes
18how to use it, and ctlseqs.ms, which describes the control sequences it
19understands.
20
README.i18n
1-- $XFree86: xc/programs/xterm/README.i18n,v 1.1 2003/11/13 01:16:37 dickey Exp $
2
3Using xterm in your language
4============================
5
6Since XFree86 version 4.0, the internationalization (i18n) feature of
7xterm is gradually improved. Xterm is being improved even now. You
8need only set the standard locale environment variables such as
9LC_CTYPE, LC_ALL, LC_CTYPE, or LANG. Once the locale is set up you can
10use xterm in your favorite character encoding.
11
12This document explains how the i18n feature is realized and how to
13configure xterm for your character encoding.
14
15Refer to locale(7) for details of the locale mechanism.
16
17
18Basic i18n-related settings and resources
19=========================================
20
21These settings apply to XFree86 xterm patch #181, and the program luit
22which is distributed with XFree86 4.4
23
241. Usage of "locale mode"
25
26 On startup, xterm must be in "locale mode" to make it follow the
27 current locale. You can invoke xterm in locale mode in these ways:
28
29 a. Set "vt100.locale" resource "true". This resource was
30 introduced since XFree86 4.3. The default value of the "locale"
31 resource is "medium", which means xterm follows the locale only
32 in Chinese, Japanese, Korean, or Thai locales. For example,
33
34 XTerm*locale: true
35
36 in your ~/.Xresources file.
37
38 or
39
40 b. Invoke xterm with the "-lc" option.
41
422. Converter program "luit"
43
44 The "luit" must be available in the standard XFree86 binary
45 directory. It is usually available because it is part of the
46 XFree86 distribution. The standard binary directory may differ from
47 system to system. /usr/X11R6/bin/luit is an example.
48
49 "luit" is used to convert between Unicode and the character encoding
50 for your locale. When built for XFree86, xterm includes logic for
51 invoking luit.
52
533. Locale setting
54
55 Finally, you will need to configure your locale. We expect that you
56 have already configured your locale for other software. For example,
57
58 LANG=de_DE@euro
59 export LANG
60
61 in your ~/.xsession file. There are many ways to configure locale.
62 For example, your display manager may have a mechanism to invoke a
63 window manager in your favorite locale, or you may have system-wide
64 locale setting in /etc/environment. You may also have set the
65 LC_ALL variable instead of the LANG variable.
66
67
68How to use xterm in different locale temporarily
69================================================
70
71You may sometimes need to invoke xterm in a different character encoding
72than your current locale. For example, use xterm to login remote systems
73in different locale.
74
75Do this by invoking xterm in the target locale. For example,
76
77 $ LANG=ru_RU.KOI8-R xterm &
78
79Previously, font setting has been used in such cases.
80
81 $ xterm -fn -misc-fixed-medium-r-normal--10-*-*-*-*-*-koi8-r &
82
83This does not work well in conjunction with the "locale" resource,
84because luit and xterm combined rely upon Unicode fonts.
85
86
87How to set fonts for UTF-8/locale modes
88=======================================
89
90Since xterm patch #181, xterm can automatically use Unicode fonts in
91UTF-8 mode and locale mode. Few of you will need to modify the default
92setting to display your language. In particular, Unicode fonts in
93combination with locale mode will satisfy the needs of not only
94ISO-8859-1 users but also East Asian and other non-ISO-8859-1 users.
95
96If you want to set your favorite Unicode font for UTF-8 and locale
97modes, you should add a line such as the following in your ~/.Xresources
98file:
99
100 XTerm*VT100.utf8Fonts.font: \
101 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
102
103The leading "XTerm*" pattern is more specific than the system's
104app-defaults file, therefore it overrides the corresponding line
105beginning with
106
107 *VT100.utf8Fonts.font:
108
109Here is an additional note. If you want to display East Asian
110doublewidth characters (CJK Ideogram, Hiragana, Katakana, Hangul,
111and so on), we recommend using
112
113 -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-iso10646-1
114
115or
116
117 -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso10646-1
118
119because these two fonts have corresponding doublewidth fonts. These
120fonts are used as default font and default "Large" font, respectively.
121
122
123The internals of xterm i18n
124===========================
125
126You do not need to read this section if you only want to configure your
127xterm. Here we describe how xterm is implemented to support i18n.
128
129The original version of xterm does not support locale or character
130encoding. Its I/O stream is interpreted as a mere 8-bit index for a
131font.
132
133Beginning with XFree86 4.0, xterm supported UTF-8. It was implemented
134as a separate UTF-8 mode from the conventional 8-bit mode. Character
135encodings had no effect on the 8-bit mode. The UTF-8 mode has been
136extended to support doublewidth characters (for East Asian characters)
137and combining characters (such as accents for Latin alphabets and Thai
138vowels/tone marks).
139
140Doublewidth characters are characters that occupy two continuing
141columns on the terminal. Xterm uses separate fonts for normal
142(singlewidth) characters and doublewidth characters. Though xterm has
143configuration items for specifying doublewidth fonts, it will
144automatically search for a font with exactly twice as wide and the same
145name as the specified normal font.
146
147The default behavior of xterm was modified to use this UTF-8 mode in
148UTF-8 locales. A command line option of "-u8" and a resource of "utf8"
149were introduced to choose UTF-8 mode.
150
151"luit" was introduced to XFree86 at version 4.2. It converts between
152UTF-8 and other encodings. When luit is invoked in a UTF-8 terminal,
153the terminal acts as if it is really running in the other encoding.
154
155Since XFree86 version 4.3, xterm provides a new mode to invoke luit
156automatically to support various encodings. The mode where xterm
157invokes luit is called "locale mode". It is the third mode following
158conventional 8-bit mode and UTF-8 mode. In the locale mode, xterm is
159aware of the current locale and character encoding. Since locale mode
160uses luit, it is based on the UTF-8 mode. That is, xterm works in UTF-8
161mode and luit works as a converter between UTF-8 and the character
162encoding for your locale. This is why the locale mode always needs
163Unicode fonts. The default behavior of xterm is modified so that the
164"locale mode" will be adopted in Chinese (Big5 and GB2312), Japanese
165(EUC-JP), Korean (EUC-KR), and Thai (ISO-8859-11, as known as TIS-620)
166locales. Locale mode is chosen for these character encodings because
167these encodings are not supported by conventional 8-bit mode even by
168changing fonts (ISO-8859-11 needs combining characters and others need
169doublewidth characters).
170
171To control the locale mode, command line options of "-lc" and "-en" and
172a resource of "locale" were introduced. The command line option of
173"-u8" and a resource of "utf8" were made obsolete by them, though
174retained for compatibility.
175
176Since XFree86 version 4.4, xterm can have two sets of default fonts,
177one for conventional 8-bit mode and another for UTF-8 and locale modes,
178by introducing the "utf8Fonts" subresource.
179
180
181Future TODO Items
182=================
183
184We anticipate that xterm's locale mode will be used increasingly in the
185future. Since the UTF-8 and locale modes use more resources than
186conventional 8-bit mode (because it needs larger fonts and another
187process "luit"), faster hardware may be needed to gain complete
188acceptance by users. However, the locale mechanism allows users
189to manipulate data in a standard form. Its usefulness compensates
190in part for reduced performance.
191
192Xterm supports antialiased fonts ("-fa" and "-fs" command line options).
193Currently UTF-8 nor locale modes do not work with antialiased fonts.
194
195Xterm does not support bi-directional or RTL languages such as Hebrew
196and Arab. A simple standard how terminal should behave for these
197languages is needed.
198
199Xterm does not support Unicode characters above U+10000.
200
README.os390
1-- $XFree86: xc/programs/xterm/README.os390,v 1.3 2000/09/22 10:42:05 alanh Exp $
2
3Below are install instructions for os/390 2.5 & below and
4for os/390 2.6 & above. The basic reasons for exporting
5the LIBS and CFLAGS variables is to get the configure
6script to run properly under os/390. configure, when
7checking for X, attempts to compile a program something like
8
9 int main() {
10 XtMalloc()
11 ; return 0; }
12
13using 'cc -o conftest conftest.c -lXt'. However this results
14in a number of linkedit messages such as:
15
16 IEW2456E 9207 SYMBOL xcatd UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE
17 DESIGNATED CALL LIBRARY. NAME SPACE = 3
18 IEW2456E 9207 SYMBOL XrmQGetResource UNRESOLVED. MEMBER COULD NOT BE INCLUDED
19 FROM THE DESIGNATED CALL LIBRARY.
20 IEW2456E 9207 SYMBOL XrmGetDatabase UNRESOLVED. MEMBER COULD NOT BE INCLUDED
21 FROM THE DESIGNATED CALL LIBRARY.
22
23The only way I can get this program to compile and link is to
24use 'cc -o conftest conftest.c -lXt -lX11 -lSM -lICE'.
25With os/390 2.6 and above, IBM has provided X functions in dlls;
26this is the reason for the separate install steps. In fact,
27trying to use the X archive files (eg -lX11) when linking xterm
28results in an abend0C1 in low storage when X tries to call the
29initialize function (at least on my system). This has something
30to do with the calling X routine thinking it has a function pointer
31descriptor (c++) when it actually has just a function pointer (c).
32Unfortunately, I have been unable to recreate the problem in a
33simple testcase, so I haven't reported it to IBM. Anyway, for os/390
342.6 and above, configure will build a Makefile with the following line:
35
36 LIBS = -lXaw -lXext -lXmu -lXt -lSM -lICE -lX11 /usr/lib/Xaw.x /usr/lib/SM.x /usr/lib/ICE.x /usr/lib/X11.x -lcurses
37
38The '-lXaw -lXext -lXmu -lXt -lSM -lICE -lX11' should be manually removed;
39this isn't strictly necessary, but will reduce the size of the executable
40by about 4M.
41
42The '-Wl,EDIT=NO' causes the Binder to produce a non-editable executable,
43dramatically reducing the size of the executable file.
44
45Good Luck!!
46Greg Smith
47rys@trex.rtpnc.epa.gov
48
49
50
51Install instructions for os/390 2.5 and *below*:
52------------------------------------------------
53 gunzip xterm.tar.gz
54 pax -o from=ISO8859-1,to=IBM-1047 -rf xterm.tar
55 cd xterm
56 export LIBS='-lXt -lX11 -lSM -lICE'
57 export CFLAGS='-D_ALL_SOURCE -Wl,EDIT=NO'
58 ./configure
59 make
60 export DISPLAY=my.xserver.name:0
61 ./xterm
62
63
64Install instructions for os/390 2.6 and *above*:
65------------------------------------------------
66 gunzip xterm.tar.gz
67 pax -o from=ISO8859-1,to=IBM-1047 -rf xterm.tar
68 cd xterm
69 ./configure # LIBS, CFLAGS, and CC are defined by configure for os/390 2.6.
70 [optional: edit the Makefile and remove '-lXaw -lXext -lXmu -lXt -lSM -lICE -lX11'
71 from the LIBS assignment]
72 make
73 export DISPLAY=my.xserver.name:0
74 ./xterm
75