Using and linking CRT functions from Cygwin runtime binaries

2024-08-17 Thread Rafael Kitover via Cygwin
Hi, haven't been here in a while. I am building a Cygwin runtime dependent library with some Win32 API code. I ran into a couple of issues related to CRT functions (MSVCRT in the case of the Cygwin dll.) I got a linker error for an undefined symbol for the CRT function `stricmp()`. For the time b

Re: SHELLOPTS=igncr and bash --posix

2011-12-30 Thread Rafael Kitover
On 12/30/2011 1:06 AM, Dave Korn wrote: > On 29/12/2011 21:40, Rafael Kitover wrote: >> Some of my bash scripts, particularly ones that are #!/bin/bash --posix >> trigger a nasty warning when I have SHELLOPTS=igncr set in my ~/.zshrc: >> >> rkitover@eeebox ~/src/scala

broke my perlbrewed perl with rebase

2011-12-29 Thread Rafael Kitover
I made a perl to test some stuff with perlbrew, a 5.12.0. I installed some CPAN modules into it, then I needed to rebase because of mapping errors. I made a copy of perlrebase and modified it thusly: #!/bin/sh baseaddr=0x5700 perl=`which perl` dll=$(ldd $perl | $perl -anle 'print $F[2] if

SHELLOPTS=igncr and bash --posix

2011-12-29 Thread Rafael Kitover
Some of my bash scripts, particularly ones that are #!/bin/bash --posix trigger a nasty warning when I have SHELLOPTS=igncr set in my ~/.zshrc: rkitover@eeebox ~/src/scala % echo $SHELLOPTS igncr rkitover@eeebox ~/src/scala % bash --posix bash: SHELLOPTS: readonly variable this is rather unsightl

perlrebase, is there no better way?

2011-12-28 Thread Rafael Kitover
perlrebase is great, but it has some shortcomings. You often have to break out of a cpan install and run it then continue, then break out again, etc. to install some modules. It doesn't automatically detect local::lib and perlbrew libs (perhaps I can patch it for that.) Maybe support for a list o

Re: Double click to select within VIM behavior change

2011-12-28 Thread Rafael Kitover
On 12/28/2011 12:22 PM, Keith Christian wrote: ... > NOTE I'm not talking about double clicking text in the VIM window > that turns on the "-- VISUAL --" selection indicator, since that > operates solely within the VIM editor, and does not allow pasting the > selected text elsewhere. > > VIM

Re: vim colorscheme

2011-12-28 Thread Rafael Kitover
On 12/28/2011 4:47 PM, dirtyfishtank wrote: > > Hey all. Does anyone know how to change the color scheme for the vim editor > in Cygwin. > > I have the 'color' folder installed and in vi/vim mode I can use > :colorscheme to temporarily change the color of the background, > but it only works wit

Re: mouse doesn't work in vim in screen in mintty

2011-12-25 Thread Rafael Kitover
On 12/9/2011 8:23 PM, Rafael Kitover wrote: > When I run vim in mintty without screen, the mouse works, but inside > screen it does not. > > I tried changing the TERM to xterm before launching vim, but that > doesn't help, my TERM in screen is set to screen-256color and o

mouse doesn't work in vim in screen in mintty

2011-12-09 Thread Rafael Kitover
When I run vim in mintty without screen, the mouse works, but inside screen it does not. I tried changing the TERM to xterm before launching vim, but that doesn't help, my TERM in screen is set to screen-256color and outside it to xterm-256color. When I ssh to my linux in mintty and run vim insid

Re: Perl: Operation "bool": no method found

2011-03-11 Thread Rafael Kitover
On 3/11/2011 2:02 PM, Reini Urban wrote: > 2011/3/9 Ken Brown: >> On 3/8/2011 8:42 PM, Rafael Kitover wrote: >>> On 3/8/2011 2:14 PM, Ken Brown wrote: >>>> >>>> I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for >>>>

Re: native console apps from #!/bin/sh scripts

2011-03-11 Thread Rafael Kitover
On 3/11/2011 10:34 AM, Andrew DeFaria wrote: > On 03/11/11 02:59, Rafael Kitover wrote: >> I can run native console apps from a console in a cygwin shell fine, >> however, for some reason they don't work correctly from a #!/bin/sh >> script. >> >> E.g., fo

native console apps from #!/bin/sh scripts

2011-03-11 Thread Rafael Kitover
I can run native console apps from a console in a cygwin shell fine, however, for some reason they don't work correctly from a #!/bin/sh script. E.g., for activestate perl: TERM=dumb /c/Perl/bin/perl -MCPAN -e shell run from zsh prompt works correctly with readline support. Now if I put that in

