[RFU] screen-4.0.3-5

2010-01-20 Thread Andrew Schulman
New Cygwin build of screen.  Please upload, including setup.hint since the
dependencies have changed (libncurses10 instead of libncurses9).  Thanks,
Andrew.

wget \
 http://home.comcast.net/~andrex2/cygwin/screen/setup.hint \
 http://home.comcast.net/~andrex2/cygwin/screen/screen-4.0.3-5.tar.bz2 \
 http://home.comcast.net/~andrex2/cygwin/screen/screen-4.0.3-5-src.tar.bz2


Re: [RFU] screen-4.0.3-5

2010-01-20 Thread Christopher Faylor
On Wed, Jan 20, 2010 at 01:31:19PM -0500, Andrew Schulman wrote:
New Cygwin build of screen.  Please upload, including setup.hint since the
dependencies have changed (libncurses10 instead of libncurses9).  Thanks,
Andrew.

wget \
 http://home.comcast.net/~andrex2/cygwin/screen/setup.hint \
 http://home.comcast.net/~andrex2/cygwin/screen/screen-4.0.3-5.tar.bz2 \
 http://home.comcast.net/~andrex2/cygwin/screen/screen-4.0.3-5-src.tar.bz2

Uploaded.

cgf


Re: xserver bug?

2010-01-20 Thread Sylvain RICHARD

Charles Wilson wrote:

I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
events.  CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not zero.
  

snip

Is this a bug, or a designed behavior, in XWin?
  
This may be designed behaviour /in windows/. Just out of curiosity, can 
you check your language bar options. If I remember correctly, you can 
set Ctrl+Shift global hotkeys there to shift between keyboard layouts 
and input languages.


Good luck,

--
Sylvain RICHARD


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xserver bug?

2010-01-20 Thread Jon TURNEY

On 20/01/2010 09:13, Sylvain RICHARD wrote:

Charles Wilson wrote:

I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
events. CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not
zero.


I'm afraid I can't reproduce this problem; xev and urxvt both respond to 
ctrl-shift-0.



snip

Is this a bug, or a designed behavior, in XWin?

This may be designed behaviour /in windows/. Just out of curiosity, can
you check your language bar options. If I remember correctly, you can
set Ctrl+Shift global hotkeys there to shift between keyboard layouts
and input languages.


If it is the case that Windows is treating ctrl-shift-0 as a special keypress 
for some reason and processing it without offering it to applications, 
starting the X server with the -keyhook option should help.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Gtk+ cygwin problem

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 16:36, Richard Dickinson wrote:

Gtk-WARNING **: cannot open display:


Some googling would have shown you what this means.  You need to be 
running an X server and set the DISPLAY variable in order to use GTK+ 
(or any other X11 GUI).


This being a Cygwin/X question, it really belongs on the Cygwin/X list; 
redirecting accordingly.



And on my Vista machine I have gtkmm for Windows setup from which I can run
Gtk-demo from my Vista cmd prompt


GTKmm for Windows is just that -- for WINDOWS.  Cygwin's GTK+ is a 
*NIX/X11 version and needs a Cygwin-built GTKmm, which is available from 
Cygwin Ports.



(but cannot compile gtk+ code with from Vista cmd
prompt as I get 'access denied' error message?!).


'/usr/bin/gcc' is a symlink, which Windows itself doesn't understand. 
Cygwin commands are generally meant to be run from a Cygwin environment 
(in this case, bash, or another shell of your choice).


 I have cygwin/bin in my path  gtkmm/bin also.

This is asking for problems.  You're better off keeping extra Win32 
components out of your Cygwin PATH.



Yaakov
Cygwin/X

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xserver bug?

2010-01-20 Thread Charles Wilson
Jon TURNEY wrote:
 On 20/01/2010 09:13, Sylvain RICHARD wrote:
 Charles Wilson wrote:
 I've noticed that with XWin 1.7.3 (and perhaps earlier versions; not
 sure), the key combination CTRL-SHIFT-0 (zero) doesn't generate any
 events. CTRL-SHIFT-1 thru -9, alphabetic keys, no problem -- just not
 zero.
 
 I'm afraid I can't reproduce this problem; xev and urxvt both respond to
 ctrl-shift-0.

Humph. Well, good, I guess.  (Even if it doesn't work for me, this means
that OTHER users will probably be able to use the ISO14755 entry mode
without trouble).

 snip
 Is this a bug, or a designed behavior, in XWin?
 This may be designed behaviour /in windows/. Just out of curiosity, can
 you check your language bar options. If I remember correctly, you can
 set Ctrl+Shift global hotkeys there to shift between keyboard layouts
 and input languages.

My user account doesn't have the language bar enabled at all.
Hmm...maybe it's sticky. I *used* to have it enabled, and I *used* to
have hotkeys enabled -- but the only hotkey was/is left-alt + shift.
Not ctrl+shift.

 If it is the case that Windows is treating ctrl-shift-0 as a special
 keypress for some reason and processing it without offering it to
 applications, starting the X server with the -keyhook option should help.

Odd. With -keyhook, I do NOT see Alt-Tab being intercepted by the
Xserver. BUT, CTRL-ALT-0 does work.

$ startxwin -- :0 -keyhook

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.3.0 (10703000)
Build Date: 2009-12-22

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

X :0 -keyhook -multiwindow

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) xorg.conf is not supported
...


Vista SP2, 32bit.


Oh, WIERD.  Now, I just tried it again *without* -keyhook, and
CTRL-SHIFT-0 still works.  That's just bizarre.

All I can figure is, I turned on the language bar, switched keyboards,
switched back, and then turned off the language bar.  And now, I can't
break the CTRL-SHIFT-0.

Well...I'm happy, I guess.

--
Chuck


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Nedit unstable after 1.7.0-56 update -- clipboard copy segfault

2010-01-20 Thread Jim Weisert

Yaakov (Cygwin/X) wrote:

On 03/08/2009 10:49, Rob Gillen wrote:

After updating my 1.7 installation to the latest cygwin DLL, my xterms
were finally able to exec bash (with some issues from bash as well),
but I immediately ran into segfault when copying to the clipboard from
nedit.  I.e. as soon as I highlighted a line of text and hit CTRL-C,
it dumped core.


Actually, this appears to be a known problem with lesstif (the Motif 
implementation which nedit and other programs use).  It looks like other 
distros may have a fix, but it will take me a little while until I can 
focus on this.


I've encountered the same problem with copying to the clipboard within 
nedit. As a workaround, I downgraded to libXm2-0.95.0-2, as the problem 
does not appears to occur with this older version of the lesstif.


