• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

icons/H03-May-2022-1,6601,652

package/H22-Sep-2021-1,7951,212

tektests/H03-May-2022-53

unicode/H09-Sep-2018-1,3441,279

vttests/H11-Nov-2021-12,9889,151

256colres.hH A D12-Jun-200715.5 KiB251243

256colres.plH A D08-Jun-20073 KiB9440

88colres.hH A D12-Jun-20074.7 KiB8375

88colres.plH A D08-Jun-20073.1 KiB9741

COPYINGH A D03-Jan-20213.7 KiB7659

INSTALLH A D22-Aug-202132.7 KiB888586

ImakefileH A D02-Nov-201910 KiB339298

KOI8RXTerm.adH A D04-Mar-20102.3 KiB5147

MANIFESTH A D11-Nov-202116.1 KiB259258

Makefile.inH A D23-Dec-202021.1 KiB639500

NEWSH A D13-Nov-20212.1 KiB4138

READMEH A D24-May-2007943 2015

README.i18nH A D13-Nov-20037.8 KiB200141

README.os390H A D28-Oct-20002.9 KiB7560

THANKSH A D12-Sep-20213.9 KiB253248

TekPrsTbl.cH A D13-Feb-200653.2 KiB2,6492,073

Tekparse.defH A D12-Feb-20062.2 KiB7573

Tekparse.hH A D06-Oct-20161.9 KiB5619

Tekproc.cH A D03-Jun-202155.6 KiB2,1101,699

TestsH A D06-May-19911.3 KiB4326

UXTerm.adH A D03-May-20223.7 KiB8276

VTPrsTbl.cH A D22-Dec-2020201.7 KiB9,5087,552

VTparse.defH A D15-Dec-20204.4 KiB221219

VTparse.hH A D10-Feb-20193 KiB9650

XTerm-col.adH A D15-Aug-20095.7 KiB164145

XTerm.adH A D03-Feb-202110.7 KiB273253

aclocal.m4H A D07-Sep-2021157.3 KiB5,4145,111

button.cH A D12-Aug-2021153.1 KiB6,1044,902

cachedGCs.cH A D16-Sep-202119.2 KiB881698

charclass.cH A D02-Feb-202113.2 KiB512403

charclass.hH A D18-Jan-2020546 2412

charproc.cH A D12-Nov-2021355.3 KiB13,38810,984

charsets.cH A D25-Dec-202075 KiB1,8011,584

config.guessH A D04-Jun-202148.2 KiB1,7491,522

config.subH A D14-Aug-202134.4 KiB1,8851,698

configureH A D07-Sep-2021665.8 KiB25,72921,271

configure.inH A D22-Aug-202138.7 KiB1,1901,053

ctlseqs.msH A D11-Nov-2021141.9 KiB4,4084,289

cursor.cH A D12-Jul-201912 KiB469293

data.cH A D27-May-20213.9 KiB13361

data.hH A D27-May-20217.5 KiB271172

df-install.inH A D18-Aug-20204.1 KiB16799

doublechr.cH A D10-Dec-20209 KiB376258

error.hH A D05-Oct-20125 KiB10639

fontutils.cH A D10-Nov-2021144.8 KiB5,5754,590

fontutils.hH A D25-Feb-20217.7 KiB180115

gen-charsets.plH A D22-Aug-20183.4 KiB10660

gen-pc-fkeys.plH A D30-Nov-200710.4 KiB365260

graphics.cH A D19-Sep-202147.8 KiB1,8141,389

graphics.hH A D29-May-20166.6 KiB12877

graphics_regis.cH A D25-Feb-2021218.9 KiB7,6906,460

graphics_regis.hH A D29-May-20161.8 KiB499

graphics_sixel.cH A D10-Aug-202119 KiB657508

graphics_sixel.hH A D29-May-20161.8 KiB499

html.cH A D19-Sep-20218.7 KiB300225