Re: Perl: Operation "bool": no method found

2011-03-08 Thread Rafael Kitover
On 3/8/2011 2:14 PM, Ken Brown wrote: > I'm trying to build biber (http://biblatex-biber.sourceforge.net/) for > Cygwin. It is written in Perl. The documentation says to start by > running `perl Build.PL' in order to make sure that I have all the > required modules. This fails as follows: > > $

Re: Detect mintty in .zshrc?

2011-03-04 Thread Rafael Kitover
On 3/4/2011 7:26 AM, Andy Koppe wrote: > On 3 March 2011 18:31, Rafael Kitover wrote: >> I put this block at the top of my .zshrc: >> >> if [ "$TERM" = "cygwin" -o "$TERM" = "dumb" ]; then >> export RUNNING_IN_CONSOLE=1 >>

Re: winmm.dll error 487 is easily reproducible

2011-03-04 Thread Rafael Kitover
On 3/4/2011 5:13 AM, Corinna Vinschen wrote: > On Mar 4 05:03, Rafael Kitover wrote: >> On 3/4/2011 4:52 AM, Corinna Vinschen wrote: >>> On Mar 4 05:09, Andy Koppe wrote: >>>> On 2 March 2011 13:08, EXCOFFIER Denis wrote: >>>>> P.S.: By the way, what

Re: winmm.dll error 487 is easily reproducible

2011-03-04 Thread Rafael Kitover
On 3/4/2011 4:52 AM, Corinna Vinschen wrote: > On Mar 4 05:09, Andy Koppe wrote: >> On 2 March 2011 13:08, EXCOFFIER Denis wrote: >>> P.S.: By the way, what is the normal way to install snapshots? It is >>> easy to replace cygwin1.dll (keeping around the working one), but in order >>> to test the

Re: screen and native win console apps

2011-03-03 Thread Rafael Kitover
On 3/3/2011 1:51 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Rafael Kitover sent the following at Thursday, March 03, 2011 1:29 PM >> It seems when in screen in the console, native windows programs that use >> the console don't work correctly. > > Not unexpected. S

Re: ssh and user env vars from control panel

2011-03-03 Thread Rafael Kitover
I made this block for my .zshrc and .bashrc : if [ -z "$APPDATA" ]; then # ssh session, set env vars # this from Corinna at http://cygwin.com/ml/cygwin/2010-08/msg00246.html _sid=$(grep "^$USER:" /etc/passwd | sed -e 's/[^:]*:[^:]*:[^:]*:[^:]*:[^:]*,\(S-1-5-[^:]*\):.*/\1/') _prof=$(cat

Re: Detect mintty in .zshrc?

2011-03-03 Thread Rafael Kitover
On 3/3/2011 7:21 AM, Andy Koppe wrote: > On 3 March 2011 10:10, Rafael Kitover wrote: >> I was wondering if there's a way in my .zshrc to determine if the shell >> is running in mintty or in a regular windows console. > > Check $TERM. It defaults to 'xterm' i

screen and native win console apps

2011-03-03 Thread Rafael Kitover
It seems when in screen in the console, native windows programs that use the console don't work correctly. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin

Detect mintty in .zshrc?

2011-03-03 Thread Rafael Kitover
Hello, I was wondering if there's a way in my .zshrc to determine if the shell is running in mintty or in a regular windows console. I need to know this to set some environment variables correctly. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com

ssh and user env vars from control panel

2011-03-01 Thread Rafael Kitover
Hello list, I generally set most of my environment variables in the System control panel for my user, instead of in my .bashrc/.zshrc I noticed that when I log in to Cygwin via ssh, these environment variables are not available. Would this be considered a misfeature? I'll probably hack together

Re: ssh ... PTY allocation request failed on channel 0

2011-02-28 Thread Rafael Kitover
On 2/28/2011 8:51 PM, Mirko Vukovic wrote: > On Mon, Feb 28, 2011 at 8:45 PM, Mirko Vukovic wrote: >> Hello, >> >> I am trying to ssh to g...@github.com, and I get the error >> "PTY allocation request failed on channel 0" ... That message is coming from github.com, it does not allow opening intera

Re: The tree command

2011-02-15 Thread Rafael Kitover
On 2/15/2011 4:17 AM, Fergus wrote: >>> The source is here: >>> ftp://mama.indstate.edu/linux/tree/ >>> edit the Makefile to uncomment the Cygwin section and it will build > cleanly. > > Yes, works perfectly. > FWIW: I wish I'd edited the Makefile additionally to so that > prefix = /usr/local > ra

