| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
| 3 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 5 | <head> |
| 6 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
| 7 | <meta name="generator" content="AsciiDoc 10.1.2" /> |
| 8 | <title>GNU APL on Windows 11</title> |
| 9 | <style type="text/css"> |
| 10 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
| 11 | |
| 12 | /* Default font. */ |
| 13 | body { |
| 14 | font-family: Georgia,serif; |
| 15 | } |
| 16 | |
| 17 | /* Title font. */ |
| 18 | h1, h2, h3, h4, h5, h6, |
| 19 | div.title, caption.title, |
| 20 | thead, p.table.header, |
| 21 | #toctitle, |
| 22 | #author, #revnumber, #revdate, #revremark, |
| 23 | #footer { |
| 24 | font-family: Arial,Helvetica,sans-serif; |
| 25 | } |
| 26 | |
| 27 | body { |
| 28 | margin: 1em 5% 1em 5%; |
| 29 | } |
| 30 | |
| 31 | a { |
| 32 | color: blue; |
| 33 | text-decoration: underline; |
| 34 | } |
| 35 | a:visited { |
| 36 | color: fuchsia; |
| 37 | } |
| 38 | |
| 39 | em { |
| 40 | font-style: italic; |
| 41 | color: navy; |
| 42 | } |
| 43 | |
| 44 | strong { |
| 45 | font-weight: bold; |
| 46 | color: #083194; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3, h4, h5, h6 { |
| 50 | color: #527bbd; |
| 51 | margin-top: 1.2em; |
| 52 | margin-bottom: 0.5em; |
| 53 | line-height: 1.3; |
| 54 | } |
| 55 | |
| 56 | h1, h2, h3 { |
| 57 | border-bottom: 2px solid silver; |
| 58 | } |
| 59 | h2 { |
| 60 | padding-top: 0.5em; |
| 61 | } |
| 62 | h3 { |
| 63 | float: left; |
| 64 | } |
| 65 | h3 + * { |
| 66 | clear: left; |
| 67 | } |
| 68 | h5 { |
| 69 | font-size: 1.0em; |
| 70 | } |
| 71 | |
| 72 | div.sectionbody { |
| 73 | margin-left: 0; |
| 74 | } |
| 75 | |
| 76 | hr { |
| 77 | border: 1px solid silver; |
| 78 | } |
| 79 | |
| 80 | p { |
| 81 | margin-top: 0.5em; |
| 82 | margin-bottom: 0.5em; |
| 83 | } |
| 84 | |
| 85 | ul, ol, li > p { |
| 86 | margin-top: 0; |
| 87 | } |
| 88 | ul > li { color: #aaa; } |
| 89 | ul > li > * { color: black; } |
| 90 | |
| 91 | .monospaced, code, pre { |
| 92 | font-family: "Courier New", Courier, monospace; |
| 93 | font-size: inherit; |
| 94 | color: navy; |
| 95 | padding: 0; |
| 96 | margin: 0; |
| 97 | } |
| 98 | pre { |
| 99 | white-space: pre-wrap; |
| 100 | } |
| 101 | |
| 102 | #author { |
| 103 | color: #527bbd; |
| 104 | font-weight: bold; |
| 105 | font-size: 1.1em; |
| 106 | } |
| 107 | #email { |
| 108 | } |
| 109 | #revnumber, #revdate, #revremark { |
| 110 | } |
| 111 | |
| 112 | #footer { |
| 113 | font-size: small; |
| 114 | border-top: 2px solid silver; |
| 115 | padding-top: 0.5em; |
| 116 | margin-top: 4.0em; |
| 117 | } |
| 118 | #footer-text { |
| 119 | float: left; |
| 120 | padding-bottom: 0.5em; |
| 121 | } |
| 122 | #footer-badges { |
| 123 | float: right; |
| 124 | padding-bottom: 0.5em; |
| 125 | } |
| 126 | |
| 127 | #preamble { |
| 128 | margin-top: 1.5em; |
| 129 | margin-bottom: 1.5em; |
| 130 | } |
| 131 | div.imageblock, div.exampleblock, div.verseblock, |
| 132 | div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock, |
| 133 | div.admonitionblock { |
| 134 | margin-top: 1.0em; |
| 135 | margin-bottom: 1.5em; |
| 136 | } |
| 137 | div.admonitionblock { |
| 138 | margin-top: 2.0em; |
| 139 | margin-bottom: 2.0em; |
| 140 | margin-right: 10%; |
| 141 | color: #606060; |
| 142 | } |
| 143 | |
| 144 | div.content { /* Block element content. */ |
| 145 | padding: 0; |
| 146 | } |
| 147 | |
| 148 | /* Block element titles. */ |
| 149 | div.title, caption.title { |
| 150 | color: #527bbd; |
| 151 | font-weight: bold; |
| 152 | text-align: left; |
| 153 | margin-top: 1.0em; |
| 154 | margin-bottom: 0.5em; |
| 155 | } |
| 156 | div.title + * { |
| 157 | margin-top: 0; |
| 158 | } |
| 159 | |
| 160 | td div.title:first-child { |
| 161 | margin-top: 0.0em; |
| 162 | } |
| 163 | div.content div.title:first-child { |
| 164 | margin-top: 0.0em; |
| 165 | } |
| 166 | div.content + div.title { |
| 167 | margin-top: 0.0em; |
| 168 | } |
| 169 | |
| 170 | div.sidebarblock > div.content { |
| 171 | background: #ffffee; |
| 172 | border: 1px solid #dddddd; |
| 173 | border-left: 4px solid #f0f0f0; |
| 174 | padding: 0.5em; |
| 175 | } |
| 176 | |
| 177 | div.listingblock > div.content { |
| 178 | border: 1px solid #dddddd; |
| 179 | border-left: 5px solid #f0f0f0; |
| 180 | background: #f8f8f8; |
| 181 | padding: 0.5em; |
| 182 | } |
| 183 | |
| 184 | div.quoteblock, div.verseblock { |
| 185 | padding-left: 1.0em; |
| 186 | margin-left: 1.0em; |
| 187 | margin-right: 10%; |
| 188 | border-left: 5px solid #f0f0f0; |
| 189 | color: #888; |
| 190 | } |
| 191 | |
| 192 | div.quoteblock > div.attribution { |
| 193 | padding-top: 0.5em; |
| 194 | text-align: right; |
| 195 | } |
| 196 | |
| 197 | div.verseblock > pre.content { |
| 198 | font-family: inherit; |
| 199 | font-size: inherit; |
| 200 | } |
| 201 | div.verseblock > div.attribution { |
| 202 | padding-top: 0.75em; |
| 203 | text-align: left; |
| 204 | } |
| 205 | /* DEPRECATED: Pre version 8.2.7 verse style literal block. */ |
| 206 | div.verseblock + div.attribution { |
| 207 | text-align: left; |
| 208 | } |
| 209 | |
| 210 | div.admonitionblock .icon { |
| 211 | vertical-align: top; |
| 212 | font-size: 1.1em; |
| 213 | font-weight: bold; |
| 214 | text-decoration: underline; |
| 215 | color: #527bbd; |
| 216 | padding-right: 0.5em; |
| 217 | } |
| 218 | div.admonitionblock td.content { |
| 219 | padding-left: 0.5em; |
| 220 | border-left: 3px solid #dddddd; |
| 221 | } |
| 222 | |
| 223 | div.exampleblock > div.content { |
| 224 | border-left: 3px solid #dddddd; |
| 225 | padding-left: 0.5em; |
| 226 | } |
| 227 | |
| 228 | div.imageblock div.content { padding-left: 0; } |
| 229 | span.image img { border-style: none; vertical-align: text-bottom; } |
| 230 | a.image:visited { color: white; } |
| 231 | |
| 232 | dl { |
| 233 | margin-top: 0.8em; |
| 234 | margin-bottom: 0.8em; |
| 235 | } |
| 236 | dt { |
| 237 | margin-top: 0.5em; |
| 238 | margin-bottom: 0; |
| 239 | font-style: normal; |
| 240 | color: navy; |
| 241 | } |
| 242 | dd > *:first-child { |
| 243 | margin-top: 0.1em; |
| 244 | } |
| 245 | |
| 246 | ul, ol { |
| 247 | list-style-position: outside; |
| 248 | } |
| 249 | ol.arabic { |
| 250 | list-style-type: decimal; |
| 251 | } |
| 252 | ol.loweralpha { |
| 253 | list-style-type: lower-alpha; |
| 254 | } |
| 255 | ol.upperalpha { |
| 256 | list-style-type: upper-alpha; |
| 257 | } |
| 258 | ol.lowerroman { |
| 259 | list-style-type: lower-roman; |
| 260 | } |
| 261 | ol.upperroman { |
| 262 | list-style-type: upper-roman; |
| 263 | } |
| 264 | |
| 265 | div.compact ul, div.compact ol, |
| 266 | div.compact p, div.compact p, |
| 267 | div.compact div, div.compact div { |
| 268 | margin-top: 0.1em; |
| 269 | margin-bottom: 0.1em; |
| 270 | } |
| 271 | |
| 272 | tfoot { |
| 273 | font-weight: bold; |
| 274 | } |
| 275 | td > div.verse { |
| 276 | white-space: pre; |
| 277 | } |
| 278 | |
| 279 | div.hdlist { |
| 280 | margin-top: 0.8em; |
| 281 | margin-bottom: 0.8em; |
| 282 | } |
| 283 | div.hdlist tr { |
| 284 | padding-bottom: 15px; |
| 285 | } |
| 286 | dt.hdlist1.strong, td.hdlist1.strong { |
| 287 | font-weight: bold; |
| 288 | } |
| 289 | td.hdlist1 { |
| 290 | vertical-align: top; |
| 291 | font-style: normal; |
| 292 | padding-right: 0.8em; |
| 293 | color: navy; |
| 294 | } |
| 295 | td.hdlist2 { |
| 296 | vertical-align: top; |
| 297 | } |
| 298 | div.hdlist.compact tr { |
| 299 | margin: 0; |
| 300 | padding-bottom: 0; |
| 301 | } |
| 302 | |
| 303 | .comment { |
| 304 | background: yellow; |
| 305 | } |
| 306 | |
| 307 | .footnote, .footnoteref { |
| 308 | font-size: 0.8em; |
| 309 | } |
| 310 | |
| 311 | span.footnote, span.footnoteref { |
| 312 | vertical-align: super; |
| 313 | } |
| 314 | |
| 315 | #footnotes { |
| 316 | margin: 20px 0 20px 0; |
| 317 | padding: 7px 0 0 0; |
| 318 | } |
| 319 | |
| 320 | #footnotes div.footnote { |
| 321 | margin: 0 0 5px 0; |
| 322 | } |
| 323 | |
| 324 | #footnotes hr { |
| 325 | border: none; |
| 326 | border-top: 1px solid silver; |
| 327 | height: 1px; |
| 328 | text-align: left; |
| 329 | margin-left: 0; |
| 330 | width: 20%; |
| 331 | min-width: 100px; |
| 332 | } |
| 333 | |
| 334 | div.colist td { |
| 335 | padding-right: 0.5em; |
| 336 | padding-bottom: 0.3em; |
| 337 | vertical-align: top; |
| 338 | } |
| 339 | div.colist td img { |
| 340 | margin-top: 0.3em; |
| 341 | } |
| 342 | |
| 343 | @media print { |
| 344 | #footer-badges { display: none; } |
| 345 | } |
| 346 | |
| 347 | #toc { |
| 348 | margin-bottom: 2.5em; |
| 349 | } |
| 350 | |
| 351 | #toctitle { |
| 352 | color: #527bbd; |
| 353 | font-size: 1.1em; |
| 354 | font-weight: bold; |
| 355 | margin-top: 1.0em; |
| 356 | margin-bottom: 0.1em; |
| 357 | } |
| 358 | |
| 359 | div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { |
| 360 | margin-top: 0; |
| 361 | margin-bottom: 0; |
| 362 | } |
| 363 | div.toclevel2 { |
| 364 | margin-left: 2em; |
| 365 | font-size: 0.9em; |
| 366 | } |
| 367 | div.toclevel3 { |
| 368 | margin-left: 4em; |
| 369 | font-size: 0.9em; |
| 370 | } |
| 371 | div.toclevel4 { |
| 372 | margin-left: 6em; |
| 373 | font-size: 0.9em; |
| 374 | } |
| 375 | |
| 376 | span.aqua { color: aqua; } |
| 377 | span.black { color: black; } |
| 378 | span.blue { color: blue; } |
| 379 | span.fuchsia { color: fuchsia; } |
| 380 | span.gray { color: gray; } |
| 381 | span.green { color: green; } |
| 382 | span.lime { color: lime; } |
| 383 | span.maroon { color: maroon; } |
| 384 | span.navy { color: navy; } |
| 385 | span.olive { color: olive; } |
| 386 | span.purple { color: purple; } |
| 387 | span.red { color: red; } |
| 388 | span.silver { color: silver; } |
| 389 | span.teal { color: teal; } |
| 390 | span.white { color: white; } |
| 391 | span.yellow { color: yellow; } |
| 392 | |
| 393 | span.aqua-background { background: aqua; } |
| 394 | span.black-background { background: black; } |
| 395 | span.blue-background { background: blue; } |
| 396 | span.fuchsia-background { background: fuchsia; } |
| 397 | span.gray-background { background: gray; } |
| 398 | span.green-background { background: green; } |
| 399 | span.lime-background { background: lime; } |
| 400 | span.maroon-background { background: maroon; } |
| 401 | span.navy-background { background: navy; } |
| 402 | span.olive-background { background: olive; } |
| 403 | span.purple-background { background: purple; } |
| 404 | span.red-background { background: red; } |
| 405 | span.silver-background { background: silver; } |
| 406 | span.teal-background { background: teal; } |
| 407 | span.white-background { background: white; } |
| 408 | span.yellow-background { background: yellow; } |
| 409 | |
| 410 | span.big { font-size: 2em; } |
| 411 | span.small { font-size: 0.6em; } |
| 412 | |
| 413 | span.underline { text-decoration: underline; } |
| 414 | span.overline { text-decoration: overline; } |
| 415 | span.line-through { text-decoration: line-through; } |
| 416 | |
| 417 | div.unbreakable { page-break-inside: avoid; } |
| 418 | |
| 419 | |
| 420 | /* |
| 421 | * xhtml11 specific |
| 422 | * |
| 423 | * */ |
| 424 | |
| 425 | div.tableblock { |
| 426 | margin-top: 1.0em; |
| 427 | margin-bottom: 1.5em; |
| 428 | } |
| 429 | div.tableblock > table { |
| 430 | border: 3px solid #527bbd; |
| 431 | } |
| 432 | thead, p.table.header { |
| 433 | font-weight: bold; |
| 434 | color: #527bbd; |
| 435 | } |
| 436 | p.table { |
| 437 | margin-top: 0; |
| 438 | } |
| 439 | /* Because the table frame attribute is overridden by CSS in most browsers. */ |
| 440 | div.tableblock > table[frame="void"] { |
| 441 | border-style: none; |
| 442 | } |
| 443 | div.tableblock > table[frame="hsides"] { |
| 444 | border-left-style: none; |
| 445 | border-right-style: none; |
| 446 | } |
| 447 | div.tableblock > table[frame="vsides"] { |
| 448 | border-top-style: none; |
| 449 | border-bottom-style: none; |
| 450 | } |
| 451 | |
| 452 | |
| 453 | /* |
| 454 | * html5 specific |
| 455 | * |
| 456 | * */ |
| 457 | |
| 458 | table.tableblock { |
| 459 | margin-top: 1.0em; |
| 460 | margin-bottom: 1.5em; |
| 461 | } |
| 462 | thead, p.tableblock.header { |
| 463 | font-weight: bold; |
| 464 | color: #527bbd; |
| 465 | } |
| 466 | p.tableblock { |
| 467 | margin-top: 0; |
| 468 | } |
| 469 | table.tableblock { |
| 470 | border-width: 3px; |
| 471 | border-spacing: 0px; |
| 472 | border-style: solid; |
| 473 | border-color: #527bbd; |
| 474 | border-collapse: collapse; |
| 475 | } |
| 476 | th.tableblock, td.tableblock { |
| 477 | border-width: 1px; |
| 478 | padding: 4px; |
| 479 | border-style: solid; |
| 480 | border-color: #527bbd; |
| 481 | } |
| 482 | |
| 483 | table.tableblock.frame-topbot { |
| 484 | border-left-style: hidden; |
| 485 | border-right-style: hidden; |
| 486 | } |
| 487 | table.tableblock.frame-sides { |
| 488 | border-top-style: hidden; |
| 489 | border-bottom-style: hidden; |
| 490 | } |
| 491 | table.tableblock.frame-none { |
| 492 | border-style: hidden; |
| 493 | } |
| 494 | |
| 495 | th.tableblock.halign-left, td.tableblock.halign-left { |
| 496 | text-align: left; |
| 497 | } |
| 498 | th.tableblock.halign-center, td.tableblock.halign-center { |
| 499 | text-align: center; |
| 500 | } |
| 501 | th.tableblock.halign-right, td.tableblock.halign-right { |
| 502 | text-align: right; |
| 503 | } |
| 504 | |
| 505 | th.tableblock.valign-top, td.tableblock.valign-top { |
| 506 | vertical-align: top; |
| 507 | } |
| 508 | th.tableblock.valign-middle, td.tableblock.valign-middle { |
| 509 | vertical-align: middle; |
| 510 | } |
| 511 | th.tableblock.valign-bottom, td.tableblock.valign-bottom { |
| 512 | vertical-align: bottom; |
| 513 | } |
| 514 | |
| 515 | |
| 516 | /* |
| 517 | * manpage specific |
| 518 | * |
| 519 | * */ |
| 520 | |
| 521 | body.manpage h1 { |
| 522 | padding-top: 0.5em; |
| 523 | padding-bottom: 0.5em; |
| 524 | border-top: 2px solid silver; |
| 525 | border-bottom: 2px solid silver; |
| 526 | } |
| 527 | body.manpage h2 { |
| 528 | border-style: none; |
| 529 | } |
| 530 | body.manpage div.sectionbody { |
| 531 | margin-left: 3em; |
| 532 | } |
| 533 | |
| 534 | @media print { |
| 535 | body.manpage div#toc { display: none; } |
| 536 | } |
| 537 | |
| 538 | |
| 539 | </style> |
| 540 | <script type="text/javascript"> |
| 541 | /*<+'])'); |
| 584 | // Function that scans the DOM tree for header elements (the DOM2 |
| 585 | // nodeIterator API would be a better technique but not supported by all |
| 586 | // browsers). |
| 587 | var iterate = function (el) { |
| 588 | for (var i = el.firstChild; i != null; i = i.nextSibling) { |
| 589 | if (i.nodeType == 1 /* Node.ELEMENT_NODE */) { |
| 590 | var mo = re.exec(i.tagName); |
| 591 | if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") { |
| 592 | result[result.length] = new TocEntry(i, getText(i), mo[1]-1); |
| 593 | } |
| 594 | iterate(i); |
| 595 | } |
| 596 | } |
| 597 | } |
| 598 | iterate(el); |
| 599 | return result; |
| 600 | } |
| 601 | |
| 602 | var toc = document.getElementById("toc"); |
| 603 | if (!toc) { |
| 604 | return; |
| 605 | } |
| 606 | |
| 607 | // Delete existing TOC entries in case we're reloading the TOC. |
| 608 | var tocEntriesToRemove = []; |
| 609 | var i; |
| 610 | for (i = 0; i < toc.childNodes.length; i++) { |
| 611 | var entry = toc.childNodes[i]; |
| 612 | if (entry.nodeName.toLowerCase() == 'div' |
| 613 | && entry.getAttribute("class") |
| 614 | && entry.getAttribute("class").match(/^toclevel/)) |
| 615 | tocEntriesToRemove.push(entry); |
| 616 | } |
| 617 | for (i = 0; i < tocEntriesToRemove.length; i++) { |
| 618 | toc.removeChild(tocEntriesToRemove[i]); |
| 619 | } |
| 620 | |
| 621 | // Rebuild TOC entries. |
| 622 | var entries = tocEntries(document.getElementById("content"), toclevels); |
| 623 | for (var i = 0; i < entries.length; ++i) { |
| 624 | var entry = entries[i]; |
| 625 | if (entry.element.id == "") |
| 626 | entry.element.id = "_toc_" + i; |
| 627 | var a = document.createElement("a"); |
| 628 | a.href = "#" + entry.element.id; |
| 629 | a.appendChild(document.createTextNode(entry.text)); |
| 630 | var div = document.createElement("div"); |
| 631 | div.appendChild(a); |
| 632 | div.className = "toclevel" + entry.toclevel; |
| 633 | toc.appendChild(div); |
| 634 | } |
| 635 | if (entries.length == 0) |
| 636 | toc.parentNode.removeChild(toc); |
| 637 | }, |
| 638 | |
| 639 | |
| 640 | ///////////////////////////////////////////////////////////////////// |
| 641 | // Footnotes generator |
| 642 | ///////////////////////////////////////////////////////////////////// |
| 643 | |
| 644 | /* Based on footnote generation code from: |
| 645 | * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html |
| 646 | */ |
| 647 | |
| 648 | footnotes: function () { |
| 649 | // Delete existing footnote entries in case we're reloading the footnodes. |
| 650 | var i; |
| 651 | var noteholder = document.getElementById("footnotes"); |
| 652 | if (!noteholder) { |
| 653 | return; |
| 654 | } |
| 655 | var entriesToRemove = []; |
| 656 | for (i = 0; i < noteholder.childNodes.length; i++) { |
| 657 | var entry = noteholder.childNodes[i]; |
| 658 | if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote") |
| 659 | entriesToRemove.push(entry); |
| 660 | } |
| 661 | for (i = 0; i < entriesToRemove.length; i++) { |
| 662 | noteholder.removeChild(entriesToRemove[i]); |
| 663 | } |
| 664 | |
| 665 | // Rebuild footnote entries. |
| 666 | var cont = document.getElementById("content"); |
| 667 | var spans = cont.getElementsByTagName("span"); |
| 668 | var refs = {}; |
| 669 | var n = 0; |
| 670 | for (i=0; i<spans.length; i++) { |
| 671 | if (spans[i].className == "footnote") { |
| 672 | n++; |
| 673 | var note = spans[i].getAttribute("data-note"); |
| 674 | if (!note) { |
| 675 | // Use [\s\S] in place of . so multi-line matches work. |
| 676 | // Because JavaScript has no s (dotall) regex flag. |
| 677 | note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1]; |
| 678 | spans[i].innerHTML = |
| 679 | "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n + |
| 680 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 681 | spans[i].setAttribute("data-note", note); |
| 682 | } |
| 683 | noteholder.innerHTML += |
| 684 | "<div class='footnote' id='_footnote_" + n + "'>" + |
| 685 | "<a href='#_footnoteref_" + n + "' title='Return to text'>" + |
| 686 | n + "</a>. " + note + "</div>"; |
| 687 | var id =spans[i].getAttribute("id"); |
| 688 | if (id != null) refs["#"+id] = n; |
| 689 | } |
| 690 | } |
| 691 | if (n == 0) |
| 692 | noteholder.parentNode.removeChild(noteholder); |
| 693 | else { |
| 694 | // Process footnoterefs. |
| 695 | for (i=0; i<spans.length; i++) { |
| 696 | if (spans[i].className == "footnoteref") { |
| 697 | var href = spans[i].getElementsByTagName("a")[0].getAttribute("href"); |
| 698 | href = href.match(/#.*/)[0]; // Because IE return full URL. |
| 699 | n = refs[href]; |
| 700 | spans[i].innerHTML = |
| 701 | "[<a href='#_footnote_" + n + |
| 702 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 703 | } |
| 704 | } |
| 705 | } |
| 706 | }, |
| 707 | |
| 708 | install: function(toclevels) { |
| 709 | var timerId; |
| 710 | |
| 711 | function reinstall() { |
| 712 | asciidoc.footnotes(); |
| 713 | if (toclevels) { |
| 714 | asciidoc.toc(toclevels); |
| 715 | } |
| 716 | } |
| 717 | |
| 718 | function reinstallAndRemoveTimer() { |
| 719 | clearInterval(timerId); |
| 720 | reinstall(); |
| 721 | } |
| 722 | |
| 723 | timerId = setInterval(reinstall, 500); |
| 724 | if (document.addEventListener) |
| 725 | document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false); |
| 726 | else |
| 727 | window.onload = reinstallAndRemoveTimer; |
| 728 | } |
| 729 | |
| 730 | } |
| 731 | asciidoc.install(4); |
| 732 | /*]]>*/ |
| 733 | </script> |
| 734 | </head> |
| 735 | <body class="article"> |
| 736 | <div id="header"> |
| 737 | <h1>GNU APL on Windows 11</h1> |
| 738 | <div id="toc"> |
| 739 | <div id="toctitle">Table of Contents</div> |
| 740 | </div> |
| 741 | </div> |
| 742 | <div id="content"> |
| 743 | <div class="sect1"> |
| 744 | <h2 id="_abstract">Abstract</h2> |
| 745 | <div class="sectionbody"> |
| 746 | <div class="paragraph"><p>Ths document contains hints for installing GNU APL under Windows 11.</p></div> |
| 747 | </div> |
| 748 | </div> |
| 749 | <div class="sect1"> |
| 750 | <h2 id="_introduction">Introduction</h2> |
| 751 | <div class="sectionbody"> |
| 752 | <div class="paragraph"><p>GNU APL has to be compiled from the GNU APL source code (in directory <strong>src</strong>). |
| 753 | Many system functions of GNU APL depend on external libraries that may |
| 754 | or may not be installed on the user’s machine. The <strong>./configure</strong> script of |
| 755 | GNU APL determins which of these libraries are present on the user’s machine |
| 756 | and compiles and links GNU APL accordingly. The multitude of avilable or not |
| 757 | available libraries on a Windows machine makes it unfeasible to generate a |
| 758 | single binary GNU APL version that accommodates all possible combinations of |
| 759 | libraries.</p></div> |
| 760 | <div class="paragraph"><p>On the GNU/Linux operating system, compiling GNU APL is relatively easy. The |
| 761 | requirements of GNU APL on its environment - the display of APL characters |
| 762 | on the screen and the generation of APL characters by the keyboard - are |
| 763 | already satisfied by almost all modern GNU/Linux distribution and the missing |
| 764 | pieces can easily be added via the package manager of the linux distribution.</p></div> |
| 765 | <div class="paragraph"><p>Even for the latest Windows version - Windows 11 as of this writing - |
| 766 | the situation is more complicated. When it comes to APL, Windows 11 still has |
| 767 | limitations that make the installation of GNU APL on Windows more complicated |
| 768 | than on GNU/Linux. On Windows 11 the user needs to fetch different components |
| 769 | from different places on the internet. Under GNU/Linux the display of APL |
| 770 | characters works out-of-the box and the generation of APL characters on the |
| 771 | keyboard can be dome with typically a single configurastion file |
| 772 | (shipped with GNU APL; see file <strong>README-3-keyboard</strong> and directory |
| 773 | <strong>support-files</strong>). On Windows the user has to install a suitable APL font to |
| 774 | display APL characters and a keyboard mapping for the keyboard. While |
| 775 | installing an APL font is relatively easy, the installation of a keyboard |
| 776 | mapping has become more and more difficult form one Windows version to the |
| 777 | next. In older Windows versions one could "hack" the Windows registry to make |
| 778 | Windows produce APL characters with the keyboard, but this does not work |
| 779 | anymore under Windows 11. Microsoft provides alternatives like the Keyboard |
| 780 | Manager in their PowerTools, or the Input Mode Editor (IME), but both seem |
| 781 | not to work for terminal applications like GNU APL. To adress this issue, GNU |
| 782 | APL comes with a built-in keyboard mapper that allows the user to toggle the |
| 783 | keyboard between ASCII and APL.</p></div> |
| 784 | </div> |
| 785 | </div> |
| 786 | <div class="sect1"> |
| 787 | <h2 id="_top_level_installation_procedure">Top-level Installation Procedure</h2> |
| 788 | <div class="sectionbody"> |
| 789 | <div class="paragraph"><p>A full installation of GNU APL on Windows 11 requires essentially 3 |
| 790 | sub-installations:</p></div> |
| 791 | <div class="olist arabic"><ol class="arabic"> |
| 792 | <li> |
| 793 | <p> |
| 794 | Installation of a development environment (compiler, linker, make), |
| 795 | </p> |
| 796 | </li> |
| 797 | <li> |
| 798 | <p> |
| 799 | Installation of an APL font. This step is needed for the WSL environment, |
| 800 | but not for Cygwin. |
| 801 | </p> |
| 802 | </li> |
| 803 | <li> |
| 804 | <p> |
| 805 | Installation of a keyboard mapping. This step is needed for the WSL |
| 806 | environment, but not for Cygwin. |
| 807 | </p> |
| 808 | </li> |
| 809 | </ol></div> |
| 810 | <div class="paragraph"><p>These 3 sub-installations are independent of each other and the third is |
| 811 | somewhat optional (and likely to fail).</p></div> |
| 812 | <div class="sect2"> |
| 813 | <h3 id="_installation_of_a_development_environment">Installation of a development environment</h3> |
| 814 | <div class="paragraph"><p>GNU APL is a standard C++ program. In theory there are 3 development |
| 815 | environments that could be used to compile GNU APL:</p></div> |
| 816 | <div class="olist arabic"><ol class="arabic"> |
| 817 | <li> |
| 818 | <p> |
| 819 | A native Microsoft C++ compiler (Visual Studio, Visual C++, etc.), or |
| 820 | </p> |
| 821 | </li> |
| 822 | <li> |
| 823 | <p> |
| 824 | the <strong>Cygwin</strong> Environment, or |
| 825 | </p> |
| 826 | </li> |
| 827 | <li> |
| 828 | <p> |
| 829 | the Microsoft <strong>WSL</strong> (aka. <strong>W</strong>indows <strong>S</strong>ubsystem for <strong>L</strong>inux) |
| 830 | Environment. |
| 831 | </p> |
| 832 | </li> |
| 833 | </ol></div> |
| 834 | <div class="paragraph"><p>The author has tested all these environments with the following results.</p></div> |
| 835 | <div class="olist arabic"><ol class="arabic"> |
| 836 | <li> |
| 837 | <p> |
| 838 | The Microsoft C++ compiler failed completely. The compiler emitted thousands |
| 839 | of warnings and errors, most of them bogus. The sheer amount of warnings |
| 840 | made it impossible to get GNU APL compiled with a native C++ compiler under |
| 841 | Windows. |
| 842 | </p> |
| 843 | </li> |
| 844 | <li> |
| 845 | <p> |
| 846 | The <strong>Cygwin</strong> environment works well these days. There was a short period |
| 847 | when GNU APL had problems being compiled in Cygwin, but these problems seem |
| 848 | to no longer exists. Whether the problems were related to the Windows |
| 849 | version or to the Cygwin versio is not known. |
| 850 | </p> |
| 851 | </li> |
| 852 | <li> |
| 853 | <p> |
| 854 | The <strong>WSL</strong> environment also works quite well. Some things that work in |
| 855 | <strong>Cygwin</strong> out-of-the-box need to be fixed in <strong>WSL</strong>, in particular the APL |
| 856 | font and the keyboard mapping. |
| 857 | </p> |
| 858 | </li> |
| 859 | </ol></div> |
| 860 | <div class="paragraph"><p>So the user has to choose between <strong>Cygwin</strong> and <strong>WSL</strong>. In the arguable |
| 861 | opinion of the author:</p></div> |
| 862 | <div class="olist arabic"><ol class="arabic"> |
| 863 | <li> |
| 864 | <p> |
| 865 | <strong>WSL</strong> seems to be a little more lightweight than <strong>Cygwin</strong>. If the user has |
| 866 | already installed one of them then she should go for it. |
| 867 | </p> |
| 868 | </li> |
| 869 | <li> |
| 870 | <p> |
| 871 | <strong>Cygwin</strong> is a little harder to install than <strong>WSL</strong>. Also, the addition of |
| 872 | packages is a little more cumbersome in <strong>Cygwin</strong> than in <strong>WSL</strong>. |
| 873 | </p> |
| 874 | </li> |
| 875 | <li> |
| 876 | <p> |
| 877 | <strong>Cygwin</strong> is fine-grained and lets you choose the version of each package |
| 878 | that you install. <strong>WSL</strong> coarse-grained and lets you only choose the |
| 879 | GNU/Linux distribution that it tries to emulate. After that it is up to |
| 880 | the package manager of the chosen distribution to handle package versions. |
| 881 | </p> |
| 882 | </li> |
| 883 | <li> |
| 884 | <p> |
| 885 | On the other hand seems <strong>Cygwin</strong> to be a little closer to GNU/Linux than |
| 886 | <strong>WSL</strong>. In particular the fonts shipped with <strong>Cygwin</strong> support APL |
| 887 | out-of-the-box while in <strong>WSL</strong> they need to be installed and enabled in the |
| 888 | terminal emulator in which GNU APL runs. |
| 889 | </p> |
| 890 | </li> |
| 891 | <li> |
| 892 | <p> |
| 893 | In older Windows and/or <strong>Cygwin</strong> versions the usual keyboard mapping |
| 894 | programs like <strong>xmodmap</strong> or <strong>compxkb</strong> also worked out-of-the-box. In the |
| 895 | current Windows 11/<strong>Cygwin</strong> they do not. For example, <strong>xmodmap</strong> reports |
| 896 | an error <em>xmodmap: unable to open display</em>. <strong>xmodmap</strong> and <strong>compxkb</strong> also |
| 897 | fail in <strong>WSL</strong>. The reason might be the same (lack of an X server). |
| 898 | </p> |
| 899 | </li> |
| 900 | <li> |
| 901 | <p> |
| 902 | Interestingly, <strong>WSL</strong> lets you choose the GNU/Linux version that it emulates. |
| 903 | But then the same GNU/Linux version that works fine on a true GNU/Linux |
| 904 | version fails under <strong>WSL</strong>. IOW <strong>WSL</strong> seems to be somewhat half-hearted |
| 905 | </p> |
| 906 | </li> |
| 907 | </ol></div> |
| 908 | <div class="sect3"> |
| 909 | <h4 id="_cygwin_installation">Cygwin Installation</h4> |
| 910 | <div class="olist arabic"><ol class="arabic"> |
| 911 | <li> |
| 912 | <p> |
| 913 | Visit <a href="https://cygwin.org/">https://cygwin.org/</a> and follow the steps under <em>Installing Cygwin</em>. |
| 914 | Make sure that you enable the placement of icons on your desktop so that |
| 915 | you do not need to search for them later on. |
| 916 | </p> |
| 917 | </li> |
| 918 | <li> |
| 919 | <p> |
| 920 | Then open the <strong>Cygwin</strong> setup program and install the following packages: |
| 921 | </p> |
| 922 | <div class="olist loweralpha"><ol class="loweralpha"> |
| 923 | <li> |
| 924 | <p> |
| 925 | <strong>subversion</strong> (for fetching the GNU APL sources) |
| 926 | </p> |
| 927 | </li> |
| 928 | <li> |
| 929 | <p> |
| 930 | <strong>make</strong> (for building GNU APL). |
| 931 | </p> |
| 932 | </li> |
| 933 | <li> |
| 934 | <p> |
| 935 | <strong>g<code></strong> (the C</code> compiler for compiling and linking GNU APL) |
| 936 | </p> |
| 937 | </li> |
| 938 | </ol></div> |
| 939 | </li> |
| 940 | </ol></div> |
| 941 | </div> |
| 942 | <div class="sect3"> |
| 943 | <h4 id="_wsl_installation">WSL Installation</h4> |
| 944 | <div class="olist arabic"><ol class="arabic"> |
| 945 | <li> |
| 946 | <p> |
| 947 | Open the Windows Command Prompt (i.e. <strong>cmd.exe</strong>) and enter <strong>wsl --install</strong>. |
| 948 | That should install the <strong>WSL</strong>. |
| 949 | </p> |
| 950 | </li> |
| 951 | <li> |
| 952 | <p> |
| 953 | Enter <strong>bash</strong>. That should enter the <strong>WSL</strong> environment. |
| 954 | </p> |
| 955 | </li> |
| 956 | <li> |
| 957 | <p> |
| 958 | Install the tools needed for fetching and compiling GNU APL: |
| 959 | </p> |
| 960 | <div class="olist loweralpha"><ol class="loweralpha"> |
| 961 | <li> |
| 962 | <p> |
| 963 | <strong>apt install subversion</strong> # for fetching the GNU APL source code |
| 964 | </p> |
| 965 | </li> |
| 966 | <li> |
| 967 | <p> |
| 968 | <strong>apt install make</strong> # for building GNU APL |
| 969 | </p> |
| 970 | </li> |
| 971 | <li> |
| 972 | <p> |
| 973 | <strong>apt install g++</strong> # for compiling and linking GNU APL |
| 974 | </p> |
| 975 | </li> |
| 976 | </ol></div> |
| 977 | </li> |
| 978 | <li> |
| 979 | <p> |
| 980 | Close the Windows Command Prompt: <strong>exit</strong>. |
| 981 | </p> |
| 982 | </li> |
| 983 | </ol></div> |
| 984 | <div class="paragraph"><p>After having installed <strong>WSL</strong>, GNU APL can be compiled as usual:</p></div> |
| 985 | <div class="olist arabic"><ol class="arabic"> |
| 986 | <li> |
| 987 | <p> |
| 988 | Open the Windows Command Prompt (<strong>cmd.exe</strong>) and enter <strong>bash</strong>. |
| 989 | That should enter the <strong>WSL</strong>. |
| 990 | </p> |
| 991 | <div class="olist loweralpha"><ol class="loweralpha"> |
| 992 | <li> |
| 993 | <p> |
| 994 | <strong>svn co <a href="http://svn.savannah.gnu.org/svn/apl/trunk">http://svn.savannah.gnu.org/svn/apl/trunk</a> apl-2.0</strong> # fetch GNU APL |
| 995 | </p> |
| 996 | </li> |
| 997 | <li> |
| 998 | <p> |
| 999 | <strong>cd apl-2.0</strong> |
| 1000 | </p> |
| 1001 | </li> |
| 1002 | <li> |
| 1003 | <p> |
| 1004 | <strong>./configure ALT_MAP_WANTED=1</strong> |
| 1005 | </p> |
| 1006 | </li> |
| 1007 | <li> |
| 1008 | <p> |
| 1009 | <strong>make</strong> |
| 1010 | </p> |
| 1011 | </li> |
| 1012 | <li> |
| 1013 | <p> |
| 1014 | <strong>make install</strong> |
| 1015 | </p> |
| 1016 | </li> |
| 1017 | </ol></div> |
| 1018 | </li> |
| 1019 | </ol></div> |
| 1020 | </div> |
| 1021 | </div> |
| 1022 | <div class="sect2"> |
| 1023 | <h3 id="_installation_of_an_apl_font">Installation of an APL font</h3> |
| 1024 | <div class="paragraph"><p>This step is only needed for <strong>WSL</strong> and not for <strong>Cygwin</strong>.</p></div> |
| 1025 | <div class="paragraph"><p>The installation of an APL font is the simplest step. The APL vendor Dyalog |
| 1026 | offers suitable APL fonts for download.</p></div> |
| 1027 | <div class="olist arabic"><ol class="arabic"> |
| 1028 | <li> |
| 1029 | <p> |
| 1030 | Visit <a href="https://www.dyalog.com/apl-font-keyboard.htmC">https://www.dyalog.com/apl-font-keyboard.htmC</a>. |
| 1031 | </p> |
| 1032 | </li> |
| 1033 | <li> |
| 1034 | <p> |
| 1035 | On that page click on the <strong>APL385</strong> font (which downloads a file |
| 1036 | named <strong>setup-fonts.msi</strong>). This file is a microsoft installer. |
| 1037 | </p> |
| 1038 | </li> |
| 1039 | <li> |
| 1040 | <p> |
| 1041 | In your <strong>Downloads</strong> directory, execute the <strong>setuo-fonts.msi</strong> file. This |
| 1042 | installs a file named <strong>Apl385.ttf</strong>. This is a True-type font. |
| 1043 | </p> |
| 1044 | </li> |
| 1045 | <li> |
| 1046 | <p> |
| 1047 | Right-click on that <strong>Apl385.ttf</strong> file and press <strong>install</strong>. |
| 1048 | </p> |
| 1049 | </li> |
| 1050 | </ol></div> |
| 1051 | <div class="paragraph"><p>Later on you will run GNU APL in a Windows shell such as <strong>cmd.exe</strong>. The |
| 1052 | installed font must be enabled in that shall to be operational.</p></div> |
| 1053 | </div> |
| 1054 | <div class="sect2"> |
| 1055 | <h3 id="_installation_of_a_keyboard_mapping">Installation of a keyboard mapping</h3> |
| 1056 | <div class="paragraph"><p>At this point you have a working GNU APL interpreter. What is missing is |
| 1057 | a way to interactively enter APL characters. What should already work at |
| 1058 | this point is:</p></div> |
| 1059 | <div class="olist arabic"><ol class="arabic"> |
| 1060 | <li> |
| 1061 | <p> |
| 1062 | Copying APL characters (^C and ^V). If you start GNU APL and enter |
| 1063 | the command <strong>]KEYB</strong> then you should get the display of a keyboard |
| 1064 | layout that you could copy from (with ^C) and then paste into the |
| 1065 | GNU APL window (with ^V). |
| 1066 | </p> |
| 1067 | </li> |
| 1068 | <li> |
| 1069 | <p> |
| 1070 | Running APL scripts or workspaces. The <strong>)LOAD</strong>, <strong>)COPY</strong>, and <strong>OFF</strong> |
| 1071 | commands need no APL characters and can therefore be entered even if no |
| 1072 | APL keyboard mapping is installed. |
| 1073 | </p> |
| 1074 | </li> |
| 1075 | <li> |
| 1076 | <p> |
| 1077 | Last but not least there is the built-in ASCII-to-APL mapping of GNU APL |
| 1078 | which is decribed in more detail gurther down. |
| 1079 | </p> |
| 1080 | </li> |
| 1081 | </ol></div> |
| 1082 | <div class="paragraph"><p>There are a number of different options that you can choose from. Many |
| 1083 | of them work only on true GNU/Linux systems, though. GNU APL is shipped with |
| 1084 | a separate file <strong>README-3-keyboard</strong> that discusses some of the methods. |
| 1085 | The author has spent quite some time to find a method that works reliably |
| 1086 | under Windows 11, but to no avail.</p></div> |
| 1087 | <div class="paragraph"><p>Keyboard mappings in Windows 11 are, simply speaking, a mess. The author |
| 1088 | has tried the following.</p></div> |
| 1089 | <div class="olist arabic"><ol class="arabic"> |
| 1090 | <li> |
| 1091 | <p> |
| 1092 | The <strong>Keyboard Manager</strong> (which is a component in the <strong>PowerTools</strong>) offered |
| 1093 | by Microsoft free of charge. One can indeed map keys to APL characters |
| 1094 | with the <strong>Keyboard Manager</strong>. However, the mapping works in some Micorsoft |
| 1095 | applications, but not in others. When the <strong>Keyboard Manager</strong> is running |
| 1096 | (and if tan APL font is installed and selected) then you can edit APL |
| 1097 | scripts in Microsoft’s <strong>Notepad</strong>, but if you open Microsoft’s Windows |
| 1098 | Command Prompt <strong>cmd.exe</strong> in another window then the mapping provided by |
| 1099 | the <strong>Keyboard Manager</strong> does not apply in that window. |
| 1100 | </p> |
| 1101 | </li> |
| 1102 | <li> |
| 1103 | <p> |
| 1104 | Microsoft provides a thing called <strong>Input Method Editor</strong> (<strong>IME</strong>) that should |
| 1105 | provide arbitrary keyboard mappings. In dact there are hundreds of such |
| 1106 | mappings provided by Microsoft, but none of them is suitable for APL. |
| 1107 | The IMEs are not configurable in any way, so if you need Chinese characters |
| 1108 | then you are fine because Microsoft provides a Chinese IME, but for APL |
| 1109 | you are out of luck. Also there are several defailed instruction how to |
| 1110 | add IMEs under Windows 11 on the internet, but all of them fail in the first |
| 1111 | or second step because the Windows 11 of the author was different from the |
| 1112 | Windows 11 in these instructions. The instructions referred to items |
| 1113 | in the Windows 11 <strong>Control Panel</strong> that simply did not exist. |
| 1114 | </p> |
| 1115 | </li> |
| 1116 | <li> |
| 1117 | <p> |
| 1118 | Dyalog (a prominent APL vendor) offers an IME for APL. However, the author |
| 1119 | (who is using an original Dyalog keyboard with APL caps) was not able to |
| 1120 | make it work under Windows 11. The IME installs without any error messages |
| 1121 | on Windows 11. According to Dyalog’s installation instructions, after |
| 1122 | running the installer for that IME (and rebooting the machine) that IME |
| 1123 | was supposed to show up in the Windows registry, but it did not. As a |
| 1124 | consequence, no key was mapped to APL. |
| 1125 | </p> |
| 1126 | </li> |
| 1127 | <li> |
| 1128 | <p> |
| 1129 | There are a number keyboard mappers offered on the internet, both commercial |
| 1130 | and free ones. The author has not tried any of those because most looked |
| 1131 | like mere convenience front-ends to Windows 11 components above that did |
| 1132 | not work. If a GNU APL user should find a mapping that works with GNU APL |
| 1133 | then please report that to the mailing list <a href="mailto:[email protected]">[email protected]</a>! |
| 1134 | </p> |
| 1135 | </li> |
| 1136 | </ol></div> |
| 1137 | </div> |
| 1138 | <div class="sect2"> |
| 1139 | <h3 id="_the_gnu_apl_built_in_ascii_to_apl_mapper">The GNU APL Built-in ASCII to APL Mapper</h3> |
| 1140 | <div class="paragraph"><p>As a consequence of all the failed attempts to find a working keyboard |
| 1141 | mapping outside of GNU ASPL (where it belongs) the author vaguely |
| 1142 | remembered how APL characters were entered in the 1970s. At that time |
| 1143 | keyboards had no <strong>ALT</strong> keys. Instead, some keyboards could be switched |
| 1144 | between an ASCII mode and an APL mode with the ASCII control characters |
| 1145 | <strong>SI</strong> and <strong>SO</strong> (aka, ^O and \^N). One of them (the author has forgotten |
| 1146 | which in the meantime) would select the ASCII mode (and all subsequently |
| 1147 | typed characters were ASCII characters) and the other would select the |
| 1148 | APL mode (not to be confused with the APL overstrike method of that time) |
| 1149 | which would operate in parallel when in APL mode). Technically speaking |
| 1150 | these mappings were made in the keyboard driver of the operating systenm |
| 1151 | and not in the keyboards themselves.</p></div> |
| 1152 | <div class="paragraph"><p>The built-in ASCII to APL mapper of GNU APL has adopted this old mechanism |
| 1153 | as follows:</p></div> |
| 1154 | <div class="olist arabic"><ol class="arabic"> |
| 1155 | <li> |
| 1156 | <p> |
| 1157 | Typing \^A, i.e. holding down the CRTL key and typing A, will map the |
| 1158 | next character typed to APL, and |
| 1159 | </p> |
| 1160 | </li> |
| 1161 | <li> |
| 1162 | <p> |
| 1163 | Typing ^N will map all subsequent characters typed to APL (until |
| 1164 | \^N is typed again. |
| 1165 | </p> |
| 1166 | </li> |
| 1167 | </ol></div> |
| 1168 | <div class="paragraph"><p>The built-in ASCII to APL mapper of GNU APL is disabled by default because |
| 1169 | all platforms other than Windows 11 have no problems generating APL |
| 1170 | characters. To enable the mapper one has to <strong>./configure</strong> GNU APL with |
| 1171 | the option <strong>ALT_MAP_WANTED=1</strong> as it was done in the examples above. |
| 1172 | The parameter <strong>1</strong> of <strong>ALT_MAP_WANTED=1</strong> specifies a mapping profile |
| 1173 | to be used; the mapping profile to be used, where the profile defines |
| 1174 | the control codes (^A and \^N for profile 1) and the details of the |
| 1175 | mapping (map <strong>r</strong> to <strong>⍴</strong>, i to <strong>⍳</strong>, …). Currently two such profiles |
| 1176 | are defined:</p></div> |
| 1177 | <div class="olist arabic"><ol class="arabic"> |
| 1178 | <li> |
| 1179 | <p> |
| 1180 | <strong>ALT_MAP_WANTED=0</strong> (or omitting the <strong>ALT_MAP_WANTED</strong> option disables |
| 1181 | the mapper. |
| 1182 | </p> |
| 1183 | </li> |
| 1184 | <li> |
| 1185 | <p> |
| 1186 | <strong>ALT_MAP_WANTED=1</strong> maps an US-keyboard to the standard GNU APL keyboard |
| 1187 | layout (which, by chance is also the layout of the Dyalog US keyboard). |
| 1188 | </p> |
| 1189 | </li> |
| 1190 | </ol></div> |
| 1191 | <div class="paragraph"><p>Unlike in Windows 11 (which is closed source and prevents the user from |
| 1192 | defining her own layout), GNU APL is free software that allows the user |
| 1193 | to modify it to suit her needs. To construct your own mapping, |
| 1194 | have a look at file <strong>src/src/LineInput.cc</strong> and search for all occurences of |
| 1195 | <strong>cfg_ALT_MAP_WANTED</strong>.</p></div> |
| 1196 | </div> |
| 1197 | </div> |
| 1198 | </div> |
| 1199 | </div> |
| 1200 | <div id="footnotes"><hr /></div> |
| 1201 | <div id="footer"> |
| 1202 | <div id="footer-text"> |
| 1203 | Last updated |
| 1204 | 2026-03-15 16:04:04 CET |
| 1205 | </div> |
| 1206 | </div> |
| 1207 | </body> |
| 1208 | </html> |