There is a patch to lesstif-0.95.2 described in 
http://sourceforge.net/tracker/?func=detailaid=2846234group_id=8596atid=308596
Might this be the fix? (I don't have the knowledge to rebuild libXm2 
myself, so I'm unable to test the patch.)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Your email has been returned by MAPS (was why does no one talk to me about FLOSS weekly?)

2010-01-20 Thread Andrew DeFaria

On 01/19/2010 11:00 PM, Christopher Faylor wrote:
Please try to avoid sending knee-jerk complaints about non-cygwin 
matters to the cygwin list.
Indeed. I use spam filters. Imagine that! Oh horrors... Heard of Spam 
Assassin? Yes. Decided to write my own anyway. They work very, very 
well. In fact they seem to have baffled you Linda! And that pleases me so.

Andrew, I'll contact you off-list about this.
OK, thanks. This all need not have been blown out of proportion in the 
first place...

--
Andrew DeFaria http://defaria.com
Think of how stupid the average person is, and realize half of them are 
stupider than that.



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



units: update FHS compliance

2010-01-20 Thread John Morrison
With many thanks to Yaakov, units has been brought up to date (1.87) and
brought into line with FHS.

All credit should go to Yaakov for his continuing (herculean!) efforts.

J.



--
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: units: update, FHS compliance

2010-01-20 Thread John Morrison
On Mon, January 18, 2010 8:39 pm, Yaakov (Cygwin/X) wrote:
 On 18/01/2010 13:38, Christopher Faylor wrote:
 I think we could relax the ITP process if you wanted to do some bulk
 moves but I would hate to have anyone have to support so many packages.
 Even if I wasn't just concerned about your free time and sanity, I'd
 be worried what would happen if you left the project.

 Precisely why I've hesitated to take on lots more packages within the
 distro.

I've thought on this over the last few days and would like to share them
with the list;

1) Yaakov has a *huge* number of packages over at cygports many of which
could benefit everyone (or, at least more easily available for more folks)
if they were part of the main cygwin distro(? is there a better way to
describe this)
2) All of them are (AFAIU) built with cygports which should make
maintenance of the package far easier and transfer of maintainership
easier/safer
3) If Yaakov stopped doing this (please correct me if I'm wrong) the
majority of the packages on cygports would stop being maintained and would
bit-rot as more upstream releases aren't packaged.

Ok, thoughts.  If Yaakov brought lots (most?) of the packages into the
main distro;

1) Yaakov could continue to support the packages as he currently does on
cygports, but everyone would benefit from better integration
2) If Yaakov ([deity] forbid) decided to stop supporting them they would
_still_ have a cygport which should make 'pickup' easier.
3) If Yaakov wished to reduce the number of packages he supports I'm sure
a page could be added to the cygwin.com site to list packages which are
available to be taken over (actually, an orphaned page might not be a bad
idea anyway?).  This 'take over' would, I'm sure, be made easier by the
existence of the cygport.

Anyway, all this is just talk; the only people who could make this happen
are Yaakov, Christopher and Corinna.

Thanks for reading this far!

J.


--
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: POSIX regex libraries?

2010-01-20 Thread Csaba Raduly
On Wed, Jan 20, 2010 at 1:41 AM, brian  wrote:
 Hi,

 Can anyone tell me if cygwin has and if it does,  how to get the POSIX regex
 libraries in cygwin ?

It does. It is part of the base package, so if you've installed
Cygwin, you've got it:

cygcheck.exe -f /usr/include/regex.h
cygwin 1.7.1-1

The code is in in libc.a

Csaba
-- 
Life is complex, with real and imaginary parts

--
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: Cygwin on FLOSS Weekly

2010-01-20 Thread Corinna Vinschen
On Jan 19 21:39, Andrew DeFaria wrote:
 On 01/19/2010 09:18 PM, Linda Walsh wrote:
 I think the bottom line is that the the core cygwin
 developers are good at their jobs because they are strongly
 technically oriented and, *usually*, people focusing all their
 energy on their craft don't have time to be social.  Thus they
 are not inclined to have a desire to engage in such a venture.
 
 But this is just my impression.  Besides, what would they say
 cygwin is great, use it, we'd love you to use it, but patches
 will be more appreciated?, it really isn't their public
 style(well the last part might be :-)...  but that's just my
 uninformed 2 cents.
 
 You wanted an answer  I've never met any of the cygwin
 developers in RL, and can't really speak for any of them.
 I sincerely invite you to take a listen to FLOSS Weekly then.
 Hundreds of Open Source, really geeky developers that is, projects
 have been discussed like Jython, FreeBSD, pfSense,  Puppet, BioPerl,
 FoxyProxy, etc. There are true geeks there going into depth and
 guts, etc. trust me! I'm often amazed when a new episode is
 announced I'll think Hmmm... I wonder how that will be interesting
 only to find as I listen to it that it is interesting and that I
 learn something from it. Randall's standard question to develops
 with tongue firmly in cheek is OK, Emacs or vi?.

Interviews in English?  Live?  With actual listeners?  Uh, no, thanks.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: POSIX regex libraries?

2010-01-20 Thread Corinna Vinschen
On Jan 19 16:41, brian wrote:
 Hi,
 
 Can anyone tell me if cygwin has and if it does,  how to get the
 POSIX regex libraries in cygwin ?

#include regex.h

Cygwin's regex isn't yet multibyte-aware.  That's on my TODO list.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



[ANNOUNCEMENT] Updated: units-1.87-1

2010-01-20 Thread John Morrison
Version 1.87-1 of units has been uploaded.

The Units program converts quantities expressed in various scales to their
equivalents in other scales. The units program can handle multiplicative
scale changes as well as nonlinear conversions such as Fahrenheit to
Celsius or wire gauge. Units comes with an annotated, extendable database
defining over two thousand units.

Units acts as a general calculator for units. You can add, subtract,
multiply and divide units. You can raise units to integer powers and you
can take roots of units. Operations can be grouped using parentheses.

This release brings the cygwin package into line with the last GNU release
and into line with FHS compliance.

All credit should go to Yaakov for this release.

J.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look at
the List-Unsubscribe:  tag in the email header of this message. Send
email to the address specified there. It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


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



1.7.1: /usr/bin/more.exe

2010-01-20 Thread Peter Koch
Hi!

Running 1.7.1 on Windows 2008 R2 i experience problems with more.exe
(which is a copy of less.exe).

Specifically, if i view a file with less lines as the cygwin shell can
show, NOTHING is displayed.

$ echo  a
$cat a
aaa
$ more a
$ less a
aaa
a (END)

Ciao

peter


prosozial GmbH
Geschaeftsfuehrer: Wolfgang Hoffmann, Stephan Idel, Christoph Spitzley
Amtsgericht Koblenz, HRB 5796

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



1.7.1: /usrb/bin/tail.exe

2010-01-20 Thread Peter Koch
Hi!

Running 1.7.1 on Windows 2008 R2 some of my shell scripts stopped
working.

The culprint is tail.exe

1. tail +N does not work anymore. Obsolete? How can i re-enable this?
2. tail overwrites redirected files!

$ echo 1  a
$ echo 22  a
$ echo 333  a
$ cat a
1
22
333
echo x  x
$ tail -1 a  x
$ cat x
333

Notice, that the first line of x (containg one x) is gone!

Ciao

Peter

prosozial GmbH
Geschaeftsfuehrer: Wolfgang Hoffmann, Stephan Idel, Christoph Spitzley
Amtsgericht Koblenz, HRB 5796

--
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: 1.7.1: /usrb/bin/tail.exe

2010-01-20 Thread Eliot Moss

WJFFM on Windows 7. I wonder about your LANG
or DOS vs Unix end-of-line settings 

Eliot Moss

--
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: 1.7.1: /usrb/bin/tail.exe

2010-01-20 Thread Eric Blake
According to Peter Koch on 1/20/2010 3:40 AM:
 The culprint is tail.exe
 
 1. tail +N does not work anymore. Obsolete? How can i re-enable this?

http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Old-tail-plus-N-syntax-now-fails

'tail +2' is not portable.  Use 'tail -n +2'.


 2. tail overwrites redirected files!
 
 $ echo 1  a
 $ echo 22  a
 $ echo 333  a
 $ cat a
 1
 22
 333
 echo x  x
 $ tail -1 a  x
 $ cat x
 333

Works for me:

$ cat a
1
22
333
$ echo 1  x
$ tail -1 a  x
$ cat x
1
333

I tested on both binary and text mounts.  Are you sure you used '', not ''?

-- 
Don't work too hard, make some time for fun as well!

Eric Blake e...@byu.net



signature.asc
Description: OpenPGP digital signature


Re: Problem with compiling Perl Curses.pm

2010-01-20 Thread Reini Urban
2010/1/20 Charles Wilson:
 Reini Urban wrote:
 Then CursesVar.c is regenerated by gen\make.CursesVar.c
 It looks like this generation got triggered somehow and gets it wrong.
 Because the DLL exporting part of ncurses/ncurses_dll.h does:

 /*
  * For reentrant code, we map the various global variables into SCREEN by
  * using functions to access them.
  */
 #define NCURSES_PUBLIC_VAR(name) ncwrap_##name
 #define NCURSES_WRAPPED_VAR(type,name) extern type
 NCURSES_PUBLIC_VAR(name)(void)

 Uhm no, that's not wrong.  That's correct. It's a consequence of cygwin
 finally moving from what upstream ncurses calls ABI 5 to what they
 call ABI 6 [*].

Thanks. I also found that out afterwards.
Getting those public vars is still supported, but setting is now unsupported.
Interestingly this change is not documented.

See http://rt.cpan.org/Ticket/Display.html?id=53818

 We now build with support for re-entrancy, which requires a few ABI
 changes of this sort. Which means that you really can't change the value
 of LINES in this way -- there may be another way, but I'm not sure what
 it is.

 Besides, I don't think changing the value of the LINES C variable
 outside of curses was ever really supposed to work. The documentation
 says that LINES will be populated by initscr() using the value of the
 *environment variable* LINES, or if that's empty, then it will be
 populated from the terminfo description.  But the docs are silent as to
 what happens if you manually modify that C variable after initscr().

 Anyway, I looked at the bug report thread, and I think your Tue Jan 19
 11:16:23 2010 response is the correct one. You just shouldn't write to
 those variables, AFAICT.  Maybe there is some set_FOO() function that
 could be used, but I don't know what it is; and for /some/ of these
 particular variables it just conceptually doesn't really make sense to
 change them once initscr() is complete. (You should be able to update
 COLORS and COLOR_PAIRS...I think there are accessor functions for that.)

I haven't found any set_FOO().

I wrote into my perl patch:

I'm sorry. I had to disable writing to LINES, COLS, curscr, stdscr,
COLORS, COLOR_PAIRS, because with the new NCURSES_REENTRANT lib, writing
is forbidden. It's now wrapped behind a function call.
I believe this affects all platforms, but some ncurses expert
should clarify how to write to LINES now.


 You're also right that this will affect more platforms than just cygwin,
 once they start enabling re-entrancy -- which is slated to be the
 default when ncurses-6 is released upstream. 'Course, that may not
 happen for a year.  Or two or three.


 [*] cygwin *used* be be at ABI 5 -- actually, because of issues with
 DLLs and exported complex data structures in the historical absence of
 pseudo-reloc support, we were really using a somewhat bastardized form
 of ABI 5.5.  Furthermore, because of certain other historical changes
 -- ABI jumps required by new compilers, the cygwin-1.3 to -1.5
 transition, and ABI-breaking bugfixes -- our ABI 5 or 5.5 was
 actually cygncurses-9.

 Well, now, we're actually using the true upstream ABI 6.  Only, we have
 to call it cygncurses-10.

 Isn't this fun?

Thanksfully this is not problematic, than silently breaking setters.
Maybe they didn't know that people were also setting those vars.
-- 
Reini Urban
http://phpwiki.org/   http://murbreak.at/

--
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: Cygwin on FLOSS Weekly

2010-01-20 Thread Andrew DeFaria

On 01/20/2010 12:50 AM, Corinna Vinschen wrote:
Interviews in English? 

Would you rather it in say C? ;-)

Live?

No, not really live.

With actual listeners? Uh, no, thanks.

Interesting. I guess you're not interested then. What a shame.

Actually I rarely use Cygwin anymore as I now use Linux itself. Still I 
find it a very useful set of tools that often is helpful in work 
situations where people insist on using Windows then get stuck on how to 
accomplish things in the Windows world that have been solved long ago in 
the Linux/Unix world. As such I always proclaim the usefulness of Cygwin 
in such situations as I believe in giving credit where credit is due. I 
don't believe in keeping secret good software rather I think such 
software should be promoted at every opportunity. I think this would be 
a good opportunity to do so but apparently at least Corinna doesn't seem 
to feel that way. I almost feel I should apologize for trying to help 
but when I think about that I think it silly.

--
Andrew DeFaria http://defaria.com
Why are cigarettes sold in gas stations when you can't smoke there?


--
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: units: update, FHS compliance

2010-01-20 Thread Christopher Faylor
On Wed, Jan 20, 2010 at 08:40:14AM -, John Morrison wrote:
Ok, thoughts.  If Yaakov brought lots (most?) of the packages into the
main distro;

1) Yaakov could continue to support the packages as he currently does on
cygports, but everyone would benefit from better integration

Everyone would benefit except Yaakov whose support load would likely grow
alarmingly.

cgf

--
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: 1.7.1: /usr/bin/more.exe

2010-01-20 Thread Christopher Faylor
On Wed, Jan 20, 2010 at 11:34:23AM +0100, Peter Koch wrote:
Running 1.7.1 on Windows 2008 R2 i experience problems with more.exe
(which is a copy of less.exe).

Specifically, if i view a file with less lines as the cygwin shell can
show, NOTHING is displayed.

$ echo  a
$cat a
aaa
$ more a
$ less a
aaa
a (END)

Works the same way on linux.  It's probably a bug but given the fact
that we actually have a working implementation of more in the Cygwin
distribution this isn't something that I'll be actively tracking down.

cgf

--
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: units: update, FHS compliance

2010-01-20 Thread Marco Atzeri
--- Mer 20/1/10, Christopher Faylor  ha scritto:

 On Wed, Jan 20, 2010 at 08:40:14AM
 -, John Morrison wrote:
 Ok, thoughts.  If Yaakov brought lots (most?) of
 the packages into the
 main distro;
 
 1) Yaakov could continue to support the packages as he
 currently does on
 cygports, but everyone would benefit from better
 integration
 
 Everyone would benefit except Yaakov whose support load
 would likely grow
 alarmingly.
 
 cgf
 

