cygwin command to copy to windows clipboard
Cygwin comes with special device file called /dev/clipboard: echo foobar > /dev/clipboard # Puts “foobar\n” on the clipboard cat /dev/clipboard # Pastes clipboard to stdout
Cygwin comes with special device file called /dev/clipboard: echo foobar > /dev/clipboard # Puts “foobar\n” on the clipboard cat /dev/clipboard # Pastes clipboard to stdout
Unfortunately, the MinGW-w64 installer you used sometimes has this issue. I myself am not sure about why this happens (I think it has something to do with Sourceforge URL redirection or whatever that the installer currently can’t handle properly enough). Anyways, if you’re already planning on using MSYS2, there’s no need for that installer. Download … Read more
Starting with Cygwin 1.7.34, the recommended way to do this is to add a custom db_home setting to /etc/nsswitch.conf. A common wish when doing this is to make your Cygwin home directory equal to your Windows user profile directory. This setting will do that: db_home: windows Or, equivalently: db_home: /%H You need to use the … Read more
Best I have ever used: apt-cyg package manager
Install the Cygwin package ncurses; it is in the Utils category.
Use: cd /cygdrive/c