input.cH A D12-Sep-202153.6 KiB2,0821,578

install-shH A D29-Nov-20037 KiB295169

keysym2ucs.cH A D09-Sep-201866.8 KiB872809

keysym2ucs.hH A D13-Jun-1999244 102

koi8rxtermH A D27-Jan-20213.7 KiB11656

koi8rxterm.manH A D23-Jun-20183.3 KiB11084

linedata.cH A D22-Aug-20218.4 KiB287201

link_axp.comH A D09-Feb-20002.8 KiB108107

main.cH A D16-Sep-2021153.7 KiB5,8114,692

main.hH A D24-Aug-20216.3 KiB275161

make.comH A D09-Feb-20001.9 KiB9190

menu.cH A D03-Jun-202191.5 KiB4,1703,512

menu.hH A D21-Mar-202116.7 KiB593450

minstall.inH A D27-Jan-20215.8 KiB17797

misc.cH A D12-Nov-2021183.6 KiB7,8666,476

plink.shH A D27-Jan-20212.4 KiB8245

precompose.cH A D22-May-201628 KiB1,0651,050

precompose.hH A D28-Aug-2000260 124

print.cH A D02-Mar-202121.4 KiB876675

ptydata.cH A D12-Oct-202022.8 KiB1,015818

ptyx.hH A D08-Nov-2021102.6 KiB3,6402,852

resize.cH A D21-Mar-202115.7 KiB606476

resize.manH A D07-Feb-20197.6 KiB236200

run-tic.shH A D21-Sep-20214.1 KiB13879

screen.cH A D05-Nov-202175.9 KiB3,0302,273

scrollback.cH A D12-Oct-20204.1 KiB12861

scrollbar.cH A D06-Jun-202126.1 KiB1,033748

sinstall.shH A D06-Mar-20106.1 KiB199123

svg.cH A D19-Sep-20217.9 KiB286213

tabs.cH A D13-Nov-20195.2 KiB19990

termcapH A D25-Dec-201710.3 KiB249241

terminfoH A D21-Sep-202154.4 KiB2,7552,707

testxmc.cH A D08-Nov-20206.8 KiB233119

trace.cH A D14-Sep-202132.9 KiB1,4811,328

trace.hH A D01-Feb-20218.2 KiB239159

util.cH A D08-Nov-2021138.2 KiB5,6104,524

uxtermH A D07-Mar-20204.2 KiB15092

uxterm.desktopH A D06-Feb-20191.9 KiB4443

uxterm.manH A D23-Jun-20183.2 KiB10478

version.cH A D23-Jun-20202.6 KiB8138

version.hH A D13-Nov-20212 KiB519

vms.cH A D18-Jan-202017.6 KiB725431

vms.hH A D11-Oct-2010912 4232

wcwidth.cH A D12-Jun-202143.1 KiB901649

wcwidth.hH A D18-Jun-20171.9 KiB4810

xcharmouse.hH A D03-Aug-20203.2 KiB9436

xstrings.cH A D12-Oct-202011.6 KiB579421

xstrings.hH A D22-Dec-20163 KiB6929

xterm.appdata.xmlH A D13-Nov-20211.8 KiB4846

xterm.datH A D15-Sep-20205.9 KiB165147

xterm.desktopH A D08-Mar-20161.9 KiB4443

xterm.hH A D19-Sep-202168.8 KiB1,7751,473

xterm.manH A D22-Sep-2021305.7 KiB8,9118,826

xterm_axp.optH A D29-Jan-2000371 2928

xterm_io.hH A D18-Jan-20207.2 KiB288194

xtermcap.cH A D12-Oct-202015.6 KiB653508

xtermcap.hH A D23-Jun-20133.2 KiB12158

xtermcfg.hinH A D22-Aug-202111.4 KiB255245

xutf8.cH A D23-Jun-20207.6 KiB382309

xutf8.hH A D10-Oct-20101.7 KiB6232

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