I think we should start a package adoption campaign, to 
avoid additional workload to Yaakov.

I was thinking to take his fltk-X11 package as I need fltk
for octave and the current package don't work at all
for my need as Octave is X11 oriented.


Marco








--
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: Cygwin on FLOSS Weekly

2010-01-20 Thread Reini Urban
2010/1/20 Corinna Vinschen:
 Randall's standard question to develops
 with tongue firmly in cheek is OK, Emacs or vi?.

 Interviews in English?  Live?  With actual listeners?  Uh, no, thanks.

From http://wiki.twit.tv/wiki/FLOSS_Weekly

Most episodes feature the primary developer or developers of a
particular open source software or hardware project. The show is an
open discussion, with Laporte and Schwartz asking questions about the
nature of the project. Typically, the interviewers will ask the guests
about the history of the project, and its development model (such as
which language it is written in, which version control system is used,
and what development environment the author uses). Some shows, such as
the interviews with Jon Maddog Hall and Simon Phipps, are not
specific to an open source project, and feature more general topics,
such as the philosophy of free and open source software. Shows begin
and end with a brief discussion between Laporte and Schwartz, before
and after calling the guest. Often the guests are interviewed via
Skype, with Laporte's staff at TWiT being responsible for the audio
recording and production.

A 55 min Skype interview live! Indeed frightening.
Almost like an unprepared conference talk.

I needed 5 years to get used to speak for 60 min in my radio show I hosted.

--
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: Cygwin on FLOSS Weekly

2010-01-20 Thread Andrew Schulman
 A 55 min Skype interview live! Indeed frightening.
 Almost like an unprepared conference talk.

Surely our esteemed project leaders have all of the knowledge they'd need
to answer questions about Cygwin for 55 minutes.  But whether they'd want
to do so is of course up to them.


--
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: units: update, FHS compliance

2010-01-20 Thread Corinna Vinschen
On Jan 20 16:00, Marco Atzeri wrote:
 I think we should start a package adoption campaign, to 
 avoid additional workload to Yaakov.

*P*ackage *A*doption *C*ampain?  So a guy, who adopts one of
Yaakov's package is a PACman?

We have not only Yaakov's packages, but also a couple of orphaned
packages because the maintainer left and stopped maintaining.

It would be nice if people who are interested in becoming package
maintainer would pick up the occasional package.  Here's the current
list of orphaned packages:

  apache2
  boost
  catgets
  cocom
  cramfs
  cyrus-sasl
  ddd
  distcc
  docbook-xml
  docbook-xsl
  e2fsimage
  e2fsprogs
  elfio
  ioperm
  jgraph
  links
  mtd
  nfs-server
  ocaml
  openjade
  opensp
  pdksh
  pine
  ping
  plotutils
  sunrpc
  x2x
  xinetd


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

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



highlight keywords

2010-01-20 Thread indrek

Hi
I'm using make/gcc for compiling applications. It generates a lot of output.
I need to highlight some keywords (show red text), in example error.
Is it possible with Cygwin. My OS is Windows XP.
-- 
View this message in context: 
http://old.nabble.com/highlight-keywords-tp27245865p27245865.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

2010-01-20 Thread Edward McGuire
On Wed, Jan 20, 2010 at 11:56, indrek ho...@hot.ee wrote:
 I'm using make/gcc for compiling applications. It generates a lot of output.
 I need to highlight some keywords (show red text), in example error.
 Is it possible with Cygwin. My OS is Windows XP.

Use grep(1). It has the color option you are looking for. Here is an
example having a simple regexp that matches (prints) all lines but
highlights error as it does so.

grep -E --color 'error|$'

Best wishes,

Edward
-- 
What part of Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
don't you understand?

--
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: units: update, FHS compliance

2010-01-20 Thread Marco Atzeri
--- Mer 20/1/10, Corinna Vinschen  ha scritto:

 On Jan 20 16:00, Marco Atzeri wrote:
  I think we should start a package adoption campaign,
 to 
  avoid additional workload to Yaakov.
 
 *P*ackage *A*doption *C*ampain?  So a guy, who adopts
 one of
 Yaakov's package is a PACman?
 
 We have not only Yaakov's packages, but also a couple of
 orphaned
 packages because the maintainer left and stopped
 maintaining.
 
 It would be nice if people who are interested in becoming
 package
 maintainer would pick up the occasional package. 
 Here's the current
 list of orphaned packages:
 
   apache2
   boost
these 2 scare me :-)

   catgets
   cocom
   cramfs
   cyrus-sasl
   ddd
   distcc
   docbook-xml
   docbook-xsl
   e2fsimage
   e2fsprogs
   elfio
   ioperm
   jgraph
   links
   mtd
   nfs-server
   ocaml
   openjade
   opensp
   pdksh
   pine
   ping

I will look at this, but it seems a bit tricky...

   plotutils

From http://www.gnu.org/software/plotutils/
The current version is 2.4.1, released July 2000.

I should say not very active, is used somewhere ? 

   sunrpc
   x2x
   xinetd
 
 
 Corinna

Marco






--
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: {rxvt-unicode-X/rxvt-unicode-common}-9.07-1

2010-01-20 Thread A.R. Burgers

I installed rxvt-unicode-X and rxvt-unicode-common.
The postinstall script has run, /etc/termcap has been updated.
/usr/share/terminfo as well:


$ find /usr/share/terminfo -mtime -1
/usr/share/terminfo/72
/usr/share/terminfo/72/rxvt-unicode
/usr/share/terminfo/72/rxvt-unicode256


However I get unknown terminal type messages:


$ echo $TERM
rxvt-unicode

m...@p3200 ~
$ top
'rxvt-unicode': unknown terminal type.



$ ls -l /bin/urxvt
lrwxrwxrwx 1 Teun Geen 23 2010-01-20 18:56 /bin/urxvt - /etc/alternatives/urxvt

m...@p3200 ~
$ ls -l /etc/alternatives/urxvt
lrwxrwxrwx 1 Teun Geen 20 2010-01-20 18:56 /etc/alternatives/urxvt - 
/usr/bin/urxvt-X.exe


setting TERM to xterm works.
Does anyone know why TERM=rxvt-unicode won't work?

Teun

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

2010-01-20 Thread Gary Johnson
On 2010-01-20, indrek wrote:
 Hi
 I'm using make/gcc for compiling applications. It generates a lot of output.
 I need to highlight some keywords (show red text), in example error.
 Is it possible with Cygwin. My OS is Windows XP.

make | grep --color=always -C error

HTH,
Gary



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

2010-01-20 Thread Andy Koppe
2010/1/20 indrek:
 I'm using make/gcc for compiling applications. It generates a lot of output.
 I need to highlight some keywords (show red text), in example error.
 Is it possible with Cygwin.

Have a look at the colorgcc package as well.

