Re: [ANNOUNCEMENT] Updated: lighttpd-1.4.70

2023-05-19 Thread Oleksandr Gavenko via Cygwin
On 2023-05-10, Glenn Strauss via Cygwin wrote: > lighttpd 1.4.70: > speed up CGI spawning; native Windows build (experimental); bugfixes What does "native Windows build"? Seems lighttpd is still Cygwin app: $ ldd /usr/sbin/lighttpd.exe cygwin1.dll => /usr/bin/cygwin1.dll (0x7ffef6f9

Broken dependency: python39-markdown needs python39-importlib-metadata

2023-05-19 Thread Oleksandr Gavenko via Cygwin
I installed python39-markdown and wanted to: import markdown That fails with: File "/home/user/my/blog_md.py", line 5, in import markdown File "/usr/lib/python3.9/site-packages/markdown/__init__.py", line 29, in from .core import Markdown, markdown, markdownFromFile # noqa: E40

Emacs-w32 28.1-2 (marked as test) fails with: "Doing vfork: Resource temporarily unavailable"

2022-07-17 Thread Oleksandr Gavenko
I saw a new version of emacs-w32 28.1-2 (has 28.1-1) and gave it a try. If has a problem with forking processes: Doing vfork: Resource temporarily unavailable If I switch to 28.1-1 the problem disappears. When I go back to 28.1-2 it reappears 100%. I did "rebaseall". I have Sophos antivir (cor

Re: [ANNOUNCEMENT] cygwin 3.2.0-1

2021-04-03 Thread Oleksandr Gavenko via Cygwin
On 2021-04-02, Thomas Wolff wrote: > Note that if you do this within mintty, you will lose a subtle part of the > terminal features by the Windows ConPTY terminal emulation enforced in this > case. I've just tested Midnight Commander, vim, aptitude, than the same all inside tmux and the only prob

Re: [ANNOUNCEMENT] cygwin 3.2.0-1

2021-04-02 Thread Oleksandr Gavenko via Cygwin
On 2021-03-29, Corinna Vinschen via Cygwin-announce via Cygwin wrote: > - Allow to start Windows Store executables via their "app execution > aliases". Handle these aliases (which are special reparse points) > as symlinks to the actual executables. User voice: cool! # ls -l /cygdrive/c/Us

Re: [ANNOUNCEMENT] emacs 27.2-1

2021-04-02 Thread Oleksandr Gavenko via Cygwin
On 2021-03-27, Ken Brown via Cygwin-announce via Cygwin wrote: > 7. The script /usr/bin/make-emacs-shortcut can be used to create a >shortcut for starting emacs. See >/usr/share/doc/emacs/README.Cygwin for details. /usr/bin/make-emacs-shortcut has: mkshortcut --desc="Emacs" \ --ic

Re: Cygwin now on Python 3? What about Mercurial?

2021-04-02 Thread Oleksandr Gavenko via Cygwin
On 2021-03-07, Marco Atzeri via Cygwin wrote: > Mercurial has been just updated to version 5.7 > https://cygwin.com/packages/summary/mercurial.html > > and it now depends on python3.8 Just updated: $ grep mercurial /var/log/setup.log.full Installing file cygfile:///usr/lib/python3.8/site-p

Re: Access WSL files from cygwin

2021-03-04 Thread Oleksandr Gavenko via Cygwin
On 2021-02-07, Cary Lewis via Cygwin wrote: > Is there a way to access files from a WSL 2 Linux distro from Cygwin? > > From Windows: > > \\wsl$\Ubuntu is accessible from Windows Explorer, but cygwin does not seem > to recogonize: > > //wsl\$ I use following fstab to get access to WSL 1: //wsl$/

Python packaging policy?

2021-01-19 Thread Oleksandr Gavenko via Cygwin
I figured it out myself that I have to avoid "python3-*" packages and instead to work with "python36-*" or "python38-*" as "python3-*" packages are marked as "category: _obsolete" in setup.bz2. Are there any docs that describes policy for python packages in Cygwin? I had experience with https://

Re: pylint: ImportError: No module named pkg_resources

2021-01-17 Thread Oleksandr Gavenko via Cygwin
On 2021-01-17, Marco Atzeri via Cygwin wrote: > This explain the status problem: > > $ grep -e "pylint" -e "logilab" cygwin-pkg-maint > pylint ORPHANED (Jari Aalto) > python-logilab-astng ORPHANED (Jari Aalto) > python-logilab-common

pylint: ImportError: No module named pkg_resources

2021-01-16 Thread Oleksandr Gavenko via Cygwin
After installing pylint: setup.exe -p pylint I expected I can use the package: pylint /dev/null Traceback (most recent call last): File "/usr/bin/pylint", line 5, in from pkg_resources import load_entry_point ImportError: No module named pkg_resources I tried to add package:

Re: Noticed that mintty starts non-login bash with "Win+R mintty Enter".

2021-01-16 Thread Oleksandr Gavenko via Cygwin
On 2021-01-05, Jason Pyeron wrote: > I do not put Cygwin in my windows PATH, (anymore since about 10 years ago). Sometimes it is useful to have GNU utils at hands. I use Far Commander and in order to find directory size I type: du -s -m NAME Also having Cygwin staff in PATH allows to start pr

Re: Noticed that mintty starts non-login bash with "Win+R mintty Enter".

2021-01-16 Thread Oleksandr Gavenko via Cygwin
On 2021-01-07, Kamran via Cygwin wrote: > Even: Win | mintty - > > opens up mintty with admin account. Cool, I use a lot but didn't know you can pass args! -- http://defun.work/ -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentat

Noticed that mintty starts non-login bash with "Win+R mintty Enter".

2021-01-04 Thread Oleksandr Gavenko via Cygwin
I interact with Cygwin via mintty launched as "Win+R mintty Enter". During first launch of "exim-config" script existed with an error: /usr/bin/exim-config: line 447: USER: unbound variable After looking into docs I got that mintty should be launched with a parameter "-". Probably it was alw

Re: Setting env var CYGWIN for Cygwin service?

2021-01-04 Thread Oleksandr Gavenko via Cygwin
On 2020-12-30, Oleksandr Gavenko via Cygwin wrote: > What way can I pass env var "CYGWIN" to the Cygwin service? Today I reinstalled Cygwin & Exim. "exim-config" script asked me: Enter the value of CYGWIN for the daemon: [] /usr/bin/exim-config has line with:

Re: Setting env var CYGWIN for Cygwin service?

2020-12-31 Thread Oleksandr Gavenko via Cygwin
On 2020-12-31, Bill Stewart wrote: > cygrunsrv --help shows this: > > -e, --env Optional environment strings which are added > to the environment when service is started. You can add up to 255 > environment strings using the `--env' option. I made experiment few minutes ago (was curious to pa

Re: Setting env var CYGWIN for Cygwin service?

2020-12-31 Thread Oleksandr Gavenko via Cygwin
On 2020-12-31, Franz Fehringer via Cygwin wrote: > Cygwin inherits Windows environment variables, this should be the simplest > take. Normally does, no doubt. So I made `srv.c`: #include int main() { sleep(60); } compiled: gcc -o srv.exe srv.c registered: cygrunsrv -I mysr

Setting env var CYGWIN for Cygwin service?

2020-12-30 Thread Oleksandr Gavenko via Cygwin
Hi! What way can I pass env var "CYGWIN" to the Cygwin service? There are no that many influential options here: https://cygwin.com/cygwin-ug-net/using-cygwinenv.html I can think of "winsymlinks:native" or "wincmdln". Process Explorer shows following env vars for Cygwin's Exim process: PA

Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

2020-11-28 Thread Oleksandr Gavenko via Cygwin
On 2020-11-27, Eliot Moss wrote: > On 11/26/2020 3:38 PM, Oleksandr Gavenko via Cygwin wrote: > >> I believe that X server under Windows is only to write cool blog posts, that >> we are able to run "xterm" )) > > Not sure what you mean here. I run Cygwin's

Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

2020-11-26 Thread Oleksandr Gavenko via Cygwin
On 2020-11-26, Eliot Moss wrote: > Lacks UI? You can run X windows applications in WSL if you have the Cygwin X > server running :-) ... > then you get the X UI. I can certainly run xterm and emacs that way. > I don't need 2 Emacs instances around. Cygwin's Emacs W32 (with native W32 GUI widget

Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

2020-11-26 Thread Oleksandr Gavenko via Cygwin
On Thu, Nov 26, 2020 at 9:22 PM Oleksandr Gavenko wrote: > So Emacs tries to make some "smart" locking on dumb FS... Need to > waste another few hours to make Emacs work. > Found the problem: Emacs fails on its "unlock-buffer" call from emacs/src/filelock.c. F

Re: Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

2020-11-26 Thread Oleksandr Gavenko via Cygwin
On Thu, Nov 26, 2020 at 8:42 PM Henry S. Thompson wrote: > > Oleksandr Gavenko via Cygwin writes: > > > ... > > WSL1 files are "hidden" for regular access. > > I probably misunderstand, but I can see my WSL/Ubuntu files via this > path from Cygwin:

Help with setting Cygwin's Emacs W32 TRAMP to WSL 1

2020-11-26 Thread Oleksandr Gavenko via Cygwin
I'm using Cygwin for two reasons: mintty + Emacs w32. Nowadays WSL 1 has become important (vendors provide ready to work .deb packages, I use: Ansible + Google Cloud SDK, if name any). Still WSL 1 lacks UI and integrates less smoothly into my workflow to replace Cygwin's amazing Emacs W32. WSL1

Re: procmon doesn't capture cygwin's process arguments

2020-11-02 Thread Oleksandr Gavenko via Cygwin
rocesses start and die quickly. I need some tracer, "strace" crashed Emacs & procmon has nice UI. Tnx! On Mon, Nov 2, 2020 at 8:50 AM Andrey Repin wrote: > > Greetings, Oleksandr Gavenko! > > > I tried to find out what processes emacs-w32 is starting for my custom >

procmon doesn't capture cygwin's process arguments

2020-11-01 Thread Oleksandr Gavenko via Cygwin
I tried to find out what processes emacs-w32 is starting for my custom TRAMP method. "strace -f emacs-w32" fails. I expected to succeed with procmon & its filter " Command/ Process Start". Unfortunately procmon [1] doesn't report "argv" if a Cygwin executable is started from a Cygwin executable.

Re: [ANNOUNCEMENT] python38 3.8.0-0.2.a3

2019-05-07 Thread Oleksandr Gavenko
On 2019-03-29, Yaakov Selkowitz wrote: > Eventually we will probably stop building most(*) modules for 3.6 too, > but not before the 3.7 transition is 100% complete, and more likely > just before or as part of the eventual 3.8 transition (in 2020 at the > earliest). After upgrade I haven't found

Does mintty allow keyboard navigation / search and text selection?

2017-08-10 Thread Oleksandr Gavenko
Is it possible to navigate across mintty buffer? Like in less but in line oriented move. I like to have search and copy-paste. screen and tmux allow this but I have no practice of using them. Shift+PgUp/PgDown are too limiting. -- http://defun.work/ -- Problem reports: http://cygwin.co

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-07 Thread Oleksandr Gavenko
On 2017-08-07, Andrey Repin wrote: >> How can I prevent console to be shown when bash started from Task Scheduler? > > Do not start tasks as current user. Or use wrapper that prevent console > window creation in first place. Brian Inglis told about this solution: >> (o) Run whether user is logge

Re: Quilt: Unsupported version of git (2.13.2)

2017-08-07 Thread Oleksandr Gavenko
On 2017-08-03, Oleksandr Gavenko wrote: > bash# guilt list > Unsupported version of git (2.13.2) > > bash# cygcheck.exe -c -d | grep git'\|'guilt > 37:git 2.13.2-2 > 42:guilt 0.35-2 I tried to work w

Quilt: Unsupported version of git (2.13.2)

2017-08-03 Thread Oleksandr Gavenko
bash# guilt list Unsupported version of git (2.13.2) bash# cygcheck.exe -c -d | grep git'\|'guilt 37:git 2.13.2-2 42:guilt 0.35-2 -- http://defun.work/ -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-03 Thread Oleksandr Gavenko
On 2017-08-03, cyg Simple wrote: > Why did no one mention: > > $ /usr/bin/nohup --help Because we under Windows and all Cygwin binaries built as console apps and show console window. You may check it yourself: Win+R nohup yes RET It is not easy to hide console. You need to build GUI program

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-03 Thread Oleksandr Gavenko
On 2017-08-02, Brian Inglis wrote: > I believe that conhost, mintty, ptys, cron, and Cygwin program startup open > handles for stdin, stdout, stderr to talk on, as those are assumed to be > available by most programs, rather than closing anything, which could > terminate > program execution. > Sm

Re: Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Brian Inglis wrote: > Redirect all stdin from /dev/null, stdout, stderr to a log file in your > script , > like: > #!/bin/bash > prog=${0##*/} > base=${prog%.*} > log=/var/log/$base.log > > # do everything inside this wrapper > { >

Hiding console when running Cygwin utility from Task Scheduler.

2017-08-02 Thread Oleksandr Gavenko
I prepared backup task in Bash script and added task to run it in Windows Task Scheduler: Executable: c:\opt\cygwin\bin\bash.exe Params: c:\home\backup\backup-job.bash Each time job run I see console screen. 'procmon' shown that it is:: \??\C:\Windows\system32\conhost.exe 0x -Force

Re: Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Oleksandr Gavenko wrote: > Experiments shown that my goal can be archived in single command: > > mkdir orig > echo 1 >>orig/my.txt > > mkdir backup > rsync -a orig/ backup/1 > rsync -a --link-dest=../1 orig/ backup/2 > > echo 2 >&

Re: Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
On 2017-08-02, Oleksandr Gavenko wrote: > On Linux I uses: > > cp -al /backup/proj/DATEOLD /backup/proj/DATENEW > rsync ... /home/user/proj/ /backup/proj/DATENEW/ > > and employ hardlinks to preserve space. > > ``rsync --hard-links`` isn't reliable: > >

Recursively recreate hierarchy with NTFS hardlinks by Cygwin

2017-08-02 Thread Oleksandr Gavenko
I am going to write backup solution for my personal laptop. I have 240GB SSD for development work and 500GB HDD for media files and backups. I am care only about project files and don't care about windows files or program installation (as registry also should be preserved for backup to be useful)

Re: Emacs + run.exe problem.

2017-07-30 Thread Oleksandr Gavenko
On 2017-07-30, Ken Brown wrote: >>> * "run emacs-w32" is broken. Some GUI windows splashed on screen and quickly >>>hid. >>> >> Stil broken. > > Works for me. Sorry, doesn't work for me now. >> But in addition socket binding for Emacs server stopped to work: >> >>(server-start) > > Also

Re: Emacs + run.exe problem.

2017-07-30 Thread Oleksandr Gavenko
On 2017-07-30, Oleksandr Gavenko wrote: > > This time two new: I tried with 32-bit version. As 64-bit version better avoid rebase problems I tried it. > * "run emacs-w32" is broken. Some GUI windows splashed on screen and quickly > hid. > Stil broken. > * durin

Emacs + run.exe problem.

2017-07-30 Thread Oleksandr Gavenko
I installed Win 10 from official Mictosoft USB image (Tool) with image from around 2017-03-18 after my prevoius SSD had died. I previously wrote about emacs-w32 problems in this list. This time two new: * "run emacs-w32" is broken. Some GUI windows splashed on screen and quickly hid. * durin

Re: rst2html missing from latest docutils

2017-06-28 Thread Oleksandr Gavenko
On 2017-06-27, Daniel Fort wrote: > python 2 and 3 docutils was recently updated from 0.13.1-1 to 0.13.1-2. > > rst2html.py along with several of the other scripts are missing on > this updated version. > > More information on this forum post: > > http://www.magiclantern.fm/forum/index.php?topic=1

Re: Sometimes Emacs sticks on forking...

2017-06-15 Thread Oleksandr Gavenko
On 2017-06-15, cyg Simple wrote: > Does > https://www.windowscentral.com/how-permanently-disable-windows-defender-windows-10 > work for you? I don't have access to "Group Policy". gpedit.msc isn't bundled in Home Edition. Registry trick as I said doesn't work. "Settings app" menu has different

Re: How to "lock" package exclusion?

2017-06-15 Thread Oleksandr Gavenko
On 2017-06-13, Oleksandr Gavenko wrote: > I am not sure if Emacs need libfam0 via libglib2.0_0... I've got response: https://emacs.stackexchange.com/questions/33545/how-is-important-libfam-and-gam-server Emacs w32 built with ``gfilenotify``:: (featurep 'gfilenotif

Re: Sometimes Emacs sticks on forking...

2017-06-14 Thread Oleksandr Gavenko
lse positive. Windows Defender is on BLODA list: https://cygwin.com/faq/faq.html#faq.using.bloda I actually want to disable it, not to install (( And it is prepackaged for Win10 Home edition (that is free update). > On 12 June 2017 at 23:30, Oleksandr Gavenko wrote: >> Windows Re

How to "lock" package exclusion?

2017-06-12 Thread Oleksandr Gavenko
Procexp showed that /usr/libexec/gam_server.exe has link to Emacs. There is another evidence:: bash# apt-cyg depends emacs-w32 | grep gamin 170:emacs-w32 > emacs > libglib2.0_0 > libfam0 > gamin 1533:emacs-w32 > libMagickCore6_2 > libcairo2 > libglib2.0_0 > libfam0 > gamin Previously asked

Re: Sometimes Emacs sticks on forking...

2017-06-12 Thread Oleksandr Gavenko
On 2017-06-13, Oleksandr Gavenko wrote: > I have one BLODA, Windows Defender (win10 x64). How can I disable it? I see > tricks like: > > Windows Registry Editor Version 5.00 > > [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] > "DisableA

Sometimes Emacs sticks on forking...

2017-06-12 Thread Oleksandr Gavenko
I use latest Cygwin Emacs W32 under Windows 10 x64 and Emacs spawns external processes like hg/git when it open file. Sometimes it freezes and in procexp I see spawned Emacs fork. Usual build-in Emacs C-g key binding doesn't help much (it work with lots of key press and long delay). It is faster

run.exe + conhost + emacs-w32 / emacsclient-w32 problem.

2017-06-12 Thread Oleksandr Gavenko
>From some time I can't run emacs-w32 / emacsclient-w32 via run.exe from cmd.exe or mintty.exe. Actually at the end I use chain of call: ``e.bat`` with: run.exe --quote emacsclient-w32 -a e ``e`` with: cygstart --action=runas run emacs-w32 and then: run --quote emacsclient-w32 ... No

Re: Suggestion to move Cygwin documentation to more version neutral path...

2016-05-30 Thread Oleksandr Gavenko
On 2016-05-29, Andrey Repin wrote: > Why do you refer to last year's announce? > Why not https://cygwin.com/ml/cygwin-announce/2016-04/msg00063.html ? I finally got it. I made accidental assumptions and conclusions that led to misunderstanding. https://www.cygwin.com/ page is not so easy lead t

Re: Is it possible to hide emacs-w32 console window?

2016-05-30 Thread Oleksandr Gavenko
On 2016-05-29, Ken Brown wrote: > You can avoid the console window by using Cygwin's run.exe. See the shortcut > for the X server for an example of this. (You do get a brief console window, > but it immediately disappears.) Thanks, that helped. I tested with "Win+R run emacs-w32 ENTER" but bet

Re: Suggestion to move Cygwin documentation to more version neutral path...

2016-05-29 Thread Oleksandr Gavenko
On 2016-05-29, Hans-Bernhard Bröker wrote: >> As far as I know current Cygwin version is 1.7. > > That knowledge is rather inaccurate. Now I see that Cygwin as project at version like 1.7.xx now, as in announce: https://cygwin.com/ml/cygwin-announce/2015-02/msg9.html Updated: Cygwin 1.

Re: Is it possible to hide emacs-w32 console window?

2016-05-29 Thread Oleksandr Gavenko
On 2016-05-29, Ken Brown wrote: > On 5/28/2016 5:08 PM, Oleksandr Gavenko wrote: >> emacs-w32 starts console window and that useless window disturbs during task >> switching (by Alt+TAB) and take space on TaskBar. >> >> Is it possible to hide emacs-w32 console window? &

Suggestion to move Cygwin documentation to more version neutral path...

2016-05-28 Thread Oleksandr Gavenko
I search for bundled docs to set up sshd and some mount points and surprised that it placed on path: /usr/share/doc/cygwin-2.5.1/html/cygwin-ug-net As far as I know current Cygwin version is 1.7. With "cygwin-2.5.1" part I begin to doubt if docs is up-to-date. So I consult online docs because

Is it possible to hide emacs-w32 console window?

2016-05-28 Thread Oleksandr Gavenko
emacs-w32 starts console window and that useless window disturbs during task switching (by Alt+TAB) and take space on TaskBar. Is it possible to hide emacs-w32 console window? == TL;TR === I uses native Emacs for long time but now emacs-w32 pac

Passing PROCESSOR_ARCHITECTURE env var from Cygwin sshd into my ssh session.

2012-12-15 Thread Oleksandr Gavenko
I setup VirtualBox and Windows in it and setup sshd under Cygwin. Further development I perform in original Debian distro from ssh+Emacs+Cygwin. I need to compile a project with native Scons+MSVC. To do this I installed appropriated software and wrote batch-file wrapper (which setup PATH and othe

Re: [ANNOUNCEMENT] Updated: cygport-0.11.1-1

2012-10-28 Thread Oleksandr Gavenko
On 2012-10-11, Yaakov (Cygwin/X) wrote: > I have just released cygport-0.11.1 for the Cygwin distribution and the > Fedora Cygwin repository. New in this release: > > * Spec-style .cygport files > Filename constraints do not apply if NAME, VERSION, and RELEASE are > defined. That's great news (

emacs under X11 forwarding: Fatal error (12)Bad system call

2012-10-10 Thread Oleksandr Gavenko
I setup WindowsXP in VirtualBox, enable X11 forwarding and can run xterm from Cygwin on Debian box. When I try to run "emacs-X11 -q" I get: Fatal error (12)Bad system call while "emacs -nw" started successfully. Last lines from "strace emacs-X11": 132 256660554 [main] emacs-X11 1760 fhandl

scan-build symlink from llvm/clang does not work in GNU Make

2012-02-13 Thread Oleksandr Gavenko
$ cat Makefile.common # -e Override Makefile settings with env var to pass scan-build settings to Make. .PHONY: clang clang: $$(realpath $$(which scan-build)) make -e -f $(MK_FILE) clean dist .PHONY: clang2 clang2: scan-build make -e -f $(MK_FILE) clean dist If you ru

Re: Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Oleksandr Gavenko
On 2012-02-13, Corinna Vinschen wrote: > On Feb 13 14:53, Corinna Vinschen wrote: >> On Feb 13 11:18, Oleksandr Gavenko wrote: >> > [...] >> > To resolve issue I comment this line in ~/.ssh/config: >> > >> > # ControlPath ~/.ssh/sock_%r@%h_%p &g

Can not make port forwarding from Cygwin when ControlMaster/ControlPath used.

2012-02-13 Thread Oleksandr Gavenko
I can forward port from Cygwin to Debian: cygwin# nc -l -p 6000 debian1# ssh -L 7000:cygwin.host:6000 u...@cygwin.host debian2# telnet localhost 7000 But if do same in inverse direction I got: debian# nc -l -p 6000 cygwin1# ssh -L 8000:debian.host:6000 u...@debian.host bind: Add

Re: Suggestion to integrate Mercurial with ca-certificates package.

2011-12-27 Thread Oleksandr Gavenko
On 2011-12-27, Oleksandr Gavenko wrote: > When you try perform communication through HTTPS you get warning: > > cygwin# hg identify https://bitbucket.org/django/django > warning: bitbucket.org certificate with fingerprint > 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:

Suggestion to integrate Mercurial with ca-certificates package.

2011-12-27 Thread Oleksandr Gavenko
cygwin# cygcheck -c mercurial Cygwin Package Information Package VersionStatus mercurial1.9.3-1OK When you try perform communication through HTTPS you get warning: cygwin# hg identify https://bitbucket.org/django/django warning: bitbucket.org

What is rationale for GLOB_BRACE in globify() from /winsup/cygwin/dcrt0.cc??

2011-11-13 Thread Oleksandr Gavenko
NOTE: all text I wrote about invoking Cygwin app from native Windows app. Look to code: /* Attempt to match the argument. Return just word (minus quoting) if no match. */ if (glob (pattern, GLOB_TILDE | GLOB_NOCHECK | GLOB_BRACE | GLOB_QUOTE, NULL, &gl) || !gl.gl_pathc) return 0; from

I try build cygwin-doc-1.7-1 without success.

2011-11-09 Thread Oleksandr Gavenko
Motivation to do this is to fix issue with incorrect info header for 'libc.info' and 'libm.info'. Instead: START-INFO-DIR-ENTRY * libm:: An ANSI-C conforming mathematical library. END-INFO-DIR-ENTRY 'libm.info' should contain: INFO-DIR-SECTION Cygwin START-INFO-DIR-E

What does mean 'obsolete' category?

2011-11-05 Thread Oleksandr Gavenko
Search: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xorg-x11-xwin take: xorg-x11-xwin/xorg-x11-xwin-7.4-1 Obsolete package >From setup.ini: @ xorg-x11-xwin sdesc: "Obsolete package" ldesc: "Obsolete package" category: _obsolete That mean 'obsolete' for package? I search for

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-11-01 Thread Oleksandr Gavenko
31.10.2011 23:00, David Sastre пишет: YMMV, but 'bash -l' should source your profile settings, both system-wide and user defined. Do you mean "bash -i"? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-10-31 Thread Oleksandr Gavenko
30.10.2011 23:24, Oleksandr Gavenko пишет: I have problem with permission (files stand non-readable sometimes) on host when "rsync" or "hg clone/pull" done on external drive on another host. I read http://www.cygwin.com/cygwin-ug-net/ntsec.html partially understand text b

Re: Install all packages from local repository?

2011-10-31 Thread Oleksandr Gavenko
31.10.2011 19:48, Jim Garrison пишет: I need to create a "standard" Cygwin setup for a group of developers, containing the defaults plus a customized selection of additional non- default packages to be installed (ssh, vim, etc, about 70 total). $ cat setup.bat @echo off setup.exe --local-inst

Help with ACL and POSIX permissions for external flash/HD.

2011-10-30 Thread Oleksandr Gavenko
I have problem with permission (files stand non-readable sometimes) on host when "rsync" or "hg clone/pull" done on external drive on another host. I read http://www.cygwin.com/cygwin-ug-net/ntsec.html partially understand text but don't know how to resolve my problem... From manual: To use W

Re: question on backup

2011-10-28 Thread Oleksandr Gavenko
28.10.2011 0:32, Paul Allen Newell пишет: On 10/27/2011 7:18 AM, Christopher Faylor wrote: Is there some reason why you wouldn't just use cygcheck for this? Chris: I didn't know about cygcheck and had blinders on during my search as I was looking for a data file rather than a utility. Just rea

BUG: ImageMagick search for font in strange path.

2011-10-28 Thread Oleksandr Gavenko
$ cygcheck -c ImageMagick Package VersionStatus ImageMagick 6.4.0.6-2 OK $ convert -size 240x80 xc:white \ -font Verdana -draw "text 32,51 test" logo.png convert: unable to read font `/usr/lib/ImageMagick-6.4.0/config//usr/share/fonts/corefonts/verd

Re: Man and LANG issue.

2011-10-20 Thread Oleksandr Gavenko
20.10.2011 11:56, Markus Hoenicka пишет: Oleksandr Gavenko was heard to say: But how about Emacs M-x man? I need write a wrapper and set Dunno about the rest, but have you tried M-x woman? This is a man page reader implemented in elisp. It may or may not handle language issues better than

Man and LANG issue.

2011-10-20 Thread Oleksandr Gavenko
My LANG=ru_RU.cp1251 so if man page was translated I get garbage in output. Problem lies out of 'cp1251' because /usr/share/man/ru store man pages in different encoding: /usr/share/man/ru/man1/mc.1.gz is UTF-8 /usr/share/man/ru/man1/mplayer.1.gz is koi8-r Also man does not support page reco

Re: How does setup.exe cope with upgrading of already installed packages if there exist modification in installed files?

2011-10-19 Thread Oleksandr Gavenko
19.10.2011 16:27, Andrew Schulman пишет: Also I worry about modification in other config files in /etc (like /etc/apache2/httpd.conf). Are they overwritten on package update? This is up to each package maintainer. Current best practice - at least, as of a year or two ago when I asked about it

How does setup.exe cope with upgrading of already installed packages if there exist modification in installed files?

2011-10-19 Thread Oleksandr Gavenko
How does setup.exe cope with upgrading of already installed packages if there exist modification in installed files? I customize HG templates under: /lib/python2.6/site-packages/mercurial/templates/gitweb/* and would like preserve it when update happen. And it will be good to be notified if c

Re: How to run a bash script that calls a Win exe under Windows without installing Cygwin?

2011-10-19 Thread Oleksandr Gavenko
19.10.2011 10:57, bagvian пишет: Dear all, I have gone through Cygwin FAQ and documentation, did some googling but could not find any answer to my cross system problem. I currently work under Win Vista and have a proper Cygwin installation running perfectly. I have to perform heavy tests on a W

Re: Remove cygwin

2011-10-18 Thread Oleksandr Gavenko
18.10.2011 15:11, Casual Trash пишет: I have received a computer with some software already installed and I have to clean it up. One of those software is cygwin, I tried to follow the instructions but without success. 1. I can't locate the cygrunsrv: there is no file with this name and there

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-16 Thread Oleksandr Gavenko
15.10.2011 0:47, Kaz Kylheku пишет: So SHELL env var does not exported by bash... Why? This is a bug in bash which hides broken behavior in the OS. Bash expects this to be an existing environment variable, and it usually is in normal Unix like operating systems. However, bash internally set

Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-14 Thread Oleksandr Gavenko
Look to my session:  gavenko+bash# echo $SHELL /bin/bash gavenko+bash# script Скрипт запущен, файл - typescript sh-4.1$ ^C sh-4.1$ exit Скрипт выполнен, файл - typescript gavenko+bash# SHELL=/bin/bash script Скрипт запущен, файл - typescript

Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim

2011-10-13 Thread Oleksandr Gavenko
12.10.2011 14:59, jan.kolar пишет: Oleksandr Gavenko-2 pishet: $ cygcheck -c vim Cygwin Package Information Package VersionStatus vim 7.3.254-1 OK This is an important information to start with. Where did you get that from? From cygwin ports

Re: 'libintl_setlocate' entry point does not found in 'cygintl-8.dll'.

2011-10-13 Thread Oleksandr Gavenko
13.10.2011 10:07, Oleksandr Gavenko пишет: After latest update when I run 'emacs-x11' or 'gvim' I get standard Windows MessageBox: 'libintl_setlocate' entry point does not found in 'cygintl-8.dll'. Seems that Cygwin ports packages are broken (for u

'libintl_setlocate' entry point does not found in 'cygintl-8.dll'.

2011-10-13 Thread Oleksandr Gavenko
After latest update when I run 'emacs-x11' or 'gvim' I get standard Windows MessageBox: 'libintl_setlocate' entry point does not found in 'cygintl-8.dll'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwi

Re: E484: Can't open file /usr/share/vim/syntax/syntax.vim

2011-10-12 Thread Oleksandr Gavenko
03.10.2011 2:35, jan.kolar пишет: Oleksandr Gavenko (aka gavenkoa) wrote: $ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This

E484: Can't open file /usr/share/vim/syntax/syntax.vim

2011-09-25 Thread Oleksandr Gavenko
$ cat ~/.vimrc syntax on $ vim Error detected while processing /cygdrive/e/home/.vimrc: line1: E484: Can't open file /usr/share/vim/syntax/syntax.vim Press ENTER or type command to continue This issue reported previously: http://cygwin.com/ml/cygwin/2006-07/msg00105.html -- Problem

'screen' stackdump very often.

2011-09-25 Thread Oleksandr Gavenko
Sometimes it started properly but usually not. $ screen --version Screen version 4.00.03 (FAU) 23-Oct-06 $ screen 2 [main] screen 2876 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1058 [main] screen 2876 open_stackdumpfile: Dumping stack trace to screen.exe.stackdump

Re: 'cygcheck -f' pattern syntax.

2011-09-22 Thread Oleksandr Gavenko
22.09.2011 15:43, Marco atzeri пишет: On 9/22/2011 2:10 PM, Oleksandr Gavenko wrote: So 'cygcheck -f' does not allow 'glob' and 'regex'. I write simple script that allow use regex: #!/bin/sh regex=$(echo "$1" | sed -e 's|\\|&&|g'

'cygcheck -f' pattern syntax.

2011-09-22 Thread Oleksandr Gavenko
$ time cygcheck -f 'stdio.h' real0m1.016s user0m0.031s sys 0m0.015s $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f /usr/include/stdio.h cygwin-1.7.9-1 real0m0.907s user0m0.015s sys 0m0.031s So 'cygch

Help me understand why 'eof' in canonical mode works strange in Expect script (and differ from Linux).

2011-09-16 Thread Oleksandr Gavenko
This script work fine: $ cat eof.exp #!/usr/bin/env expect set stty_init "sane cooked -echo" spawn sort send \x04 expect eof wait But if I modify send expression to any like (so ^D is last char): send bo\x04 script infinitely await closing stdout by "sort", but sort itself wait for

Re: how to run a .bat or .cmd file from bash prompt

2011-09-16 Thread Oleksandr Gavenko
16.09.2011 22:10, Robert Perlberg пишет: cmd /c batch_file [arguments ...] This is such an original idea. I wish the Unix shell had something like that. I also discover such *cmd* usage in bash: cmd

Re: how to open only 1 window when running rxvt.exe

2011-09-16 Thread Oleksandr Gavenko
16.09.2011 21:48, J.V. пишет: If I create a file called 'rxvt.bat' and from within there, run rxvt.exe (with options) and then put a shortcut to that on my desktop and double click, I get a black window that shows the command in the rxvt.bat file and then my rxvt window pops up. This is annoyin

Request locale for ISO 8601 date.

2011-09-01 Thread Oleksandr Gavenko
$ for l in `locale -a`; do echo $l `LC_TIME=$l date`; done | tee .dat $ grep -E '[[:digit:]]+-[[:digit:]]+-[[:digit:]]+ +[[:digit:]]+:[[:digit:]]+:[[:digit:]]+' <.dat sq_AL 2011-09-01 8:14:09.MD sq_AL.utf8 2011-09-01 8:14:09.MD but this is not ISO 8601 as '.MD' component present... Usually '

Re: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko
05.08.2011 12:13, Marco atzeri пишет: On 8/5/2011 10:53 AM, Oleksandr Gavenko wrote: Or I am something missing? http://mirrors.kernel.org/sourceware/cygwin/setup.ini looks fine have you catched the mirror during the sync with the primary ? Finally I found error from myself. I fix in

Re: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko
05.08.2011 10:41, Marco atzeri пишет: On 8/5/2011 9:34 AM, Oleksandr Gavenko wrote: But I have issue. 'setup.ini' does not contain entry for new version. So can not be installed through setup.exe. Then I change 'setup.ini' to: version: 4.7.5.3-1 install: release/mc/

Re: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko
29.07.2011 14:22, Marco atzeri пишет: Version 4.7.5.3-1 of Midnight Commander has been uploaded for cygwin CHANGES This is an new upstream release. Nice! CYGWIN CHANGES The closure of the subshell is now handled. Very good!! There are many frustration from user because previous Cygwin pack

It is possible have bash_completion for hg/bzr in Cygwin?

2011-07-22 Thread Oleksandr Gavenko
Cygwin come with 'git-completion' package. 'subversion' package also provide bash_completion completion. For Mercurial and bzr there no bash_completion in Cygwin. Mercurial and bzr sources provide bash_completion in contrib dir. It is possible to include completion into packages? -- Best regard

Suggestion to add ChangeLog for mintty in Cygwin package.

2011-07-16 Thread Oleksandr Gavenko
I run: $ cygcheck -l mintty | grep -i 'change\|log' and not found any ChangeLog for mintty. Existing file with changelog very incomplete: /usr/share/doc/Cygwin/mintty.README In mintty package files there are no point to http://code.google.com/p/mintty/wiki/Changes It is good thing to i

Re: [ANNOUNCEMENT] updated: LilyPond 2.14.1

2011-07-14 Thread Oleksandr Gavenko
On 11.07.2011 10:41, Jan Nieuwenhuizen wrote: I've updated LilyPond to 2.14.1, the latest stable release. This is the first 2.14 release for Cygwin; a major upgrade bringing almost two years of work since 2.12. For an overview of new features and changes, see http://lilypond.org/doc/v2.14

'info ftp' show man page instead of info. Incorrect 'dir' file entries for 'inetutils' package.

2011-07-14 Thread Oleksandr Gavenko
I read $ man ftp and it recommend read info: $ info ftp but this command shown previous man page. Emacs show: No such node or anchor: ftp FTP client Problems come from incorrect '/usr/share/info/dir' file menu entry. If I change: * ftp: (inetutils)ftp FTP client.

Re: Using Cygwin Emacs

2011-05-25 Thread Oleksandr Gavenko
On 16.05.2011 4:27, Sayth Renshaw wrote: Before I venture down this path are there many people using this package? Is it advantageous to use this package(cygwin)? Advantage is in full integration of Emacs and Cygwin tools. Watching this list I found that many people use Cygwin Emacs package. O

rebaseall fail: FixImage (/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) faile, with last error = 13

2011-03-21 Thread Oleksandr Gavenko
After update to newest packages version I get: $ hg convert http://... ... 3 [main] python 540 C:\opt\cygwin\bin\python.exe: *** fatal error - unable to remap C:\opt\cygwin\bin\cygaprutil-1-0.dll to same address as parent: 0x187B != 0x6E9F Stack trace: Frame Function Args 0

  1   2   >