| 1 |
|
| 2 |
!!! This document is outdated |
| 3 |
!!! See file HOWTOS/GNU-APL-Windows-11.html instead. |
| 4 |
|
| 5 |
You can run GNU APL on windows by means of CYGWIN: |
| 6 |
|
| 7 |
1. install CYGWIN (see http://www.cygwin.org) |
| 8 |
|
| 9 |
2. Install additional libraries as needed (look for error messages in 3. below) |
| 10 |
|
| 11 |
3. Follow the standard installation procedure for GNU APL in INSTALL, |
| 12 |
README-2-configure, and README-3-keyboard. |
| 13 |
|
| 14 |
WARNING: If you are not familiar with CYGWIN (which provides a GNU/Linux look |
| 15 |
and feel on WINDOWS) then your health is at risk! You may suffer |
| 16 |
serious depressions after returning to WINDOWS. The only known cure |
| 17 |
is to permanently stay away from WINDOWs. |
| 18 |
|
| 19 |
The procedure above has been tested with WINDOWS XP and a CYGWIN version |
| 20 |
that has identified itself (via uname -a) as: |
| 21 |
|
| 22 |
CYGWIN_NT-5.1 Server 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin |
| 23 |
|
| 24 |
|
| 25 |
LIMITATIONS: backtraces (Stack dumps after fatal errors) may not work |
| 26 |
because they use a GNU extension that may or may not be supported on CYGWIN. |
| 27 |
|
| 28 |
NOTE: The procedure described in README-3-keyboard uses the program xmodmap, |
| 29 |
which only works when xmodmap and GNU APL are started under X (which is |
| 30 |
normally the case for Desktop GNU/Linux distributions). In CYGWIN you can |
| 31 |
start a "Cygwin Terminal" which does NOT run under X. If you run xmodmap |
| 32 |
in the Cygwin Terminal then it complains like this: |
| 33 |
|
| 34 |
xmodmap: unable to open display '' |
| 35 |
|
| 36 |
This is an indication that X is not running and that your keyboard will |
| 37 |
not produce APL characters. You can still start GNU APL (to check that it |
| 38 |
has compiled properly), but you will be lacking almost all functions. |
| 39 |
|
| 40 |
A case where it makes sense to run GNU APL without X is APL scripts, |
| 41 |
for example CGI scripts for web servers written in APL. These scripts do |
| 42 |
not read input from the keyboard, so it does not matter that the keyboard |
| 43 |
setup is wrong. |
| 44 |
|
| 45 |
Another case is a remote login from machine A to machine B using ssh. In this |
| 46 |
case X should run on machine A (so that the keyboard on A works), but GNU |
| 47 |
APL on machine B can run without X. |
| 48 |
|
| 49 |
Yet another possibility for Windows users is to install some GNU/Linux |
| 50 |
distribution, for example Ubuntu or Linux Mint, in a virtual machine. |
| 51 |
Installing virtual machines as well as installing GNU/Linux on a virtual |
| 52 |
machine has become rather simple these days. Needless to say that the |
| 53 |
WARNING above also applies in this case! |
| 54 |
|
| 55 |
LATEST NEWS: GNU APL 1.8 no longer compiles under my CYGWIN version (for |
| 56 |
Windows XP) and Windows XP seems not to be supported by CYGWIN anymore. |
| 57 |
Therefore GNU APL 1.7 is the last version with WINDOWS support. |
| 58 |
|