(Unfortunately its default config is broken, looking for gcc in
/usr/local/bin. Hence you need to either edit the global config at
/etc/colorgcc/colorgccrc or copy it to ~/.colorgccrc and change the
paths to /usr/bin. You can also change the colours for various
messages there.)

Andy

--
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: units: update, FHS compliance

2010-01-20 Thread Corinna Vinschen
On Jan 20 18:11, Marco Atzeri wrote:
 --- Mer 20/1/10, Corinna Vinschen  ha scritto:
  list of orphaned packages:
  
    apache2
    boost
 these 2 scare me :-)

Me, too :)

    ping
 
 I will look at this, but it seems a bit tricky...

It just needs a Windows hack for non-Admin users, starting with Windows
XP.  If a user get's a permission denied when trying to open a SOCK_RAW
socket, it should fall back to a Windows-specific routine using the IP
Helper functions IcmpCreateFile/IcmpSendEcho2/IcmpCloseHandle, or the
IPv6 equivalents Icmp6CreateFile/Icmp6SendEcho2/Icmp6CloseHandle.

    plotutils
 
 From http://www.gnu.org/software/plotutils/
 The current version is 2.4.1, released July 2000.
 
 I should say not very active, is used somewhere ? 

I have no idea.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

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



Issues with terminal freezing after scp in expect script.

2010-01-20 Thread Damo, David
Hi,

 

I have interesting problem. I have bash script that calls an expect script that 
works fine and does an scp. However after the scp the terminal freezes. It is 
stuck on the bash prompt, however the prompt is not the original prompt. After 
I do ctrl C it continues to process. I tried to do a ctrl c/break/exit in the 
expect script, but it does not work. Any ideas what could be causing the 
problem? Scripts are below:

 

Bash script:

 

#!/usr/bin/bash

 

echo `date`   - Starting shell script.

 

touch /apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/runshell

 

echo `date`  - Copy files.

 

expect 
/apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/SMWeblogic/SMWeblogiccp.exp
 $1 $2 $5 $6

 

file=`basename $1`

 

echo `date`  - Run build on:  $file

# expect 
/apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/SMWeblogic/SMWeblogicrun.exp
 $1 $2 $5 $6 $3 $4

 

echo `date`   - Finished.

 

 

Expect script:

 

#!/usr/local/bin/expect -f

#

set filename [lindex $argv 0]

set hostname [lindex $argv 1]

set uu [lindex $argv 2]

set unixpass [lindex $argv 3]

 

set force_conservative 0  ;# set to 1 to force conservative mode even if

  ;# script wasn't run conservatively 
originally

if {$force_conservative} {

set send_slow {1 .1}

proc send {ignore arg} {

sleep .1

exp_send -s -- $arg

}

}

 

 

set timeout -1

spawn $env(SHELL)

match_max 10

send -- scp $filename $...@$hostname:/tmp/\r

while {1} {

expect {

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; }

}

}

exp_send --  





send -- exit\r

sleep 10

# send -- scp 
/apps/sjsws/sunws-acs/https-acsdemo.cibcwm.com/docs/archives/smasa-12.zip 
$...@$hostname:/tmp/\r

while {1} {

expect {

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; }

}

}

sleep 30

send -- exit\r

expect eof

 

Thanks,


David J

--
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: units: update, FHS compliance

2010-01-20 Thread John Morrison
On Wed, January 20, 2010 4:52 pm, Corinna Vinschen wrote:
 On Jan 20 16:00, Marco Atzeri wrote:
 I think we should start a package adoption campaign, to
 avoid additional workload to Yaakov.

 *P*ackage *A*doption *C*ampain?  So a guy, who adopts one of
 Yaakov's package is a PACman?

 We have not only Yaakov's packages, but also a couple of orphaned
 packages because the maintainer left and stopped maintaining.

 It would be nice if people who are interested in becoming package
 maintainer would pick up the occasional package.  Here's the current
 list of orphaned packages:

Would it be a good idea to put these on a web page and feature it
prominently on the front page?

pac.html anyone? :)

J.


--
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: units: update, FHS compliance

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 10:00, Marco Atzeri wrote:

I was thinking to take his fltk-X11 package as I need fltk
for octave and the current package don't work at all
for my need as Octave is X11 oriented.


At least officially, Teun Burgers is still a maintainer for the Cygwin 
FLTK package, so you need to coordinate with him.  AFAICS nothing in the 
distro currently depends on FLTK, so a switch is simple, but you would 
need to provide a libfltknox1.1 compat package for users who may have 
built their own software against the previous Win32 version.



Yaakov

--
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: units: update, FHS compliance

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 10:52, Corinna Vinschen wrote:

It would be nice if people who are interested in becoming package
maintainer would pick up the occasional package.  Here's the current
list of orphaned packages:


docbook-xml
docbook-xsl
openjade
opensp

These are all part of Ports' DocBook system, which I (was) volunteered 
to ITP about two weeks ago; I just uploaded a minor bugfix yesterday, so 
I should be able to proceed with that ITP.


boost
e2fsimage
e2fsprogs
links
ocaml
plotutils

There are already Ports packages for these, but see here wrt potential 
issues with the e2fsprogs and ocaml packages:


http://article.gmane.org/gmane.os.cygwin.ports.general/736


Yaakov

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



orpie setup.hint problem

2010-01-20 Thread David Rothenberger
The requires: line for orpie mentions lapack. I think this should be 
liblapack0?


For some reason, setup never believes that lapack is installed. It keeps 
listing it for installation in the Preview pane. I install it each time, 
but it is never listed as an installed package by cygcheck. orpie is the 
only package that depends on lapack.


--
David Rothenberger    daver...@acm.org

All things are either sacred or profane.
The former to ecclesiasts bring gain;
The latter to the devil appertain.
-- Dumbo Omohundro

--
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: units: update, FHS compliance

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 12:11, Marco Atzeri wrote:

   plotutils


 From http://www.gnu.org/software/plotutils/
The current version is 2.4.1, released July 2000.

I should say not very active, is used somewhere ?


Actually, the website just hasn't been kept current.  I see now that 
plotutils 2.6 was released a few months ago (Ports still has 2.5).


Plotutils (specifically the C++ libplotter2) is used by pstoedit.


Yaakov

--
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: ATTN: perl-Tk maintainer RE: perl-Tk is broken

2010-01-20 Thread Reini Urban

Thrall, Bryan schrieb:

RE: http://cygwin.com/ml/cygwin/2009-07/msg00890.html

Reini Urban wrote:

2009/7/24 Wolfgang Goetz:

http://matrix.cpantesters.org/?dist=Tk+804.028_501
ohjeh.. perl 5.8.8 is yellow for cygwin.
there seems to be no interest at all for the moment.


I had some spare time some time ago to fix most of the issues, it compiles now ,
just the event loop still needs to be reconfigured.


is /usr/bin/widget working for you? ?all examples?
the funny thing in my (better: my companies) environment:
'widget' solely throws errors. under debugger control all is fine.
This smells like optimization/parameter flaws for me.
(mainly the -O3, maybe more)


