Re: history (was Re: base-files: LOGNAME)

2010-06-28 Thread Eric Backus
least historically, HP-UX login(1) set LOGNAME but not USER. On the other hand, historically some su programs set USER but not LOGNAME. -- Eric Backus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cy

Re: 'cp' utility bug when <dest-name>.exe file exist.

2010-06-10 Thread Eric Backus
gwin bash should default the igncr option to on. Also why Cygwin symlinks should probably default to using real Windows symlinks. And why Cygwin should probably go back to reading/setting/clearing the DOS read-only attribute. And why more effort should be put into supporting text-mode mounts.

Re: Bug: cygport fails when the working directory pathname contains spaces

2010-02-10 Thread Eric Backus
Marco Atzeri yahoo.it> writes: > Don't use filename with a space inside is a WELL KNOWN > rule of any UNIX system. > If MS made a stupid decision, we should not follow it. > > Regards > Marco It really doesn't matter to me whether cygport supports filenames with spaces. And it is certainly t

Re: floating-point math problem in Cygwin 1.7?

2009-12-24 Thread Eric Backus
Linh Phan usc.edu> writes: > I have wondering why when I do floating-point math in Cygwin 1.7, Cygwin does not output the "correct" > result, eg: > > qca = [-0.623718486146499718, 0.736824293298044886, -0.260654850643024127, > 0.011147182658310384] CORRECT (LINUX/SOLARIS) > qca = [-0.62371848

Re: gcc -ffast-math defect with tan(x)

2009-11-25 Thread Eric Backus
Eric Backus agilent.com> writes: > Dave Korn googlemail.com> writes: > > > This will require a newlib patch and a new cygwin dll release to solve, > > it'll take a little while I'm afraid. > > Impressive, 5 hours from defect report to complete debugg

Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses9/libncurses-devel/ncurses-demo}-5.7-15

2009-11-21 Thread Eric Backus
Charles Wilson cwilson.fastmail.fm> writes: > Charles Wilson wrote: > > Eric Backus wrote: > >> $ tput sgr0 > >> Segmentation fault (core dumped)< this is wrong > >> > >> The seg fault didn't happen with the previous vers

Re: gcc -ffast-math defect with tan(x)

2009-11-17 Thread Eric Backus
Dave Korn googlemail.com> writes: > Needs moar 'ffree st(0)'. > > This will require a newlib patch and a new cygwin dll release to solve, > it'll take a little while I'm afraid. > > cheers, > DaveK Impressive, 5 hours from defect report to complete debugging and understanding of

Re: gcc -ffast-math defect with tan(x)

2009-11-17 Thread Eric Backus
Dave Korn googlemail.com> writes: > Thanks for the STC. The difference between -ffast-math and -fno-fast-math > is that the fast version calls the _f_tan newlib fast math function rather > than tan. I think this is likely to be a calling-convention issue but I'm > still debugging it. > >

Re: [1.7] Updated: cygwin-1.7.0-63

2009-11-08 Thread Eric Backus
Corinna Vinschen cygwin.com> writes: > On Nov 7 20:38, Eric Backus wrote: > > Jim Reisert AD1C alum.mit.edu> writes: > > > > > How do I make this work, while maintaining: > > > > > > LANG=en_US.UTF-8 > > > > > > - Jim

Re: [1.7] Updated: cygwin-1.7.0-63

2009-11-07 Thread Eric Backus
is LOCALE. > > How do I make this work, while maintaining: > > LANG=en_US.UTF-8 > > - Jim You might try "LANG=en_us.UTF-8" (Note the lower-case "us"). It seems to change the time formatting used by ls. But I don't understand how or why, nor

Re: Cygwin 1.7, who version 7.0 does not respond with a value

2009-10-30 Thread Eric Backus
Larry Hall (Cygwin cygwin.com> writes: > On 10/28/2009 10:04 AM, Larry W. Virden wrote: > > when I type the who command within a Cygwin window, only an empty line > > is returned. > > > > ... > > > > It looks, to me, as if perhaps we are missing some setup that results in > > entries being writt

Re: Howto set default text file type to DOS/Text under release 1.7 BETA

2009-10-29 Thread Eric Backus
Niels Hallenberg gmail.com> writes: > I have a lot of scripts that > won't run under bash as long as the extra CR's are not removed. I know > of the tool doc2unix, however there are other obstacles too so having > the auto-conversion is the best solution for me. > > I have also tried to use the

Re: [ANNOUNCEMENT] [1.7] Updated: {ncurses/libncurses9/libncurses-devel/ncurses-demo}-5.7-15

2009-10-28 Thread Eric Backus
n. Is there anything else I should try to debug this? Would you like cygcheck output? -- Eric Backus -- 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

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

2009-10-17 Thread Eric Backus
Andy Koppe gmail.com> writes: > > The obvious method would be to check $TERM, > > but of course that doesn't work... > > ... and I can't change it to "mintty", because even if entries for it > were added to Cygwin's termcap and terminfo, any other system would > say "what?". Yes. Though you co

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

2009-10-16 Thread Eric Backus
Andy Koppe gmail.com> writes: > 2009/10/16 Eric Backus: > > Unfortunately, cygwin's terminfo/termcap entries for XTERM say that the > > backspace key returns ^H.  This can be seen by looking in /etc/termcap for > > xterm, and finding the 'kb' property

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

2009-10-16 Thread Eric Backus
Andy Koppe gmail.com> writes: > CHANGES > === > > Keyboard: > - The default backspace keycode now is ^? rather than ^H, to make > Ctrl+H available as a shortcut for other purposes, particularly as the > help key in emacs. The backspace keycode option is gone. Instead, the > DECBKM control se

Re: std::arg() bug : not repetitive ?

2009-09-02 Thread Eric Backus
comparing equality of floating-point values. This is true even if you get rid of the excess precision stuff above. Sure, in this particular case, if you get rid of excess precision, the values will be exactly equal, but direct comparison is a bad habit to get into. -- Eric Backus --

Re: Moving Cygwin

2009-04-30 Thread Eric Backus
(setq lpr-switches (list "-S" server-name)) ; Defaulted to "" (setq lpr-headers-switches nil))) ; So we can use "pr" ;; This defaulted to 66 lines, didn't fit on page, but may be Everett-specific (setq lpr-page-header-switches (quote ("-F" "-l59"))) Good luck... Eric Backus -- 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: PING: Deprecation of -mno-cygwin.

2009-03-23 Thread Eric Backus
tomary to have some overlap period where the deprecated solution still works (but with ugly warnings) while the new solution is available? I've used -mno-cygwin for many years, quite successfully, with no problems from headers or libraries. I'm willing to upgrade all my Makefiles,

Re: symbolic link untar issue

2007-08-27 Thread Eric Backus
Eric Blake byu.net> writes: > Most .exe magic is already inside cygwin. In particular, CVS cygwin > (which will become 1.7.0) has a transparent_exe option that makes this all > even cleaner, without application specific knowledge. > > But the real problem reported by this thread has nothing to

Re: symbolic link untar issue

2007-08-24 Thread Eric Backus
oes that introduce other problems? -- Eric Backus -- 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: redefining $HOME

2007-04-10 Thread Eric Backus
Gustavo Seabra gmail.com> writes: > Hi all, > > I was wondering if it is possible to use the windows folder "My > Documents" or even "C:\Documents and Settings\USERNAME" (or some dir > inside those) as the hoe directory in Cygwin. I though about > substituting the user directory inside /home

Re: Unable to run even simple batch scripts any more

2007-02-12 Thread Eric Backus
Matthew Woehlke users.sourceforge.net> writes: > Dennis Simpson wrote: > > Three of us updated to latest windows cygwin last week, and none can run > > even simple .sh scripts any more. Prior version was 6 months ago. > > http://cygwin.com/ml/cygwin-announce/2006-12/msg00026.html > > Next time