Re: The tree command

2011-02-15 Thread Rafael Kitover
On 2/14/2011 4:23 PM, Mark Hobley wrote: > It would be really useful to have a tree command available from the > cygwin shell. has anyone managed to find a working tree command yet? We could > really do with this in the cygwin archive. The source is here: ftp://mama.indstate.edu/linux/tree/ edi

Re: ADO does not work from bash

2011-02-13 Thread Rafael Kitover
On 2/9/2011 7:30 AM, Rafael Kitover wrote: > I first reported this problem to the Win32::OLE Perl module RT queue, > but as it turns out, the problem is in the Cygwin shell environment and > not in the Cygwin perl or the module. > > From Cygwin bash: > > $ perl -MWin32::OLE

ADO does not work from bash

2011-02-09 Thread Rafael Kitover
I first reported this problem to the Win32::OLE Perl module RT queue, but as it turns out, the problem is in the Cygwin shell environment and not in the Cygwin perl or the module. >From Cygwin bash: $ perl -MWin32::OLE -wle 'Win32::OLE->new("ADODB.Connection")' Win32::OLE(0.1709) error 0x8007007e

Re: /bin/rebaseall fails

2011-02-09 Thread Rafael Kitover
On 2/8/2011 10:42 AM, David Means wrote: When running rebaseall, I receive a #13 error from FixImage: $ /bin/rebaseall /usr/lib/cygicudata.dll: skipped because nonexistent /usr/lib/cygicui18n.dll: skipped because nonexistent /usr/lib/cygicuio.dll: skipped because nonexistent /usr/lib/cygicule.dl

Re: Default state of the desktop shortcut checkbox in setup.exe

2011-02-03 Thread Rafael Kitover
On 2/3/2011 6:26 AM, Bruce Cran wrote: Hi, I'd like to suggest making the default state of the desktop shortcut checkbox in setup.exe unchecked. This would make it follow Microsoft's desktop guidelines at http://msdn.microsoft.com/en-us/library/aa511450.aspx . I don't know about other people but

Re: bad PATH conversion under XP

2011-01-25 Thread Rafael Kitover
On 1/25/2011 7:14 PM, Cyrille Lefevre wrote: Hi, v2$ uname -a CYGWIN_NT-5.1 PC213736 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin aka Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 though SSH at least : v2$ regtool get /machine/SYSTEM/CurrentControlSet/Control/Session\ Manager/E

Re: windows paths in shebang lines

2011-01-25 Thread Rafael Kitover
On 1/23/2011 10:26 PM, Rafael Kitover wrote: On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ac

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 6:12 PM, Andrew DeFaria wrote: On 01/23/2011 05:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ac

Re: windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
On 1/23/2011 5:59 PM, Jeremy Bopp wrote: On 01/23/2011 03:47 PM, Rafael Kitover wrote: When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdr

windows paths in shebang lines

2011-01-23 Thread Rafael Kitover
When a script's shebang line has a windows path, rather than a cygwin path, it does not work: rkitover@eeebox ~ $ head -1 /cygdrive/c/Perl64/site/bin/ack #!C:\Perl64\bin\perl rkitover@eeebox ~ $ /cygdrive/c/Perl64/site/bin/ack --version Can't open perl script "/cygdrive/c/Perl64/site/bin/ack":

Re: failing to clone a git repo via ssh

2011-01-23 Thread Rafael Kitover
dbic_git_url git clone `whoami`@localhost:tmp/dbic_git_url dbic_ssh On 1/23/2011 5:01 AM, Rafael Kitover wrote: This repo clones fine in msysgit and on linux over ssh, but on cygwin this is what happens: $ git clone dbsrg...@git.shadowcat.co.uk:DBIx-Class.git dbic Cloning into dbic... Warning

failing to clone a git repo via ssh

2011-01-23 Thread Rafael Kitover
This repo clones fine in msysgit and on linux over ssh, but on cygwin this is what happens: $ git clone dbsrg...@git.shadowcat.co.uk:DBIx-Class.git dbic Cloning into dbic... Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentica

Re: More Weird Perl .dll Errors

2011-01-19 Thread Rafael Kitover
appy that my perl utils like App::Nopaste now work. On 1/18/2011 1:10 PM, Rafael Kitover wrote: On 1/17/2011 2:28 PM, Reini Urban wrote: 2011/1/15 Rafael Kitover: Hi Reini, I'm not having any luck: $ perl -MClass::XSAccessor -le 1 Can't load '/usr/lib/perl5/site_perl/5.1

