Cygwin provides a Linux environment in Windows that is best integrated with the host OS compared to other Linux implementations in Windows, such as WLS, Docker, etc. It feels just like a normal Windows program instead of a virtual machine running inside of the host OS.
Disable the completion function of bash and it will be fixed:
$ cd /etc/profile.d
$ mv bash_completion.sh bash_completion.sh.disabled
One can enable completion manually this way:
$ . /etc/bash_completion
Turn on “noacl” option in /etc/fstab:
none /cygdrive cygdrive binary,noacl,posix=0,user 0 0
Ref: cygwin forum
Change the following line in /etc/fstab
none /cygdrive cygdrive binary,noacl,posix=0,user 0 0
to
none / cygdrive binary,noacl,posix=0,user 0 0
echo "exec sleep infinity" > ~/.startxwinrc
Install libncurses-devel, wget from setup.exe, wget vifm tar ball, and then
$ ./configure --without-libmagic --without-gtk --disable-extended-keys
Install mutt, msmtp, offlineimap, abook, ncurses (infocmp) from setup.exe
Install git from setup.exe
Install cmake, gnutls from setup.exe, follow instructions in:
Install w3m, squid from setup.exe. Add
dns_nameservers ???.???.???.??? ???.???.???.???
cache_dir ufs /var/cache/squid 1000 64 1024
to /etc/squid/squid.conf and run
$ squid -z # initialize some folders
$ squid -N -d1 # run squid not as a daemon with debug info
Set environment variable
export HTTPS_PROXY="http://localhost:3128"
export HTTP_PROXY="http://localhost:3128"
export FTP_PROXY="http://localhost:3128"
Install texlive-collection-publisher (elsarticle), texlive-collection-science (siunitx), texlive-collection-fontsrecommanded (txfonts), texlive-collection-latexextra (tabulary.sty), texlive-collection-genericextra (iftex, and texlive-collection-binextra (latexmk) from setup.exe
Install bison, from setup.exe and
git clone https://github.com/jintonic/sc.git
cd sc
make
Install R package in the Math section from setup.exe
Activities mentions in this site have been supported by the following grants: