226
285
(I am aware of a few others, such as
227
286
<STRONG>xcterm</STRONG>, but have not seen
228
287
a working version of these).
230
There were for some time two versions of XFree86 xterm. Starting with my
231
<a href="xterm.log.html#xterm_88">patch 88</a>,
232
there were the stable (beta) and unstable (alpha) versions, which currently
233
are XFree86 3.3.6 and XFree86 4.x, respectively.
234
I made only critical changes to the stable version since
236
ongoing development (including all non-critical fixes)
237
was focused on the "unstable".
239
XFree86 4.0 should have incorporated my
240
<a href="xterm.log.html#xterm_131">patch 131</a>,
241
but it was overlooked at the last moment
242
(though it was listed in the ChangeLog, the patch itself was not applied).
243
Unfortunately, the patch 130 version which was released
244
renders colors incorrectly on most platforms, in particular FreeBSD.
245
Ironically, the change in
246
<a href="xterm.log.html#xterm_129">patch 129</a>
247
which introduced this bug
248
was designed to work around a bug which I have seen only running with FreeBSD.
249
To compound the irony,
250
there was some resistance at the time
251
(2000/4/5) by that organization to incorporating the fix
252
because it might be confused with the 4.0 release version.
289
<h2><A name="compare_versions">Comparing versions, by counting controls</a></h2>
291
Several of these programs are claimed (either by their developers,
292
or their users) to emulate "most" of xterm.
293
To me, "most" would be something quantifiable, e.g., 80 percent.
294
To satisfy my curiousity, I wrote a script to extract the control
295
sequence information from <a href="#ctlseqs_ms">ctlseqs.txt</a>.
296
This counts each control sequence, as well as the variations such as
297
setting bold, color, inverse video.
298
Then I (laboriously) inspected these terminal implementations:
300
<li>xterm patch #266 ("xterm-new")
301
<li>X11R6.3 xterm (xterm-r6)
305
<li>rxvt-unicode 9.09 (urxvt)
307
<li>VTE 0.25.91 (vte), used in GNOME-Terminal and kindred.
310
As of mid-November 2010, these are the latest implementations.
311
I included data for the vt220 and vt102 to be able to contrast the
312
various terminal <em>emulators</em> against those as well as xterm.
316
<li>498 control sequences listed in the corresponding file
317
for xterm patch #266.
318
<li>192 of those are "primary", e.g., disregarding
319
parameters such as those distinguishing bold from color.
320
<li>37 of the primary control sequences have secondary sequences.
322
For each control, there are three possibilities:
324
<li>"yes" — the terminal implements it, matching xterm.
325
If xterm implements it, and it is a feature of vt220 or vt102,
326
then in turn xterm's behavior must match vt220 or vt102.
327
<li>"partial" — the terminal implements it, but its behavior does not match the
328
reference noted above.
329
<li>"no" — the terminal does not implement the control.
332
The control sequences document lists a few controls which xterm
333
does not (completely) implement, e.g.,
336
<li>enabling LEDs other than scroll-lock
338
None of the other terminal emulators implements those either.
340
<table border="1" summary="Comparing against the control sequences document">
341
<caption>Comparing against the control sequences document</caption>
342
<colgroup><col width="15%"><col width="15%"><col width="15%"><col width="35%"></colgroup>
349
<tr><td>488</td><td>4</td><td>6</td><td>xterm-new</td></tr>
350
<tr><td>154</td><td>6</td><td>338</td><td>xterm-r6</td></tr>
351
<tr><td>188</td><td>5</td><td>305</td><td>vt220</td></tr>
352
<tr><td>104</td><td>0</td><td>394</td><td>vt102</td></tr>
353
<tr><td>204</td><td>3</td><td>291</td><td>rxvt</td></tr>
354
<tr><td>219</td><td>3</td><td>276</td><td>urxvt</td></tr>
355
<tr><td>191</td><td>2</td><td>305</td><td>putty</td></tr>
356
<tr><td>170</td><td>3</td><td>325</td><td>konsole</td></tr>
357
<tr><td>184</td><td>6</td><td>308</td><td>vte</td></tr>
360
Modern xterm implements 188 primary controls.
361
In this table, konsole ranks last because it does not support vt52 emulation.
362
Aside from that, the various emulators implement much the same features
364
None implements as many as half of xterm's controls.
365
<table border="1" summary="Comparing against xterm">
366
<caption>Comparing against xterm</caption>
367
<colgroup><col width="15%"><col width="15%"><col width="15%"><col width="35%"></colgroup>
374
<tr><td>488</td><td>0</td><td>0</td><td>xterm-new</td></tr>
375
<tr><td>154</td><td>6</td><td>328</td><td>xterm-r6</td></tr>
376
<tr><td>182</td><td>2</td><td>304</td><td>vt220</td></tr>
377
<tr><td>98</td><td>0</td><td>390</td><td>vt102</td></tr>
378
<tr><td>204</td><td>3</td><td>281</td><td>rxvt</td></tr>
379
<tr><td>219</td><td>3</td><td>266</td><td>urxvt</td></tr>
380
<tr><td>189</td><td>2</td><td>297</td><td>putty</td></tr>
381
<tr><td>170</td><td>3</td><td>315</td><td>konsole</td></tr>
382
<tr><td>184</td><td>6</td><td>298</td><td>vte</td></tr>
385
DEC VT220 implements 96 primary controls.
386
Modern xterm (as documented), implements most of the VT220.
387
VTE implements fewer than half.
388
The others are a little better.
389
None of the others could be used as a real VT220.
390
<table border="1" summary="Comparing against vt220">
391
<caption>Comparing against vt220</caption>
392
<colgroup><col width="15%"><col width="15%"><col width="15%"><col width="35%"></colgroup>
399
<tr><td>182</td><td>0</td><td>6</td><td>xterm-new</td></tr>
400
<tr><td>78</td><td>6</td><td>104</td><td>xterm-r6</td></tr>
401
<tr><td>188</td><td>0</td><td>0</td><td>vt220</td></tr>
402
<tr><td>104</td><td>0</td><td>84</td><td>vt102</td></tr>
403
<tr><td>101</td><td>3</td><td>84</td><td>rxvt</td></tr>
404
<tr><td>106</td><td>3</td><td>79</td><td>urxvt</td></tr>
405
<tr><td>107</td><td>2</td><td>79</td><td>putty</td></tr>
406
<tr><td>100</td><td>3</td><td>85</td><td>konsole</td></tr>
407
<tr><td>88</td><td>6</td><td>94</td><td>vte</td></tr>
410
DEC VT102 (the actual flavor used for "vt100" in most cases),
411
implements 68 primary controls.
412
Again, VTE fares worst, and the others a little better.
413
<table border="1" summary="Comparing against vt102">
414
<caption>Comparing against vt102</caption>
415
<colgroup><col width="15%"><col width="15%"><col width="15%"><col width="35%"></colgroup>
422
<tr><td>98</td><td>0</td><td>6</td><td>xterm-new</td></tr>
423
<tr><td>70</td><td>6</td><td>28</td><td>xterm-r6</td></tr>
424
<tr><td>104</td><td>0</td><td>0</td><td>vt220</td></tr>
425
<tr><td>104</td><td>0</td><td>0</td><td>vt102</td></tr>
426
<tr><td>79</td><td>2</td><td>23</td><td>rxvt</td></tr>
427
<tr><td>81</td><td>2</td><td>21</td><td>urxvt</td></tr>
428
<tr><td>86</td><td>2</td><td>16</td><td>putty</td></tr>
429
<tr><td>85</td><td>3</td><td>16</td><td>konsole</td></tr>
430
<tr><td>60</td><td>1</td><td>43</td><td>vte</td></tr>
433
In summary, none of the other terminal emulators emulates "most" of xterm.
434
Instead, they implement the most commonly-used control sequences,
435
and there are differences between them.
254
437
<h2><A NAME="how_do_i">How do I ...</A></h2>
255
438
Not really problems, but frequently asked questions (the point of this,
383
567
I have seen a few postings on the newsgroups that do this.
384
568
Here is one from Bruce Momjian <root@candle.pha.pa.us>
387
xterm $XTERMFLAGS +rw +sb +ls $@ -tm 'erase ^? intr ^c' \
388
-name vt220 -title vt220 -tn xterm-220 "$@" &
570
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
571
xterm <font color="#008080">$XTERMFLAGS</font> +rw +sb +ls <font color="#008080">$@</font> -tm <font color="#800080">'erase ^? intr ^c'</font> \<br>
572
-name vt220 -title vt220 -tn xterm-220 <font color="#800080">"$@"</font> &<br>
573
<!--atr2html}}--></p>
391
574
with the corresponding resources:
393
XTerm*VT100.translations: #override \n\
394
<Key>Home: string(0x1b) string("[3~") \n \
395
<Key>End: string(0x1b) string("[4~") \n
396
vt220*VT100.translations: #override \n\
397
~Shift <Key>F1: string(0x1b) string("OP") \n \
398
~Shift <Key>F2: string(0x1b) string("OQ") \n \
399
~Shift <Key>F3: string(0x1b) string("OR") \n \
400
~Shift <Key>F4: string(0x1b) string("OS") \n \
401
~Shift <Key>F5: string(0x1b) string("[16~") \n \
402
~Shift <Key>F6: string(0x1b) string("[17~") \n \
403
~Shift <Key>F7: string(0x1b) string("[18~") \n \
404
~Shift <Key>F8: string(0x1b) string("[19~") \n \
405
~Shift <Key>F9: string(0x1b) string("[20~") \n \
406
~Shift <Key>F10: string(0x1b) string("[21~") \n \
407
~Shift <Key>F11: string(0x1b) string("[28~") \n \
408
~Shift <Key>F12: string(0x1b) string("[29~") \n \
409
Shift <Key>F1: string(0x1b) string("[23~") \n \
410
Shift <Key>F2: string(0x1b) string("[24~") \n \
411
Shift <Key>F3: string(0x1b) string("[25~") \n \
412
Shift <Key>F4: string(0x1b) string("[26~") \n \
413
Shift <Key>F5: string(0x1b) string("[K~") \n \
414
Shift <Key>F6: string(0x1b) string("[31~") \n \
415
Shift <Key>F7: string(0x1b) string("[31~") \n \
416
Shift <Key>F8: string(0x1b) string("[32~") \n \
417
Shift <Key>F9: string(0x1b) string("[33~") \n \
418
Shift <Key>F10: string(0x1b) string("[34~") \n \
419
Shift <Key>F11: string(0x1b) string("[28~") \n \
420
Shift <Key>F12: string(0x1b) string("[29~") \n \
421
<Key>Print: string(0x1b) string("[32~") \n\
422
<Key>Cancel: string(0x1b) string("[33~") \n\
423
<Key>Pause: string(0x1b) string("[34~") \n\
424
<Key>Insert: string(0x1b) string("[2~") \n\
425
<Key>Delete: string(0x1b) string("[3~") \n\
426
<Key>Home: string(0x1b) string("[1~") \n\
427
<Key>End: string(0x1b) string("[4~") \n\
428
<Key>Prior: string(0x1b) string("[5~") \n\
429
<Key>Next: string(0x1b) string("[6~") \n\
430
<Key>BackSpace: string(0x7f) \n\
431
<Key>Num_Lock: string(0x1b) string("OP") \n\
432
<Key>KP_Divide: string(0x1b) string("Ol") \n\
433
<Key>KP_Multiply: string(0x1b) string("Om") \n\
434
<Key>KP_Subtract: string(0x1b) string("OS") \n\
435
<Key>KP_Add: string(0x1b) string("OM") \n\
436
<Key>KP_Enter: string(0x1b) string("OM") \n\
437
<Key>KP_Decimal: string(0x1b) string("On") \n\
438
<Key>KP_0: string(0x1b) string("Op") \n\
439
<Key>KP_1: string(0x1b) string("Oq") \n\
440
<Key>KP_2: string(0x1b) string("Or") \n\
441
<Key>KP_3: string(0x1b) string("Os") \n\
442
<Key>KP_4: string(0x1b) string("Ot") \n\
443
<Key>KP_5: string(0x1b) string("Ou") \n\
444
<Key>KP_6: string(0x1b) string("Ov") \n\
445
<Key>KP_7: string(0x1b) string("Ow") \n\
446
<Key>KP_8: string(0x1b) string("Ox") \n\
447
<Key>KP_9: string(0x1b) string("Oy") \n
449
! <Key>Up: string(0x1b) string("[A") \n\
450
! <Key>Down: string(0x1b) string("[B") \n\
451
! <Key>Right: string(0x1b) string("[C") \n\
452
! <Key>Left: string(0x1b) string("[D") \n\
576
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
577
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">translations</font>:<font color="#800080"> #override \n\<br>
578
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Home: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">3</font></strong><font color="#800080">~") \n \<br>
579
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">End: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">4</font></strong><font color="#800080">~") \n</font><br>
580
<font color="#008080">vt220</font>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">translations</font>:<font color="#800080"> #override \n\<br>
581
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F1: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OP") \n \<br>
582
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F2: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OQ") \n \<br>
583
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F3: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OR") \n \<br>
584
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F4: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OS") \n \<br>
585
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F5: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">16</font></strong><font color="#800080">~") \n \<br>
586
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F6: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">17</font></strong><font color="#800080">~") \n \<br>
587
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F7: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">18</font></strong><font color="#800080">~") \n \<br>
588
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F8: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">19</font></strong><font color="#800080">~") \n \<br>
589
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F9: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">20</font></strong><font color="#800080">~") \n \<br>
590
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F10: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">21</font></strong><font color="#800080">~") \n \<br>
591
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F11: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">28</font></strong><font color="#800080">~") \n \<br>
592
~Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F12: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">29</font></strong><font color="#800080">~") \n \<br>
593
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F1: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">23</font></strong><font color="#800080">~") \n \<br>
594
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F2: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">24</font></strong><font color="#800080">~") \n \<br>
595
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F3: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">25</font></strong><font color="#800080">~") \n \<br>
596
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F4: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">26</font></strong><font color="#800080">~") \n \<br>
597
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F5: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[K~") \n \<br>
598
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F6: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">31</font></strong><font color="#800080">~") \n \<br>
599
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F7: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">31</font></strong><font color="#800080">~") \n \<br>
600
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F8: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">32</font></strong><font color="#800080">~") \n \<br>
601
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F9: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">33</font></strong><font color="#800080">~") \n \<br>
602
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F10: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">34</font></strong><font color="#800080">~") \n \<br>
603
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F11: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">28</font></strong><font color="#800080">~") \n \<br>
604
Shift </font><strong><font color="#000080"><Key></font></strong><font color="#800080">F12: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">29</font></strong><font color="#800080">~") \n \<br>
605
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Print: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">32</font></strong><font color="#800080">~") \n\<br>
606
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Cancel: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">33</font></strong><font color="#800080">~") \n\<br>
607
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Pause: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">34</font></strong><font color="#800080">~") \n\<br>
608
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Insert: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">2</font></strong><font color="#800080">~") \n\<br>
609
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Delete: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">3</font></strong><font color="#800080">~") \n\<br>
610
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Home: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">1</font></strong><font color="#800080">~") \n\<br>
611
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">End: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">4</font></strong><font color="#800080">~") \n\<br>
612
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Prior: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">5</font></strong><font color="#800080">~") \n\<br>
613
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Next: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("[</font><strong><font color="#008080">6</font></strong><font color="#800080">~") \n\<br>
614
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">BackSpace: string(</font><strong><font color="#008080">0x7f</font></strong><font color="#800080">) \n\<br>
615
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Num_Lock: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OP") \n\<br>
616
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Divide: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ol") \n\<br>
617
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Multiply: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Om") \n\<br>
618
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Subtract: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OS") \n\<br>
619
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Add: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OM") \n\<br>
620
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Enter: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("OM") \n\<br>
621
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Decimal: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("On") \n\<br>
622
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_0: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Op") \n\<br>
623
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_1: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Oq") \n\<br>
624
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_2: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Or") \n\<br>
625
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_3: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Os") \n\<br>
626
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_4: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ot") \n\<br>
627
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_5: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ou") \n\<br>
628
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_6: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ov") \n\<br>
629
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_7: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ow") \n\<br>
630
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_8: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Ox") \n\<br>
631
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_9: string(</font><strong><font color="#008080">0x1b</font></strong><font color="#800080">) string("Oy") \n</font><br>
633
<font color="#800000">! <Key>Up: string(0x1b) string("[A") \n\<br>
634
</font> <font color="#800000">! <Key>Down: string(0x1b) string("[B") \n\<br>
635
</font> <font color="#800000">! <Key>Right: string(0x1b) string("[C") \n\<br>
636
</font> <font color="#800000">! <Key>Left: string(0x1b) string("[D") \n\<br>
638
*<font color="#008080">visualBell</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
639
*<font color="#008080">saveLines</font>:<font color="#800080"> </font><strong><font color="#008080">1000</font></strong><br>
640
*<font color="#008080">cursesemul</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
641
*<font color="#008080">scrollKey</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
642
*<font color="#008080">scrollBar</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
643
<!--atr2html}}--></p>
460
645
Note that real VT220 terminals use shifted function keys to mean something
461
different: the user-programmable keys (i.e., DECUDK). XFree86 xterm
646
different: the user-programmable keys (i.e., DECUDK). Modern xterm
462
647
supports this, but the translations do not (they're using shift to select
465
650
Here's another one, from
466
651
Robert Ess <ress@spd.dsccc.com>:
471
# 09-17-96 Bob Ess - initial creation
472
# 09-26-96 Shig Katada - Additional keybindings
474
# Script file to incorporate keybindings and command line
475
# options for connecting to a VAX node
480
echo " Usage : vax -options"
482
echo " Options: -80 for 80 column terminal"
483
echo " -132 for 132 column terminal"
484
echo " -fg colorname"
485
echo " -bg colorname"
487
echo " -fb bold fontname"
488
echo " -host [altair] [devel] [leonis] [castor]"
490
echo " Example: \"vax -80 -fg white -bg black -fn 9x15 -fb 9x15b -host castor\""
491
echo " Starts a VAX session with an 80 column terminal"
492
echo " with a black background, white foreground, a normal"
493
echo " font of 9x15 and a bold font of 9x15b, and connects"
494
echo " to the node 'castor'"
496
echo " If you need additional help, please call Workstation"
497
echo " Services at x92396."
503
# Default to a black foreground with a white background.
504
# Use the 9x15 and 9x15bold fonts. Connect to castor by default.
514
# Parse the command line arguments
550
xterm -title "VAX" -sb -sl 1200 -geo ${COLS}x24 -fg ${FG} -bg ${BG} \
551
-cr red -fn ${FONT} -fb ${BFONT} -xrm \
552
'XTerm*VT100.translations: #override \n\
553
<Key>Insert: string(\001) \n\
554
Shift <Key>Up: scroll-back(1,lines) \n\
555
Shift <Key>Down: scroll-forw(1,lines) \n\
556
Shift <Key>Right: string(0x1b) string("f") \n\
557
Shift <Key>Left: string(0x1b) string("b") \n\
558
Shift <Key>Delete: string(0x1b) string(0x08) \n\
559
Shift <Key>Tab: string(0x1b) string("*") \n\
560
<Key>0x1000FF0D: scroll-back(1,page) \n\
561
<Key>0x1000FF0E: scroll-forw(1,page) \n\
562
<Key>0x1000FF09: string(\010) \n\
563
<Key>0x1000FF0A: string(\005) \n\
564
<Key>BackSpace: string(0xff) \n\
565
<Key>Select: select-start() \n\
566
<Key>0x1000FF02: select-end(PRIMARY,CUT_BUFFER0) \n\
567
Meta <Key>0x1000FF02: select-end(CLIPBOARD) \n\
568
<Key>0x1000FF04: insert-selection(PRIMARY,CUT_BUFFER0) \n\
569
Meta <Key>0x1000FF04: insert-selection(CLIPBOARD) \n\
570
<Key>F1: string(0x1b) string("OP") \n\
571
<Key>F2: string(0x1b) string("OQ") \n\
572
<Key>F3: string(0x1b) string("OR") \n\
573
<Key>F4: string(0x1b) string("OS") \n\
574
<Key>F5: string(0x1b) string("OA") \n\
575
<Key>F11: string(0x1b) string("[23~") \n\
576
<Key>F12: string(0x1b) string("[24~") \n\
577
<Key>KP_0: string(0x1b) string("Op") \n\
578
<Key>KP_1: string(0x1b) string("Oq") \n\
579
<Key>KP_2: string(0x1b) string("Or") \n\
580
<Key>KP_3: string(0x1b) string("Os") \n\
581
<Key>KP_4: string(0x1b) string("Ot") \n\
582
<Key>KP_5: string(0x1b) string("Ou") \n\
583
<Key>KP_Divide: string(0x1b) string("OP") \n\
584
<Key>KP_Multiply: string(0x1b) string("[29~") \n\
585
<Key>KP_Enter: string(0x1b) string("OM") \n\
586
<Key>KP_Subtract: string(0x1b) string("Om") \n\
587
<Key>KP_Add: string(0x1b) string("Ol") \n\
588
<Key>KP_Decimal: string(0x1b) string("On") \n\
589
<Btn1Down>: select-start() \n\
590
<Btn1Motion>: select-extend() \n\
591
<Btn1Up>: select-end(PRIMARY,CUT_BUFFER0) \n\
592
Button1<Btn2Down>: select-end(CLIPBOARD) \n\
593
Button1<Btn2Up>: ignore()' \
594
-e telnet $HOST &
653
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
654
<font color="#800000">#!/bin/sh</font><br>
656
<font color="#800000"># vax</font><br>
657
<font color="#800000"># 09-17-96 Bob Ess - initial creation</font><br>
658
<font color="#800000"># 09-26-96 Shig Katada - Additional keybindings</font><br>
659
<font color="#800000">#</font><br>
660
<font color="#800000"># Script file to incorporate keybindings and command line</font><br>
661
<font color="#800000"># options for connecting to a VAX node</font><br>
663
<font color="#800000"># Usage statement</font><br>
664
Usage()<strong><font color="#800000">{</font></strong><br>
665
<strong><font color="#000080">echo</font></strong><br>
666
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Usage : vax -options"</font><br>
667
<strong><font color="#000080">echo</font></strong><br>
668
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Options: -80 for 80 column terminal"</font><br>
669
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -132 for 132 column terminal"</font><br>
670
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fg colorname"</font><br>
671
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -bg colorname"</font><br>
672
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fn fontname"</font><br>
673
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fb bold fontname"</font><br>
674
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -host [altair] [devel] [leonis] [castor]"</font><br>
675
<strong><font color="#000080">echo</font></strong> <font color="#800080">""</font><br>
676
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Example: </font><strong><font color="#800000">\</font></strong><font color="#800080">"vax -80 -fg white -bg black -fn 9x15 -fb 9x15b -host castor</font><strong><font color="#800000">\</font></strong><font color="#800080">""</font><br>
677
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Starts a VAX session with an 80 column terminal"</font><br>
678
<strong><font color="#000080">echo</font></strong> <font color="#800080">" with a black background, white foreground, a normal"</font><br>
679
<strong><font color="#000080">echo</font></strong> <font color="#800080">" font of 9x15 and a bold font of 9x15b, and connects"</font><br>
680
<strong><font color="#000080">echo</font></strong> <font color="#800080">" to the node 'castor'"</font><br>
681
<strong><font color="#000080">echo</font></strong><br>
682
<strong><font color="#000080">echo</font></strong> <font color="#800080">" If you need additional help, please call Workstation"</font><br>
683
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Services at x92396."</font><br>
684
<strong><font color="#000080">echo</font></strong><br>
685
<strong><font color="#000080">exit</font></strong> <strong><font color="#008080">1</font></strong><br>
686
<strong><font color="#800000">}</font></strong><br>
688
<font color="#800000"># Default to a black foreground with a white background.</font><br>
689
<font color="#800000"># Use the 9x15 and 9x15bold fonts. Connect to castor by default.</font><br>
690
<font color="#800000">#</font><br>
691
<font color="#008080">FG</font>=black<br>
692
<font color="#008080">BG</font>=white<br>
693
<font color="#008080">HOST</font>=castor<br>
694
<font color="#008080">FONT</font>=<strong><font color="#008080">9</font></strong>x15<br>
695
<font color="#008080">BFONT</font>=<strong><font color="#008080">9</font></strong>x15bold<br>
696
<font color="#008080">COLS</font>=<strong><font color="#008080">80</font></strong><br>
698
<font color="#800000"># Parse the command line arguments</font><br>
699
<font color="#800000">#</font><br>
700
<strong><font color="#000080">while</font></strong> [ <font color="#008080">$#</font> != <strong><font color="#008080">0</font></strong> ];<br>
701
<strong><font color="#000080">do</font></strong><br>
702
<strong><font color="#000080">case</font></strong> <font color="#008080">$1</font> <strong><font color="#000080">in</font></strong><br>
703
<strong><font color="#008080">-80</font></strong>) <font color="#008080">COLS</font>=<strong><font color="#008080">80</font></strong><br>
704
<font color="#008080">FONT</font>=spc12x24c<br>
705
<font color="#008080">BFONT</font>=spc12x24b<br>
706
<strong><font color="#000080">shift</font></strong><br>
707
;;<br>
708
<strong><font color="#008080">-132</font></strong>) <font color="#008080">COLS</font>=<strong><font color="#008080">132</font></strong><br>
709
<font color="#008080">FONT</font>=<strong><font color="#008080">9</font></strong>x15<br>
710
<font color="#008080">BFONT</font>=<strong><font color="#008080">9</font></strong>x15b<br>
711
<strong><font color="#000080">shift</font></strong><br>
712
;;<br>
713
-fg) <strong><font color="#000080">shift</font></strong><br>
714
<font color="#008080">FG</font>=<font color="#008080">$1</font><br>
715
<strong><font color="#000080">shift</font></strong>;;<br>
716
-bg) <strong><font color="#000080">shift</font></strong><br>
717
<font color="#008080">BG</font>=<font color="#008080">$1</font><br>
718
<strong><font color="#000080">shift</font></strong>;;<br>
719
-fn) <strong><font color="#000080">shift</font></strong><br>
720
<font color="#008080">FONT</font>=<font color="#008080">$1</font><br>
721
<strong><font color="#000080">shift</font></strong>;;<br>
722
-fb) <strong><font color="#000080">shift</font></strong><br>
723
<font color="#008080">BFONT</font>=<font color="#008080">$1</font><br>
724
<strong><font color="#000080">shift</font></strong>;;<br>
725
-host) <strong><font color="#000080">shift</font></strong><br>
726
<font color="#008080">HOST</font>=<font color="#008080">$1</font><br>
727
<strong><font color="#000080">shift</font></strong>;;<br>
728
-help) Usage;;<br>
729
*) Usage;;<br>
730
<strong><font color="#000080">esac</font></strong><br>
731
<strong><font color="#000080">done</font></strong><br>
733
xterm -title <font color="#800080">"VAX"</font> -sb -sl <strong><font color="#008080">1200</font></strong> -geo <font color="#008080">${COLS}</font>x24 -fg <font color="#008080">${FG}</font> -bg <font color="#008080">${BG}</font> \<br>
734
-cr red -fn <font color="#008080">${FONT}</font> -fb <font color="#008080">${BFONT}</font> -xrm \<br>
735
<font color="#800080">'XTerm*VT100.translations: #override \n\<br>
736
<Key>Insert: string(\001) \n\<br>
737
Shift <Key>Up: scroll-back(1,lines) \n\<br>
738
Shift <Key>Down: scroll-forw(1,lines) \n\<br>
739
Shift <Key>Right: string(0x1b) string("f") \n\<br>
740
Shift <Key>Left: string(0x1b) string("b") \n\<br>
741
Shift <Key>Delete: string(0x1b) string(0x08) \n\<br>
742
Shift <Key>Tab: string(0x1b) string("*") \n\<br>
743
<Key>0x1000FF0D: scroll-back(1,page) \n\<br>
744
<Key>0x1000FF0E: scroll-forw(1,page) \n\<br>
745
<Key>0x1000FF09: string(\010) \n\<br>
746
<Key>0x1000FF0A: string(\005) \n\<br>
747
<Key>BackSpace: string(0xff) \n\<br>
748
<Key>Select: select-start() \n\<br>
749
<Key>0x1000FF02: select-end(PRIMARY,CUT_BUFFER0) \n\<br>
750
Meta <Key>0x1000FF02: select-end(CLIPBOARD) \n\<br>
751
<Key>0x1000FF04: insert-selection(PRIMARY,CUT_BUFFER0) \n\<br>
752
Meta <Key>0x1000FF04: insert-selection(CLIPBOARD) \n\<br>
753
<Key>F1: string(0x1b) string("OP") \n\<br>
754
<Key>F2: string(0x1b) string("OQ") \n\<br>
755
<Key>F3: string(0x1b) string("OR") \n\<br>
756
<Key>F4: string(0x1b) string("OS") \n\<br>
757
<Key>F5: string(0x1b) string("OA") \n\<br>
758
<Key>F11: string(0x1b) string("[23~") \n\<br>
759
<Key>F12: string(0x1b) string("[24~") \n\<br>
760
<Key>KP_0: string(0x1b) string("Op") \n\<br>
761
<Key>KP_1: string(0x1b) string("Oq") \n\<br>
762
<Key>KP_2: string(0x1b) string("Or") \n\<br>
763
<Key>KP_3: string(0x1b) string("Os") \n\<br>
764
<Key>KP_4: string(0x1b) string("Ot") \n\<br>
765
<Key>KP_5: string(0x1b) string("Ou") \n\<br>
766
<Key>KP_Divide: string(0x1b) string("OP") \n\<br>
767
<Key>KP_Multiply: string(0x1b) string("[29~") \n\<br>
768
<Key>KP_Enter: string(0x1b) string("OM") \n\<br>
769
<Key>KP_Subtract: string(0x1b) string("Om") \n\<br>
770
<Key>KP_Add: string(0x1b) string("Ol") \n\<br>
771
<Key>KP_Decimal: string(0x1b) string("On") \n\<br>
772
<Btn1Down>: select-start() \n\<br>
773
<Btn1Motion>: select-extend() \n\<br>
774
<Btn1Up>: select-end(PRIMARY,CUT_BUFFER0) \n\<br>
775
Button1<Btn2Down>: select-end(CLIPBOARD) \n\<br>
776
Button1<Btn2Up>: ignore()'</font> \<br>
777
-e telnet <font color="#008080">$HOST</font> &<br>
778
<!--atr2html}}--></p>
596
780
Finally (for the moment) is a further modification of Robert Ess's script
597
781
by <a href="http://www-personal.une.edu.au/~oahlefel/">Erik Ahlefeldt</a>,
598
782
<oahlefel@metz.une.edu.au>.
712
# from an original script by Bob Ess
713
# key translations by Erik Ahlefeldt
715
# Script file using Xterm and telnet to connect to a VMS host
716
# and give a decent vt220 emulation.
721
echo " Usage : vmsterm -options"
723
echo " Options: -80 for 80 column terminal"
724
echo " -132 for 132 column terminal"
725
echo " -bg colorname"
726
echo " -fg colorname"
728
echo " -fb bold fontname"
729
echo " -host [crusher.saltmine.com] [earth] [192.168.7.7]"
731
echo " Example: \"vmsterm -80 -fg white -bg black -fn 9x15 -fb 9x15b -host earth\""
732
echo " Starts a VMS session with an 80 column terminal"
733
echo " with a black background, white foreground, a normal"
734
echo " font of 9x15 and a bold font of 9x15b, and connects"
735
echo " to the node 'earth'"
737
echo " Example: \"vmsterm -host earth\""
738
echo " Starts a VMS session with default terminal settings "
740
echo " Example: \"vmsterm -help\""
741
echo " Displays vmsterm options "
746
# Default to a black foreground with a white background.
747
# Use the 9x15 and 9x15bold fonts. Connect to 192.168.3.3 by default.
756
# Parse the command line arguments
791
xterm -title "VMSTERM" -sb -sl 1000 -geo ${COLS}x24 -fg ${FG} -bg ${BG} \
792
-cr blue -fn ${FONT} -fb ${BFONT} -xrm \
793
'XTerm*VT100.translations: #override \n \
794
~Shift <Key>F1: string(0x1b) string("OP") \n \
795
~Shift <Key>F2: string(0x1b) string("OQ") \n \
796
~Shift <Key>F3: string(0x1b) string("OR") \n \
797
~Shift <Key>F4: string(0x1b) string("OS") \n \
798
~Shift <Key>F5: string("Break") \n \
799
~Shift <Key>F6: string(0x1b) string("[17~") \n \
800
~Shift <Key>F7: string(0x1b) string("[18~") \n \
801
~Shift <Key>F8: string(0x1b) string("[19~") \n \
802
~Shift <Key>F9: string(0x1b) string("[20~") \n \
803
~Shift <Key>F10: string(0x1b) string("[21~") \n \
804
~Shift <Key>F11: string(0x1b) string("[23~") \n \
805
~Shift <Key>F12: string(0x1b) string("[24~") \n \
806
Shift <Key>F1: string(0x1b) string("[23~") \n \
807
Shift <Key>F2: string(0x1b) string("[24~") \n \
808
Shift <Key>F3: string(0x1b) string("[25~") \n \
809
Shift <Key>F4: string(0x1b) string("[26~") \n \
810
Shift <Key>F5: string(0x1b) string("[28~") \n \
811
Shift <Key>F6: string(0x1b) string("[29~") \n \
812
Shift <Key>F7: string(0x1b) string("[31~") \n \
813
Shift <Key>F8: string(0x1b) string("[32~") \n \
814
Shift <Key>F9: string(0x1b) string("[33~") \n \
815
Shift <Key>F10: string(0x1b) string("[34~") \n \
816
Shift <Key>F11: string(0x1b) string("[28~") \n \
817
Shift <Key>F12: string(0x1b) string("[29~") \n \
818
<Key>Print: string(0x1b) string("[28~") \n \
819
<Key>Cancel: string(0x1b) string("[29~") \n \
820
<Key>Pause: string(0x1b) string("Om") \n \
821
<Key>Insert: string(0x1b) string("[2~") \n \
822
<Key>Delete: string(0x1b) string("[3~") \n \
823
<Key>Home: string(0x1b) string("[1~") \n \
824
<Key>End: string(0x1b) string("[4~") \n \
825
<Key>Prior: string(0x1b) string("[5~") \n \
826
<Key>Next: string(0x1b) string("[6~") \n \
827
<Key>BackSpace: string(0x7f) \n \
828
<Key>Num_Lock: string(0x1b) string("OP") \n \
829
<Key>KP_Divide: string(0x1b) string("OQ") \n \
830
<Key>KP_Multiply: string(0x1b) string("OR") \n \
831
<Key>KP_Subtract: string(0x1b) string("OS") \n \
832
<Key>KP_Add: string(0x1b) string("Ol") \n \
833
<Key>KP_Enter: string(0x1b) string("OM") \n \
834
<Key>KP_Decimal: string(0x1b) string("On") \n \
835
<Key>KP_0: string(0x1b) string("Op") \n \
836
<Key>KP_1: string(0x1b) string("Oq") \n \
837
<Key>KP_2: string(0x1b) string("Or") \n \
838
<Key>KP_3: string(0x1b) string("Os") \n \
839
<Key>KP_4: string(0x1b) string("Ot") \n \
840
<Key>KP_5: string(0x1b) string("Ou") \n \
841
<Key>KP_6: string(0x1b) string("Ov") \n \
842
<Key>KP_7: string(0x1b) string("Ow") \n \
843
<Key>KP_8: string(0x1b) string("Ox") \n \
844
<Key>KP_9: string(0x1b) string("Oy") \n \
845
~Shift <Key>Up: string(0x1b) string("[A") \n \
846
Shift <Key>Up: scroll-back(1,lines) \n \
847
~Shift <Key>Down: string(0x1b) string("[B") \n \
848
Shift <Key>Down: scroll-forw(1,lines) \n \
849
<Key>Right: string(0x1b) string("[C") \n \
850
<Key>Left: string(0x1b) string("[D")' \
894
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
895
<font color="#800000">#!/bin/sh</font><br>
896
<font color="#800000"># vmsterm</font><br>
897
<font color="#800000"># from an original script by Bob Ess</font><br>
898
<font color="#800000"># key translations by Erik Ahlefeldt</font><br>
899
<font color="#800000">#</font><br>
900
<font color="#800000"># Script file using Xterm and telnet to connect to a VMS host</font><br>
901
<font color="#800000"># and give a decent vt220 emulation.</font><br>
902
<font color="#800000">#</font><br>
903
<font color="#800000"># Usage statement</font><br>
904
Usage()<strong><font color="#800000">{</font></strong><br>
905
<strong><font color="#000080">echo</font></strong><br>
906
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Usage : vmsterm -options"</font><br>
907
<strong><font color="#000080">echo</font></strong><br>
908
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Options: -80 for 80 column terminal"</font><br>
909
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -132 for 132 column terminal"</font><br>
910
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -bg colorname"</font><br>
911
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fg colorname"</font><br>
912
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fn fontname"</font><br>
913
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -fb bold fontname"</font><br>
914
<strong><font color="#000080">echo</font></strong> <font color="#800080">" -host [crusher.saltmine.com] [earth] [192.168.7.7]"</font><br>
915
<strong><font color="#000080">echo</font></strong> <font color="#800080">""</font><br>
916
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Example: </font><strong><font color="#800000">\</font></strong><font color="#800080">"vmsterm -80 -fg white -bg black -fn 9x15 -fb 9x15b -host earth</font><strong><font color="#800000">\</font></strong><font color="#800080">""</font><br>
917
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Starts a VMS session with an 80 column terminal"</font><br>
918
<strong><font color="#000080">echo</font></strong> <font color="#800080">" with a black background, white foreground, a normal"</font><br>
919
<strong><font color="#000080">echo</font></strong> <font color="#800080">" font of 9x15 and a bold font of 9x15b, and connects"</font><br>
920
<strong><font color="#000080">echo</font></strong> <font color="#800080">" to the node 'earth'"</font><br>
921
<strong><font color="#000080">echo</font></strong> <font color="#800080">""</font><br>
922
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Example: </font><strong><font color="#800000">\</font></strong><font color="#800080">"vmsterm -host earth</font><strong><font color="#800000">\</font></strong><font color="#800080">""</font><br>
923
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Starts a VMS session with default terminal settings "</font><br>
924
<strong><font color="#000080">echo</font></strong> <font color="#800080">""</font><br>
925
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Example: </font><strong><font color="#800000">\</font></strong><font color="#800080">"vmsterm -help</font><strong><font color="#800000">\</font></strong><font color="#800080">""</font><br>
926
<strong><font color="#000080">echo</font></strong> <font color="#800080">" Displays vmsterm options "</font><br>
927
<strong><font color="#000080">echo</font></strong><br>
928
<strong><font color="#000080">exit</font></strong> <strong><font color="#008080">1</font></strong><br>
929
<strong><font color="#800000">}</font></strong><br>
931
<font color="#800000"># Default to a black foreground with a white background.</font><br>
932
<font color="#800000"># Use the 9x15 and 9x15bold fonts. Connect to 192.168.3.3 by default.</font><br>
933
<font color="#800000">#</font><br>
934
<font color="#008080">FG</font>=black<br>
935
<font color="#008080">BG</font>=white<br>
936
<font color="#008080">HOST</font>=192.168.3.3<br>
937
<font color="#008080">FONT</font>=<strong><font color="#008080">9</font></strong>x15<br>
938
<font color="#008080">BFONT</font>=<strong><font color="#008080">9</font></strong>x15bold<br>
939
<font color="#008080">COLS</font>=<strong><font color="#008080">80</font></strong><br>
941
<font color="#800000"># Parse the command line arguments</font><br>
942
<font color="#800000">#</font><br>
943
<strong><font color="#000080">while</font></strong> [ <font color="#008080">$#</font> != <strong><font color="#008080">0</font></strong> ];<br>
944
<strong><font color="#000080">do</font></strong><br>
945
<strong><font color="#000080">case</font></strong> <font color="#008080">$1</font> <strong><font color="#000080">in</font></strong><br>
946
<strong><font color="#008080">-80</font></strong>) <font color="#008080">COLS</font>=<strong><font color="#008080">80</font></strong><br>
947
<font color="#008080">FONT</font>=spc12x24c<br>
948
<font color="#008080">BFONT</font>=spc12x24b<br>
949
<strong><font color="#000080">shift</font></strong><br>
950
;;<br>
951
<strong><font color="#008080">-132</font></strong>) <font color="#008080">COLS</font>=<strong><font color="#008080">132</font></strong><br>
952
<font color="#008080">FONT</font>=<strong><font color="#008080">9</font></strong>x15<br>
953
<font color="#008080">BFONT</font>=<strong><font color="#008080">9</font></strong>x15b<br>
954
<strong><font color="#000080">shift</font></strong><br>
955
;;<br>
956
-fg) <strong><font color="#000080">shift</font></strong><br>
957
<font color="#008080">FG</font>=<font color="#008080">$1</font><br>
958
<strong><font color="#000080">shift</font></strong>;;<br>
959
-bg) <strong><font color="#000080">shift</font></strong><br>
960
<font color="#008080">BG</font>=<font color="#008080">$1</font><br>
961
<strong><font color="#000080">shift</font></strong>;;<br>
962
-fn) <strong><font color="#000080">shift</font></strong><br>
963
<font color="#008080">FONT</font>=<font color="#008080">$1</font><br>
964
<strong><font color="#000080">shift</font></strong>;;<br>
965
-fb) <strong><font color="#000080">shift</font></strong><br>
966
<font color="#008080">BFONT</font>=<font color="#008080">$1</font><br>
967
<strong><font color="#000080">shift</font></strong>;;<br>
968
-host) <strong><font color="#000080">shift</font></strong><br>
969
<font color="#008080">HOST</font>=<font color="#008080">$1</font><br>
970
<strong><font color="#000080">shift</font></strong>;;<br>
971
-help) Usage;;<br>
972
*) Usage;;<br>
973
<strong><font color="#000080">esac</font></strong><br>
974
<strong><font color="#000080">done</font></strong><br>
976
xterm -title <font color="#800080">"VMSTERM"</font> -sb -sl <strong><font color="#008080">1000</font></strong> -geo <font color="#008080">${COLS}</font>x24 -fg <font color="#008080">${FG}</font> -bg <font color="#008080">${BG}</font> \<br>
977
-cr blue -fn <font color="#008080">${FONT}</font> -fb <font color="#008080">${BFONT}</font> -xrm \<br>
978
<font color="#800080">'XTerm*VT100.translations: #override \n \<br>
979
~Shift <Key>F1: string(0x1b) string("OP") \n \<br>
980
~Shift <Key>F2: string(0x1b) string("OQ") \n \<br>
981
~Shift <Key>F3: string(0x1b) string("OR") \n \<br>
982
~Shift <Key>F4: string(0x1b) string("OS") \n \<br>
983
~Shift <Key>F5: string("Break") \n \<br>
984
~Shift <Key>F6: string(0x1b) string("[17~") \n \<br>
985
~Shift <Key>F7: string(0x1b) string("[18~") \n \<br>
986
~Shift <Key>F8: string(0x1b) string("[19~") \n \<br>
987
~Shift <Key>F9: string(0x1b) string("[20~") \n \<br>
988
~Shift <Key>F10: string(0x1b) string("[21~") \n \<br>
989
~Shift <Key>F11: string(0x1b) string("[23~") \n \<br>
990
~Shift <Key>F12: string(0x1b) string("[24~") \n \<br>
991
Shift <Key>F1: string(0x1b) string("[23~") \n \<br>
992
Shift <Key>F2: string(0x1b) string("[24~") \n \<br>
993
Shift <Key>F3: string(0x1b) string("[25~") \n \<br>
994
Shift <Key>F4: string(0x1b) string("[26~") \n \<br>
995
Shift <Key>F5: string(0x1b) string("[28~") \n \<br>
996
Shift <Key>F6: string(0x1b) string("[29~") \n \<br>
997
Shift <Key>F7: string(0x1b) string("[31~") \n \<br>
998
Shift <Key>F8: string(0x1b) string("[32~") \n \<br>
999
Shift <Key>F9: string(0x1b) string("[33~") \n \<br>
1000
Shift <Key>F10: string(0x1b) string("[34~") \n \<br>
1001
Shift <Key>F11: string(0x1b) string("[28~") \n \<br>
1002
Shift <Key>F12: string(0x1b) string("[29~") \n \<br>
1003
<Key>Print: string(0x1b) string("[28~") \n \<br>
1004
<Key>Cancel: string(0x1b) string("[29~") \n \<br>
1005
<Key>Pause: string(0x1b) string("Om") \n \<br>
1006
<Key>Insert: string(0x1b) string("[2~") \n \<br>
1007
<Key>Delete: string(0x1b) string("[3~") \n \<br>
1008
<Key>Home: string(0x1b) string("[1~") \n \<br>
1009
<Key>End: string(0x1b) string("[4~") \n \<br>
1010
<Key>Prior: string(0x1b) string("[5~") \n \<br>
1011
<Key>Next: string(0x1b) string("[6~") \n \<br>
1012
<Key>BackSpace: string(0x7f) \n \<br>
1013
<Key>Num_Lock: string(0x1b) string("OP") \n \<br>
1014
<Key>KP_Divide: string(0x1b) string("OQ") \n \<br>
1015
<Key>KP_Multiply: string(0x1b) string("OR") \n \<br>
1016
<Key>KP_Subtract: string(0x1b) string("OS") \n \<br>
1017
<Key>KP_Add: string(0x1b) string("Ol") \n \<br>
1018
<Key>KP_Enter: string(0x1b) string("OM") \n \<br>
1019
<Key>KP_Decimal: string(0x1b) string("On") \n \<br>
1020
<Key>KP_0: string(0x1b) string("Op") \n \<br>
1021
<Key>KP_1: string(0x1b) string("Oq") \n \<br>
1022
<Key>KP_2: string(0x1b) string("Or") \n \<br>
1023
<Key>KP_3: string(0x1b) string("Os") \n \<br>
1024
<Key>KP_4: string(0x1b) string("Ot") \n \<br>
1025
<Key>KP_5: string(0x1b) string("Ou") \n \<br>
1026
<Key>KP_6: string(0x1b) string("Ov") \n \<br>
1027
<Key>KP_7: string(0x1b) string("Ow") \n \<br>
1028
<Key>KP_8: string(0x1b) string("Ox") \n \<br>
1029
<Key>KP_9: string(0x1b) string("Oy") \n \<br>
1030
~Shift <Key>Up: string(0x1b) string("[A") \n \<br>
1031
Shift <Key>Up: scroll-back(1,lines) \n \<br>
1032
~Shift <Key>Down: string(0x1b) string("[B") \n \<br>
1033
Shift <Key>Down: scroll-forw(1,lines) \n \<br>
1034
<Key>Right: string(0x1b) string("[C") \n \<br>
1035
<Key>Left: string(0x1b) string("[D")'</font> \<br>
1036
-e telnet <font color="#008080">$HOST</font><br>
1037
<!--atr2html}}--></p>
854
1039
<h3><A NAME="how2_title">How do I set the title?</A></h3>
855
1040
The control sequences for doing this
1273
1469
The relevant section of the app-default file looks like
1275
*VT100.translations: #override \
1276
@Num_Lock<Key>KP_0: string(0)\n\
1277
@Num_Lock<Key>KP_1: string(1)\n\
1278
@Num_Lock<Key>KP_2: string(2)\n\
1279
@Num_Lock<Key>KP_3: string(3)\n\
1280
@Num_Lock<Key>KP_4: string(4)\n\
1281
@Num_Lock<Key>KP_5: string(5)\n\
1282
@Num_Lock<Key>KP_6: string(6)\n\
1283
@Num_Lock<Key>KP_7: string(7)\n\
1284
@Num_Lock<Key>KP_8: string(8)\n\
1285
@Num_Lock<Key>KP_9: string(9)\n\
1286
@Num_Lock<Key>KP_Add: string(+)\n\
1287
@Num_Lock<Key>KP_Decimal: string(.)\n\
1288
@Num_Lock<Key>KP_Divide: string(/)\n\
1289
@Num_Lock<Key>KP_Enter: string(\015)\n\
1290
@Num_Lock<Key>KP_Equal: string(=)\n\
1291
@Num_Lock<Key>KP_Multiply: string(*)\n\
1292
@Num_Lock<Key>KP_Subtract: string(-)\n\
1293
<Key>Prior:scroll-back(1,page)\n\
1294
<Key>Next:scroll-forw(1,page)\n\
1295
<Key>F16: start-extend() select-end(PRIMARY, CUT_BUFFER0, CLIPBOARD) \n\
1296
<Key>F18: insert-selection(PRIMARY, CLIPBOARD) \n\
1297
<Key>F27: scroll-back(100,page) \n\
1298
<Key>R13: scroll-forw(100,page) \n\
1299
<Key>Home: scroll-back(100,page) \n\
1300
<Key>End: scroll-forw(100,page) \n
1470
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
1471
*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">translations</font>:<font color="#800080"> #override \<br>
1472
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_0: string(</font><strong><font color="#008080">0</font></strong><font color="#800080">)\n\<br>
1473
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_1: string(</font><strong><font color="#008080">1</font></strong><font color="#800080">)\n\<br>
1474
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_2: string(</font><strong><font color="#008080">2</font></strong><font color="#800080">)\n\<br>
1475
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_3: string(</font><strong><font color="#008080">3</font></strong><font color="#800080">)\n\<br>
1476
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_4: string(</font><strong><font color="#008080">4</font></strong><font color="#800080">)\n\<br>
1477
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_5: string(</font><strong><font color="#008080">5</font></strong><font color="#800080">)\n\<br>
1478
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_6: string(</font><strong><font color="#008080">6</font></strong><font color="#800080">)\n\<br>
1479
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_7: string(</font><strong><font color="#008080">7</font></strong><font color="#800080">)\n\<br>
1480
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_8: string(</font><strong><font color="#008080">8</font></strong><font color="#800080">)\n\<br>
1481
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_9: string(</font><strong><font color="#008080">9</font></strong><font color="#800080">)\n\<br>
1482
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Add: string(+)\n\<br>
1483
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Decimal: string(.)\n\<br>
1484
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Divide: string(/)\n\<br>
1485
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Enter: string(\015)\n\<br>
1486
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Equal: string(=)\n\<br>
1487
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Multiply: string(*)\n\<br>
1488
@Num_Lock</font><strong><font color="#000080"><Key></font></strong><font color="#800080">KP_Subtract: string(-)\n\<br>
1489
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Prior:scroll-back(</font><strong><font color="#008080">1</font></strong><font color="#800080">,page)\n\<br>
1490
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Next:scroll-forw(</font><strong><font color="#008080">1</font></strong><font color="#800080">,page)\n\<br>
1491
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">F16: start-extend() select-end(PRIMARY, CUT_BUFFER0, CLIPBOARD) \n\<br>
1492
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">F18: insert-selection(PRIMARY, CLIPBOARD) \n\<br>
1493
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">F27: scroll-back(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n\<br>
1494
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">R13: scroll-forw(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n\<br>
1495
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Home: scroll-back(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n\<br>
1496
</font><strong><font color="#000080"><Key></font></strong><font color="#800080">End: scroll-forw(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n</font><br>
1497
<!--atr2html}}--></p>
1302
1499
For example, a more-specific pattern for the resource name lets you override:
1304
XTerm*VT100.translations: #override \n\
1305
~Shift<Key>Home: string(\033[1~)\n\
1306
~Shift<Key>End: string(\033[4~)\n\
1307
~Shift<Key>Prior: string(\033[5~)\n\
1308
~Shift<Key>Next: string(\033[6~)\n\
1309
Shift<Key>Prior: scroll-back(1,page) \n\
1310
Shift<Key>Next: scroll-forw(1,page) \n\
1311
Shift<Key>Home: scroll-back(100,page) \n\
1312
Shift<Key>End: scroll-forw(100,page) \n
1500
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
1501
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">translations</font>:<font color="#800080"> #override \n\<br>
1502
~Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Home: string(\033[</font><strong><font color="#008080">1</font></strong><font color="#800080">~)\n\<br>
1503
~Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">End: string(\033[</font><strong><font color="#008080">4</font></strong><font color="#800080">~)\n\<br>
1504
~Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Prior: string(\033[</font><strong><font color="#008080">5</font></strong><font color="#800080">~)\n\<br>
1505
~Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Next: string(\033[</font><strong><font color="#008080">6</font></strong><font color="#800080">~)\n\<br>
1506
Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Prior: scroll-back(</font><strong><font color="#008080">1</font></strong><font color="#800080">,page) \n\<br>
1507
Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Next: scroll-forw(</font><strong><font color="#008080">1</font></strong><font color="#800080">,page) \n\<br>
1508
Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">Home: scroll-back(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n\<br>
1509
Shift</font><strong><font color="#000080"><Key></font></strong><font color="#800080">End: scroll-forw(</font><strong><font color="#008080">100</font></strong><font color="#800080">,page) \n</font><br>
1510
<!--atr2html}}--></p>
1314
1512
makes the home/end and pageup/pagedown keys usable by your editor,
1315
1513
while leaving their shifted equivalents available for the scrollbar.
2131
2366
<h3><A NAME="xterm_8bits">Why can't I input 8-bit characters?</A></h3>
2132
2367
You must have the <code>eightBitInput</code> resource set to do this.
2134
<h3><A NAME="my_xdefaults">My .Xdefaults for XTERM</A></h3>
2136
XTerm*internalBorder: 10
2137
XTerm*highlightSelection: true
2138
XTerm*VT100.colorBDMode: on
2139
XTerm*VT100.colorBD: blue
2140
XTerm*VT100.colorULMode: on
2141
XTerm*VT100.colorUL: magenta
2142
XTerm*VT100.eightBitInput: true
2143
XTerm*VT100.eightBitOutput: true
2144
XTerm*scrollBar: true
2145
XTerm*VT100.titeInhibit: true
2147
XTerm*VT100.colorMode: on
2148
XTerm*VT100.dynamicColors: on
2150
! Uncomment this to use color for underline attribute
2151
XTerm*VT100.colorULMode: on
2152
XTerm*VT100.underLine: off
2154
! Uncomment this to use color for the bold attribute
2155
XTerm*VT100.colorBDMode: on
2157
XTerm*VT100.color0: black
2158
XTerm*VT100.color1: red3
2159
XTerm*VT100.color2: green3
2160
XTerm*VT100.color3: yellow3
2161
XTerm*VT100.color4: blue3
2162
XTerm*VT100.color5: magenta3
2163
XTerm*VT100.color6: cyan3
2164
XTerm*VT100.color7: gray90
2165
XTerm*VT100.color8: gray30
2166
XTerm*VT100.color9: red
2167
XTerm*VT100.color10: green
2168
XTerm*VT100.color11: yellow
2169
XTerm*VT100.color12: blue
2170
XTerm*VT100.color13: magenta
2171
XTerm*VT100.color14: cyan
2172
XTerm*VT100.color15: white
2173
XTerm*VT100.colorUL: yellow
2174
XTerm*VT100.colorBD: white
2176
XTerm*VT100.cursorColor: lime green
2179
XFree86 xterm comes with two copies of the resource file,
2369
<h3><A NAME="my_xdefaults">Sample .Xdefaults Color-Settings for XTerm</A></h3>
2370
<!--{{atr2html--><p style="font-family: monospace; font-size: 10pt;">
2371
<strong><font color="#000080">XTerm</font></strong>*<font color="#008080">internalBorder</font>:<font color="#800080"> </font><strong><font color="#008080">10</font></strong><br>
2372
<strong><font color="#000080">XTerm</font></strong>*<font color="#008080">highlightSelection</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
2373
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorBDMode</font>:<font color="#800080"> on</font><br>
2374
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorBD</font>:<font color="#800080"> blue</font><br>
2375
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorULMode</font>:<font color="#800080"> on</font><br>
2376
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorUL</font>:<font color="#800080"> magenta</font><br>
2377
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">eightBitInput</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
2378
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">eightBitOutput</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
2379
<strong><font color="#000080">XTerm</font></strong>*<font color="#008080">scrollBar</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
2380
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">titeInhibit</font>:<font color="#800080"> </font><strong><font color="#000080">true</font></strong><br>
2382
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorMode</font>:<font color="#800080"> on</font><br>
2383
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">dynamicColors</font>:<font color="#800080"> on</font><br>
2385
<font color="#800000">! Uncomment this to use color for underline attribute<br>
2386
</font> <strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorULMode</font>:<font color="#800080"> on</font><br>
2387
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">underLine</font>:<font color="#800080"> off</font><br>
2389
<font color="#800000">! Uncomment this to use color for the bold attribute<br>
2390
</font> <strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorBDMode</font>:<font color="#800080"> on</font><br>
2392
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color0</font>:<font color="#800080"> black</font><br>
2393
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color1</font>:<font color="#800080"> red3</font><br>
2394
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color2</font>:<font color="#800080"> green3</font><br>
2395
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color3</font>:<font color="#800080"> yellow3</font><br>
2396
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color4</font>:<font color="#800080"> blue3</font><br>
2397
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color5</font>:<font color="#800080"> magenta3</font><br>
2398
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color6</font>:<font color="#800080"> cyan3</font><br>
2399
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color7</font>:<font color="#800080"> gray90</font><br>
2400
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color8</font>:<font color="#800080"> gray30</font><br>
2401
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color9</font>:<font color="#800080"> red</font><br>
2402
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color10</font>:<font color="#800080"> green</font><br>
2403
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color11</font>:<font color="#800080"> yellow</font><br>
2404
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color12</font>:<font color="#800080"> blue</font><br>
2405
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color13</font>:<font color="#800080"> magenta</font><br>
2406
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color14</font>:<font color="#800080"> cyan</font><br>
2407
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">color15</font>:<font color="#800080"> white</font><br>
2408
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorUL</font>:<font color="#800080"> yellow</font><br>
2409
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">colorBD</font>:<font color="#800080"> white</font><br>
2411
<strong><font color="#000080">XTerm</font></strong>*<strong><font color="#000080">VT100</font></strong>.<font color="#008080">cursorColor</font>:<font color="#800080"> lime green</font><br>
2412
<!--atr2html}}--></p>
2414
Xterm comes with two copies of each resource file,
2180
2415
one with color only (<code>XTerm-col.ad</code>,
2181
2416
which is installed as <code>XTerm-color</code>),
2182
2417
and the regular one (<code>XTerm.ad</code>,