Re: More Weird Perl .dll Errors

2011-01-18 Thread Rafael Kitover
On 1/17/2011 2:28 PM, Reini Urban wrote: 2011/1/15 Rafael Kitover: Hi Reini, I'm not having any luck: $ perl -MClass::XSAccessor -le 1 Can't load '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/XSAccessor/XSAccessor.dll' for module Class::X SAccessor: No such file

Re: More Weird Perl .dll Errors

2011-01-15 Thread Rafael Kitover
dll.dll => /cygdrive/c/Windows/SysWOW64/ntdll.dll (0x7748) kernel32.dll => /cygdrive/c/Windows/syswow64/kernel32.dll (0x7553) KERNELBASE.dll => /cygdrive/c/Windows/syswow64/KERNELBASE.dll (0x74d7) On 1/14/2011 12:00 PM, Reini Urban wrote: 2011/1/14

Re: More Weird Perl .dll Errors

2011-01-14 Thread Rafael Kitover
(/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) failed with last error = 13 This is Windows 7 64bit On 1/14/2011 4:35 AM, Matthias Andree wrote: Am 14.01.2011 10:21, schrieb Rafael Kitover: Something weird happened to my Class::MOP .dll : $ perl -MClass::MOP -le 1 Can't load

More Weird Perl .dll Errors

2011-01-14 Thread Rafael Kitover
Something weird happened to my Class::MOP .dll : $ perl -MClass::MOP -le 1 Can't load '/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/Class/MOP/MOP.dll' for module Class::MOP: No such fi le or directory at /usr/lib/perl5/5.10/i686-cygwin/XSLoader.pm line 70. at /usr/lib/perl5/site_perl/5.10/i

Re: CPAN::Reporter with metabase on cygwin

2011-01-13 Thread Rafael Kitover
ygwin :) On 1/12/2011 4:44 PM, Reini Urban wrote: 2011/1/11 Rafael Kitover: I've configured CPAN::Reporter and Test::Reporter::Transport::Metabase as per http://wiki.cpantesters.org/wiki/QuickStart But sometimes I see this really weird error message: (./Build test exited with 0) CPAN::Repo

CPAN::Reporter with metabase on cygwin

2011-01-11 Thread Rafael Kitover
Hello, I've configured CPAN::Reporter and Test::Reporter::Transport::Metabase as per http://wiki.cpantesters.org/wiki/QuickStart But sometimes I see this really weird error message: (./Build test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter: prepa

perl module .dll rebasing issues

2011-01-11 Thread Rafael Kitover
Hello, it seems the 'perlrebase' script does not fix my DLL mapping errors that I see when trying to install modules from the CPAN shell. This is what I see: CPAN.pm: Going to build A/AR/ARCANEZ/DBIx-Class-0.08126.tar.gz 3 [main] perl 3164 C:\cygwin\bin\perl.exe: *** fatal error - una

[PATCH] building epic5 (cvs version) in cygwin

2006-09-29 Thread Rafael Kitover
Minor changes for building epic5 in Cygwin. Change to perl.c based on http://www.mail-archive.com/modperl@perl.apache.org/msg09457.html I would be happy to move the checks for static XS incompatibility and AF_INET6 support into proper autoconf tests, if you guys would prefer. Please CC: me

[PATCH] building epic4 (CVS version 1.39) in Cygwin

2006-09-29 Thread Rafael Kitover
This is a minor fix for building epic4 from CVS on Cygwin cleanly. Please CC: me on responses, if possible. Thank you! Index: configure === RCS file: /home/cvs/repository/epic4/configure,v retrieving revision 1.39 diff -u -3 -p -r1.

[PATCH] rebase: Pick up more dlls when using rebaseall

2004-02-21 Thread Rafael Kitover
This modification to the rebaseall script will allow it to work on .dll extensions created by Perl modules downloaded from CPAN, ie using perl -MCPAN -e shell, site python dlls, and any dlls that can be found in /usr/local, /install, /home and /opt. find does not recurse into symlinked directorie

Re: new cygwin window from script?

2004-02-21 Thread Rafael Kitover
cygstart /cygwin.bat -- Rafael - Original Message - From: "linux dr." haughtmail.com> To: cygwin.com> Sent: Saturday, February 21, 2004 5:29 PM Subject: new cygwin window from script? > Sorry if this is a repost... didn't seem to post through nntp. > > I'm trying to generate a new cy

RE: WML (perl-based program) segfaults

