Debian Codegraph @

install/unix/systems/Cygwin/cygwin.notes

raw
1
2
3 the following notes are relevant for cygwin as of version CYGWIN_NT-5.1
4
5 1) the include file values.h in this directory has to be copied
6 to /usr/include/mingw to replace the values.h in there, e.g. :
7 $ cd /usr/include/mingw
8 $ mv values.h values.h.orig
9 $ cp /midas/version/install/unix/systems/Cygwin/values.h .
10
11 2) both shells, sh and bash are installed
12 so, in order to avoid ending up in the wrong shell, do:
13 $ mv /bin/sh /bin/sh-orig
14 $ ln -s /bin/bash /bin/sh
15 $ mv /usr/bin/sh /usr/bin/sh-orig
16 $ ln -s /usr/bin/bash /usr/bin/sh
17
18 3) the VLT filenames using colons (:) make trouble, e.g. a tar aborts
19 if it contains such a filename
20 so, we use instead of:
21 VISIR. 2004-09-30T03:17:49.095.fits
22 filenames like:
23 VISIR.2004-09-30T03c17c49.095.fits
24
25 4) also underscores seem to provoke hickups in the cygwin shell,
26 so we had to change in .../system/exec the script named:
27 ftoc_vmr to ftoc-vmr
28
29
30
31 After Cygwin installation on the ESO WinXP PC (ga004792),
32 the cygwin setup is as follows:
33
34 home directory is on H: which is the home dir. of Windows
35 accessed in cygwin via /cygdrive/h
36
37 execute cygwin (from Icon) in Windows (= D:\cygwin\cygwin.bat)
38 terminal window opens in /cygdrive/h
39
40 $ startx to start the X-server
41 => another terminal window opens
42
43 in there: $ xterm -sb -fg blue -bg white &
44 that starts up an Xwindows terminal
45
46
47 Midas is installed in D:\cygwin\midas
48 also accessed as: /cygdrive/d/cygwin/midas or /midas
49
50
51
52 050509
53