Re: [ANNOUNCEMENT] Updated: cygwin-1.7.2-1

2010-03-25 Thread Oleksandr Gavenko
On 2010.03.24 10:56, Corinna Vinschen wrote: Hi Cygwin friends and users, we're proud to present the next Cygwin release 1.7.2. This release contains some changes, some new functionality, and a good amount of bugfixes. Thanks for bugfix! -- Problem reports:

Re: Emacs info files

2010-03-31 Thread Oleksandr Gavenko
On 2010.03.31 10:21, Gary . wrote: I have a new cygwin installation on which I have also installed emacs. I have an older installation in which I also have emacs installed. On the newer install I don't appear to have any info pages for emacs, but do on the older one (I think, I can't actually

UTF-8 in ftp client.

2010-04-06 Thread Oleksandr Gavenko
I use filezilla to host file server. As explain article: http://wiki.filezilla-project.org/Character_Set for multilang environment need use UTF-8. How can I force Cygwin ftp client use UTF-8? ftp ls 200 Port command successful 150 Opening data channel for directory list. drwxr-xr-x 1 ftp ftp

Re: UTF-8 in ftp client.

2010-04-06 Thread Oleksandr Gavenko
On 2010.04.06 12:50, Oleksandr Gavenko wrote: I use filezilla to host file server. As explain article: http://wiki.filezilla-project.org/Character_Set for multilang environment need use UTF-8. How can I force Cygwin ftp client use UTF-8? ftp ls 200 Port command successful 150 Opening data

Re: UTF-8 in ftp client.

2010-04-06 Thread Oleksandr Gavenko
On 2010.04.06 16:22, Václav Haisman wrote: On Tue, 06 Apr 2010 15:58:18 +0300, Oleksandr Gavenko wrote: On 2010.04.06 12:50, Oleksandr Gavenko wrote: I use filezilla to host file server. As explain article: http://wiki.filezilla-project.org/Character_Set for multilang environment need use

Re: UTF-8 in ftp client.

2010-04-07 Thread Oleksandr Gavenko
On 2010.04.07 4:02, Charles Wilson wrote: On 4/6/2010 9:22 AM, Václav Haisman wrote: Install lftp or other FTP client using setup.exe. ...which is good advice. The other clients MAY support UTF-8 or some other explicit i18n/NLS, but the inetutils bare-bones ftp client doesn't, and won't.

[BUG] Installer wrong report file locked by another process if not free space on disk.

2010-04-15 Thread Oleksandr Gavenko
Installer say that some files locked, but this files like .h so its particular impossible. Also installer suggest replace it after reboot. But really problem lies on zero space on disk. (I understand that when Firefox download manager report this!) So message must be appropriate: Not enough

Re: rxvt : 1.5 vs. 1.7

2010-05-07 Thread Oleksandr Gavenko
On 2010.05.06 8:04, Andy Koppe wrote: Always on the lookout for ways to improve mintty: what mintty shortcomings or rxvt features make you prefer rxvt? My preferred ~/.Xdefaults ? Also rxvt present in MSYS. One tool for all OS. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: cygpath from emacs

2010-05-07 Thread Oleksandr Gavenko
On 2010.05.05 21:24, Gary wrote: I often find myself running a piece of software from within emacs that expects, and spits out, Windows-style paths (C:\...). Handling sending it Windows paths based on the Cygwin ones is fine, I just use a script. Of course, the tool returning Windows paths is a

bash -i with installed and enabled bash_completion starting too slow

2010-05-07 Thread Oleksandr Gavenko
from sh I run: sh-3.2$ time bash -i -c echo real0m0.218s user0m0.062s sys 0m0.016s sh-3.2$ echo . /etc/bash_completion ~/.bashrc # enable completion sh-3.2$ time bash -i -c echo real0m2.657s user0m0.743s sys 0m1.308s I like completion. I wrote into ~/.Xdefaults

rxvt blink

2010-05-12 Thread Oleksandr Gavenko
http://www.rxvt.org/faq.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