2004-02-20 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Wolfgang Schnerring >Sent: Tuesday, February 10, 2004 7:27 AM >To: [EMAIL PROTECTED] >Subject: WML (perl-based program) segfaults > [SNIP] >Starting program: /cygdrive/d/wosc/install/Cygwin/wml- >2.0.9/wml_

RE: Tk usage with / from perl in Cygwin env

2004-02-20 Thread Rafael Kitover
>-Original Message- >From: linda w >Sent: Thursday, February 19, 2004 5:24 PM >Subject: Tk usage with / from perl in Cygwin env > >Has anyone tried using Tk from perl? [SNIP] According to Gerrit, http://anfaenger.de/cygwin-1.5/perl/ -- Rafael -- Unsubscribe info: http://cygwin.com

RE: Assembler

2004-02-20 Thread Rafael Kitover
>-Original Message- >From: Krzysztof Duleba >Sent: Thursday, February 19, 2004 4:11 PM >Subject: Re: Assembler > >Krzysztof Duleba wrote: >> >> > Googling brought me to http://line.sourceforge.net, >> > which may be more along the lines of what you seek. >> >> I tried it out, with no succes

RE: cygrunsrv feature request

2004-02-20 Thread Rafael Kitover
>-Original Message- >From: Richard Duran >Sent: Friday, February 20, 2004 1:28 AM >Subject: cygrunsrv feature request > >Sorry if this is the wrong list, but is there any chance an option/flag >could be added to "cygrunsrv -I" that would allow the program to show up >(in ps) under a name ot

RE: piping problems with cron+4nt

2004-02-18 Thread Rafael Kitover
Perhaps try using the cygstart utility, in conjunction with --hide? >-Original Message- >From: Mironov, Leonid {PBG} >Sent: Wednesday, February 18, 2004 12:59 AM >Subject: piping problems with cron+4nt > >I've got a bunch of legacy 4NT batches I want to run from cygwin cron. When >run from

RE: problem extending perl-5.8.2-1 via CPAN: Storable.dll

2004-02-18 Thread Rafael Kitover
This is an issue related to rebasing DLLs. There's a "rebaseall" utility in Cygwin to fix this, unfortunately it does not pick up non-package DLLs, including Perl extensions installed from CPAN shell. I've made some changes to that script so that it does...which reminds me I need to send out a pat

RE: search and replace tool

2004-02-18 Thread Rafael Kitover
Not really cygwin specific, you can do something like: perl -pi -e 's/old text/new text/' `find /where -name '*.txt'` note those are backticks surrounding the find. Use -pi.bak to make backup files in case you screw up. You will of course need to know how to use regular expressions (see man perl

RE: DBD::Pg - $dbh->quote() causes core dump

2004-02-17 Thread Rafael Kitover
Hi Ian, There was some memory allocation related funkiness in DBD::Pg that the attached patch fixes. You can apply it to both 1.31 and 1.32_1. Bug posted on CPAN: http://rt.cpan.org/NoAuth/Bug.html?id=5357 -- Rafael >-Original Message- >From: Ian Sealy >Sent: Monday, February 16, 2004

RE: localtime_r not returning local time

2004-02-12 Thread Rafael Kitover
Would it be a lot of overhead to have something like tzset be called in the bootstrap code for launching Cygwin programs? Or maybe just have a DLL global default, based on windows time zone, and just allow processes to reset it for themselves (and any children.) -- Rafael >-Original Message-

RE: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]

2004-02-12 Thread Rafael Kitover
Please try installing perl-libwin32 package, and set: export PERL5OPT="-MWin32" in your environment. HTH -- Rafael >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >linda w >Sent: Thursday, February 12, 2004 10:08 AM >To: [EMAIL PROTECTED] >Subject:

RE: 1.5.7: make hangs on XP (with HT)

2004-02-06 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Rolf Campbell >Sent: Thursday, February 05, 2004 8:40 AM >To: [EMAIL PROTECTED] >Subject: 1.5.7: make hangs on XP (with HT) > >I've been trying to narrow the problem I've been having with make (-j) >and pro

RE: compile needs netfilter_ipv4.h

2004-02-05 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Henning >Sent: Thursday, February 05, 2004 2:18 PM >To: [EMAIL PROTECTED] >Subject: compile needs netfilter_ipv4.h > >Hi > >I just installed cygwin and am trying to compile 'reaim' which requires >'netfilte

RE: Re: terminal size problems

2004-02-04 Thread Rafael Kitover
>$TERM is fine, but I found that forcing an eval `resize` on the remote >side gets things to work. I'm still confused about why this is neccessary >for cygwin (I tried the latest snapshot as Brian suggested to no avail). >Also the difference between telnet and rlogin behavior seems unexpected >to

RE: update via setup.exe removed NTFS junction?

2004-02-03 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Robert Collins >Sent: Tuesday, February 03, 2004 4:36 PM >To: Robert R Schneck >Cc: [EMAIL PROTECTED] >Subject: Re: update via setup.exe removed NTFS junction? > >On Wed, 2004-02-04 at 11:25, Robert R Schne

RE: Text entry to command line program

2004-02-03 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Ross Boulet >Sent: Tuesday, February 03, 2004 4:28 PM >To: [EMAIL PROTECTED] >Subject: RE: Text entry to command line program > >> >> Try something like: >> >> CYGWIN=notty sqlplus >> > >Is that saying nott

RE: Segmentation fault (core dumped)

2004-02-03 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Eva Bordeaux >Sent: Tuesday, February 03, 2004 4:40 PM >To: [EMAIL PROTECTED] >Subject: Segmentation fault (core dumped) > >Hello, I try to run my program on Windows machine using Cygwin. > >$ make clean al

RE: Program randomly hangs after upgrading to cygwin 1.5.7

2004-02-03 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Volker Quetschke >Sent: Tuesday, February 03, 2004 1:12 PM >To: [EMAIL PROTECTED] >Subject: Re: Program randomly hangs after upgrading to cygwin 1.5.7 > >Hi Rafael, >> Are you using a win32 native compiled

RE: Text entry to command line program

2004-02-03 Thread Rafael Kitover
Try something like: CYGWIN=notty sqlplus >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Ross Boulet >Sent: Monday, February 02, 2004 2:12 PM >To: [EMAIL PROTECTED] >Subject: RE: Text entry to command line program > > >> -Original Message- >> F

RE: Program randomly hangs after upgrading to cygwin 1.5.7

2004-02-03 Thread Rafael Kitover
Are you using a win32 native compiled dmake or did you compile a copy of dmake as a Cygwin binary? Either way, did you compile dmake with debugging support? >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Volker Quetschke >Sent: Sunday, February 01, 200

RE: verilator on cygwin - unexplained errors

2004-01-31 Thread Rafael Kitover
need to compile a MinGW app. -- Rafael > > >"Rafael Kitover" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> I went into perl -MCPAN -e shell, typed "install SystemC::Parser" and it >> installed fine for me... [SNIP] --

RE: FlexLexer.h

2004-01-31 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Pinhas Krengel >Sent: Saturday, January 31, 2004 12:08 AM >To: [EMAIL PROTECTED] >Subject: FlexLexer.h > >Is this files suppose to come with any package of cygwin. This page: http://cygwin.com/packages/

RE: Problems with tcl "exec" command and "sh" in Cygwin.

2004-01-31 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Gancho Tenev >Sent: Friday, January 30, 2004 7:51 PM >To: [EMAIL PROTECTED] >Subject: Problems with tcl "exec" command and "sh" in Cygwin. > [SNIP] >script: 1.tcl >-- >#!/bin/sh

RE: verilator on cygwin - unexplained errors

2004-01-30 Thread Rafael Kitover
I went into perl -MCPAN -e shell, typed "install SystemC::Parser" and it installed fine for me... -- Rafael >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Pinhas Krengel >Sent: Friday, January 30, 2004 11:10 AM >To: [EMAIL PROTECTED] >Subject: Re: ve

RE: C COM objects?

2004-01-29 Thread Rafael Kitover
Hi Michael, I remembered your sig from a Slashdot article :) If COM and OLE are similar beasties, I think you mean -fvtable-thunks. GCC 2.95 required -fvtable-thunks to build OLE stuff, like the Win32::OLE module in the perl-libwin32 package, but since GCC 3.x it works fine as it is, and that opti

RE: Rsync, Cygwin and ACL support

2004-01-29 Thread Rafael Kitover
It seems there's no posix acl support in Cygwin, as far as I could see. The libraries are here if anyone wants to try porting them to Win32 acls: ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/acl-2.2.15.src.tar.gz ftp://oss.sgi.com/projects/xfs/latest/cmd_tars/attr-2.4.8.src.tar.gz -- Rafael

RE: Insecure Dependency in Net::DNS with Cygwin (WAS: Cygwin, win98, SA, Perl IO::Socket (Insecure dependency))

2004-01-29 Thread Rafael Kitover
Chris Reinhardt fixed the problem, which turned out to be something related to the configuration parser in Net/DNS/Resolver/Cygwin.pm, and it works now! If you were having problems with SpamAssassin+Cygwin before, or other strange Net::DNS problems, please try this snapshot: http://www.net-dns.or

RE: What is wrong with my bison

2004-01-28 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Pinhas Krengel >Sent: Wednesday, January 28, 2004 8:21 AM >To: [EMAIL PROTECTED] >Subject: What is wrong with my bison > >While tring to build some CPAN module it yells: >Do I need to update mycygwin instal

RE: Installation on Windows 2K server

2004-01-28 Thread Rafael Kitover
>Question, is there a way to get the latest version on >a CD or a way to download packages to another machine >so that I can copy them to a cd to install. I'm >interested in all of the packages. Run http://www.cygwin.com/setup.exe and choose "download download from internet" on the first screen.

Insecure Dependency in Net::DNS with Cygwin (WAS: Cygwin, win98, SA, Perl IO::Socket (Insecure dependency))

2004-01-28 Thread Rafael Kitover
Here's some information about a bug with Net::DNS when running under taint mode, previously reported here: http://www.cygwin.com/ml/cygwin/2004-01/msg01062.html #!/usr/bin/perl -T use strict; use warnings; use Net::DNS; use Carp; $SIG{__DIE__} = sub { confess @_ }; my

RE: perlcc does not work on my cygwin-please help

2004-01-27 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Pinhas Krengel >Sent: Tuesday, January 27, 2004 9:09 AM >To: [EMAIL PROTECTED] >Subject: perlcc does not work on my cygwin-please help > >perlcc does not work on my cygwin (win XP). I have tried to re-insta

RE: bash, dircolors, setsid and a stackdump

2004-01-27 Thread Rafael Kitover
I just compiled the cygwin dll from latest CVS, and the problem reported in this thread, ie the script: -- #!/bin/bash echo foo sleep 10 -- When run with "setsid bash script.sh" no longer produces a stackdump and works correctly. -- Rafael -- Unsubscribe info: http

RE: bash, dircolors, setsid and a stackdump

2004-01-22 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >David Rothenberger >Sent: Thursday, January 22, 2004 10:32 AM >To: [EMAIL PROTECTED] >Subject: bash, dircolors, setsid and a stackdump > >I've just encountered a very strange problem involving setsid, rxvt,

RE: grep doesn't work w/ latest cygwin

2004-01-22 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >stillwater269 >Sent: Wednesday, January 21, 2004 8:08 PM >To: [EMAIL PROTECTED] >Subject: grep doesn't work w/ latest cygwin > >I've downloaded the latest cygwin for the first time >yesterday (1/20/04). Do

RE: [ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1

2004-01-22 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Edward S. Peschko >Sent: Wednesday, January 21, 2004 4:58 PM >To: [EMAIL PROTECTED] >Subject: Re: [ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1 > >exceedingly cool... > >Just curious, but are

[ANNOUNCEMENT] New Package Available: perl-libwin32-0.191-1

2004-01-21 Thread Rafael Kitover
Description = The libwin32 Perl library that provides access to the Win32 API, and is installed by default with ActivePerl, is now available as a Cygwin package. The CORE Win32 methods in ActivePerl such as Win32::GetLastError() (see man Win32 or perldoc Win32)

RE: Question regarding perl and perl-libwin32 using the latest cygwin ... and an anomaly

2004-01-21 Thread Rafael Kitover
Hi Alan, My apologies for not sending out an announcement about this package, was waiting for the 1.5.7 stuff to die down a bit first, but I will shortly. >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of >Alan Miles >Sent: Tuesday, January 20, 2004 9:26

some notes on debugging screen (long) (was: cygwin-1.5.6-1 Vim now broken)

2004-01-20 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor >Sent: Tuesday, January 20, 2004 9:11 AM >To: [EMAIL PROTECTED] >Subject: Re: cygwin-1.5.6-1 Vim now broken > [SNIP] >>I guess it'd be a show stopper if screen were part of Cygwin. Still,

RE: HEADSUP: Apache maintainer wanted!

2004-01-20 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Corinna Vinschen >Sent: Tuesday, January 20, 2004 5:54 AM >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Subject: HEADSUP: Apache maintainer wanted! > >Hi, > >The apache package is without maintainer for two

RE: cygwin-1.5.6-1 Vim now broken

2004-01-19 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor >Sent: Monday, January 19, 2004 8:37 PM >To: [EMAIL PROTECTED] >Subject: Re: cygwin-1.5.6-1 Vim now broken > >And, no, screen becoming screwed up in an rxvt session is not a show >stopper.

Re: package conffiles (was: man 1.5k-2 is broken)

2004-01-19 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alejandro >Lopez-Valencia >Sent: Monday, January 19, 2004 11:08 AM >To: Cygwin List >Subject: Re: man 1.5k-2 is broken > >On Sunday, January 18, 2004 8:44 PM [GMT-5], >Larry Hall wrote: > >> At 11:03 AM 1/1

RE: Cygwin/DBD::ODBC issue

2004-01-17 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerrit P. Haase >Sent: Saturday, January 17, 2004 9:17 AM >To: Rafael Kitover >Cc: [EMAIL PROTECTED] >Subject: Re: Cygwin/DBD::ODBC issue > >Hallo Rafael, > >Am Freitag, 16.

RE: deleting a file ending with a dot

2004-01-16 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor >Sent: Friday, January 16, 2004 1:58 PM >To: [EMAIL PROTECTED] >Subject: Re: deleting a file ending with a dot > >On Fri, Jan 16, 2004 at 12:37:01PM -0800, Andrew DeFaria wrote: >>(It'd be

RE: Cygwin/DBD::ODBC issue

2004-01-16 Thread Rafael Kitover
Hi Tommie, DBD::ODBC seems like a very useful module to have available for Cygwin. Could you post the patch you ended up having? I'll try to get it to the maintainer(s). Also, what ODBC driver manager did you use? What is your ODBCHOME environment variable set to? Thanks! >-Original Messag

RE: deleting a file ending with a dot

2004-01-16 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew DeFaria >Sent: Friday, January 16, 2004 12:39 PM >To: [EMAIL PROTECTED] >Subject: Re: deleting a file ending with a dot >(It'd be nice if fuser worked under Cygwin but I realize that might be a >sign

RE: bug in cygwin build of Make

2004-01-15 Thread Rafael Kitover
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Pearce >Sent: Thursday, January 15, 2004 1:25 PM >To: [EMAIL PROTECTED] >Subject: Re: bug in cygwin build of Make > [SNIP] > > >CVSVIEW= $(shell if [ -e CVS/Repository ]; then echo ${CURDIR} | sed

RE: Python 2.3 Cygwin and SIP and PyQT

2004-01-15 Thread Rafael Kitover
Those files would be in the Python library, see if you have a file such as: /lib/python2.3/config/libpython2.3.dll.a Then add something like the following to the link command in your Makefile: -L/lib/python2.3/config/ -lpython2.3.dll Also check ./configure --help, there might an option like --w

Re: Tool to decrease a size of jpg file

2003-12-21 Thread Rafael Kitover
Sorry for failing to RTFM, but apparently there is an ImageMagick package in Cygwin already: http://cygwin.com/cgi-bin2/package-cat.cgi?file=ImageMagick/ImageMagick- 5.5.7-1&grep=image So you don't need to compile anything. Once you have ImageMagick installed, to reduce the size of a jpg file, a

Re: Tool to decrease a size of jpg file

2003-12-20 Thread Rafael Kitover
You should be able to compile imagemagick without much problem, get the unix source from: http://www.imagemagick.org/www/archives.html? You could also just install the windows binaries and put them in your Cygwin PATH. -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simpl

[ANNOUNCEMENT] Win32::GUI Perl module available for Cygwin and MinGW

2003-12-14 Thread Rafael Kitover
I've added the Win32::GUI module to libwin32, which allows you to do...Win32 GUI stuff in Perl. Download it here: http://sourceforge.net/projects/libwin32-exp/ -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Do

Re: is there a screen for cygwin?

2003-12-12 Thread Rafael Kitover
Try my extremely modified version here: http://www.io.com/~rkitover/screen-3.9.13.tar.gz I haven't worked on it in quite a while, detach is still broken and it's a few versions behind now, but you will have working screen sessions. -- Rafael -- Unsubscribe info: http://cygwin.com/ml/#unsu

Question about default base address and offset for rebasing DLLs

2003-12-10 Thread Rafael Kitover
I noticed that the /bin/rebaseall script assumes the following: DefaultBaseAddress=0x7000 DefaultOffset=0x1 Is this going to be the standard base and offset for DLLs in Cygwin? Is this then a reasonable thing to include in the Cygwin hints file for my Perl project: package MY; sub MY::d

rebaseall breaks zsh?

2003-12-10 Thread Rafael Kitover
I noticed that the rebaseall scripts rebases /usr/bin/libzsh-4.0.4.dll and the modules in /usr/lib/zsh/4.1.1/zsh/*.dll, and that this breaks zsh. Rebasing libzsh stops zsh from starting, and rebasing the modules stops them from loading. If this is the case, and not just something messed up on my s

  1   2   >