No,
It's just the wrong eventloop configuration.
A simple fix, but it needs at least a day to dig through it again and test it.
I mailed Slaven to do that, but he also had no time yet.


It sounds like you were on the verge of fixing this problem, but it doesn't 
look like there's been any progress since that last email 
(http://search.cpan.org/dist/Tk/ lists the latest release as from November 
2008).

Is there a patch or some other workaround for this problem? Because of it, we 
are having to delay upgrading our application to Cygwin 1.7.


Do you need Win32 native Tk or just x Tk?
My patch was just to support Win32 Tk. I have no time for this in the 
next month.


x Tk aka the perl-tk package just has to be recompiled against latest 
perl, cygwin and gcc.

--
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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: cpan can't find its own tempfile

2010-01-20 Thread Reini Urban

Andrew Schulman schrieb:

Andrew Schulman schrieb:

I'm trying to use cpan (perl 5.10.1-2) to install Spreadsheet::Read.
When I try, I get a whole bunch of errors like e.g.

Warning: expected file
[/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012]
doesn't exist

Error while trying to rename
'/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz.tmp6012' to
'/home/ASchulma/.cpan/sources/authors/01mailrc.txt.gz': No such file
or directoryLockfile removed.

And indeed, the file 01mailrc.txt.gz.tmp6012 doesn't exist:

$ ls -l /home/ASchulma/.cpan/sources/authors
total 5
-rw-r-+ 1 ASchulma Domain Users 779 2010-01-14 12:28 01mailrc.txt.tmp6012
-rw-r-+ 1 ASchulma Domain Users 388 2010-01-14 12:28 01mailrc.txt.tmp6012.gz

It seems that cpan is trying to find 01mailrc.txt.gz.tmp6012, when
what it really wants is 01mailrc.txt.tmp6012.gz; or vice versa.

cygcheck -srv output is attached.


This is a known problem when none of your CPAN download methods
(LWP, curl, wget, ...) work or your proxy is wrong or your mirror
setting is wrong.


OK.  Any suggestions on how I can figure out which of those is the problem?
I'm not sure about LWP, but wget and curl both work from the command line,
without a proxy.  Wrong mirror?  How would I fix that?  Maybe it was set
wrong during the automatic initial setup-- how do I clear that?


Sorry, I was busy.

Can you send me my our /home/ASchulma/.cpan/CPAN/MyConfig.pm to me only,
so I can check which method is failing for you.

You can disable failing download methods with the key:
  'dontload_hash' = { q[Net::FTP]=q[1] },

I disabled Net::FTP for me.

--
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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: orpie setup.hint problem

2010-01-20 Thread Andrew Schulman
 The requires: line for orpie mentions lapack. I think this should be 
 liblapack0?

Hm, you seem to be right.  I just uninstalled lapack and liblapack, leaving
just liblapack-devel and liblapack0.  I quit and restarted orpie, and it
runs fine.  (If you try to start orpie without any *lapack* packages
installed, it just gives a black screen.)  It seems to use just
cygblas-0.dll, from liblapack0.

 For some reason, setup never believes that lapack is installed. It keeps 
 listing it for installation in the Preview pane. I install it each time, 
 but it is never listed as an installed package by cygcheck. orpie is the 
 only package that depends on lapack.

Yes, lapack, gcc, and I think one other package do that.  It's been
discussed here before but I forget the reason.  It seems to be
uncorrectable at present.

I agree that it would be nicer to avoid that, so I'll post a new setup.hint
that fixes the dependency.

Thanks for reporting this.
Andrew.


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



Gtk+ cygwin problem

2010-01-20 Thread Richard Dickinson
Hi

I am trying to compile  run gtk+ code/apps on my Vista computer with ho
success so far.

 

I have compiled a gtk+ c code simple helloworld app(exe) but it won't
run-here is the error:

 

d...@dad-pc
/cygdrive/c/RPD_Programming/RPD_Gtk+Gimp_toolkit/Gtk+_www.gtk.org_tut

orial/Gtk+_tutorial_www.gtk.org/base_gtk

$ ./base

 

Gtk-WARNING **: cannot open display:

 

Neither does the gtk-demo run  trying to run this I get such errors

d...@dad-pc ~

$ gtk-demo

 

(gtk-demo:6380): Gtk-WARNING **: cannot open display:

 

Or

 

d...@dad-pc /cygdrive/c/Program Files/gtkmm/gtkmm-demo

$ gtk-demo

 

(gtk-demo:1052): Gtk-WARNING **: cannot open display:

 

d...@dad-pc /cygdrive/c/Program Files/gtkmm/gtkmm-demo

$ gtk-demo.exe

 

(gtk-demo:6596): Gtk-WARNING **: cannot open display:

 

I am pretty sure I have all cygwin gtk+ packages installed via cygwin set-up


And on my Vista machine I have gtkmm for Windows setup from which I can run

Gtk-demo from my Vista cmd prompt (but cannot compile gtk+ code with from
Vista cmd 

prompt as I get 'access denied' error message?!). I have cygwin/bin in my
path  gtkmm/bin also.

 

I am grateful if anyone can help me solve this so I can compile  run gtk+
in cygwin.

I look forward to helpful replies, thanks




--
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: Issues with terminal freezing after scp in expect script.

2010-01-20 Thread Damo, David
Okay the issue was with expect. The weird thing is I tried break before and it 
froze so I assumed it was not the issue. After restarting the terminal break 
worked:

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; }

Needs to be:

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; break }

If hung on password so I had to restart my terminal. Weird.

David

-Original Message-
From: Damo, David 
Sent: Wednesday, January 20, 2010 3:04 PM
To: 'cygwin@cygwin.com'
Subject: Issues with terminal freezing after scp in expect script.

Hi,

 

I have interesting problem. I have bash script that calls an expect script that 
works fine and does an scp. However after the scp the terminal freezes. It is 
stuck on the bash prompt, however the prompt is not the original prompt. After 
I do ctrl C it continues to process. I tried to do a ctrl c/break/exit in the 
expect script, but it does not work. Any ideas what could be causing the 
problem? Scripts are below:

 

Bash script:

 

#!/usr/bin/bash

 

echo `date`   - Starting shell script.

 

touch /apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/runshell

 

echo `date`  - Copy files.

 

expect 
/apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/SMWeblogic/SMWeblogiccp.exp
 $1 $2 $5 $6

 

file=`basename $1`

 

echo `date`  - Run build on:  $file

# expect 
/apps/sjsws/sunws-automation/https-autodemo.cibcwm.com/docs/SMWeblogic/SMWeblogicrun.exp
 $1 $2 $5 $6 $3 $4

 

echo `date`   - Finished.

 

 

Expect script:

 

#!/usr/local/bin/expect -f

#

set filename [lindex $argv 0]

set hostname [lindex $argv 1]

set uu [lindex $argv 2]

set unixpass [lindex $argv 3]

 

set force_conservative 0  ;# set to 1 to force conservative mode even if

  ;# script wasn't run conservatively 
originally

if {$force_conservative} {

set send_slow {1 .1}

proc send {ignore arg} {

sleep .1

exp_send -s -- $arg

}

}

 

 

set timeout -1

spawn $env(SHELL)

match_max 10

send -- scp $filename $...@$hostname:/tmp/\r

while {1} {

expect {

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; }

}

}

exp_send --  





send -- exit\r

sleep 10

# send -- scp 
/apps/sjsws/sunws-acs/https-acsdemo.cibcwm.com/docs/archives/smasa-12.zip 
$...@$hostname:/tmp/\r

while {1} {

expect {

Are you sure you want to continue connecting (yes/no)? {exp_send 
yes\r}

*assword: { send $unixpass\r; }

}

}

sleep 30

send -- exit\r

expect eof

 

Thanks,


David J

--
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: 1.7.1: /usr/bin/more.exe

2010-01-20 Thread Cyrille Lefevre


Peter Koch a écrit :

Hi!

Running 1.7.1 on Windows 2008 R2 i experience problems with more.exe
(which is a copy of less.exe).

Specifically, if i view a file with less lines as the cygwin shell can
show, NOTHING is displayed.

$ echo  a
$cat a
aaa
$ more a
$ less a
aaa
a (END)


more behave differently than less by default, specificaly if more
isn't more, but less doing it as more...

historically, less isn't more, but more than more, but not more !

so, let's try : humm, man more less :-)

export MORE=-ces
export LESS=-crs

under *bsd, export MORE=-ceis
under *unix, export MODE=-cls (AIx, HP-UX, etc.)

Regards,

Cyrille Lefevre
--
mailto:cyrille.lefevre-li...@laposte.net



--
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: Gtk+ cygwin problem

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 16:36, Richard Dickinson wrote:

Gtk-WARNING **: cannot open display:


Some googling would have shown you what this means.  You need to be 
running an X server and set the DISPLAY variable in order to use GTK+ 
(or any other X11 GUI).


This being a Cygwin/X question, it really belongs on the Cygwin/X list; 
redirecting accordingly.



And on my Vista machine I have gtkmm for Windows setup from which I can run
Gtk-demo from my Vista cmd prompt


GTKmm for Windows is just that -- for WINDOWS.  Cygwin's GTK+ is a 
*NIX/X11 version and needs a Cygwin-built GTKmm, which is available from 
Cygwin Ports.



(but cannot compile gtk+ code with from Vista cmd
prompt as I get 'access denied' error message?!).


'/usr/bin/gcc' is a symlink, which Windows itself doesn't understand. 
Cygwin commands are generally meant to be run from a Cygwin environment 
(in this case, bash, or another shell of your choice).


 I have cygwin/bin in my path  gtkmm/bin also.

This is asking for problems.  You're better off keeping extra Win32 
components out of your Cygwin PATH.



Yaakov
Cygwin/X

--
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: ATTN: perl-Tk maintainer RE: perl-Tk is broken

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 15:39, Reini Urban wrote:

Do you need Win32 native Tk or just x Tk?
My patch was just to support Win32 Tk. I have no time for this in the
next month.


Nor should you need to.  I maintain the perl-Tk package, and we use the 
X11 interface because this is Cygwin, not ActivePerl.



x Tk aka the perl-tk package just has to be recompiled against latest
perl, cygwin and gcc.


I'll admit that I haven't used perl-Tk in a while, but I just tested 
/usr/bin/widget with perl-5.10.1-2 and see nothing wrong.



Yaakov

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



Design issue with new MS-DOS style path warning?

2010-01-20 Thread Batson, Chuck
Hello folks,

I am aware it is possible to disable the MS-DOS style path detected
warning with the 'nodosfilewarning' option.

But this message raises the question of, What is the Cygwin ideal?
That is, how to avoid the warning in a clean way without resorting to
the 'nodosfilewarning' option?

There is a situation in which it is not conceptually clean to avoid
the warning: at the interface between the host OS and Cygwin tools.

Say, for example, you create a Windows batch file containing the line:

  touch C:\foo.txt

You will receive the warning MS-DOS style path detected.  How do you
avoid the warning without resorting to 'nodosfilewarning'?

1. Use cygpath to convert the path first.  This solution is not ideal,
because it forces the caller of 'touch' to know that it is a Cygwin
utility and not a native one.  It is also not ideal because in some use
cases it is very impractical to run cygpath over a path before passing
it on to a command.

2. Use some alternative to cygpath, i.e., manual transformation of the
path from DOS style to POSIX style.  This suffers from the same issues
as item #1, with the added issue that it also forces the caller to be
aware of Cygwin internals (i.e., how to map X: to /cygdrive/X/).

3. Put your commands in a shell script and run them from there.  Not
ideal because in a sense it forces you, again, to know the difference
between Cygwin and native utilities.  Even if you're okay with that,
you'll get bitten running the script -- the invocation bash
C:\script.sh suffers the same issue!

When starting Cygwin executables from Windows, it should be considered
reasonable -- even sensible -- to use Windows native paths.

Perhaps there should be no warning generated for command-line arguments
when the executable is launched from Windows.  Or perhaps paths should
be converted from Windows to POSIX at that time (similar to the way the
PATH environment variable is handled).

Or perhaps I'm completely missing something fundamental and you're about
to set me straight.  :-)

Thanks for your time.

Best wishes,

Chuck


--
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: Design issue with new MS-DOS style path warning?

2010-01-20 Thread Yaakov (Cygwin/X)

On 20/01/2010 19:11, Batson, Chuck wrote:

Or perhaps I'm completely missing something fundamental and you're about
to set me straight.  :-)


Exactly.  Bottom line: it doesn't matter how you launch the command.  If 
you're running a Cygwin command, then use Cygwin paths.  You have been 
(and will continue to be) warned. :-)



Yaakov

--
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: Cygwin on FLOSS Weekly

2010-01-20 Thread Brian Wilson
I think it would be a great idea and might interest someone in joining the 
esteemed support team.  That would be a nice bonus.

Sincerely,

Brian S. Wilson
===
Home: (678) 376-9258   Cell: (678) 232-9357 wil...@ds.net
===

-- Original Message ---
From: Andrew Schulman schulman.and...@epamail.epa.gov
To: cygwin@cygwin.com
Sent: Wed, 20 Jan 2010 11:49:58 -0500
Subject: Re: Cygwin on FLOSS Weekly

  A 55 min Skype interview live! Indeed frightening.
  Almost like an unprepared conference talk.
 
 Surely our esteemed project leaders have all of the knowledge they'd 
 need to answer questions about Cygwin for 55 minutes.  But whether 
 they'd want to do so is of course up to them.
 
 --
 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
--- End of Original Message ---


--
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: {rxvt-unicode-X/rxvt-unicode-common}-9.07-1

2010-01-20 Thread Charles Wilson
A.R. Burgers wrote:
 I installed rxvt-unicode-X and rxvt-unicode-common.
 The postinstall script has run, /etc/termcap has been updated.
 /usr/share/terminfo as well:
 
 $ find /usr/share/terminfo -mtime -1
 /usr/share/terminfo/72
 /usr/share/terminfo/72/rxvt-unicode
 /usr/share/terminfo/72/rxvt-unicode256
 
 However I get unknown terminal type messages:

This is because some -- many -- applications have not been recompiled
since 4/2008, and are still using cygncurses-8.dll.  That dll used the
old terminfo database, in which the entries are organized as

/usr/share/terminfo/[a-zA-z0-9]/

The new terminfo entries are organized as

/usr/share/terminfo/xx/  where xx is a two-digit hexadecimal number.

Now, the rxvt-unicode-common postinstall script WILL install two
different copies of each entry, but only if you have installed the
old-style terminfo compiler program tic0.

Use setup, install the 'tic0' package, and reinstall rxvt-unicode-common.

--
Chuck

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



[Fwd: Dave Korn appointed Cygwin maintainer]

2010-01-20 Thread Charles Wilson
Congratulations, Dave! Well deserved.

--
Chuck
---BeginMessage---
It is my pleasure to announce that with strong support by the three
existing maintainers in this area, the steering committee has appointed
Dave Korn Cygwin (actually windows, cygwin, mingw) maintainer.

Thanks for your contributions so far, keep up the good work, Dave, and
please adjust the MAINTAINERS file accordingly.

Happy hacking!

Gerald


---End Message---
--
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: [Fwd: Dave Korn appointed Cygwin maintainer]

2010-01-20 Thread Charles Wilson
Charles Wilson wrote:
 Congratulations, Dave! Well deserved.

Aw, geez.  Sorry guys.  I didn't realize forwarding would expose email
addresses like that.

--
Chuck

--
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: Design issue with new MS-DOS style path warning?

2010-01-20 Thread Christopher Faylor
On Wed, Jan 20, 2010 at 05:11:28PM -0800, Batson, Chuck wrote:
Hello folks,

I am aware it is possible to disable the MS-DOS style path detected
warning with the 'nodosfilewarning' option.

But this message raises the question of, What is the Cygwin ideal?
That is, how to avoid the warning in a clean way without resorting to
the 'nodosfilewarning' option?

There is a situation in which it is not conceptually clean to avoid
the warning: at the interface between the host OS and Cygwin tools.

Say, for example, you create a Windows batch file containing the line:

  touch C:\foo.txt

You will receive the warning MS-DOS style path detected.  How do you
avoid the warning without resorting to 'nodosfilewarning'?

touch /cygdrive/c/foo.txt

cgf

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



path not found - fstab problem?

2010-01-20 Thread Russ
Hello,

I have cygwin installed in the default c:\cygwin location...

I cannot get cygwin to see an executable in my path  -- unless I
change dirs down to the application location or run it with the
absolute path.

This works:
r...@mycomputer  ~
$  /c/Apps/apache-ant-1.8.0RC1/bin/ant -version
Apache Ant version 1.8.0RC1 compiled on January 5 2010

THIS DOES NOT:
From my home dir:  type ant and it is not found.

r...@mycomputer ~
$ date
Wed Jan 20 20:20:44 PST 2010

r...@mycomputer ~
$ ant
-bash: ant: command not found

I am using cygwin 1.7.1-1 with the new /etc/fstab file.

Here is my fstab file:
cat /etc/fstab:
   # For a description of the file format, see the Users Guide
   # http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table

   C: /c ntfs binary 0 0
   D: /d ntfs binary 0 0
   # This is default anyway:
   # none /cygdrive cygdrive binary,posix=0,user 0 0

If I am in my home directory and simply type ant it is not found.

r...@mycomputer ~
$ date
Wed Jan 20 20:20:44 PST 2010

r...@mycomputer ~
$ ant
-bash: ant: command not found

my .bash_profile path looks like:
PATH=$PATH:/c/Apps/apache-ant-1.8.ORC1/bin
export PATH

RUNNING MOUNT...
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /c type ntfs (binary)
D: on /d type unknown (binary)

However if I manually change directories until I get to the path and
run the command from there (verifying the path and executable are in
fact there and I haven't done a typo)  I can execute the command

r...@mycomputer ~
$ cd c:

r...@mycomputer /c
$ cd Apps/

r...@mycomputer  /c/Apps
$ cd apache-ant-1.8.0RC1/bin

r...@mycomputer  /c/Apps/apache-ant-1.8.0RC1/bin
$ ./ant -version
Apache Ant version 1.8.0RC1 compiled on January 5 2010

--
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: Design issue with new MS-DOS style path warning?

2010-01-20 Thread Dave Korn
On 21/01/2010 01:11, Batson, Chuck wrote:

 That is, how to avoid the warning in a clean way without resorting to
 the 'nodosfilewarning' option?

 Say, for example, you create a Windows batch file containing the line:
 
   touch C:\foo.txt

  Well, don't do that then.

cheers,
  DaveK

--
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: path not found - fstab problem?

2010-01-20 Thread Andy Koppe
2010/1/21 Russ:
 Hello,

 I have cygwin installed in the default c:\cygwin location...

 I cannot get cygwin to see an executable in my path  -- unless I
 change dirs down to the application location or run it with the
 absolute path.

 This works:
 r...@mycomputer  ~
 $  /c/Apps/apache-ant-1.8.0RC1/bin/ant -version
 Apache Ant version 1.8.0RC1 compiled on January 5 2010

 THIS DOES NOT:
 From my home dir:  type ant and it is not found.

 r...@mycomputer ~
 $ date
 Wed Jan 20 20:20:44 PST 2010

 r...@mycomputer ~
 $ ant
 -bash: ant: command not found

 I am using cygwin 1.7.1-1 with the new /etc/fstab file.

 Here is my fstab file:
 cat /etc/fstab:
   # For a description of the file format, see the Users Guide
   # http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table

   C: /c ntfs binary 0 0
   D: /d ntfs binary 0 0
   # This is default anyway:
   # none /cygdrive cygdrive binary,posix=0,user 0 0

 If I am in my home directory and simply type ant it is not found.

 r...@mycomputer ~
 $ date
 Wed Jan 20 20:20:44 PST 2010

 r...@mycomputer ~
 $ ant
 -bash: ant: command not found

 my .bash_profile path looks like:
 PATH=$PATH:/c/Apps/apache-ant-1.8.ORC1/bin
 export PATH

You've got an O ('oh') instead of a 0 ('zero') in there. If that's
just a typo in your mail, please check what your path is actually set
to, using 'echo $PATH'.

Andy

--
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: undefined reference to `___real__Znwj'

2010-01-20 Thread Dave Korn
On 18/12/2009 20:01, Dave What part of PCYMTNQREAIYR isn't obvious? ;-) Korn
wrote:

   The problem is a bug in the linker, so you'll need to check out binutils
 from sourceware.org cvs and apply the attached
 weaksyms-vs-undefs-order-of-ref-fix-take-2.diff patch.

  I misunderstood this problem, and the patch I suggested in this post is
incorrect, which is why I haven't sent it upstream.  If anyone's been using
it, please discard it.  The correct analysis is in GCC's PR42818:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818

[  Note that none of this matters to anyone not experimenting with GCC 4.5.0
from upstream SVN.  ]

cheers,
  DaveK

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