C-o in GNU MC and mintty/rxvt issue?

2010-05-12 Thread Oleksandr Gavenko
Recently I decide switch from Far/Total Commander to GNU MC. I use Cygwin 1.7.1. MC is look beauty with mintty but I have issue: 1. when press C-o to see ls output, it have irregular structure, not indented by column, like column width set to infinity: {{{ Application DataPrintHood

Re: rxvt blink

2010-05-12 Thread Oleksandr Gavenko
On 2010.05.12 16:03, Oleksandr Gavenko wrote: http://www.rxvt.org/faq.html Sorry for off topic, hate Thunderbird. rxvt can not blink text and cursor (( I switch to mintty. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: C-o in GNU MC and mintty/rxvt issue?

2010-05-12 Thread Oleksandr Gavenko
On 2010.05.12 16:11, Oleksandr Gavenko wrote: Recently I decide switch from Far/Total Commander to GNU MC. I use Cygwin 1.7.1. MC is look beauty with mintty but I have issue: 1. when press C-o to see ls output, it have irregular structure, not indented by column, like column width set

Re: C-o in GNU MC and mintty/rxvt issue?

2010-05-13 Thread Oleksandr Gavenko
On 2010.05.12 22:26, d.sastre.med...@gmail.com wrote: On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote: On 2010.05.12 16:11, Oleksandr Gavenko wrote: Recently I decide switch from Far/Total Commander to GNU MC. I use Cygwin 1.7.1. MC is look beauty with mintty but I have issue

mc --subshell after exit forget kill bash.

2010-05-13 Thread Oleksandr Gavenko
bash# ps PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 4056 14056 4056? 1003 09:42:56 /usr/bin/mintty 5164056 516 19928 1003 09:42:56 /usr/bin/bash 664 516 6643048 1003 09:43:17 /usr/bin/ps bash# mc

Re: Why call-process removes '{' and '}' chars from arguments???

2010-06-03 Thread Oleksandr Gavenko
On 2010.06.03 0:39, Eli Zaretskii wrote: From: Oleksandr Gavenkogaven...@gmail.com Date: Wed, 02 Jun 2010 23:40:46 +0300 I use Emacs 23.2 under Windows. (call-process echo.exe nil (get-buffer *Messages*) nil --bla {rev} }}}xxx{1}xxx{2}xxx{{{ ) put in Message buffer

How you wrote wrapper around Cygwin scripts?

2010-06-03 Thread Oleksandr Gavenko
For example Mercurial VCS hg distributed as python script. To able invoke hg from cmd.exe (I some times use Far file manager and all time native GNU Emacs) I wrote wrapper: $ cat /bin/hg.bat @echo off python /bin/hg %* This script work fine except case then one of argument contain new line

Re: Why call-process removes '{' and '}' chars from arguments???

2010-06-03 Thread Oleksandr Gavenko
On 2010-06-03 18:04, Larry Hall (Cygwin) wrote: On 6/3/2010 3:46 AM, Oleksandr Gavenko wrote: On 2010.06.03 0:39, Eli Zaretskii wrote: From: Oleksandr Gavenkogaven...@gmail.com Date: Wed, 02 Jun 2010 23:40:46 +0300 I use Emacs 23.2 under Windows. (call-process echo.exe nil (get-buffer

'cp' utility bug when dest-name.exe file exist.

2010-06-08 Thread Oleksandr Gavenko
$ touch my.exe $ touch some-file $ cp some-file my cp: cannot create regular file `my': File exists $ cp -f some-file my cp: cannot create regular file `my': File exists Same happen ever in cmd.exe so this is not 'bash' fault. -- Problem reports: http://cygwin.com/problems.html

svn don't remember my password.

2010-06-14 Thread Oleksandr Gavenko
$ svn help | head -n 2 usage: svn subcommand [options] [args] Subversion command-line client, version 1.6.9. svn: Write error: Broken pipe $ cd $OLDREPO $ HOME=/cygdrive/d/tmp svn ls Authentication realm: http://svn.int:80 Subversion Repositories Password for 'user': dir1/ dir2/ Under

Re: svn don't remember my password.

2010-06-14 Thread Oleksandr Gavenko
On 14.06.2010 12:22, Oleksandr Gavenko wrote: $ svn help | head -n 2 usage: svn subcommand [options] [args] Subversion command-line client, version 1.6.9. svn: Write error: Broken pipe $ cd $OLDREPO $ HOME=/cygdrive/d/tmp svn ls Authentication realm: http://svn.int:80 Subversion Repositories

Re: svn don't remember my password.

2010-06-14 Thread Oleksandr Gavenko
On 14.06.2010 12:35, Oleksandr Gavenko wrote: On 14.06.2010 12:22, Oleksandr Gavenko wrote: $ svn help | head -n 2 usage: svn subcommand [options] [args] Subversion command-line client, version 1.6.9. svn: Write error: Broken pipe $ cd $OLDREPO $ HOME=/cygdrive/d/tmp svn ls Authentication realm

Re: Question on setup.exe

2010-06-14 Thread Oleksandr Gavenko
On 14.06.2010 17:20, DEWI - N. Zacharias wrote: Hi there, assume I had a cygwin installation on one computer with the local package directory located in c:\mylocalpackage. Is it possible to copy this directory to a other computer and use the -L flag (local install) to install a identical

LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-21 Thread Oleksandr Gavenko
I globally set LANG=ru_RU.cp1251 for Russian Windows. All command work as expected (from coreutils, svn, etc.). But objdump, nm, objcopy use UTF-8 instead recode to cp1251: $ objdump --help | head -n 2 Рспользование: objdump опции файл(С‹) Отображает

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-22 Thread Oleksandr Gavenko
On 22.06.2010 9:00, Andy Koppe wrote: On 21 June 2010 09:14, Oleksandr Gavenko wrote: I globally set LANG=ru_RU.cp1251 for Russian Windows. All command work as expected (from coreutils, svn, etc.). But objdump, nm, objcopy use UTF-8 instead recode to cp1251: $ objdump --help | head -n 2

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-29 Thread Oleksandr Gavenko
On 27.06.2010 10:49, Csaba Raduly wrote: On Mon, Jun 21, 2010 at 10:14 AM, Oleksandr Gavenko gave...@bifit.com.ua wrote: $ objdump --help | head -n 2 Рспользование: objdumpопции файл(С‹) Отображает информацию РёР· объекта файл(С

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-29 Thread Oleksandr Gavenko
On 29.06.2010 15:52, Csaba Raduly wrote: On Tue, Jun 29, 2010 at 10:32 AM, Oleksandr Gavenko wrote: $ objdump --help | head -n 2 | hexl : d098 d181 d0bf d0be d0bb d18c d0b7 d0be (snipped) These bytes sure look like UTF-8. According to http://software.hixie.ch

Some key binding in Emacs not properly work in mintty.

2010-08-01 Thread Oleksandr Gavenko
Selection by Ctrl-Left/Right/Down work properly. But for Ctrl-Up Emacs say: select is undefined Also I have trouble with C-backspace. Emacs think that I press undo. I use GNU Emacs 23.1.1 (i686-pc-cygwin) of 2009-07-30 with CYGWIN_NT-5.1 1.7.1(0.218/5/3) 2009-12-07. All other keys that I

Unknown option 'BackspaceSendsDEL' for mintty from emacs.README.

2010-08-01 Thread Oleksandr Gavenko
In Cygwin 1.7.1 installation in file /usr/share/doc/Cygwin/emacs.README placed tips: - mintty: Put BackspaceSendsDEL=1 in your .minttyrc file. Under man 1 mintty present only 'BackspaceSendsBS' option. What option correct and why I need set it? Also please fix emacs.README if it already

Help with proftpd configuration for local Cygwin package repo or bug in setup.exe.

2010-08-03 Thread Oleksandr Gavenko
I run proftpd 1.3.0-19 on Debian Etch where I put by rsync Cygwin package mirror. When I run setup.exe: setup.exe --quiet-mode --only-site --site ftp://192.168.1.38/cygwin --packages emacs it stop on: Starting cygwin install, version 2.697 io_stream_cygfile:

Re: Some key binding in Emacs not properly work in mintty.

2010-08-05 Thread Oleksandr Gavenko
On 04.08.2010 22:38, Gary wrote: Andy Koppe wrote: Yet there's no obvious reason why this shouldn't work in xterm and mintty. The Shift-Up keycode follows the same pattern as the ones for the other Shift-Arrow combinations. This suggests a configuration problem, or perhaps a terminfo issue.

Internal Server Error: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX.

2010-08-06 Thread Oleksandr Gavenko
Internal Server Error occur on http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX from http://cygwin.com/packages/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Internal Server Error: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX.

2010-08-06 Thread Oleksandr Gavenko
On 06.08.2010 10:54, Mark Geisert wrote: Oleksandr Gavenko writes: Internal Server Error occur on http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX from http://cygwin.com/packages/ WFM just now. Might have been a transient error of some kind? Just now error 500: Internal Server

find on /proc/registry/HKEY_CLASSES_ROOT/CLSID report Bad address

2010-08-06 Thread Oleksandr Gavenko
$ find /proc/registry/HKEY_CLASSES_ROOT/CLSID -type f find: `/proc/registry/HKEY_CLASSES_ROOT/CLSID/CLSID': Bad address find: `/proc/registry/HKEY_CLASSES_ROOT/CLSID/{002F---C000-0046}': Bad address find:

Re: find on /proc/registry/HKEY_CLASSES_ROOT/CLSID report Bad address

2010-08-12 Thread Oleksandr Gavenko
On 12.08.2010 13:12, Corinna Vinschen wrote: On Aug 6 16:24, Oleksandr Gavenko wrote: $ find /proc/registry/HKEY_CLASSES_ROOT/CLSID -type f find: `/proc/registry/HKEY_CLASSES_ROOT/CLSID/CLSID': Bad address find: `/proc/registry/HKEY_CLASSES_ROOT/CLSID/{002F---C000-0046

/usr/licence dir from lilypond-2.12.4-1.tar.bz2?

2010-08-17 Thread Oleksandr Gavenko
$ ls /usr/license/ lilypond-doc From http://cygwin.com/setup.html: In your binary package include a directory /usr/share/doc/foo/ that includes any binary-relevant vendor documentation, such as ChangeLog's, copyright licence's, README's etc. May be in next packaging it's better place licence

Re: Bug tracker

2010-08-20 Thread Oleksandr Gavenko
On 19.08.2010 23:11, Eric Blake wrote: On 08/19/2010 01:59 PM, Jeremy Bopp wrote: Of course the quality of the defect tracker is directly related to the effort the maintainers put in to keep it relatively pruned and organized. Maybe that is too much to expect for most maintainers at this time.

'test' utility behavior question.

2010-08-30 Thread Oleksandr Gavenko
$ /bin/test -d echo ok ok $ /bin/test -d '' echo ok || echo must_be_error must_be_error POSIX require argument for -d, so behavior implementation depend. I can not check another 'test' implementation now. For me get error is more convenient, because this not break this code if $dir not

Re: 'test' utility behavior question.

2010-08-30 Thread Oleksandr Gavenko
On 2010-08-30 20:31, Eric Blake wrote: On 08/30/2010 11:27 AM, Oleksandr Gavenko wrote: $ /bin/test -d echo ok ok $ /bin/test -d '' echo ok || echo must_be_error must_be_error Both of these results match POSIX. Remember, POSIX describes different behaviors for one argument than for two

Re: simulating console input

2010-09-03 Thread Oleksandr Gavenko
On 03.09.2010 10:53, Peter Münster wrote: So my questions are: - Is it possible to write such a program: ConsoleKeypressSimulator.exe ? Try http://www.autohotkey.com/ Or try VBScript/JScript: $ cat command.js var process = WScript.CreateObject(WScript.Shell);

How 'exec 1-; exec 2-' work?

2010-09-03 Thread Oleksandr Gavenko
I develop gtk app under Windows and in order to run it I need start Cygwin X Windows. To start X Windows I use Makefile rule: .PHONY: cygwin-startx cygwin-startx: XWin -multiwindow But when I invoke this target in native GNU Emacs by M-x compile in *Compilation* buffer I see XWin

LC_ALL=ru_RU.cp1251 ls -l encoding problem.

2010-09-05 Thread Oleksandr Gavenko
As you can see user/group always printed in UTF-8 and discard LC_ALL=cp1251. $ LC_ALL=ru_RU.cp1251 mintty mintty ls English Русское mintty ls -l итого 0 drwx--+ 1 Администраторы Отсутствует 0 сен 5 21:06 English drwx--+ 1 sasha

Re: where was mention of what creates NUL files?

2010-09-20 Thread Oleksandr Gavenko
On 17.09.2010 20:12, Daniel Barclay wrote: Does anyone recall a mention of what in CygWin (or possibly Emacs) creates files with a simple name of NUL? I also use native Emacs and after some operation I got file with name NUL. I have a lot NUL files in many dirs, which can be removed only from

Re: [ANNOUNCEMENT] Testing: mintty-0.9b1-1

2010-09-20 Thread Oleksandr Gavenko
On 18.09.2010 13:35, Andy Koppe wrote: CHANGES Colours: - Added ability to set the 16 ANSI colours in the config file (or on the command line via the -o option), like so: 'Blue=0,0,255' or 'BoldGreen=128,255,128'. The manual has all the colour names. This is very useful. Thanks. -- Problem

CYGWIN=noglob remove double quotes from args.

2010-09-30 Thread Oleksandr Gavenko
As I understand docs if I set CYGWIN=noglob then command line arguments passed to Cygwin app WITHOUT changes. I use native Emacs build so worry about stop Cygwin damage passed arguments. And seems this is not true. With CYGWIN=noglob all double quotes removed from args! Originally I discaver

Re: Sending signals to a subprocess

2010-10-18 Thread Oleksandr Gavenko
On 16.10.2010 20:17, Ken Brown wrote: I could use some help fixing a longstanding bug in the Cygwin build of emacs, in which emacs is unable to send signals to subprocesses. This off top but I use native Emacs and have annoying bug: in C-x shell if I start cygwin app it can not be broken by

Re: Sending signals to a subprocess

2010-10-18 Thread Oleksandr Gavenko
On 18.10.2010 15:36, Ken Brown wrote: On 10/18/2010 4:46 AM, Oleksandr Gavenko wrote: On 16.10.2010 20:17, Ken Brown wrote: I could use some help fixing a longstanding bug in the Cygwin build of emacs, in which emacs is unable to send signals to subprocesses. This off top but I use native

Re: getting 'clear' to work in Emacs shell

2010-10-19 Thread Oleksandr Gavenko
On 18.10.2010 16:53, Jeff Rancier wrote: GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600) of 2003-03-27 on buffy GNU bash, version 3.2.51(24)-release (i686-pc-cygwin) CYGWIN_NT-5.1 1.7.7(0.230/5/3) 2010-08-31 09:58 Microsoft Windows XP Pro - Version 2002, SP3 The 'clear' work's in a Cygwin Bash

Re: getting 'clear' to work in Emacs shell

2010-10-19 Thread Oleksandr Gavenko
On 19.10.2010 11:55, Oleksandr Gavenko wrote: shell-mode does not understand terminal ESC sequences. For example there exist special functions: ansi-color-for-comint-mode-on ansi-color-for-comint-mode-off I want say that some useful terminal ESC sequences Emacs shell-mode can handle

Re: modification time disorder: touch-related?

2010-10-29 Thread Oleksandr Gavenko
On 28.10.2010 20:10, Robert McDougall wrote: In running Make, I find targets being remade that shouldn't have to be remade; being considered younger than the prerequisites from which they've just been made. It seems to happen especially with prerequisites created by `touch`: e.g.: $ cat

Why mc start without subshell by default?

2010-11-03 Thread Oleksandr Gavenko
I can turn on subshell by: $ mc -U This is useful by default or I miss something? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: R: Why mc start without subshell by default?

2010-11-03 Thread Oleksandr Gavenko
On 03.11.2010 11:14, Marco Atzeri wrote: --- Mer 3/11/10, Oleksandr Gavenko ha scritto: I can turn on subshell by: $ mc -U This is useful by default or I miss something? It is useful but there is one problem on cygwin. When you close mc the subshell will not exit, so you will finish

Re: [ANNOUNCEMENT] Updated: nano-2.2.5-1

2010-11-05 Thread Oleksandr Gavenko
On 04.11.2010 16:29, Lapo Luchini wrote: Version 2.2.5-1 of nano has been uploaded. nano is a text editor designed as a clone of pico, but rewritten from scratch to be faster and smaller while having greater functionality. You can find information about new features here:

GNU Make and command utility error with 100% cpu load.

2010-11-08 Thread Oleksandr Gavenko
Consider such simple Makefile: var := $(shell command -v mv) all: When I call: $ make clean I got output like 5 [main] make 768! _pinfo::dup_proc_pipe: DuplicateHandle failed, pid 768, hProcess 0x6B5, wr_proc_pipe 0x750, Win32 error 6

Re: GNU Make and command utility error with 100% cpu load.

2010-11-09 Thread Oleksandr Gavenko
On 08.11.2010 22:50, Oleksandr Gavenko wrote: Consider such simple Makefile: var := $(shell command -v mv) all: When I call: $ make clean Sorry I miss-type: $ make I got output like 5 [main] make 768! _pinfo::dup_proc_pipe: DuplicateHandle

__STRICT_ANSI__ with -std=c99

2010-03-22 Thread Oleksandr Gavenko
My code use strupr func which is defined in string.h. But with $ gcc -std=c99 -c -o grid.o grid.c I got grid.c:236: warning: implicit declaration of function 'strupr'. This is because with -std=c99 gcc define __STRICT_ANSI__: $ gcc -std=c99 -dM -E - /dev/null | grep __STRICT_ANSI__

Re: __STRICT_ANSI__ with -std=c99

2010-03-22 Thread Oleksandr Gavenko
On 2010.03.22 15:30, Tim Prince wrote: On 3/22/2010 6:03 AM, Oleksandr Gavenko wrote: Current workaround is undefine __STRICT_ANSI__: $ gcc -std=c99 -U__STRICT_ANSI__ -c -o grid.o grid.c Where is proper place to report issue? If you want c99 plus gcc extensions without warnings, how about

Re: __STRICT_ANSI__ with -std=c99

2010-03-22 Thread Oleksandr Gavenko
On 2010.03.22 15:34, Greg Chicares wrote: On 2010-03-22 13:03Z, Oleksandr Gavenko wrote: $ gcc -std=c99 -c -o grid.o grid.c [...] grid.c:236: warning: implicit declaration of function 'strupr'. I'd expect that warning, because C99 defines no strupr() function. Ok. But that the way

Run cmd.exe with /c.

2010-03-22 Thread Oleksandr Gavenko
I want execute .bat file. I think easy way to do this is invoke $COMSPEC to do that. Like this $(subst \,/,$(COMSPEC)) /c file.bat from Makefile. But cmd fail with error: bash# cat 1.bat @echo off echo xxx bash# cmd.exe /c 1.bat bash: /cygdrive/c/WINDOWS/system32/cmd.exe: Bad address I

Re: Run cmd.exe with /c.

2010-03-23 Thread Oleksandr Gavenko
On 2010.03.23 9:26, Linda Walsh wrote: Also if you want to use comspec, use it with cygpath: $(cygpath $COMSPEC) /c dir I try add $(error $(cygpath d:/tmp)) and temp: echo $(cygpath d:/tmp) But it seems $(cygpath ) not expanded to Cygwin path. My solution use $(subst

Re: [ANNOUNCEMENT] Updated: mintty-0.9.3-1

2010-12-08 Thread Oleksandr Gavenko
On 04.12.2010 23:47, Andy Koppe wrote: - Disabled flow control with ^S and ^Q by default, to stop unwary users from accidentally hanging their terminal and to make those keys available for other functions. To re-enable, use 'stty stop ^S start ^Q'. So I need update ~/.bashrc? Can this done

Where is 'getconf' utility?

2010-12-24 Thread Oleksandr Gavenko
I can not found 'getconf' utility in Cygwin. http://cygwin.com/cgi-bin2/package-grep.cgi?grep=getconf I search that same reported in 2003 and found some article where people have portability issue because utility is missing, like:

setup.exe now fast!

2010-12-26 Thread Oleksandr Gavenko
I recently found that new 'setup.exe' works much better. Before new changes 'setup.exe' require up to 10 minute to make list of available packages if they stored on Samba share in intranet and some quickly if they stored locally on hard drive. As I understand this change introduced in version

Re: [ANNOUNCEMENT] Updated: cppcheck-1.47-1

2011-02-10 Thread Oleksandr Gavenko
On 09.02.2011 13:50, Chris Sutcliffe wrote: Version 1.47-1 of cppcheck has been uploaded, following the upstream release. For a list of changes see: http://sourceforge.net/news/?group_id=195752id=295096 This is news for version 1.46. For 1.47 is

Please fix /etc/postinstall/gnupg.sh

2011-02-27 Thread Oleksandr Gavenko
After executing postinstall script for latest gnupg: $ cygcheck -f `which gpg` gnupg-1.4.9-2 /usr/share/info/dir updated with entry: * gpg: (gpg). OpenPGP encryption and signing tool (v1). But must be: * gpg: (gnupg1). OpenPGP encryption and signing tool (v1). This make gpg

Re: Please fix /etc/postinstall/gnupg.sh

2011-02-27 Thread Oleksandr Gavenko
On 2011-02-27 14:13, Oleksandr Gavenko wrote: After executing postinstall script for latest gnupg: $ cygcheck -f `which gpg` gnupg-1.4.9-2 /usr/share/info/dir updated with entry: * gpg: (gpg). OpenPGP encryption and signing tool (v1). But must be: * gpg: (gnupg1). OpenPGP encryption

cygwin-api.info.gz and cygwin-ug-net.info.gz look as malformed info file.

2011-03-02 Thread Oleksandr Gavenko
cygwin-api.info.gz and cygwin-ug-net.info.gz look as malformed info file. It does not parsable by info.exe and emacs.exe and dows not listened in 'dir' file. They seems do not contain any info specific syntax. But in header written: This is cygwin-ug-net.info, produced by makeinfo version

Error on executing /etc/postinstall/libgcj-common.sh

2011-03-02 Thread Oleksandr Gavenko
$ cd / $ LANG=c /etc/postinstall/libgcj-common.sh Customised /usr/lib/logging.properties already in existence, not overwriting. Installing default version of /usr/lib/security/classpath.security (from /etc/defaults/usr/lib/security/classpath.security) /bin/touch: cannot touch

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

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.

'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: [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

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

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

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

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/mc-4.7.5.3-1.tar.bz2

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

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: 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

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 EOF dir exit EOF so you can execute any cmd built-in command (as 'ver', 'dir',

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

'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

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' -e 's|=|\\=|g') for file in /etc/setup/*.lst.gz; do name=${file

'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

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

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 issue

'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:

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 use with latest Cygwin ??). Previously I

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

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: 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

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: 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

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

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

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

Re: Man and LANG issue.

2011-10-20 Thread Oleksandr Gavenko
20.10.2011 11:56, Markus Hoenicka пишет: Oleksandr Gavenko gave...@bifit.com.ua 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

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

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

  1   2   >