Re: incorrect handling of invisible characters in prompt string

2006-03-03 Thread Chet Ramey
Eric Blake wrote: > [Please use mailing lists instead of sending private mail > to random developers - I don't know whether you > intended this as a question about bash proper or > about the cygwin port of bash, so I have cross-posted > my reply] > >> Hi Eric, >> >> I found the following message (

Re: Bug: run emacs: fatal error reading the windows environment

2006-03-03 Thread Benn Schreiber
I've seen this error as well, trying to start cygwin emacs from a cmd window. And if I cygstart emacs, a window pops up for a brief instant and then goes away. Benn Re: Bug: run emacs: fatal error reading the windows environment * From: Kirk Hilliard * To: cygwin at cygwin dot com

Re: Precision of doubles and stdio

2006-03-03 Thread Tim Prince
Roberto Bagnara wrote: Hi there, the following little program #include int main() { double d; scanf("%lf", &d); printf("%.1000g\n", d); return 0; } does this on Linux/i686 $ gcc -W -Wall in.c $ a.out 70.9 70.905684341886080801486968994140625 and does the following unde

Re: ncurses problems

2006-03-03 Thread René Berber
Lange, Jeff wrote: > I'm trying to compile one of my programs in cygwin that uses ncurses and the > ncurses panel library. The only problem is that when I execute the following > command: > > *** > gcc -O2 -Wall -static -lncurses -lpanel main.o prefs.o comm.o > usr/lib/libncurses.a /usr/lib/l

Precision of doubles and stdio

2006-03-03 Thread Roberto Bagnara
Hi there, the following little program #include int main() { double d; scanf("%lf", &d); printf("%.1000g\n", d); return 0; } does this on Linux/i686 $ gcc -W -Wall in.c $ a.out 70.9 70.905684341886080801486968994140625 and does the following under Cygwin on the same mac

ncurses problems

2006-03-03 Thread Lange, Jeff
Hi all, I'm trying to compile one of my programs in cygwin that uses ncurses and the ncurses panel library.  The only problem is that when I execute the following command: *** gcc -O2 -Wall -static -lncurses -lpanel main.o prefs.o comm.o usr/lib/libncurses.a /usr/lib/libpanel.a -o m2emu *** I

Re: Bug: run emacs: fatal error reading the windows environment

2006-03-03 Thread Kirk Hilliard
On Mar 3 21:33, Corinna Vinschen wrote: > Is that a native Windows emacs? A Cygwin emacs shouldn't have any > problem. No, it is the cygwin emacs. ``run emacs'' fails with 12 [main] emacs 900 C:\cygwin\bin\emacs.exe: *** fatal error - internal error reading the windows environment -- too

Re: ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Corinna Vinschen
On Mar 3 21:28, Corinna Vinschen wrote: > At one point in opendir() a file handler is added to the descriptor > table. This happened at a point at which it was already clear that > opendir would succeed. Due to my changes from end of January this > wasn't true anymore. The entry in the descript

Re: Bug: run emacs: fatal error reading the windows environment

2006-03-03 Thread Corinna Vinschen
On Mar 3 11:47, Kirk Hilliard wrote: > Hi All, > > After upgrading cygwin, my emacs shortcut stopped working and I > discovered that ``run emacs'' yielded the error: > > 12 [main] emacs 900 C:\cygwin\bin\emacs.exe: *** fatal error - > internal error reading the windows environment -- > too

Re: ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Corinna Vinschen
On Mar 3 17:38, Christian Franke wrote: > Hi, > > with the current cygwin1.dll 20050203, ls.exe hangs on access of an > inaccessible directory if ntsec is turned off. > > Steps to reproduce on XP Prof: > > $ CYGWIN=ntsec ls "/cygdrive/c/System Volume Information" > ls: /cygdrive/c/System Volume

RE: ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Dave Korn
On 03 March 2006 19:39, Dave Korn wrote: > On 03 March 2006 17:13, Dave Korn wrote: > >> On 03 March 2006 16:39, Christian Franke wrote: > >>> Steps to reproduce on XP Prof: > >>> $ CYGWIN=nontsec ls "/cygdrive/c/System Volume Information" >>> ls: /cygdrive/c/System Volume Information: Permissi

RE: ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Dave Korn
On 03 March 2006 17:13, Dave Korn wrote: > On 03 March 2006 16:39, Christian Franke wrote: >> Steps to reproduce on XP Prof: >> $ CYGWIN=nontsec ls "/cygdrive/c/System Volume Information" >> ls: /cygdrive/c/System Volume Information: Permission denied >> # *** ls hangs with 100% CPU *** >> >> B

RE: Apache failure with 2006-03-01/2 snapshots

2006-03-03 Thread Jerry D. Hedden
Jerry D. Hedden wrote: > Combination: > cygwin-inst-20060302.tar.bz2 (2006-03-02 17:00 GMT) snapshot > apache-1.3.33-2.tar.bz2 > > Apache won't start, and outputs the following in its log: > Cannot load /usr/lib/apache/mod_vhost_alias.dll into server: Bad address > > The same holds for

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread Jim Drash
If you need perfect PDFs, you could purchase the server version of Adobe Distiller. You could then set up an e-mail address so that people could send Word Documents as attachments and the server would see the e-mail and run distiller and send the pdf back to the sender. Or use the web to interfac

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread Jim Drash
I can't keep all my mailing lists rules straight. Some don't like top quoting, some do. So, I am sorry if I messed up. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

RE: ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Dave Korn
On 03 March 2006 16:39, Christian Franke wrote: > Hi, > > with the current cygwin1.dll 20050203, ls.exe hangs on access of an > inaccessible directory if ntsec is turned off. > > Steps to reproduce on XP Prof: > > $ CYGWIN=ntsec ls "/cygdrive/c/System Volume Information" > ls: /cygdrive/c/Syste

Bug: run emacs: fatal error reading the windows environment

2006-03-03 Thread Kirk Hilliard
Hi All, After upgrading cygwin, my emacs shortcut stopped working and I discovered that ``run emacs'' yielded the error: 12 [main] emacs 900 C:\cygwin\bin\emacs.exe: *** fatal error - internal error reading the windows environment -- too many environment variables? Is this a known problem,

ls.exe hangs on inaccessible directory if ntsec is turned off

2006-03-03 Thread Christian Franke
Hi, with the current cygwin1.dll 20050203, ls.exe hangs on access of an inaccessible directory if ntsec is turned off. Steps to reproduce on XP Prof: $ CYGWIN=ntsec ls "/cygdrive/c/System Volume Information" ls: /cygdrive/c/System Volume Information: Permission denied # OK $ CYGWIN=nontsec ls "

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread P.P.Hughes
I tried OpenOffice running a macro, but this didn't faithfully reproduce formatting in a complex document. I need to run an automated job to print out Job Applications, so the postscript file needs to be perfect. Regards, Paul Larry Hall (Cygwin) wrote: P.P.Hughes wrote: Larry Hall (Cygwin)

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread Larry Hall (Cygwin)
P.P.Hughes wrote: Larry Hall (Cygwin) wrote: P.P.Hughes wrote: Hello, This is probably a silly question to most you, but here goes: I'm opening a ssh connection from a Linux box to our Windows Server 2003 which then initiates a Cygwin terminal. I then try and run a vbs script that opens Wo

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread Eric Blake
Ugh - topposting reformatted: http://cygwin.com/acronyms/#TOFU Jim Drash gmail.com> writes: > > On 3/3/06, P.P.Hughes bangor.ac.uk> wrote: ^^ Ugh - raw email address munged: http://cygwin.com/acronyms/#PCYMTNQREAIYR > > When I look at the Log On settings for

Re: going thru domain switch..does cygwin grok "SID history"?

2006-03-03 Thread Tom Rodman
On Fri 3/3/06 9:47 +0100 Corinna wrote: --snip > > The SIDs on several hundred GB worth of files and dirs will almost all > > be from the old domain. The old domain controller will be shutdown, > > but there will be a SID history associated w/(almost) each domain user > > account and group that was

[ANNOUNCEMENT] Updated [experimental]: bash-3.1-3

2006-03-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of bash, 3.1-3, is available for experimental use. NEWS: = This is a minor patch update to the previous experimental bash-3.1-2. It adds six new upstream patches (readline autowrap, segfault with 4096 jobs, sigint reaching backgroun

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread Jim Drash
By the way, there are much easier ways to convert MS Word Docs to pdfs. On 3/3/06, P.P.Hughes <[EMAIL PROTECTED]> wrote: > Hi Larry, > > Thanks for taking the time to look at this. > > When I look at the Log On settings for this service, it's set to log in > as .\sshd_server user, not the Local Sy

Re: [Newbie] Trying to run MSWord from Cygwin

2006-03-03 Thread P.P.Hughes
Hi Larry, Thanks for taking the time to look at this. When I look at the Log On settings for this service, it's set to log in as .\sshd_server user, not the Local System Account, therefore the "Allow Service to Interact with desktop" option is not available. I'm told that this was recommende

Re: getopt and getopt_long for Windows?

2006-03-03 Thread Corinna Vinschen
On Mar 3 12:36, Angel Tsankov wrote: > >>Does anyone know of a port of getopt and getopt_long for Windows? > > > >It's in Cygwin. Just #include . > > Can I use it with VC++? Nope. If you're looking for native Windows functionality, then you should ask on another list. This list is dedicated t

Re: getopt and getopt_long for Windows?

2006-03-03 Thread Angel Tsankov
Does anyone know of a port of getopt and getopt_long for Windows? It's in Cygwin. Just #include . Can I use it with VC++? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.ht

Re: getopt and getopt_long for Windows?

2006-03-03 Thread Corinna Vinschen
On Mar 3 11:37, Angel Tsankov wrote: > Does anyone know of a port of getopt and getopt_long for Windows? It's in Cygwin. Just #include . Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat --

getopt and getopt_long for Windows?

2006-03-03 Thread Angel Tsankov
Does anyone know of a port of getopt and getopt_long for Windows? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Apache failure with 2006-03-01/2 snapshots

2006-03-03 Thread Corinna Vinschen
On Mar 2 17:29, Jerry D. Hedden wrote: > Combination: > cygwin-inst-20060302.tar.bz2 (2006-03-02 17:00 GMT) snapshot > apache-1.3.33-2.tar.bz2 > > Apache won't start, and outputs the following in its log: > Cannot load /usr/lib/apache/mod_env.dll into server: Bad address > > The same

Re: going thru domain switch..does cygwin grok "SID history"?

2006-03-03 Thread Corinna Vinschen
On Mar 2 18:24, Tom Rodman wrote: > thanks Corinna > > On Thu 3/2/06 16:27 +0100 Corinna wrote: > > On Mar 2 09:13, Tom Rodman wrote: > > > Has anyone experienced a domain migration where the filesystem was > > > left unchanged, and a "SID history" was injected into Active Directory > > > truste

Re: Snapshot heads up for 20060301 2310 version

2006-03-03 Thread Corinna Vinschen
On Mar 2 20:27, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Karl M on 3/2/2006 2:11 PM: > >> > >> However, you're aware of the problems with mapping cygdrive to "/", are > >> you? You'll never see the list of available drives since the special > >> cygdri

Re: ssh-host-config (/var/log/lastlog)

2006-03-03 Thread Corinna Vinschen
On Mar 2 13:02, Karl M wrote: > Hi Corinna... > > I just tried it out and it worked fine. Thanks for testing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http