Re: problem with paste-from-clipboard
So downgrade my libreadline to previous version? I have 7.0.1-2, cygwin install is trying to push me to 7.0.3-3 version. On my another station (older cygwin instalattion) I has 6.3.8-1 version and here it works good. On 13.05.2017 00:37, Steven Penny wrote: > On Fri, 12 May 2017 20:50:26, Ladislav DANKO wrote: >> I have problem with "paste-from-clipboard" in cygwin. In ~/.inputrc file I >> have just this line: "\e[2~": paste-from-clipboard > > You have left out a critical piece of information here, you have not mentioned > *what* you are trying to paste. Note that current readline is broken when > using > code page 65001: > > http://cygwin.com/ml/cygwin/2017-04/msg00176.html > > Current maintainer Eric Blake is refusing to rollback, and refusing to fix the > problem, instead pushing the responsibility of patching this on the user base: > > http://cygwin.com/ml/cygwin/2017-04/msg00161.html > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
copying "file.exe" + "file" (a shell script) => targetdir fails
I know *why* this is happening (cygwin treating x.exe as x), but should it do it for shell files too? sourcedir: ll -di bin/updatedb bin/updatedb.exe 337488497076088359 -rwxrwxr-x+ 1 10163 Apr 12 17:07 bin/updatedb* 144115188075956844 -rwxrwxr-x+ 2 287813 Apr 15 2014 bin/updatedb.exe* (two different files, different types:) file bin/updatedb{,.exe} bin/updatedb: Bourne-Again shell script, ASCII text executable bin/updatedb.exe: PE32+ executable (console) x86-64, for MS Windows cp -l bin/updatedb /nbin/ cp: cannot create hard link '/nbin/updatedb' to 'bin/updatedb': File exists cp thinks /nbin/updatedb is the same as /nbin/updatedb.exe (and prevents copying a real 'updatedb' script into the same place: (target): ll -i /nbin/updatedb.exe /nbin/updatedb 144115188075956844 -rwxrwxr-x+ 2 287813 Apr 15 2014 /nbin/updatedb* 144115188075956844 -rwxrwxr-x+ 2 287813 Apr 15 2014 /nbin/updatedb.exe* But I can create a dir named /nbin/updatedb: mkdir /nbin/updatedb And now have 2 different inodes in target: ll -di bin/updatedb bin/updatedb.exe 337488497076088359 -rwxrwxr-x+ 1 10163 Apr 12 17:07 bin/updatedb* 144115188075956844 -rwxrwxr-x+ 2 287813 Apr 15 2014 bin/updatedb.exe* Is this suppose to work this way? (I know how to work around this (used move in cmd.exe), but why can I create a dir but not a file there? A bit strange -- guess it isn't often I have both a "file" and "file.exe" in a dir. -linda -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: $ uptime: bad data in /proc/loadavg
On 2017-05-12 21:41, Brian Inglis wrote: > On 2017-05-12 20:44, Andrey Repin wrote: >> Just a few days ago it worked, but now >> $ uptime >> bad data in /proc/loadavg >> $ cat /proc/loadavg >> 0,00 0,00 0,00 1/3 > > Something is localizing output from /proc/loadavg > - assume you're using ru locale? > Check if you also get it with uptime -p or uptime -s. > Was there a bug report about not localizing /proc > or some similar output recently? Found it in cygwin-patches - broke top: https://cygwin.com/ml/cygwin-patches/2017-q2/msg5.html - not yet in dll unless there is a snapshot you could test? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: g++ -mno-cygwin flag not recognized
On 13 May 2017 at 11:17, René Berber wrote: > On 5/12/2017 10:03 PM, Allan C. wrote: > >> I am trying to build a win32 project with gcc 5.4 with the flag >> -mno-cygwin but the flag is not recognized. Is there an approach I >> could release an exe without bundling cygwin's dll? > > That option has been deprecated for many years. > > What you have to do is install one of the cross-compilers (32-bit, or > 64-bit, or both), and cross compile the project. > > Cross compiling can be as easy as defining CC as the cross-compiler, and > as hard as having to build all the dependencies and make sure all the > right, cross-compiles libraries, are the only ones used. > -- > R. Berber > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Got it. Thanks René. Cheers. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: $ uptime: bad data in /proc/loadavg
On 2017-05-12 20:44, Andrey Repin wrote: > Just a few days ago it worked, but now > $ uptime > bad data in /proc/loadavg > $ cat /proc/loadavg > 0,00 0,00 0,00 1/3 Something is localizing output from /proc/loadavg - assume you're using ru locale? Check if you also get it with uptime -p or uptime -s. Was there a bug report about not localizing /proc or some similar output recently? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: g++ -mno-cygwin flag not recognized
On 5/12/2017 10:03 PM, Allan C. wrote: > I am trying to build a win32 project with gcc 5.4 with the flag > -mno-cygwin but the flag is not recognized. Is there an approach I > could release an exe without bundling cygwin's dll? That option has been deprecated for many years. What you have to do is install one of the cross-compilers (32-bit, or 64-bit, or both), and cross compile the project. Cross compiling can be as easy as defining CC as the cross-compiler, and as hard as having to build all the dependencies and make sure all the right, cross-compiles libraries, are the only ones used. -- R. Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
g++ -mno-cygwin flag not recognized
Hi all, I am trying to build a win32 project with gcc 5.4 with the flag -mno-cygwin but the flag is not recognized. Is there an approach I could release an exe without bundling cygwin's dll? Regards, Allan C. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
$ uptime: bad data in /proc/loadavg
Greetings, All! Just a few days ago it worked, but now $ uptime bad data in /proc/loadavg $ cat /proc/loadavg 0,00 0,00 0,00 1/3 It reporting approx the same from under elevated shell. -- With best regards, Andrey Repin Saturday, May 13, 2017 05:38:42 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: problem with paste-from-clipboard
On Fri, 12 May 2017 20:50:26, Ladislav DANKO wrote: I have problem with "paste-from-clipboard" in cygwin. In ~/.inputrc file I have just this line: "\e[2~": paste-from-clipboard You have left out a critical piece of information here, you have not mentioned *what* you are trying to paste. Note that current readline is broken when using code page 65001: http://cygwin.com/ml/cygwin/2017-04/msg00176.html Current maintainer Eric Blake is refusing to rollback, and refusing to fix the problem, instead pushing the responsibility of patching this on the user base: http://cygwin.com/ml/cygwin/2017-04/msg00161.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] xkeyboard-config 2.20-1
The following packages have been uploaded to the Cygwin distribution: * xkeyboard-config-2.20-1 * xkeyboard-config-devel-2.20-1 The non-arch keyboard configuration database for the X Window System. This is an update to the latest upstream release: https://lists.x.org/archives/xorg-announce/2017-February/002775.html -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] ibus-typing-booster 1.5.32-1
The following packages have been uploaded to the Cygwin distribution: * ibus-typing-booster-1.5.32-1 Ibus-typing-booster is a completion input method to speedup typing. This is an update to the latest upstream release. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] iso-codes 3.75-1
The following packages have been uploaded to the Cygwin distribution: * iso-codes-3.75-1 * iso-codes-devel-3.75-1 This package aims to provide the list of the ISO country, language, and currency names and their translations in one place. This is an update to the latest upstream release. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] latex2rtf 2.3.15-1
The following packages have been uploaded to the Cygwin distribution: * latex2rtf-2.3.15-1 atex2rtf is a translator program to convert LaTeX formatted text files into Rich Text Format files. This means that the conversion of a LaTeX document to RTF allows anyone with a copy of MS Word to convert LaTeX files to MS Word .doc or .docx files. This is an update to the latest upstream release, with several bugfixes. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] vim 8.0.0596-1
The following packages have been uploaded to the Cygwin distribution: * vim-8.0.0596-1 * vim-common-8.0.0596-1 * vim-minimal-8.0.0596-1 * gvim-8.0.0596-1 * xxd-8.0.0596-1 * vim-doc-8.0.0596-1 Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using only ASCII characters. Many new features have been added: multilevel undo, command line history, file name completion, block operations, and editing of binary data. This is an update to the latest upstream patchset. -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
problem with paste-from-clipboard
Hi folks, I have problem with "paste-from-clipboard" in cygwin. In ~/.inputrc file I have just this line: "\e[2~": paste-from-clipboard I start cygwin terminal (as C:\cyg64\bin\bash.exe --login -i), from another (say, GUI) place I copy some text into clipboard and I try to include it with Insert key to cygwin terminal. Nothing happend. I tried run `sed -n l` to check that my Insert key gives right keystroke: $> sed -n l \033[2~$ So it looks like keystroke is mapped good. I included another line in ~/.inputrc just to verify, that ~/.inputrc is sourced: "\e[3~": end-of-line and now when I hit Delete key, cursor is moved at the end of line. So looks like ~/.inputrc is sourced and works. But I can't include from clipboard. In terminal definition I have checked Quick edit mode and Insert mode. Does someone know what I'm doing wrong? My system: Win7 64 Professional, English. Ladislav -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Request new buildbot-slave package (FAO Jon Turney)
On 10/05/17 19:01, Jon Turney wrote: On 10/05/2017 18:10, Adam Dinwoodie wrote: I see you're the maintainer of buildbot-slave. Would it be possible to get an updated version of this? The current version packaged for Cygwin, 0.8.12, was released in April 2015; the latest version, 0.9.6, was released April 2017. Sure, I'll take a look at doing that. I just uploaded buildbot-worker 0.9.7-1 (note the change in package name). It's a bit awkward for me to upgrade to a compatible buildbot-master right now, so I haven't been able to test it much, so please let me know if there are any problems. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] buildbot-worker-0.9.7-1
The following package has been updated in the Cygwin distribution: * buildbot-worker-0.9.7-1 This package is renamed to follow the upstream renaming from buildbot-slave to buildbot-worker. See [1] for instructions on upgrading an existing buildbot-slave 0.8.x to buildbot-worker 0.9.x Note that per the table at the end of [2], buildbot-worker 0.9.x is not compatible with buildbot-master 0.8.x, so the old buildbot-slave 0.8.12-1 package remains for use with those build-masters, and can be installed at the same time as the new buildbot-worker. [1] http://docs.buildbot.net/current/manual/installation/worker.html#upgrading-an-existing-worker [2] http://docs.buildbot.net/current/manual/worker-transition.html noarch: 59fa91d9e7bd55fbf5247fb4b552220585660bdded6c721fa2cddc545e3063c98248d3809cead009e8d5cc121c60050ec5b5a3cc44add22ee7c0ab6c0eb4d08d *buildbot-worker-0.9.7-1-src.tar.xz 2dcfbfd6028ec7fe51390abd87519b3547c4408ea15fd0ea505221323e3492e8599a5d55e8298cfd5c71d3e8fee194b579163be41139b760f2d72155e7a92ea5 *buildbot-worker-0.9.7-1.tar.xz -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Access windows environment variable via cygwin
On 5/11/2017 9:14 PM, ChampS wrote: > Hi, > > I want to use Cygwin to access all Windows applications installed on my > Windows 7 system. The Problem is that Windows is using spaces in its > environment variable 'Path' and Cygwin can not handle the spaces. Is > there a way to use the Windows environment variable 'Path' even with > spaces in it? For Example I want to start x86 sbt via Cygwin, then I > will get the following error message: "/cygdrive/c/Program Files > (x86)/sbt/bin/sbt: line 61: /sbt-launch-lib.bash: No such file or > directory". But when I try it with the default Windows cmd it works. > > Thought about something like iterating over the 'Path' environment > variable in bashrc and adapt the strings to fit for Cygwin. But I don't > know how I can access the Windows environment variables and how I could > provide the adapted environment variable to Cygwin. > > Someone an idea how I could solve this issue? > Besides all of the other help already suggested you can also use the 8.3 format of the directory name to remove the spaces from PATH in your Windows environment variable. Then Cygwin will not see the spaces either. The use of 8.3 format is configurable and you may need to turn it on for the drive. Use the "dir /X" cmd.exe command to see if you have the 8.3 name. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Access windows environment variable via cygwin
On Thu, May 11, 2017 at 9:07 PM, Brian Inglis wrote: > Cygwin has no problem with paths containing spaces. That may be somewhat of an oversimplification. Due to the way we do backups at work, my Cygwin "root" is installed in a path that contains spaces. Most things work OK, but Xwin is unable to automatically run "xrdb" when it starts up. This means that my default X program configurations (xterm , Emacs) are not read. I have to manually run xrdb each time I start a new Xwin session. It's not the end of the world, but it does require a little extra work each time. - Jim -- Jim Reisert AD1C, , http://www.ad1c.us -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Access windows environment variable via cygwin
On 2017-05-12 06:23, Andrey Repin wrote: >>> Someone an idea how I could solve this issue? >> If your scripts use environment variables, they should be careful >> to enclose uses of those variables in double quotes "$VAR". > Correction: You should always use proper quoting, even if you 100% know the > variable content is "safe", unless the results of not using quoting are > actually desired. There's lots of contexts where you don't need quoting, as the shell uses the variable and contents and does the right thing, but there is no easy way to describe this, other than quote where there are shell parameter expansions, which may not mean much to many. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Access windows environment variable via cygwin
Greetings, Brian Inglis! >> Someone an idea how I could solve this issue? > If your scripts use environment variables, they should be careful > to enclose uses of those variables in double quotes "$VAR". Correction: You should always use proper quoting, even if you 100% know the variable content is "safe", unless the results of not using quoting are actually desired. -- With best regards, Andrey Repin Friday, May 12, 2017 15:22:17 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple