Re: Problem with gpc on 1.7.1

2010-01-15 Thread Dave Korn
Yuri Gribov wrote: > Here are the symptoms. I try to compile a simple Pascal program (see > attach). When it's name is lowercase (say temp.pas) it compiles fine: > $ gpc temp.pas > temp.pas:0: warning: missing program header > > but when I change it to uppercase (TEMP.PAS) I get internal compiler

Re: 1.7.1: terminal not passing Ctrl-C to sub-sub cygwin processes

2010-01-15 Thread Rolf Campbell
On 2010-01-15 18:22, Christopher Faylor wrote: On Fri, Jan 15, 2010 at 05:00:37PM -0500, Rolf Campbell wrote: From within cygwin python, if I call os.system running a cygwin sub-process, and I hit Ctrl-C while that cygwin sub-process is running, the Ctrl-C does nothing (absolutely nothing -- no

cygpath problem on last snapshot

2010-01-15 Thread Marco Atzeri
Hi, on latest $ uname -v 20100114 15:57:50 $ cygpath -w / C:\cygwin2 Aborted (core dumped) no problems on the previous 20100101 Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc

Re: 1.7.1: terminal not passing Ctrl-C to sub-sub cygwin processes

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 05:00:37PM -0500, Rolf Campbell wrote: > From within cygwin python, if I call os.system running a cygwin >sub-process, and I hit Ctrl-C while that cygwin sub-process is running, >the Ctrl-C does nothing (absolutely nothing -- nothing is printed, >nothing terminates, no so

Re: Path problems with libgmpxx.la, libppl.la, libppl_c.la and libcloog-ppl.la - a work around

2010-01-15 Thread Dave Korn
Dave Korn wrote: > David Billinghurst wrote: > >> I won't release a fixed set of gmp packages at present as a new upstream >> release gmp-4.3.2 is imminent (late December 2009). For the moment, >> affected users will need to edit the installed libgmpxx.la file. > > The /usr/sbin/fix-libtool-sc

Re: Windows call SetFileValidData() fails on cygwin 1.5.25-15 usign gcc 3.4.4

2010-01-15 Thread Larry Hall (Cygwin)
On 01/15/2010 07:47 AM, cyg...@riemens.org wrote: Hi all, My aim is to allocate a (large) file on disk and write somewhere at the end without being hit by the performance penalty of zero-filling that NTFS executes by default. Therefore, I try to use SetFileValidData() but this consistently repo

Re: Path problems with libgmpxx.la, libppl.la, libppl_c.la and libcloog-ppl.la - a work around

2010-01-15 Thread Dave Korn
David Billinghurst wrote: > > I won't release a fixed set of gmp packages at present as a new upstream > release gmp-4.3.2 is imminent (late December 2009). For the moment, > affected users will need to edit the installed libgmpxx.la file. The /usr/sbin/fix-libtool-scripts-for-latest-gcc-runt

1.7.1: terminal not passing Ctrl-C to sub-sub cygwin processes

2010-01-15 Thread Rolf Campbell
From within cygwin python, if I call os.system running a cygwin sub-process, and I hit Ctrl-C while that cygwin sub-process is running, the Ctrl-C does nothing (absolutely nothing -- nothing is printed, nothing terminates, no sound is made -- it's as if I didn't press the key at all). I've at

Re: missing setup command line arguments in the FAQ.

2010-01-15 Thread Corinna Vinschen
On Jan 15 13:47, Christopher Faylor wrote: > On Fri, Jan 15, 2010 at 12:32:12PM -0500, Buchbinder, Barry (NIH/NIAID) [E] > wrote: > >The command line arguments listed in the FAQ > >http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli > >are incomplete. The following are missing. > > > > -O --onl

Re: 1.7.1 hangs on 000-cygwin-post-install.sh

2010-01-15 Thread Corinna Vinschen
On Jan 15 16:48, Frank Fesevur wrote: > 2010/1/15 Corinna Vinschen: > > On Jan 15 11:03, Frank Fesevur wrote: > >> 2010/1/14 David Sherrets: > >> > I have a newer Dell machine. The hardware encryption API DLL > >> > (wxvault.dll) interferes with many Cygwin packages. > >> > This can be fixed stoppi

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-15 Thread Eric Blake
Brian Wilson ds.net> writes: > > The pipe is what spawns the sub shell. In Unix the last process runs in your > current shell. In Linux the first process of the pipe runs in the current > shell. The difference is that when the while statement (which is run in the > sub shell) finishes the

RE: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-15 Thread Brian Wilson
The pipe is what spawns the sub shell. In Unix the last process runs in your current shell. In Linux the first process of the pipe runs in the current shell. The difference is that when the while statement (which is run in the sub shell) finishes the sub shell dies and any variable changes ar

Re: Fwd: cygwin 1.7.1 cygrunsrv-sshd - unable to login

2010-01-15 Thread Larry Hall (Cygwin)
On 01/15/2010 02:18 PM, LogicDaemon wrote: Hi all. I am trying to set up ssh server as service in standalone Windows 2003. Sorry if this already was questioned but I did not find anything related in near maillist archive. After ssh-host-config I'm getting sshd service, which does not accept a

Fwd: cygwin 1.7.1 cygrunsrv-sshd - unable to login

2010-01-15 Thread LogicDaemon
Hi all. I am trying to set up ssh server as service in standalone Windows 2003. Sorry if this already was questioned but I did not find anything related in near maillist archive. After ssh-host-config I'm getting sshd service, which does not accept any logins (log "-d -d" attached, found noth

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 13:40:53 -0500, Christopher Faylor wrote: > On Fri, Jan 15, 2010 at 11:19:27AM +0100, Corinna Vinschen wrote: >>On Jan 15 11:07, Vincent R. wrote: >>> >>> >>> >>> On 14/01/2010 14:20, Reini Urban wrote: >>> >>> I have a working cygwin llvm and llvm-gcc, >>> but h

Re: missing setup command line arguments in the FAQ.

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 12:32:12PM -0500, Buchbinder, Barry (NIH/NIAID) [E] wrote: >The command line arguments listed in the FAQ >http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli >are incomplete. The following are missing. > > -O --only-site Ignore all sites except fo

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 11:19:27AM +0100, Corinna Vinschen wrote: >On Jan 15 11:07, Vincent R. wrote: >> >>> >> >>> On 14/01/2010 14:20, Reini Urban wrote: >> >> I have a working cygwin llvm and llvm-gcc, >> but had no time to produce a proper package yet. >> Attached are my cyg

Re: minor error from /etc/fstab

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 10:58:19AM +0100, Corinna Vinschen wrote: >On Jan 14 16:21, Paul McFerrin wrote: >> I always get the following error when cygwin1.dll gets loaded for >> the first time: >> >> 1 [main] ksh 3000 read_flags: invalid fstab option - '0' >> >> Anyone know why I see such a messa

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-15 Thread Christopher Faylor
On Fri, Jan 15, 2010 at 07:53:43AM +0100, Thomas Wiedmann wrote: >> mount -f E:/Temp /tmp >Thanks, that worked. > >> And, if you want this to be permanent you need to *put* it in >> /etc/fstab. >My /etc directory in Cygwin has no fstab. >Can I create it manually in Cygwin and does it work like in L

missing setup command line arguments in the FAQ.

2010-01-15 Thread Buchbinder, Barry (NIH/NIAID) [E]
The command line arguments listed in the FAQ http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli are incomplete. The following are missing. -O --only-site Ignore all sites except for -s -P --packages Specify packages to install -C --categories

Re: 1.7.1 hangs on 000-cygwin-post-install.sh

2010-01-15 Thread Frank Fesevur
2010/1/15 Corinna Vinschen: > On Jan 15 11:03, Frank Fesevur wrote: >> 2010/1/14 David Sherrets: >> > I have a newer Dell machine. The hardware encryption API DLL >> > (wxvault.dll) interferes with many Cygwin packages. >> > This can be fixed stopping this DLL from loading at startup. >> > (use Aut

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: 2010/1/15 Niklaus Kuehnis: If you want to be sure to use UTF-8, then say so: export LANG=de_CH.UTF-8. I set this variable (and also LC_CTYPE and LC_ALL), and printing with umlauts with bare a2ps works fine now. Thanks! I can't confirm that. Sure you were printing a UTF-8

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 15:18:28 +0100, Corinna Vinschen > On Jan 15 11:40, Vincent R. wrote: >> It's not too difficult to add Dl_info definition (We will support only >> retrieving path name): >> >> typedef struct >> { >> const char *dli_fname[PATH_MAX]; /* Filename of defining object >

[ANNOUNCEMENT] New: arj 3.10.22-1 -- archiver for .arj files

2010-01-15 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://www.sourceforge.net/projects/arj License : GPL An open source version of the arj archiver. This version has been created with the intent to preserve maximum compatibility and retain the feature set of original ARJ archiver as provided by A

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:40, Vincent R. wrote: > It's not too difficult to add Dl_info definition (We will support only > retrieving path name): > > typedef struct > { > const char *dli_fname[PATH_MAX]; /* Filename of defining object */ > void*dli_fbase; /* NA */ > const

RE: Man pages garbled in 1.7.1

2010-01-15 Thread Nellis, Kenneth
> From: Jeenu V > Sent: Friday, January 15, 2010 04:32 > To: cygwin@cygwin.com > Subject: Man pages garbled in 1.7.1 > > Hi, > > I upgraded to 1.7.1. But now I see my man page very difficult read; > for instance it replaces hyphens with a-cap, and stuff like that. > Could somebody suggest a solut

Re: Man pages garbled in 1.7.1

2010-01-15 Thread Jeenu V
On Fri, Jan 15, 2010 at 7:08 PM, Niklaus Kuehnis wrote: > Jeenu V schrieb: > >> I upgraded to 1.7.1. But now I see my man page very difficult read; >> for instance it replaces hyphens with a-cap, and stuff like that. >> Could somebody suggest a solution? > > Manpages get better if you switch your

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-15 Thread Mark J. Reed
On Friday, January 15, 2010, Thomas Wolff wrote: > As was responded before, this isn't supposed to work in a pipe. Not in ksh > either, I think, No, it works in real ksh. If the last command in a pipeline is a builtin, it is run in the current shell. $ unset foo bar $ echo ${foo=hiya} | read

Re: 1.7.1 hangs on 000-cygwin-post-install.sh

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:03, Frank Fesevur wrote: > 2010/1/14 David Sherrets: > > I too experienced the same problem. > > The fix for me was this... > > > > I have a newer Dell machine. The hardware encryption API DLL > > (wxvault.dll) interferes with many Cygwin packages. > > This can be fixed stopping this D

Re: ps -eaf not listing all server processes on Windows Server 2008

2010-01-15 Thread Corinna Vinschen
On Jan 15 13:04, Bengt Albjerg wrote: > Using Cygwin 1.7.1-1 on Windows Server 2008. Using ps -eaf. I need a listing > of > all server processes, but on Windows Server 2008 and Cygwin 1.7.1-1 you can > only > get a list of the processes, owned by you and not all servers processes. This > is > a

ps -eaf not listing all server processes on Windows Server 2008

2010-01-15 Thread Bengt Albjerg
Using Cygwin 1.7.1-1 on Windows Server 2008. Using ps -eaf. I need a listing of all server processes, but on Windows Server 2008 and Cygwin 1.7.1-1 you can only get a list of the processes, owned by you and not all servers processes. This is a new behavior. Is it possiple to get all the servers pro

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Andy Koppe
2010/1/15 Niklaus Kuehnis: >> If you want to >> be sure to use UTF-8, then say so:  export LANG=de_CH.UTF-8. > > I set this variable (and also LC_CTYPE and LC_ALL), and printing with > umlauts with bare a2ps works fine now. Thanks! I can't confirm that. Sure you were printing a UTF-8 file there?

Re: 1.7.1: problem with public key authentication on domain accounts

2010-01-15 Thread Andrew Ng
Corinna Vinschen cygwin.com> writes: > > On Jan 14 17:32, Andrew Ng wrote: > > What I did was to change the group of my domain user to be "Administrators" > > in > > "/etc/passwd" rather than the domain group. This stops the following error > > from > > occurring every time I try to ssh to my mac

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Corinna Vinschen schrieb: I've now read that page. As UTF-8 is generally the preferred charset, I would like to stick to it. Does changing the language, e.g. to de_CH, change umlaut handling? It doesn't seem to, here. It does, though. If you read the page you have learned that setting LANG to

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
On Fri, 15 Jan 2010 11:19:27 +0100, Corinna Vinschen wrote: > On Jan 15 11:07, Vincent R. wrote: >> >>> >> >>> On 14/01/2010 14:20, Reini Urban wrote: >> >> I have a working cygwin llvm and llvm-gcc, >> but had no time to produce a proper package yet. >> Attached are my cygport

[Re:] Language vs character settings [Re: How to print textfiles in Cygwin 1.7?]

2010-01-15 Thread Thomas Wolff
Niklaus Kuehnis wrote: ... As UTF-8 is generally the preferred charset, I would like to stick to it. Does changing the language, e.g. to de_CH, change umlaut handling? It doesn't seem to, here. That depends... If you just have LANG in your environment to indicate the UTF-8 character set, or ev

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:18, Corinna Vinschen wrote: > On Jan 15 11:08, Niklaus Kuehnis wrote: > > Corinna Vinschen schrieb: > > >http://cygwin.com/cygwin-ug-net/setup-locale.html > > > > I've now read that page. As UTF-8 is generally the preferred > > charset, I would like to stick to it. Does changing the l

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:07, Vincent R. wrote: > >>> > >>> On 14/01/2010 14:20, Reini Urban wrote: > > I have a working cygwin llvm and llvm-gcc, > but had no time to produce a proper package yet. > Attached are my cygport files and my local config. > No patches were needed. > > >

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Corinna Vinschen
On Jan 15 11:08, Niklaus Kuehnis wrote: > Corinna Vinschen schrieb: > >On Jan 12 15:59, Niklaus Kuehnis wrote: > >>Hi, > >> > >>I've upgraded to Cygwin 1.7 (release version, clean install) and now am > >> unable to print text files with non-ascii characters (i.e. German > >> umlauts) from commandli

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Thomas Wolff
Niklaus Kuehnis wrote: 1. notepad /p prints to your default printer ... Yes, this printing command still works in Vista, and also the font switching procedure. Thanks for checking. Please note that 'nano' also doesn't support UTF-8 yet. ... So that may be why I get some strange behavior of n

Re: SOLVED: cygwin programs hang or return STATUS_ACCESS_VIOLATION in Windows Vista/2008/7

2010-01-15 Thread Corinna Vinschen
On Jan 14 14:13, Seth Wegner wrote: > No action or response requested, this is for the next hapless googler. > > If Windows DEP is set to "Turn on DEP for all programs and services > except those I select" certain cygwin-dependent exe files (in my > case, ssh.exe) will hang or return errors. The

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Corinna Vinschen schrieb: On Jan 12 15:59, Niklaus Kuehnis wrote: Hi, I've upgraded to Cygwin 1.7 (release version, clean install) and now am >> unable to print text files with non-ascii characters (i.e. German >> umlauts) from commandline. Did you read the User's Guide, especially http://cy

Re: Can't set variables in a while loop that is passed to the rest of the script.

2010-01-15 Thread Thomas Wolff
Eric Blake wrote: According to Damo, David on 1/14/2010 3:39 PM: Hi, I had a script that worked on UNIX, but on Cygwin it does not work. When I set a variable in a while loop I can't use it after the loop. However, this worked in UNIX. Any ideas why? Yes. ksh vs. bash. http://tis

Re: [cfe-dev] cygwin updates (was: dladdr and Dl_info)

2010-01-15 Thread Vincent R.
>>> >>> On 14/01/2010 14:20, Reini Urban wrote: I have a working cygwin llvm and llvm-gcc, but had no time to produce a proper package yet. Attached are my cygport files and my local config. No patches were needed. But I haven't bothered to build clang yet, j

Re: 1.7.1 hangs on 000-cygwin-post-install.sh

2010-01-15 Thread Frank Fesevur
2010/1/14 David Sherrets: > I too experienced the same problem. > The fix for me was this... > > I have a newer Dell machine. The hardware encryption API DLL > (wxvault.dll) interferes with many Cygwin packages. > This can be fixed stopping this DLL from loading at startup. > (use Autoruns from Mic

Re: msiexec

2010-01-15 Thread Corinna Vinschen
On Jan 15 00:20, geoffrey wrote: > > I would like using msiexec.exe /i package.msi /qn > My package haven't got any control panel. It is work in the local cygwin on > the computer. But when i try in a ssh session it doesn't work . Why ? > ssh administrat...@ip If msiexec requires the GUI, then yo

Re: minor error from /etc/fstab

2010-01-15 Thread Corinna Vinschen
On Jan 14 16:21, Paul McFerrin wrote: > I always get the following error when cygwin1.dll gets loaded for > the first time: > > 1 [main] ksh 3000 read_flags: invalid fstab option - '0' > > Anyone know why I see such a message. Your /etc/fstab or /etc/fstab.d/$USER file has a broken line. Check

Re: Another nodosfilewarning warning

2010-01-15 Thread Corinna Vinschen
On Jan 15 09:58, Gary . wrote: > Jeremy Bopp wrote: > > Gary . wrote: > > > "cygwin warning: > > > MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro > > > Preferred POSIX equivalent is (blah)" > > > > > > Okay. Except I can't find a file anywhere containing any mention of >

Re: Redirecting $TEMP or a certain directory to /tmp

2010-01-15 Thread Corinna Vinschen
On Jan 15 07:53, Thomas Wiedmann wrote: > >mount -f E:/Temp /tmp > Thanks, that worked. > > >And, if you want this to be permanent you need to *put* it in > >/etc/fstab. > My /etc directory in Cygwin has no fstab. > Can I create it manually in Cygwin and does it work like in > LINUX/UNIX or are ad

Man pages garbled in 1.7.1

2010-01-15 Thread Jeenu V
Hi, I upgraded to 1.7.1. But now I see my man page very difficult read; for instance it replaces hyphens with a-cap, and stuff like that. Could somebody suggest a solution? Thanks :J -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documenta

Re: gcc4: FHS nit

2010-01-15 Thread Thomas Wolff
Yaakov (Cygwin/X) wrote: I just came across this in FHS[1]: > If a C preprocessor is installed, /lib/cpp must be a reference to it, > for historical reasons. Yes, it's nitpicking, and I personally don't really care, but adding a /lib/cpp -> /usr/bin/cpp-4.exe to the gcc4-core alternatives would

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: 1. notepad /p prints to your default printer 2. for font configuration, invoke notepad manually; if you want a fixed-width font for text printing, these are recommendable for a good coverage of Unicode: Lucida Console, Courier New, Andale Mono, Everson Mono config

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Thomas Wolff schrieb: So the easiest practical solution is to use a Windows tool: notepad /p filename This works, too. Thanks! Niklaus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Un

Re: Another nodosfilewarning warning

2010-01-15 Thread Gary .
Jeremy Bopp wrote: > Gary . wrote: > > "cygwin warning: > > MS-DOS style path detected: c:\programme\develop\ruby\bin\inputrc.euro > > Preferred POSIX equivalent is (blah)" > > > > Okay. Except I can't find a file anywhere containing any mention of > > inputrc.euro... (in fact > > the mentioned

Re: How to print textfiles in Cygwin 1.7?

2010-01-15 Thread Niklaus Kuehnis
Andy Koppe schrieb: One workaround is to convert the file manually using iconv, e.g.: $ iconv -f utf-8 -t iso-8859-1 bla.txt | a2ps -o bla.ps This works ok. Thanks! I will try to make an alias for it. Please note that 'nano' also doesn't support UTF-8 yet. While entering characters looks l

msiexec

2010-01-15 Thread geoffrey
I would like using msiexec.exe /i package.msi /qn My package haven't got any control panel. It is work in the local cygwin on the computer. But when i try in a ssh session it doesn't work . Why ? ssh administrat...@ip cd /cygdrive/c/app/ ;msiexec /i app.msi /qn -- View this message in context: h