winpty
winpty copied to clipboard
Add installation info in README.md
Please add installation info (and an installation script) in the README.md
to explain how to install the files as given under releases
wiki.
For Cygwin it should be something like:
cd <path-to-extracted-files>
cp -an ./bin/* /usr/local/bin/.
cp -an ./lib/* /usr/local/lib/.
chmod -R 755 /usr/local/bin/.
chmod -R 755 /usr/local/lib/.
/usr/local
is not used by cygwin packages, and does not even exist in a typical cygwin installation.
Installation instructions should target /usr/bin
.
/usr/local is not used by cygwin packages,
@mintty Exactly. That makes sense for stuff that can be installed with the package manager, everything else should be kept isolated from default location. At least until packages can be easily installed,updated or removed with a manager app.
To install in cygwin x64, type these commands
wget --no-check-certificate https://github.com/rprichard/winpty/releases/download/0.4.2/winpty-0.4.2-cygwin-2.6.1-x64.tar.gz
mkdir -p /usr/local
tar xzvf winpty-0.4.2-cygwin-2.6.1-x64.tar.gz -C /usr/local/ --strip 1
Why should certificate checking be disabled?
Why should certificate checking be disabled?
because user did not install the cygwin package ca-certificates by default and have to specify the --ca-directory=/usr/ssl/certs