/usr/share/doc/medit-1/help/help.html is in medit 1.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>medit manual</title>
<link rel="stylesheet" href="medit.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" title="medit manual">
<div class="titlepage">
<div>
<div><h1 class="title">
<a name="medit-manual"></a><span class="application">medit</span> manual</h1></div>
<div><p class="releaseinfo">1.0.3</p></div>
</div>
<hr>
</div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="chapter"><a href="#chapter-prefs">1. Preferences</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#section-prefs-dialog">Preferences dialog</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-general"><span class="guilabel">General</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file"><span class="guilabel">File</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-langs"><span class="guilabel">Languages</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file-filters">File filters tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file-selector"><span class="guilabel">File Selector</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-editing-options">Options for editing text</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-xml">Preferences files</a></span></dt>
</dl></dd>
<dt><span class="chapter"><a href="#chapter-regex">2. Regular expressions</a></span></dt>
<dt><span class="chapter"><a href="#chapter-user-tools">3. User-defined tools</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#section-prefs-user-tools">Managing tools in <span class="guilabel">Preferences</span> dialog</a></span></dt>
<dt><span class="sect1"><a href="#section-storing-tools-in-files">Storing tools in files</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-shell">Shell scripts</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-lua">Lua scripts</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-python">Python scripts</a></span></dt>
</dl></dd>
<dt><span class="chapter"><a href="#chapter-license">4. License</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#section-license-gpl">GNU General Public License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lgpl">GNU Lesser General Public License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lua">Lua License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lfs">LuaFileSystem License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-xdg-utils">xdg-utils License</a></span></dt>
</dl></dd>
</dl>
</div>
<div class="chapter" title="Chapter 1. Preferences">
<div class="titlepage"><div><div><h2 class="title">
<a name="chapter-prefs"></a>Chapter 1. Preferences</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="sect1"><a href="#section-prefs-dialog">Preferences dialog</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-general"><span class="guilabel">General</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file"><span class="guilabel">File</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-langs"><span class="guilabel">Languages</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file-filters">File filters tab</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-file-selector"><span class="guilabel">File Selector</span> tab</a></span></dt>
<dt><span class="sect1"><a href="#section-editing-options">Options for editing text</a></span></dt>
<dt><span class="sect1"><a href="#section-prefs-xml">Preferences files</a></span></dt>
</dl>
</div>
<div class="sect1" title="Preferences dialog">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-dialog"></a>Preferences dialog</h2></div></div></div>
<p>
<span class="guilabel">Preferences</span> provides access to almost all <span class="application">medit</span> settings.
Some settings are not available here, see <a class="xref" href="#section-prefs-xml" title="Preferences files">the section called “Preferences files”</a>.
</p>
<p>
<span class="guilabel">Preferences</span> dialog has several tabs:
</p>
<div class="variablelist"><dl>
<dt><span class="term"><span class="guilabel">General</span></span></dt>
<dd>Contains settings which didn't find place in other sections, see
<a class="xref" href="#section-prefs-general" title="General tab">the section called “<span class="guilabel">General</span> tab”</a>.</dd>
<dt><span class="term"><span class="guilabel">View</span></span></dt>
<dd>Contains settings which control how <span class="application">medit</span> displays text.</dd>
<dt><span class="term"><span class="guilabel">File</span></span></dt>
<dd>Contains settings which control how <span class="application">medit</span> saves and loads files, see
<a class="xref" href="#section-prefs-file" title="File tab">the section called “<span class="guilabel">File</span> tab”</a>.</dd>
<dt><span class="term"><span class="guilabel">Languages</span></span></dt>
<dd>See <a class="xref" href="#section-prefs-langs" title="Languages tab">the section called “<span class="guilabel">Languages</span> tab”</a>.</dd>
<dt><span class="term"><span class="guilabel">File Filters</span></span></dt>
<dd>See <a class="xref" href="#section-prefs-file-filters" title="File filters tab">the section called “File filters tab”</a>.</dd>
<dt><span class="term"><span class="guilabel">Plugins</span></span></dt>
<dd>Displays information about available plugings and allows to disable/enable them.</dd>
<dt><span class="term"><span class="guilabel">File Selector</span></span></dt>
<dd>Contains File Selector settings, see <a class="xref" href="#section-prefs-file-selector" title="File Selector tab">the section called “<span class="guilabel">File Selector</span> tab”</a>.</dd>
<dt><span class="term"><span class="guilabel">Tools</span></span></dt>
<dd>User-defined tools, see <a class="xref" href="#section-prefs-user-tools" title="Managing tools in Preferences dialog">the section called “Managing tools in <span class="guilabel">Preferences</span> dialog”</a>.</dd>
</dl></div>
<p>
</p>
</div>
<div class="sect1" title="General tab">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-general"></a><span class="guilabel">General</span> tab</h2></div></div></div>
<div class="variablelist"><dl>
<dt><span class="term"><em class="parameter"><code>Smart Home and End</code></em></span></dt>
<dd>If checked, <span class="keycap"><strong>Home</strong></span> key moves cursor to first non-whitespace character
on the line on first <span class="keycap"><strong>Home</strong></span> key press, and moves cursor to the first character on the line
on second key press. Analogously <span class="keycap"><strong>End</strong></span> key moves cursor past last non-whitespace character
on the line, and then past last character on next key press.</dd>
<dt><span class="term"><em class="parameter"><code>Enable auto indentation</code></em></span></dt>
<dd>If checked, pressing <span class="keycap"><strong>Enter</strong></span> key inserts line end character and
whitespace to indent next line according to indentation settings.</dd>
<dt><span class="term"><em class="parameter"><code>Do not use tabs for indentation</code></em></span></dt>
<dd>If checked, spaces are used for indentation instead of tab character.</dd>
<dt><span class="term"><em class="parameter"><code>Tab key indents</code></em></span></dt>
<dd>If checked, <span class="keycap"><strong>Tab</strong></span> key inserts whitespace characters according
to indentation settings to indent text at cursor. Otherwise <span class="keycap"><strong>Tab</strong></span> key
only inserts single tab character.</dd>
<dt><span class="term"><em class="parameter"><code>Tab width</code></em></span></dt>
<dd>Displayed width of tab character in spaces. By default it is
<code class="constant">8</code>.</dd>
<dt><span class="term"><em class="parameter"><code>Indent width</code></em></span></dt>
<dd>Number of spaces inserted by single <span class="keycap"><strong>Tab</strong></span> key press. If tabs are
used for indentation then <span class="keycap"><strong>Tab</strong></span> key inserts spaces until line indent is
multiple of tab width, then it replaces spaces with tabs (if indent width is a multiple
of tab width then only tab characters are used.)</dd>
</dl></div>
</div>
<div class="sect1" title="File tab">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-file"></a><span class="guilabel">File</span> tab</h2></div></div></div>
<div class="variablelist"><dl>
<dt><span class="term"><em class="parameter"><code>Encodings to autodetect</code></em></span></dt>
<dd><p>This entry contains comma-separated list of encodings used when
loading files if encoding is not specified in the <span class="guilabel">Open</span>.
<span class="application">medit</span> tries every encoding from the list one by one and stops when file
content is valid text in this encoding. <code class="code">LOCALE</code> denotes encoding
from current locale.
</p></dd>
<dt><span class="term"><em class="parameter"><code>Encoding for new files</code></em></span></dt>
<dd><p>This is default encoding to save new files. For every document
its encoding on disk can be changed using Encoding submenu of Document menu.
</p></dd>
<dt><span class="term"><em class="parameter"><code>Remove trailing spaces</code></em></span></dt>
<dd><p>If checked, trailing whitespace characters are removed from each
line of the document on save.
</p></dd>
<dt><span class="term"><em class="parameter"><code>Ensure trailing newline</code></em></span></dt>
<dd><p>If checked, new line character will be added to document on save
if it doesn't end with one.
</p></dd>
<dt><span class="term"><em class="parameter"><code>Make backups</code></em></span></dt>
<dd><p>If checked, old file contents will be moved to backup file on
save.</p></dd>
<dt><span class="term"><em class="parameter"><code>Enable session support</code></em></span></dt>
<dd><p>If checked, <span class="application">medit</span> will remember open documents on exit and restore
them next time it's launched.</p></dd>
<dt><span class="term"><em class="parameter"><code>Open and Save As dialogs show current document folder</code></em></span></dt>
<dd><p>If checked, Open and Save As dialogs will show folder of the current document.
Otherwise they will show last used folder.</p></dd>
</dl></div>
</div>
<div class="sect1" title="Languages tab">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-langs"></a><span class="guilabel">Languages</span> tab</h2></div></div></div>
<p>
<span class="guilabel">Languages and files</span> tab allows customizing
how syntax highlighting language and editing options are chosen
depending on the document filename, as well as setting editing options for
all documents which use given language and choosing file patterns and mime types
for which the given language should be used.
</p>
<p>
Here you can set editing options on per-language basis, as well as define
for which file patterns and mime types given language should be used.
</p>
<div class="variablelist"><dl>
<dt><span class="term"><span class="guilabel">Language</span> combo box</span></dt>
<dd><p>
Choose the language you want to customize. Settings for <code class="code">None</code> will apply to
documents for which no syntax highlighting language was chosen.
</p></dd>
<dt><span class="term"><span class="guilabel">Mime types</span></span></dt>
<dd><p>
Selected language will be used for files with these mime types, unless the language
is chosen based on the filename or overridden in the <span class="guilabel">File filters tab</span> section.
</p></dd>
<dt><span class="term"><span class="guilabel">Extensions</span></span></dt>
<dd><p>
Selected language will be used for files whose filenames match these patterns,
unless overridden in the <span class="guilabel">File filters tab</span> section.
</p></dd>
<dt><span class="term"><span class="guilabel">Options</span></span></dt>
<dd><p>
Default editing options to use in documents which use the given language. These
options can be overridden using <span class="guilabel">File filters tab</span> section, and options set
in the file text have a higher priority as well. See <a class="xref" href="#section-editing-options" title="Options for editing text">the section called “Options for editing text”</a>
for format of this entry content.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="sect1" title="File filters tab">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-file-filters"></a>File filters tab</h2></div></div></div>
<p>
<span class="guilabel">File filters tab</span> section allows to customize editing options,
as well as syntax highlighting language, on per-document basis using regular
expressions which are matched against the document filename (globs can also be
used, see below). Full file paths are used, so one can have per-directory settings.
</p>
<p>
The filters are applied in the order they appear in the list, one by one. All filters
are applied to every file, so several filters may affect options in the same file. In
this way one can set some options for a set of files or a directory, then set or modify
some additional options for certain files in that set, etc.
</p>
<p>
To add a filter, use <span class="guilabel">New</span> button. Click the filter in the list to
select it, then click the <span class="guilabel">Filter</span> or <span class="guilabel">Options</span>
part of it to edit. Use <span class="guilabel">Delete</span> button to delete a filter,
and <span class="guilabel">Up</span> and <span class="guilabel">Down</span> buttons to change the order in
which they are applied.
</p>
<p>
<span class="guilabel">Filter</span> field contains a regular expression matched agains the
document filename. If it is found in the filename,
then the options from the <span class="guilabel">Options</span> field are applied to the
document. Example:
</p>
<pre class="programlisting">projects/moo/</pre>
<p>
</p>
<p>
Use dollar if you need to match ends of filenames, e.g. "<code class="code">\.doc$</code>" will work as
"<code class="code">*.doc</code>" pattern.
</p>
<p>
Alternatively it can be
a comma-separated list of globs prefixed with "<code class="code">globs:</code>" or a list
of language ids prefixed with "<code class="code">langs:</code>", e.g.
</p>
<pre class="programlisting">globs:*.c,*.h</pre>
<p>
or
</p>
<pre class="programlisting">langs:c,c++</pre>
<p>
</p>
<p>
<span class="guilabel">Options</span> field contains the options, in format described in
<a class="xref" href="#section-editing-options" title="Options for editing text">the section called “Options for editing text”</a>.
</p>
<div class="informalexample"><div align="center"><img src="img/prefs-file-filters.png" align="middle"></div></div>
</div>
<div class="sect1" title="File Selector tab">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-file-selector"></a><span class="guilabel">File Selector</span> tab</h2></div></div></div>
<p>
<span class="guilabel">File Selector</span> tab in the <span class="guilabel">Preferences</span>
dialog allows to define custom commands which are available in
<span class="guimenu">Open With</span> submenu of context menu in File Selector. By default
this submenu contains single item <span class="guimenuitem">Default Application</span>
which opens selected file with default application as configured in the system.
Here you can add additional commands and set whether they should be available
only for given file patterns or syntax highlighting languages.
</p>
<p>
Use <span class="guilabel">New</span> button to create new command, <span class="guilabel">Delete</span>
button to delete selected command, and <span class="guilabel">Up</span> and <span class="guilabel">Down</span>
to change relative order of the commands, they will appear in the menu in the same order
as in this list.
</p>
<p>
The following entries set the command properties:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>Name</code></em></span></p></td>
<td>Menu item label for this command.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Command</code></em></span></p></td>
<td>Shell command to execute when the menu item is activated. <code class="code">%f</code> will
be replaced with full path of the selected file; if more than one file is selected then
the command will be executed for each file one by one. If <em class="parameter"><code>command</code></em>
contains <code class="code">%F</code> and several files are selected then <code class="code">%F</code> will be
replaced with the space-separated list of paths of all selected files. If a single file
is selected then <code class="code">%f</code> and <code class="code">%F</code> behave in the same way.
Example: <code class="code">firefox %f</code>, <code class="code">glade %F</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Extensions</code></em></span></p></td>
<td>Semicolon-separated list of file patterns to define for which files this command
is available, e.g. <code class="code">*.c;*.h</code>. Use <code class="code">*</code> if the command should
be available for all files.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Mime types</code></em></span></p></td>
<td>Semicolon-separated list of mime types to define for which files this command
is available, e.g. <code class="code">application/docbook+xml;application/x-glade</code>. Leave it empty
if <em class="parameter"><code>Extensions</code></em> entry defines whether the command should be enabled.</td>
</tr>
</tbody>
</table></div>
<p>
</p>
<div class="informalexample"><div align="center"><img src="img/prefs-file-selector.png" align="middle"></div></div>
</div>
<div class="sect1" title="Options for editing text">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-editing-options"></a>Options for editing text</h2></div></div></div>
<p>
<span class="application">medit</span> has some editing options which can be set in the document text,
or in the <span class="guilabel">Preferences</span> dialog for sets of files or for given syntax
highlighting language.
</p>
<p>
To set the options in the document text, place the following on the first,
second or the last line of the document:
</p>
<pre class="programlisting">
-%- <em class="parameter"><code>options</code></em> -%-
</pre>
<p>
where <em class="parameter"><code>options</code></em> is the option string
</p>
<pre class="programlisting">
<em class="parameter"><code>key</code></em>: <em class="parameter"><code>value</code></em>; <em class="parameter"><code>key</code></em>: <em class="parameter"><code>value</code></em>; ...
</pre>
<p>
(the latter is the format used also in the <span class="guilabel">Preferences</span> dialog).
</p>
<p>
For example, the following might be the first line in a C file:
</p>
<pre class="programlisting">
/* -%- indent-width: 2; use-tabs: yes; strip: yes -%- */
</pre>
<p>
</p>
<p>
Values can be strings, integers, or booleans.
</p>
<p>
Booleans are <code class="code">yes</code>, <code class="code">no</code>, <code class="code">true</code>, <code class="code">false</code>, <code class="code">1</code>, <code class="code">0</code>.
</p>
<p>
If a string value contains <code class="code">:</code> character, then the following syntax may be used:
<code class="code"><em class="parameter"><code>key</code></em>=/<em class="parameter"><code>value</code></em>/</code>. Any character may be used instead of slash (and it
must not occur in the <em class="parameter"><code>value</code></em>). Example: <code class="code">word-chars=@-/:@</code>
</p>
<p>
The following options are available:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">lang</code></span> : </p></td>
<td><p>syntax highlighting language to use in this document. Special value <code class="code">none</code> will
turn off syntax highlighting in this document.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">strip</code></span> : </p></td>
<td><p>a boolean value, whether trailing whitespace should be removed from the document on save.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">add-newline</code></span> : </p></td>
<td><p>a boolean value, whether the editor should ensure that saved files have a trailing new line character.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">indent-width</code></span> : </p></td>
<td><p>an integer specifying indentation offset used when the Tab key is pressed to indent text.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">tab-width</code></span> : </p></td>
<td><p>displayed width of the tab character. Note that this is <span class="emphasis"><em>not</em></span> the same as
<code class="code">indent-width</code>.</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="code">use-tabs</code></span> : </p></td>
<td><p>whether tab character should be used for indentation.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
<span class="application">medit</span> tries to understand modelines of Vim, Emacs, and Kate text editors, so chances are it will correctly
pick up the conventional settings from source files.
</p>
</div>
<div class="sect1" title="Preferences files">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-xml"></a>Preferences files</h2></div></div></div>
<p>
<span class="application">medit</span> preferences are stored in <code class="filename">$HOME/.local/share/medit-1/prefs.xml</code> file.
It is an XML file which may be edited to set preferences which have not found
their place in the <span class="guilabel">Preferences</span> dialog.
</p>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
<span class="application">medit</span> reads the preferences file on startup and writes it whenever <span class="guilabel">OK</span>
or <span class="guilabel">Apply</span> button is clicked in the <span class="guilabel">Preferences</span> dialog. Therefore, if you
modify the preferences file, your changes may be overwritten, and they not take
effect until you restart <span class="application">medit</span>.
</p>
</div>
<p>
The following "hidden" settings are available:
</p>
<div class="variablelist"><dl>
<dt><span class="term"><em class="parameter"><code>Editor/window_title</code></em></span></dt>
<dd>
<p>Format of the window title. It is a string which may
contain format sequences, which are percent sign followed by a character:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">%a</code></span> : </p></td>
<td>application name</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%b</code></span> : </p></td>
<td>current document basename</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%f</code></span> : </p></td>
<td>full path of the current document</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%u</code></span> : </p></td>
<td>URI of the current document</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%s</code></span> : </p></td>
<td>the status of the current document, e.g. "<code class="code"> [modified]</code>". It is prefixed
with a space, so that "<code class="code">%b%s</code>" produces a nice string</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">%%</code></span> : </p></td>
<td>the percent character</td>
</tr>
</tbody>
</table></div>
<p>
Default value is "<code class="code">%a - %f%s</code>" which produces something like "<code class="code">medit - /home/user/file [modified]</code>".
</p>
</dd>
<dt><span class="term"><em class="parameter"><code>Editor/window_title_no_doc</code></em></span></dt>
<dd><p>same as <em class="parameter"><code>Editor/window_title</code></em>, used when no document is open.
Default value is "<code class="code">%a</code>".</p></dd>
</dl></div>
<p>
</p>
</div>
</div>
<div class="chapter" title="Chapter 2. Regular expressions">
<div class="titlepage"><div><div><h2 class="title">
<a name="chapter-regex"></a>Chapter 2. Regular expressions</h2></div></div></div>
<p>
<span class="application">medit</span> uses regular expressions functionality provided by Glib, which in turn uses
<a class="ulink" href="http://pcre.org/" target="_top">PCRE</a> library. See
<a class="ulink" href="http://library.gnome.org/devel/glib/stable/glib-regex-syntax.html" target="_top">Glib manual</a>
for complete description of regular expression syntax.
</p>
<p>
Regular expression searches in a document text are limited to single lines, unless the
search pattern includes newline character. For example, pattern "<code class="code">.*</code>" will match every
line in the document, pattern "<code class="code">.*\n.*</code>" will match pairs of consecutive lines. This means
that it is mostly impossible to perform searches for text which spawns multiple lines.
</p>
</div>
<div class="chapter" title="Chapter 3. User-defined tools">
<div class="titlepage"><div><div><h2 class="title">
<a name="chapter-user-tools"></a>Chapter 3. User-defined tools</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="sect1"><a href="#section-prefs-user-tools">Managing tools in <span class="guilabel">Preferences</span> dialog</a></span></dt>
<dt><span class="sect1"><a href="#section-storing-tools-in-files">Storing tools in files</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-shell">Shell scripts</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-lua">Lua scripts</a></span></dt>
<dt><span class="sect1"><a href="#section-user-tools-python">Python scripts</a></span></dt>
</dl>
</div>
<p>
<span class="application">medit</span> allows extending its functionality with user-defined
<em class="parameter"><code>tools</code></em>. It can be a Lua script or a Python script (if <span class="application">medit</span> has been
built with Python support) which are executed inside <span class="application">medit</span>,
or a shell script which can use the text of the open document as
its input and/or output.
</p>
<p>
There are some predefined tools which you can use as
an example or to modify to suit your needs.
</p>
<div class="sect1" title="Managing tools in Preferences dialog">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-prefs-user-tools"></a>Managing tools in <span class="guilabel">Preferences</span> dialog</h2></div></div></div>
<p>
To create a new tool or to modify existing ones, open
<span class="guilabel">Preferences</span> dialog and select <span class="guilabel">Tools</span> in the list on the left.
</p>
<p>
Select the tool in the list or click the <span class="guibutton">New</span>
button to create a new one. To modify the order in which tools
appear in the <span class="guimenu">Tools</span> menu (or in the document
context menu), use <span class="guibutton">Up</span> and <span class="guibutton">Down</span> buttons. To rename a tool,
click its name in the list to select it and then click again to
edit the name. Use the <span class="guibutton">Delete</span> button to delete a tool.
</p>
<p>
The following controls are available to modify tools:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
<p>
<em class="parameter"><code><span class="guilabel">Files</span></code></em> entry specifies for which files the tool is going to be available. It can
contain the following:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="circle">
<li class="listitem">a comma-separated list of file patterns, e.g. <pre class="programlisting"><code class="code">*.c,*.h</code></pre>
</li>
<li class="listitem">a comma-separated list of languages prefixed with "<code class="code">langs:</code>", e.g.
<pre class="programlisting"><code class="code">langs: c, c++, objc</code></pre>
</li>
<li class="listitem">a regular expression matching document filename prefixed with "<code class="code">regex:</code>", e.g. the above
pattern list may be written as <pre class="programlisting"><code class="code">regex:\.[ch]$</code></pre>
</li>
</ul></div>
<p>
</p>
<p>Empty entry means that the tool will be available for all documents.</p>
</li>
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Requires</span></code></em> combo box specifies whether the tool should be
enabled depending on current document.
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>Nothing</code></em></span></p></td>
<td>the tool is enabled regardless whether there is an open document.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Document</code></em></span></p></td>
<td>the tool is enabled only if there is an open document. For example, if the tool manipulates
current document text, then it needs a document to be there.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>File on disk</code></em></span></p></td>
<td>the tool is enabled only if current document is saved on disk (i.e. it is not "Untitled").
For example, to compile a TeX file, it needs to be saved first.</td>
</tr>
</tbody>
</table></div>
</li>
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Save</span></code></em> combo box specifies what should be saved every time
before the command is executed.
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>Nothing</code></em></span></p></td>
<td>nothing will be saved.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Current document</code></em></span></p></td>
<td>current document will be automatically saved. For example, you probably want to save currrent
document before compiling it with latex.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>All documents</code></em></span></p></td>
<td>all open documents will be automatically saved. For example, if the tool builds a C project, then
you probably want to save all open files before running make.</td>
</tr>
</tbody>
</table></div>
</li>
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Type</span></code></em> combo specifies the type of the tool: a Python script, a
Lua script, or a shell script.
</li>
<li class="listitem">
<span class="guilabel">Code</span> text field contains script or shell command text. See
<a class="xref" href="#section-user-tools-shell" title="Shell scripts">the section called “Shell scripts”</a>, <a class="xref" href="#section-user-tools-lua" title="Lua scripts">the section called “Lua scripts”</a>,
<a class="xref" href="#section-user-tools-python" title="Python scripts">the section called “Python scripts”</a> for details on what can be here.
</li>
</ul></div>
<p>
</p>
</div>
<div class="sect1" title="Storing tools in files">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-storing-tools-in-files"></a>Storing tools in files</h2></div></div></div>
<p>
It is possible to create tools without using the <span class="guilabel">Preferences</span> dialog,
they can be stored in files in <code class="filename">tools</code> subfolder of the <span class="application">medit</span> data
folders (or <code class="filename">tools-context</code> for tools which appear in the document context
menu). In particular, on Unix systems you can place files into <code class="filename">$HOME/.local/share/medit-1/tools/</code> folder.
</p>
<p>
Names of the files in the <code class="filename">tools</code> folder are used as their menu item
labels, after stripping first three characters, so you can use trhee-character
prefix to affect the order of the menu items, e.g. you can have <code class="filename">00-Do Something</code>,
<code class="filename">01-Another tool</code> files to have them in that order in the menu. The files
may be of three types:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">files with extension "<code class="filename">.py</code>", they will be used
as Python scripts;</li>
<li class="listitem">files with extension "<code class="filename">.lua</code>", they will be used
as Lua scripts;</li>
<li class="listitem">executable files, they will be executed in the same way
as shell commands.</li>
</ul></div>
<p>
</p>
<p>
Note that files with <code class="filename">.py</code> and <code class="filename">.lua</code> extensions will be
executed inside <span class="application">medit</span> process; if you want to use them as regular scripts, then just remove the
extension.
</p>
<p>
To set parameters for a tool, place them on the first or the second line of the file in
the following format:
</p>
<pre class="programlisting">
!! <em class="parameter"><code>key</code></em>=<em class="parameter"><code>value</code></em>; <em class="parameter"><code>key</code></em>=<em class="parameter"><code>value</code></em>; ... !!
</pre>
<p>
</p>
<p>
<em class="parameter"><code>key</code></em> may be one of the following:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">position</code></span></p></td>
<td>it can be <code class="code">start</code> or <code class="code">end</code>, and it defines whether the menu item
will be located at the start or at the end of the menu.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">id</code></span></p></td>
<td>the tool identificator.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">name</code></span></p></td>
<td>the tool name, i.e. the label used in the menu item. Overrides the file name.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">accel</code></span></p></td>
<td>default keyboard accelerator used to invoke this tool.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">menu</code></span></p></td>
<td>the menu to place this tool into. By default tools are located in the <span class="guimenu">Tools</span> menu,
but they can be as well put into any other menu.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">langs</code></span></p></td>
<td>comma-separated list of languages for which this tool will be enabled.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">file-filter</code></span></p></td>
<td>defines for which files this tool will be enabled. The value has the same format as
in the <span class="guilabel">Preferences</span> dialog.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">options</code></span></p></td>
<td>this corresponds to Requires and Save controls in the <span class="guilabel">Preferences</span> dialog. It is a
comma-separated list of the following:
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">need-doc</code></span></p></td>
<td>tool will be enabled only if there is an open document.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">need-file</code></span></p></td>
<td>tool will be enabled only if current document is saved on disk (i.e. it is not "Untitled").</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">need-save</code></span></p></td>
<td>current document will be automatically saved before the command is executed.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">need-save-all</code></span></p></td>
<td>all open documents will be automatically saved before the command is executed.</td>
</tr>
</tbody>
</table></div>
</td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
In addition to these, you can set input and output options for executable files (see <a class="xref" href="#section-user-tools-shell" title="Shell scripts">the section called “Shell scripts”</a>
for the meaning of these options):
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="code">input</code></span></p></td>
<td>
<code class="code">none</code>, <code class="code">lines</code>, <code class="code">selection</code>, or <code class="code">doc</code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">output</code></span></p></td>
<td>
<code class="code">none</code>, <code class="code">async</code>, <code class="code">pane</code>, <code class="code">insert</code>, or <code class="code">new-doc</code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="code">filter</code></span></p></td>
<td>output filter name.</td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
<div class="sect1" title="Shell scripts">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-user-tools-shell"></a>Shell scripts</h2></div></div></div>
<p>
Shell script user tools execute command entered in the <span class="guilabel">Command</span>
text field using default user shell on Unix systems or <span class="command"><strong>cmd.exe</strong></span> on Windows.
</p>
<p>
Its input and output are specified by the following controls:
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Input</span></code></em> entry specifies what text from the document should be passed to the command.
The text is passed via command's standard input, except for <em class="parameter"><code>Document copy</code></em> case.
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>None</code></em></span></p></td>
<td>no input text.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Selected lines</code></em></span></p></td>
<td>the lines containing selection or the line containing the cursor in
case when no text is selected.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Selection</code></em></span></p></td>
<td>exact selected text. This will be different from <em class="parameter"><code>Selected lines</code></em>
if selection does not span whole lines of the document, for instance if it is a single word.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Whole document</code></em></span></p></td>
<td>whole document contents.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Document copy</code></em></span></p></td>
<td>document contents will be saved to a temporary file and the file path will be stored
in <code class="envar">INPUT_FILE</code> environment variable. No text will be passed to the command via standard
input.</td>
</tr>
</tbody>
</table></div>
</li>
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Output</span></code></em> entry specifies how the standard output of the command should be redirected.
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>None</code></em></span></p></td>
<td>the command output will be discarded.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>None, asynchronous</code></em></span></p></td>
<td>the command output will be discarded, and the command will be executed in background.
Use this if you need to launch some external program like a web browser.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Output pane</code></em></span></p></td>
<td>the command output will be displayed in an output pane. This is useful for running programs
like compilers, where you want to see the output.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>Insert into the document</code></em></span></p></td>
<td>output will be inserted into the current document at the cursor position. It will replace the
text used as an input, if any.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>New document</code></em></span></p></td>
<td>new document will be created and the command output will be inserted into it.</td>
</tr>
</tbody>
</table></div>
</li>
<li class="listitem">
<em class="parameter"><code><span class="guilabel">Filter</span></code></em> combo. If the output pane is used, then it can be passed through a
<em class="parameter"><code>filter</code></em>: the filter can match filenames and line numbers, so when you click
the text in the output pane it will open the corresponding file. This is used for compilers and
similar commands, which output locations of errors in processed files.
</li>
</ul></div>
<p>
</p>
<p>
Shell script user tools have a number of environment variables set.
<code class="envar">APP_PID</code> variable is set so that opening a file in the same instance
of <span class="application">medit</span> is as simple as <code class="code">medit filename</code> (on the other hand, you will
have to use command line options if you need to run a new <span class="application">medit</span> instance). The
following environment variables are set when scripts are executed:
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><code class="envar">APP_PID</code></span></p></td>
<td>current process id.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DOC</code></span></p></td>
<td>document basename ("<code class="filename">file.c</code>" for file <code class="filename">/home/user/file.c</code>).</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DOC_DIR</code></span></p></td>
<td>document directory ("<code class="filename">/home/user</code>" for file <code class="filename">/home/user/file.c</code>). Full file path is
<code class="filename"><code class="envar">$DOC_DIR</code>/<code class="envar">$DOC</code></code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DOC_BASE</code></span></p></td>
<td>basename without extension ("<code class="filename">file</code>" for file <code class="filename">/home/user/file.c</code>).</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DOC_EXT</code></span></p></td>
<td>document filename extension including the period ("<code class="filename">.c</code>" for file
<code class="filename">/home/user/file.c</code>). Basename is always
<code class="filename"><code class="envar">$DOC_BASE</code><code class="envar">$DOC_EXT</code></code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DOC_PATH</code></span></p></td>
<td>full document path.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">LINE</code></span></p></td>
<td>
<code class="constant">1</code>-based number of the line containing cursor.
For example, if cursor is at the first line then <code class="envar">LINE</code> will be
set to <code class="constant">1</code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">LINE0</code></span></p></td>
<td>
<code class="constant">0</code>-based number of the line containing cursor.
For example, if cursor is at the first line then <code class="envar">LINE0</code> will be
set to <code class="constant">0</code>.</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">DATA_DIR</code></span></p></td>
<td>user data directory (<code class="filename">$HOME/.local/share/medit-1/</code> on Unix systems).</td>
</tr>
<tr>
<td><p><span class="term"><code class="envar">INPUT_FILE</code></span></p></td>
<td>if <em class="parameter"><code>input</code></em> was set to "Document copy" then this is set to
full path of the temporary file containing document text.</td>
</tr>
</tbody>
</table></div>
<p>
</p>
<p>
Additionally, all shell commands which run inside <span class="application">medit</span> will have
<code class="filename"><code class="envar">DATA_DIR</code>/scripts</code>
directories in <code class="envar">$PATH</code>, so you may place some <span class="application">medit</span>-specific programs
or scripts into <code class="filename"><code class="envar">DATA_DIR</code>/scripts/</code> to be used from shell script tools.
</p>
</div>
<div class="sect1" title="Lua scripts">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-user-tools-lua"></a>Lua scripts</h2></div></div></div>
<p>
<a class="ulink" href="script/lua-moo.html" target="_top">Medit API for Lua scripts</a>.
</p>
<p>
<a class="ulink" href="script/lua-gtk.html" target="_top">Gtk API for Lua scripts</a>.
</p>
</div>
<div class="sect1" title="Python scripts">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-user-tools-python"></a>Python scripts</h2></div></div></div>
<p>
<a class="ulink" href="script/python-moo.html" target="_top">Medit API for Python scripts</a>.
</p>
</div>
</div>
<div class="chapter" title="Chapter 4. License">
<div class="titlepage"><div><div><h2 class="title">
<a name="chapter-license"></a>Chapter 4. License</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
<dl>
<dt><span class="sect1"><a href="#section-license-gpl">GNU General Public License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lgpl">GNU Lesser General Public License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lua">Lua License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-lfs">LuaFileSystem License</a></span></dt>
<dt><span class="sect1"><a href="#section-license-xdg-utils">xdg-utils License</a></span></dt>
</dl>
</div>
<p>
<span class="application">medit</span> as a whole is distributed under the terms of the GNU General
Public License, version 2, but most of its code is released under the
GNU Lesser General Public License. Full text of these licenses, as well
as licenses and acknowledgements for third-party software incorporated
in <span class="application">medit</span>, can be found in this section.
</p>
<div class="sect1" title="GNU General Public License">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-license-gpl"></a>GNU General Public License</h2></div></div></div>
<div class="literallayout"><p><br>
GNU GENERAL PUBLIC LICENSE<br>
Version 2, June 1991<br>
<br>
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,<br>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA<br>
Everyone is permitted to copy and distribute verbatim copies<br>
of this license document, but changing it is not allowed.<br>
<br>
Preamble<br>
<br>
The licenses for most software are designed to take away your<br>
freedom to share and change it. By contrast, the GNU General Public<br>
License is intended to guarantee your freedom to share and change free<br>
software--to make sure the software is free for all its users. This<br>
General Public License applies to most of the Free Software<br>
Foundation's software and to any other program whose authors commit to<br>
using it. (Some other Free Software Foundation software is covered by<br>
the GNU Lesser General Public License instead.) You can apply it to<br>
your programs, too.<br>
<br>
When we speak of free software, we are referring to freedom, not<br>
price. Our General Public Licenses are designed to make sure that you<br>
have the freedom to distribute copies of free software (and charge for<br>
this service if you wish), that you receive source code or can get it<br>
if you want it, that you can change the software or use pieces of it<br>
in new free programs; and that you know you can do these things.<br>
<br>
To protect your rights, we need to make restrictions that forbid<br>
anyone to deny you these rights or to ask you to surrender the rights.<br>
These restrictions translate to certain responsibilities for you if you<br>
distribute copies of the software, or if you modify it.<br>
<br>
For example, if you distribute copies of such a program, whether<br>
gratis or for a fee, you must give the recipients all the rights that<br>
you have. You must make sure that they, too, receive or can get the<br>
source code. And you must show them these terms so they know their<br>
rights.<br>
<br>
We protect your rights with two steps: (1) copyright the software, and<br>
(2) offer you this license which gives you legal permission to copy,<br>
distribute and/or modify the software.<br>
<br>
Also, for each author's protection and ours, we want to make certain<br>
that everyone understands that there is no warranty for this free<br>
software. If the software is modified by someone else and passed on, we<br>
want its recipients to know that what they have is not the original, so<br>
that any problems introduced by others will not reflect on the original<br>
authors' reputations.<br>
<br>
Finally, any free program is threatened constantly by software<br>
patents. We wish to avoid the danger that redistributors of a free<br>
program will individually obtain patent licenses, in effect making the<br>
program proprietary. To prevent this, we have made it clear that any<br>
patent must be licensed for everyone's free use or not licensed at all.<br>
<br>
The precise terms and conditions for copying, distribution and<br>
modification follow.<br>
<br>
GNU GENERAL PUBLIC LICENSE<br>
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION<br>
<br>
0. This License applies to any program or other work which contains<br>
a notice placed by the copyright holder saying it may be distributed<br>
under the terms of this General Public License. The "Program", below,<br>
refers to any such program or work, and a "work based on the Program"<br>
means either the Program or any derivative work under copyright law:<br>
that is to say, a work containing the Program or a portion of it,<br>
either verbatim or with modifications and/or translated into another<br>
language. (Hereinafter, translation is included without limitation in<br>
the term "modification".) Each licensee is addressed as "you".<br>
<br>
Activities other than copying, distribution and modification are not<br>
covered by this License; they are outside its scope. The act of<br>
running the Program is not restricted, and the output from the Program<br>
is covered only if its contents constitute a work based on the<br>
Program (independent of having been made by running the Program).<br>
Whether that is true depends on what the Program does.<br>
<br>
1. You may copy and distribute verbatim copies of the Program's<br>
source code as you receive it, in any medium, provided that you<br>
conspicuously and appropriately publish on each copy an appropriate<br>
copyright notice and disclaimer of warranty; keep intact all the<br>
notices that refer to this License and to the absence of any warranty;<br>
and give any other recipients of the Program a copy of this License<br>
along with the Program.<br>
<br>
You may charge a fee for the physical act of transferring a copy, and<br>
you may at your option offer warranty protection in exchange for a fee.<br>
<br>
2. You may modify your copy or copies of the Program or any portion<br>
of it, thus forming a work based on the Program, and copy and<br>
distribute such modifications or work under the terms of Section 1<br>
above, provided that you also meet all of these conditions:<br>
<br>
a) You must cause the modified files to carry prominent notices<br>
stating that you changed the files and the date of any change.<br>
<br>
b) You must cause any work that you distribute or publish, that in<br>
whole or in part contains or is derived from the Program or any<br>
part thereof, to be licensed as a whole at no charge to all third<br>
parties under the terms of this License.<br>
<br>
c) If the modified program normally reads commands interactively<br>
when run, you must cause it, when started running for such<br>
interactive use in the most ordinary way, to print or display an<br>
announcement including an appropriate copyright notice and a<br>
notice that there is no warranty (or else, saying that you provide<br>
a warranty) and that users may redistribute the program under<br>
these conditions, and telling the user how to view a copy of this<br>
License. (Exception: if the Program itself is interactive but<br>
does not normally print such an announcement, your work based on<br>
the Program is not required to print an announcement.)<br>
<br>
These requirements apply to the modified work as a whole. If<br>
identifiable sections of that work are not derived from the Program,<br>
and can be reasonably considered independent and separate works in<br>
themselves, then this License, and its terms, do not apply to those<br>
sections when you distribute them as separate works. But when you<br>
distribute the same sections as part of a whole which is a work based<br>
on the Program, the distribution of the whole must be on the terms of<br>
this License, whose permissions for other licensees extend to the<br>
entire whole, and thus to each and every part regardless of who wrote it.<br>
<br>
Thus, it is not the intent of this section to claim rights or contest<br>
your rights to work written entirely by you; rather, the intent is to<br>
exercise the right to control the distribution of derivative or<br>
collective works based on the Program.<br>
<br>
In addition, mere aggregation of another work not based on the Program<br>
with the Program (or with a work based on the Program) on a volume of<br>
a storage or distribution medium does not bring the other work under<br>
the scope of this License.<br>
<br>
3. You may copy and distribute the Program (or a work based on it,<br>
under Section 2) in object code or executable form under the terms of<br>
Sections 1 and 2 above provided that you also do one of the following:<br>
<br>
a) Accompany it with the complete corresponding machine-readable<br>
source code, which must be distributed under the terms of Sections<br>
1 and 2 above on a medium customarily used for software interchange; or,<br>
<br>
b) Accompany it with a written offer, valid for at least three<br>
years, to give any third party, for a charge no more than your<br>
cost of physically performing source distribution, a complete<br>
machine-readable copy of the corresponding source code, to be<br>
distributed under the terms of Sections 1 and 2 above on a medium<br>
customarily used for software interchange; or,<br>
<br>
c) Accompany it with the information you received as to the offer<br>
to distribute corresponding source code. (This alternative is<br>
allowed only for noncommercial distribution and only if you<br>
received the program in object code or executable form with such<br>
an offer, in accord with Subsection b above.)<br>
<br>
The source code for a work means the preferred form of the work for<br>
making modifications to it. For an executable work, complete source<br>
code means all the source code for all modules it contains, plus any<br>
associated interface definition files, plus the scripts used to<br>
control compilation and installation of the executable. However, as a<br>
special exception, the source code distributed need not include<br>
anything that is normally distributed (in either source or binary<br>
form) with the major components (compiler, kernel, and so on) of the<br>
operating system on which the executable runs, unless that component<br>
itself accompanies the executable.<br>
<br>
If distribution of executable or object code is made by offering<br>
access to copy from a designated place, then offering equivalent<br>
access to copy the source code from the same place counts as<br>
distribution of the source code, even though third parties are not<br>
compelled to copy the source along with the object code.<br>
<br>
4. You may not copy, modify, sublicense, or distribute the Program<br>
except as expressly provided under this License. Any attempt<br>
otherwise to copy, modify, sublicense or distribute the Program is<br>
void, and will automatically terminate your rights under this License.<br>
However, parties who have received copies, or rights, from you under<br>
this License will not have their licenses terminated so long as such<br>
parties remain in full compliance.<br>
<br>
5. You are not required to accept this License, since you have not<br>
signed it. However, nothing else grants you permission to modify or<br>
distribute the Program or its derivative works. These actions are<br>
prohibited by law if you do not accept this License. Therefore, by<br>
modifying or distributing the Program (or any work based on the<br>
Program), you indicate your acceptance of this License to do so, and<br>
all its terms and conditions for copying, distributing or modifying<br>
the Program or works based on it.<br>
<br>
6. Each time you redistribute the Program (or any work based on the<br>
Program), the recipient automatically receives a license from the<br>
original licensor to copy, distribute or modify the Program subject to<br>
these terms and conditions. You may not impose any further<br>
restrictions on the recipients' exercise of the rights granted herein.<br>
You are not responsible for enforcing compliance by third parties to<br>
this License.<br>
<br>
7. If, as a consequence of a court judgment or allegation of patent<br>
infringement or for any other reason (not limited to patent issues),<br>
conditions are imposed on you (whether by court order, agreement or<br>
otherwise) that contradict the conditions of this License, they do not<br>
excuse you from the conditions of this License. If you cannot<br>
distribute so as to satisfy simultaneously your obligations under this<br>
License and any other pertinent obligations, then as a consequence you<br>
may not distribute the Program at all. For example, if a patent<br>
license would not permit royalty-free redistribution of the Program by<br>
all those who receive copies directly or indirectly through you, then<br>
the only way you could satisfy both it and this License would be to<br>
refrain entirely from distribution of the Program.<br>
<br>
If any portion of this section is held invalid or unenforceable under<br>
any particular circumstance, the balance of the section is intended to<br>
apply and the section as a whole is intended to apply in other<br>
circumstances.<br>
<br>
It is not the purpose of this section to induce you to infringe any<br>
patents or other property right claims or to contest validity of any<br>
such claims; this section has the sole purpose of protecting the<br>
integrity of the free software distribution system, which is<br>
implemented by public license practices. Many people have made<br>
generous contributions to the wide range of software distributed<br>
through that system in reliance on consistent application of that<br>
system; it is up to the author/donor to decide if he or she is willing<br>
to distribute software through any other system and a licensee cannot<br>
impose that choice.<br>
<br>
This section is intended to make thoroughly clear what is believed to<br>
be a consequence of the rest of this License.<br>
<br>
8. If the distribution and/or use of the Program is restricted in<br>
certain countries either by patents or by copyrighted interfaces, the<br>
original copyright holder who places the Program under this License<br>
may add an explicit geographical distribution limitation excluding<br>
those countries, so that distribution is permitted only in or among<br>
countries not thus excluded. In such case, this License incorporates<br>
the limitation as if written in the body of this License.<br>
<br>
9. The Free Software Foundation may publish revised and/or new versions<br>
of the General Public License from time to time. Such new versions will<br>
be similar in spirit to the present version, but may differ in detail to<br>
address new problems or concerns.<br>
<br>
Each version is given a distinguishing version number. If the Program<br>
specifies a version number of this License which applies to it and "any<br>
later version", you have the option of following the terms and conditions<br>
either of that version or of any later version published by the Free<br>
Software Foundation. If the Program does not specify a version number of<br>
this License, you may choose any version ever published by the Free Software<br>
Foundation.<br>
<br>
10. If you wish to incorporate parts of the Program into other free<br>
programs whose distribution conditions are different, write to the author<br>
to ask for permission. For software which is copyrighted by the Free<br>
Software Foundation, write to the Free Software Foundation; we sometimes<br>
make exceptions for this. Our decision will be guided by the two goals<br>
of preserving the free status of all derivatives of our free software and<br>
of promoting the sharing and reuse of software generally.<br>
<br>
NO WARRANTY<br>
<br>
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<br>
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN<br>
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES<br>
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED<br>
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<br>
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS<br>
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE<br>
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,<br>
REPAIR OR CORRECTION.<br>
<br>
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING<br>
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR<br>
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,<br>
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING<br>
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED<br>
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY<br>
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER<br>
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE<br>
POSSIBILITY OF SUCH DAMAGES.<br>
<br>
END OF TERMS AND CONDITIONS<br>
<br>
How to Apply These Terms to Your New Programs<br>
<br>
If you develop a new program, and you want it to be of the greatest<br>
possible use to the public, the best way to achieve this is to make it<br>
free software which everyone can redistribute and change under these terms.<br>
<br>
To do so, attach the following notices to the program. It is safest<br>
to attach them to the start of each source file to most effectively<br>
convey the exclusion of warranty; and each file should have at least<br>
the "copyright" line and a pointer to where the full notice is found.<br>
<br>
<one line to give the program's name and a brief idea of what it does.><br>
Copyright (C) <year> <name of author><br>
<br>
This program is free software; you can redistribute it and/or modify<br>
it under the terms of the GNU General Public License as published by<br>
the Free Software Foundation; either version 2 of the License, or<br>
(at your option) any later version.<br>
<br>
This program is distributed in the hope that it will be useful,<br>
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
GNU General Public License for more details.<br>
<br>
You should have received a copy of the GNU General Public License along<br>
with this program; if not, write to the Free Software Foundation, Inc.,<br>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.<br>
<br>
Also add information on how to contact you by electronic and paper mail.<br>
<br>
If the program is interactive, make it output a short notice like this<br>
when it starts in an interactive mode:<br>
<br>
Gnomovision version 69, Copyright (C) year name of author<br>
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.<br>
This is free software, and you are welcome to redistribute it<br>
under certain conditions; type `show c' for details.<br>
<br>
The hypothetical commands `show w' and `show c' should show the appropriate<br>
parts of the General Public License. Of course, the commands you use may<br>
be called something other than `show w' and `show c'; they could even be<br>
mouse-clicks or menu items--whatever suits your program.<br>
<br>
You should also get your employer (if you work as a programmer) or your<br>
school, if any, to sign a "copyright disclaimer" for the program, if<br>
necessary. Here is a sample; alter the names:<br>
<br>
Yoyodyne, Inc., hereby disclaims all copyright interest in the program<br>
`Gnomovision' (which makes passes at compilers) written by James Hacker.<br>
<br>
<signature of Ty Coon>, 1 April 1989<br>
Ty Coon, President of Vice<br>
<br>
This General Public License does not permit incorporating your program into<br>
proprietary programs. If your program is a subroutine library, you may<br>
consider it more useful to permit linking proprietary applications with the<br>
library. If this is what you want to do, use the GNU Lesser General<br>
Public License instead of this License.<br>
<br>
</p></div>
</div>
<div class="sect1" title="GNU Lesser General Public License">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-license-lgpl"></a>GNU Lesser General Public License</h2></div></div></div>
<div class="literallayout"><p><br>
GNU LESSER GENERAL PUBLIC LICENSE<br>
Version 2.1, February 1999<br>
<br>
Copyright (C) 1991, 1999 Free Software Foundation, Inc.<br>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA<br>
Everyone is permitted to copy and distribute verbatim copies<br>
of this license document, but changing it is not allowed.<br>
<br>
[This is the first released version of the Lesser GPL. It also counts<br>
as the successor of the GNU Library Public License, version 2, hence<br>
the version number 2.1.]<br>
<br>
Preamble<br>
<br>
The licenses for most software are designed to take away your<br>
freedom to share and change it. By contrast, the GNU General Public<br>
Licenses are intended to guarantee your freedom to share and change<br>
free software--to make sure the software is free for all its users.<br>
<br>
This license, the Lesser General Public License, applies to some<br>
specially designated software packages--typically libraries--of the<br>
Free Software Foundation and other authors who decide to use it. You<br>
can use it too, but we suggest you first think carefully about whether<br>
this license or the ordinary General Public License is the better<br>
strategy to use in any particular case, based on the explanations below.<br>
<br>
When we speak of free software, we are referring to freedom of use,<br>
not price. Our General Public Licenses are designed to make sure that<br>
you have the freedom to distribute copies of free software (and charge<br>
for this service if you wish); that you receive source code or can get<br>
it if you want it; that you can change the software and use pieces of<br>
it in new free programs; and that you are informed that you can do<br>
these things.<br>
<br>
To protect your rights, we need to make restrictions that forbid<br>
distributors to deny you these rights or to ask you to surrender these<br>
rights. These restrictions translate to certain responsibilities for<br>
you if you distribute copies of the library or if you modify it.<br>
<br>
For example, if you distribute copies of the library, whether gratis<br>
or for a fee, you must give the recipients all the rights that we gave<br>
you. You must make sure that they, too, receive or can get the source<br>
code. If you link other code with the library, you must provide<br>
complete object files to the recipients, so that they can relink them<br>
with the library after making changes to the library and recompiling<br>
it. And you must show them these terms so they know their rights.<br>
<br>
We protect your rights with a two-step method: (1) we copyright the<br>
library, and (2) we offer you this license, which gives you legal<br>
permission to copy, distribute and/or modify the library.<br>
<br>
To protect each distributor, we want to make it very clear that<br>
there is no warranty for the free library. Also, if the library is<br>
modified by someone else and passed on, the recipients should know<br>
that what they have is not the original version, so that the original<br>
author's reputation will not be affected by problems that might be<br>
introduced by others.<br>
<br>
Finally, software patents pose a constant threat to the existence of<br>
any free program. We wish to make sure that a company cannot<br>
effectively restrict the users of a free program by obtaining a<br>
restrictive license from a patent holder. Therefore, we insist that<br>
any patent license obtained for a version of the library must be<br>
consistent with the full freedom of use specified in this license.<br>
<br>
Most GNU software, including some libraries, is covered by the<br>
ordinary GNU General Public License. This license, the GNU Lesser<br>
General Public License, applies to certain designated libraries, and<br>
is quite different from the ordinary General Public License. We use<br>
this license for certain libraries in order to permit linking those<br>
libraries into non-free programs.<br>
<br>
When a program is linked with a library, whether statically or using<br>
a shared library, the combination of the two is legally speaking a<br>
combined work, a derivative of the original library. The ordinary<br>
General Public License therefore permits such linking only if the<br>
entire combination fits its criteria of freedom. The Lesser General<br>
Public License permits more lax criteria for linking other code with<br>
the library.<br>
<br>
We call this license the "Lesser" General Public License because it<br>
does Less to protect the user's freedom than the ordinary General<br>
Public License. It also provides other free software developers Less<br>
of an advantage over competing non-free programs. These disadvantages<br>
are the reason we use the ordinary General Public License for many<br>
libraries. However, the Lesser license provides advantages in certain<br>
special circumstances.<br>
<br>
For example, on rare occasions, there may be a special need to<br>
encourage the widest possible use of a certain library, so that it becomes<br>
a de-facto standard. To achieve this, non-free programs must be<br>
allowed to use the library. A more frequent case is that a free<br>
library does the same job as widely used non-free libraries. In this<br>
case, there is little to gain by limiting the free library to free<br>
software only, so we use the Lesser General Public License.<br>
<br>
In other cases, permission to use a particular library in non-free<br>
programs enables a greater number of people to use a large body of<br>
free software. For example, permission to use the GNU C Library in<br>
non-free programs enables many more people to use the whole GNU<br>
operating system, as well as its variant, the GNU/Linux operating<br>
system.<br>
<br>
Although the Lesser General Public License is Less protective of the<br>
users' freedom, it does ensure that the user of a program that is<br>
linked with the Library has the freedom and the wherewithal to run<br>
that program using a modified version of the Library.<br>
<br>
The precise terms and conditions for copying, distribution and<br>
modification follow. Pay close attention to the difference between a<br>
"work based on the library" and a "work that uses the library". The<br>
former contains code derived from the library, whereas the latter must<br>
be combined with the library in order to run.<br>
<br>
GNU LESSER GENERAL PUBLIC LICENSE<br>
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION<br>
<br>
0. This License Agreement applies to any software library or other<br>
program which contains a notice placed by the copyright holder or<br>
other authorized party saying it may be distributed under the terms of<br>
this Lesser General Public License (also called "this License").<br>
Each licensee is addressed as "you".<br>
<br>
A "library" means a collection of software functions and/or data<br>
prepared so as to be conveniently linked with application programs<br>
(which use some of those functions and data) to form executables.<br>
<br>
The "Library", below, refers to any such software library or work<br>
which has been distributed under these terms. A "work based on the<br>
Library" means either the Library or any derivative work under<br>
copyright law: that is to say, a work containing the Library or a<br>
portion of it, either verbatim or with modifications and/or translated<br>
straightforwardly into another language. (Hereinafter, translation is<br>
included without limitation in the term "modification".)<br>
<br>
"Source code" for a work means the preferred form of the work for<br>
making modifications to it. For a library, complete source code means<br>
all the source code for all modules it contains, plus any associated<br>
interface definition files, plus the scripts used to control compilation<br>
and installation of the library.<br>
<br>
Activities other than copying, distribution and modification are not<br>
covered by this License; they are outside its scope. The act of<br>
running a program using the Library is not restricted, and output from<br>
such a program is covered only if its contents constitute a work based<br>
on the Library (independent of the use of the Library in a tool for<br>
writing it). Whether that is true depends on what the Library does<br>
and what the program that uses the Library does.<br>
<br>
1. You may copy and distribute verbatim copies of the Library's<br>
complete source code as you receive it, in any medium, provided that<br>
you conspicuously and appropriately publish on each copy an<br>
appropriate copyright notice and disclaimer of warranty; keep intact<br>
all the notices that refer to this License and to the absence of any<br>
warranty; and distribute a copy of this License along with the<br>
Library.<br>
<br>
You may charge a fee for the physical act of transferring a copy,<br>
and you may at your option offer warranty protection in exchange for a<br>
fee.<br>
<br>
2. You may modify your copy or copies of the Library or any portion<br>
of it, thus forming a work based on the Library, and copy and<br>
distribute such modifications or work under the terms of Section 1<br>
above, provided that you also meet all of these conditions:<br>
<br>
a) The modified work must itself be a software library.<br>
<br>
b) You must cause the files modified to carry prominent notices<br>
stating that you changed the files and the date of any change.<br>
<br>
c) You must cause the whole of the work to be licensed at no<br>
charge to all third parties under the terms of this License.<br>
<br>
d) If a facility in the modified Library refers to a function or a<br>
table of data to be supplied by an application program that uses<br>
the facility, other than as an argument passed when the facility<br>
is invoked, then you must make a good faith effort to ensure that,<br>
in the event an application does not supply such function or<br>
table, the facility still operates, and performs whatever part of<br>
its purpose remains meaningful.<br>
<br>
(For example, a function in a library to compute square roots has<br>
a purpose that is entirely well-defined independent of the<br>
application. Therefore, Subsection 2d requires that any<br>
application-supplied function or table used by this function must<br>
be optional: if the application does not supply it, the square<br>
root function must still compute square roots.)<br>
<br>
These requirements apply to the modified work as a whole. If<br>
identifiable sections of that work are not derived from the Library,<br>
and can be reasonably considered independent and separate works in<br>
themselves, then this License, and its terms, do not apply to those<br>
sections when you distribute them as separate works. But when you<br>
distribute the same sections as part of a whole which is a work based<br>
on the Library, the distribution of the whole must be on the terms of<br>
this License, whose permissions for other licensees extend to the<br>
entire whole, and thus to each and every part regardless of who wrote<br>
it.<br>
<br>
Thus, it is not the intent of this section to claim rights or contest<br>
your rights to work written entirely by you; rather, the intent is to<br>
exercise the right to control the distribution of derivative or<br>
collective works based on the Library.<br>
<br>
In addition, mere aggregation of another work not based on the Library<br>
with the Library (or with a work based on the Library) on a volume of<br>
a storage or distribution medium does not bring the other work under<br>
the scope of this License.<br>
<br>
3. You may opt to apply the terms of the ordinary GNU General Public<br>
License instead of this License to a given copy of the Library. To do<br>
this, you must alter all the notices that refer to this License, so<br>
that they refer to the ordinary GNU General Public License, version 2,<br>
instead of to this License. (If a newer version than version 2 of the<br>
ordinary GNU General Public License has appeared, then you can specify<br>
that version instead if you wish.) Do not make any other change in<br>
these notices.<br>
<br>
Once this change is made in a given copy, it is irreversible for<br>
that copy, so the ordinary GNU General Public License applies to all<br>
subsequent copies and derivative works made from that copy.<br>
<br>
This option is useful when you wish to copy part of the code of<br>
the Library into a program that is not a library.<br>
<br>
4. You may copy and distribute the Library (or a portion or<br>
derivative of it, under Section 2) in object code or executable form<br>
under the terms of Sections 1 and 2 above provided that you accompany<br>
it with the complete corresponding machine-readable source code, which<br>
must be distributed under the terms of Sections 1 and 2 above on a<br>
medium customarily used for software interchange.<br>
<br>
If distribution of object code is made by offering access to copy<br>
from a designated place, then offering equivalent access to copy the<br>
source code from the same place satisfies the requirement to<br>
distribute the source code, even though third parties are not<br>
compelled to copy the source along with the object code.<br>
<br>
5. A program that contains no derivative of any portion of the<br>
Library, but is designed to work with the Library by being compiled or<br>
linked with it, is called a "work that uses the Library". Such a<br>
work, in isolation, is not a derivative work of the Library, and<br>
therefore falls outside the scope of this License.<br>
<br>
However, linking a "work that uses the Library" with the Library<br>
creates an executable that is a derivative of the Library (because it<br>
contains portions of the Library), rather than a "work that uses the<br>
library". The executable is therefore covered by this License.<br>
Section 6 states terms for distribution of such executables.<br>
<br>
When a "work that uses the Library" uses material from a header file<br>
that is part of the Library, the object code for the work may be a<br>
derivative work of the Library even though the source code is not.<br>
Whether this is true is especially significant if the work can be<br>
linked without the Library, or if the work is itself a library. The<br>
threshold for this to be true is not precisely defined by law.<br>
<br>
If such an object file uses only numerical parameters, data<br>
structure layouts and accessors, and small macros and small inline<br>
functions (ten lines or less in length), then the use of the object<br>
file is unrestricted, regardless of whether it is legally a derivative<br>
work. (Executables containing this object code plus portions of the<br>
Library will still fall under Section 6.)<br>
<br>
Otherwise, if the work is a derivative of the Library, you may<br>
distribute the object code for the work under the terms of Section 6.<br>
Any executables containing that work also fall under Section 6,<br>
whether or not they are linked directly with the Library itself.<br>
<br>
6. As an exception to the Sections above, you may also combine or<br>
link a "work that uses the Library" with the Library to produce a<br>
work containing portions of the Library, and distribute that work<br>
under terms of your choice, provided that the terms permit<br>
modification of the work for the customer's own use and reverse<br>
engineering for debugging such modifications.<br>
<br>
You must give prominent notice with each copy of the work that the<br>
Library is used in it and that the Library and its use are covered by<br>
this License. You must supply a copy of this License. If the work<br>
during execution displays copyright notices, you must include the<br>
copyright notice for the Library among them, as well as a reference<br>
directing the user to the copy of this License. Also, you must do one<br>
of these things:<br>
<br>
a) Accompany the work with the complete corresponding<br>
machine-readable source code for the Library including whatever<br>
changes were used in the work (which must be distributed under<br>
Sections 1 and 2 above); and, if the work is an executable linked<br>
with the Library, with the complete machine-readable "work that<br>
uses the Library", as object code and/or source code, so that the<br>
user can modify the Library and then relink to produce a modified<br>
executable containing the modified Library. (It is understood<br>
that the user who changes the contents of definitions files in the<br>
Library will not necessarily be able to recompile the application<br>
to use the modified definitions.)<br>
<br>
b) Use a suitable shared library mechanism for linking with the<br>
Library. A suitable mechanism is one that (1) uses at run time a<br>
copy of the library already present on the user's computer system,<br>
rather than copying library functions into the executable, and (2)<br>
will operate properly with a modified version of the library, if<br>
the user installs one, as long as the modified version is<br>
interface-compatible with the version that the work was made with.<br>
<br>
c) Accompany the work with a written offer, valid for at<br>
least three years, to give the same user the materials<br>
specified in Subsection 6a, above, for a charge no more<br>
than the cost of performing this distribution.<br>
<br>
d) If distribution of the work is made by offering access to copy<br>
from a designated place, offer equivalent access to copy the above<br>
specified materials from the same place.<br>
<br>
e) Verify that the user has already received a copy of these<br>
materials or that you have already sent this user a copy.<br>
<br>
For an executable, the required form of the "work that uses the<br>
Library" must include any data and utility programs needed for<br>
reproducing the executable from it. However, as a special exception,<br>
the materials to be distributed need not include anything that is<br>
normally distributed (in either source or binary form) with the major<br>
components (compiler, kernel, and so on) of the operating system on<br>
which the executable runs, unless that component itself accompanies<br>
the executable.<br>
<br>
It may happen that this requirement contradicts the license<br>
restrictions of other proprietary libraries that do not normally<br>
accompany the operating system. Such a contradiction means you cannot<br>
use both them and the Library together in an executable that you<br>
distribute.<br>
<br>
7. You may place library facilities that are a work based on the<br>
Library side-by-side in a single library together with other library<br>
facilities not covered by this License, and distribute such a combined<br>
library, provided that the separate distribution of the work based on<br>
the Library and of the other library facilities is otherwise<br>
permitted, and provided that you do these two things:<br>
<br>
a) Accompany the combined library with a copy of the same work<br>
based on the Library, uncombined with any other library<br>
facilities. This must be distributed under the terms of the<br>
Sections above.<br>
<br>
b) Give prominent notice with the combined library of the fact<br>
that part of it is a work based on the Library, and explaining<br>
where to find the accompanying uncombined form of the same work.<br>
<br>
8. You may not copy, modify, sublicense, link with, or distribute<br>
the Library except as expressly provided under this License. Any<br>
attempt otherwise to copy, modify, sublicense, link with, or<br>
distribute the Library is void, and will automatically terminate your<br>
rights under this License. However, parties who have received copies,<br>
or rights, from you under this License will not have their licenses<br>
terminated so long as such parties remain in full compliance.<br>
<br>
9. You are not required to accept this License, since you have not<br>
signed it. However, nothing else grants you permission to modify or<br>
distribute the Library or its derivative works. These actions are<br>
prohibited by law if you do not accept this License. Therefore, by<br>
modifying or distributing the Library (or any work based on the<br>
Library), you indicate your acceptance of this License to do so, and<br>
all its terms and conditions for copying, distributing or modifying<br>
the Library or works based on it.<br>
<br>
10. Each time you redistribute the Library (or any work based on the<br>
Library), the recipient automatically receives a license from the<br>
original licensor to copy, distribute, link with or modify the Library<br>
subject to these terms and conditions. You may not impose any further<br>
restrictions on the recipients' exercise of the rights granted herein.<br>
You are not responsible for enforcing compliance by third parties with<br>
this License.<br>
<br>
11. If, as a consequence of a court judgment or allegation of patent<br>
infringement or for any other reason (not limited to patent issues),<br>
conditions are imposed on you (whether by court order, agreement or<br>
otherwise) that contradict the conditions of this License, they do not<br>
excuse you from the conditions of this License. If you cannot<br>
distribute so as to satisfy simultaneously your obligations under this<br>
License and any other pertinent obligations, then as a consequence you<br>
may not distribute the Library at all. For example, if a patent<br>
license would not permit royalty-free redistribution of the Library by<br>
all those who receive copies directly or indirectly through you, then<br>
the only way you could satisfy both it and this License would be to<br>
refrain entirely from distribution of the Library.<br>
<br>
If any portion of this section is held invalid or unenforceable under any<br>
particular circumstance, the balance of the section is intended to apply,<br>
and the section as a whole is intended to apply in other circumstances.<br>
<br>
It is not the purpose of this section to induce you to infringe any<br>
patents or other property right claims or to contest validity of any<br>
such claims; this section has the sole purpose of protecting the<br>
integrity of the free software distribution system which is<br>
implemented by public license practices. Many people have made<br>
generous contributions to the wide range of software distributed<br>
through that system in reliance on consistent application of that<br>
system; it is up to the author/donor to decide if he or she is willing<br>
to distribute software through any other system and a licensee cannot<br>
impose that choice.<br>
<br>
This section is intended to make thoroughly clear what is believed to<br>
be a consequence of the rest of this License.<br>
<br>
12. If the distribution and/or use of the Library is restricted in<br>
certain countries either by patents or by copyrighted interfaces, the<br>
original copyright holder who places the Library under this License may add<br>
an explicit geographical distribution limitation excluding those countries,<br>
so that distribution is permitted only in or among countries not thus<br>
excluded. In such case, this License incorporates the limitation as if<br>
written in the body of this License.<br>
<br>
13. The Free Software Foundation may publish revised and/or new<br>
versions of the Lesser General Public License from time to time.<br>
Such new versions will be similar in spirit to the present version,<br>
but may differ in detail to address new problems or concerns.<br>
<br>
Each version is given a distinguishing version number. If the Library<br>
specifies a version number of this License which applies to it and<br>
"any later version", you have the option of following the terms and<br>
conditions either of that version or of any later version published by<br>
the Free Software Foundation. If the Library does not specify a<br>
license version number, you may choose any version ever published by<br>
the Free Software Foundation.<br>
<br>
14. If you wish to incorporate parts of the Library into other free<br>
programs whose distribution conditions are incompatible with these,<br>
write to the author to ask for permission. For software which is<br>
copyrighted by the Free Software Foundation, write to the Free<br>
Software Foundation; we sometimes make exceptions for this. Our<br>
decision will be guided by the two goals of preserving the free status<br>
of all derivatives of our free software and of promoting the sharing<br>
and reuse of software generally.<br>
<br>
NO WARRANTY<br>
<br>
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO<br>
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.<br>
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR<br>
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY<br>
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE<br>
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR<br>
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE<br>
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME<br>
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.<br>
<br>
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN<br>
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY<br>
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU<br>
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR<br>
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE<br>
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING<br>
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A<br>
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF<br>
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH<br>
DAMAGES.<br>
<br>
END OF TERMS AND CONDITIONS<br>
<br>
How to Apply These Terms to Your New Libraries<br>
<br>
If you develop a new library, and you want it to be of the greatest<br>
possible use to the public, we recommend making it free software that<br>
everyone can redistribute and change. You can do so by permitting<br>
redistribution under these terms (or, alternatively, under the terms of the<br>
ordinary General Public License).<br>
<br>
To apply these terms, attach the following notices to the library. It is<br>
safest to attach them to the start of each source file to most effectively<br>
convey the exclusion of warranty; and each file should have at least the<br>
"copyright" line and a pointer to where the full notice is found.<br>
<br>
<one line to give the library's name and a brief idea of what it does.><br>
Copyright (C) <year> <name of author><br>
<br>
This library is free software; you can redistribute it and/or<br>
modify it under the terms of the GNU Lesser General Public<br>
License as published by the Free Software Foundation; either<br>
version 2.1 of the License, or (at your option) any later version.<br>
<br>
This library is distributed in the hope that it will be useful,<br>
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU<br>
Lesser General Public License for more details.<br>
<br>
You should have received a copy of the GNU Lesser General Public<br>
License along with this library; if not, write to the Free Software<br>
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA<br>
<br>
Also add information on how to contact you by electronic and paper mail.<br>
<br>
You should also get your employer (if you work as a programmer) or your<br>
school, if any, to sign a "copyright disclaimer" for the library, if<br>
necessary. Here is a sample; alter the names:<br>
<br>
Yoyodyne, Inc., hereby disclaims all copyright interest in the<br>
library `Frob' (a library for tweaking knobs) written by James Random Hacker.<br>
<br>
<signature of Ty Coon>, 1 April 1990<br>
Ty Coon, President of Vice<br>
<br>
That's all there is to it!<br>
<br>
<br>
<br>
</p></div>
</div>
<div class="sect1" title="Lua License">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-license-lua"></a>Lua License</h2></div></div></div>
<div class="literallayout"><p><br>
Lua License<br>
-----------<br>
<br>
Lua is licensed under the terms of the MIT license reproduced below.<br>
This means that Lua is free software and can be used for both academic<br>
and commercial purposes at absolutely no cost.<br>
<br>
For details and rationale, see http://www.lua.org/license.html .<br>
<br>
===============================================================================<br>
<br>
Copyright (C) 1994-2008 Lua.org, PUC-Rio.<br>
<br>
Permission is hereby granted, free of charge, to any person obtaining a copy<br>
of this software and associated documentation files (the "Software"), to deal<br>
in the Software without restriction, including without limitation the rights<br>
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br>
copies of the Software, and to permit persons to whom the Software is<br>
furnished to do so, subject to the following conditions:<br>
<br>
The above copyright notice and this permission notice shall be included in<br>
all copies or substantial portions of the Software.<br>
<br>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br>
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br>
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br>
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br>
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN<br>
THE SOFTWARE.<br>
<br>
===============================================================================<br>
<br>
(end of COPYRIGHT)<br>
<br>
</p></div>
</div>
<div class="sect1" title="LuaFileSystem License">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-license-lfs"></a>LuaFileSystem License</h2></div></div></div>
<div class="literallayout"><p><br>
LuaFileSystem - File System Library for Lua<br>
Copyright 2003-2007 PUC-Rio<br>
http://www.keplerproject.org/luafilesystem<br>
<br>
LuaFileSystem is a Lua library developed to complement the set of functions<br>
related to file systems offered by the standard Lua distribution. LuaFileSystem<br>
offers a portable way to access the underlying directory structure and file<br>
attributes. LuaFileSystem is free software and uses the same license as Lua 5.1<br>
Current version is 1.2.1.<br>
</p></div>
</div>
<div class="sect1" title="xdg-utils License">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="section-license-xdg-utils"></a>xdg-utils License</h2></div></div></div>
<div class="literallayout"><p><br>
Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at><br>
Copyright 2006, Jeremy White <jwhite@codeweavers.com><br>
<br>
LICENSE:<br>
<br>
Permission is hereby granted, free of charge, to any person obtaining a<br>
copy of this software and associated documentation files (the "Software"),<br>
to deal in the Software without restriction, including without limitation<br>
the rights to use, copy, modify, merge, publish, distribute, sublicense,<br>
and/or sell copies of the Software, and to permit persons to whom the<br>
Software is furnished to do so, subject to the following conditions:<br>
<br>
The above copyright notice and this permission notice shall be included<br>
in all copies or substantial portions of the Software.<br>
<br>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS<br>
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br>
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL<br>
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR<br>
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,<br>
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR<br>
OTHER DEALINGS IN THE SOFTWARE.<br>
</p></div>
</div>
</div>
</div></body>
</html>
|