[AC21.4] Auto detecting integer types and avoid using Motif for cygwin

2005-11-16 Thread Dr. Volker Zell
Hi

Here is a patch for auto detecting integer types. The cygwin version has
the same problems as FreeBSD/NetBSD.

Also included is a patch which avoids using Motif for cygwin. This is
needed because the latest gcc-3.4.4 for cygwin seems to produce an
executable which runs fine but coredumps on every exit which is very annoying.


Ciao
  Volker


--- xemacs-21.4.17/ChangeLog 

2005-11-15  Dr. Volker Zell  [EMAIL PROTECTED]

* configure.in: Avoid using Motif also for cygwin

2005-11-15  Dr. Volker Zell  [EMAIL PROTECTED]

* configure.in: Check for u_int*_t typedefs and use them in
Berkeley DB detection.


--- xemacs-21.4.17/src/ChangeLog ---

2005-11-15  Dr. Volker Zell  [EMAIL PROTECTED]

* config.h.in: New HAVE_U_INT*_T defines.

* database.c: Only use u_int*_t typedefs if not already
defined.


diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/configure.in 
xemacs-21.4.17/configure.in
--- xemacs-21.4.17-orig/configure.in2005-01-31 03:54:47.0 +0100
+++ xemacs-21.4.17/configure.in 2005-11-13 14:17:01.355844800 +0100
@@ -3594,7 +3594,7 @@
 
 dnl Avoid using Motif :-(
 case $opsys in
-  *linux* )  lucid_prefers_motif=no  ;;
+  *linux* | cygwin* )  lucid_prefers_motif=no  ;;
   * )lucid_prefers_motif=yes ;;
 esac
 
@@ -4456,6 +4456,24 @@
  $with_database_dbm  = yes  \
   AC_DEFINE(HAVE_DBM)
 
+dnl Check for u_int*_t typedefs.
+AC_CHECK_TYPE(u_int8_t, uint8_t)
+if test $ac_cv_type_u_int8_t = yes; then
+AC_DEFINE(HAVE_U_INT8_T,1)
+fi
+AC_CHECK_TYPE(u_int16_t, uint16_t)
+if test $ac_cv_type_u_int16_t = yes; then
+AC_DEFINE(HAVE_U_INT16_T,1)
+fi
+AC_CHECK_TYPE(u_int32_t, uint32_t)
+if test $ac_cv_type_u_int32_t = yes; then
+AC_DEFINE(HAVE_U_INT32_T,1)
+fi
+AC_CHECK_TYPE(u_int64_t, uint64_t)
+if test $ac_cv_type_u_int64_t = yes; then
+AC_DEFINE(HAVE_U_INT64_T,1)
+fi
+
 dnl Check for Berkeley DB.
 if test $with_database_berkdb != no; then
   AC_MSG_CHECKING(for Berkeley db.h)
@@ -4480,14 +4498,22 @@
 #ifdef HAVE_INTTYPES_H
 #define __BIT_TYPES_DEFINED__
 #include inttypes.h
+#if !HAVE_U_INT8_T
 typedef uint8_t  u_int8_t;
+#endif
+#if !HAVE_U_INT16_T
 typedef uint16_t u_int16_t;
+#endif
+#if !HAVE_U_INT32_T
 typedef uint32_t u_int32_t;
+#endif
 #ifdef WE_DONT_NEED_QUADS
+#if !HAVE_U_INT64_T
 typedef uint64_t u_int64_t;
 #endif
 #endif
 #endif
+#endif
 #include $header
 ],[], db_h_file=$header; break)
 ;;
diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/src/config.h.in 
xemacs-21.4.17/src/config.h.in
--- xemacs-21.4.17-orig/src/config.h.in 2003-08-18 03:42:10.0 +0200
+++ xemacs-21.4.17/src/config.h.in  2005-11-13 14:17:01.425945600 +0100
@@ -422,6 +422,15 @@
 /* Compile in support for DBM databases?  May require libgdbm or libdbm. */
 #undef HAVE_DBM
 
+/* Define to 1 if the system has the type `u_int8_t'. */
+#undef HAVE_U_INT8_T
+/* Define to 1 if the system has the type `u_int16_t'. */
+#undef HAVE_U_INT16_T
+/* Define to 1 if the system has the type `u_int32_t'. */
+#undef HAVE_U_INT32_T
+/* Define to 1 if the system has the type `u_int64_t'. */
+#undef HAVE_U_INT64_T
+
 /* Compile in support for Berkeley DB style databases?  May require libdb. */
 #undef HAVE_BERKELEY_DB
 /* Full #include file path for Berkeley DB's db.h */
diff -urN -x .build -x .inst -x .sinst xemacs-21.4.17-orig/src/database.c 
xemacs-21.4.17/src/database.c
--- xemacs-21.4.17-orig/src/database.c  2003-06-19 05:34:42.0 +0200
+++ xemacs-21.4.17/src/database.c   2005-11-13 14:17:01.445974400 +0100
@@ -46,13 +46,21 @@
 #define __BIT_TYPES_DEFINED__
 #include inttypes.h
 #ifndef __FreeBSD__
+#if !HAVE_U_INT8_T
 typedef uint8_t  u_int8_t;
+#endif
+#if !HAVE_U_INT16_T
 typedef uint16_t u_int16_t;
+#endif
+#if !HAVE_U_INT32_T
 typedef uint32_t u_int32_t;
+#endif
 #ifdef WE_DONT_NEED_QUADS
+#if !HAVE_U_INT64_T
 typedef uint64_t u_int64_t;
 #endif
 #endif /* WE_DONT_NEED_QUADS */
+#endif /* !defined(__FreeBSD__) */
 #endif /* HAVE_INTTYPES_H */
 #endif /* !(defined __GLIBC__  __GLIBC_MINOR__ = 1) */
 /* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */



Re: [AC21.4] Auto detecting integer types and avoid using Motif for cygwin

2005-11-16 Thread Dr. Volker Zell
 Volker Zell writes:

 Hi
 Here is a patch for auto detecting integer types. The cygwin version has
 the same problems as FreeBSD/NetBSD.

 Also included is a patch which avoids using Motif for cygwin. This is
 needed because the latest gcc-3.4.4 for cygwin seems to produce an
 executable which runs fine but coredumps on every exit which is very 
annoying.

Upps, this was meant to be sent to xemacs-patches.

Ciao
  Volker



setup.exe window resizing

2005-11-16 Thread Sam Steingold
It is nice that the setup.exe window can now be resized, but it would be
even better if setup.exe remembered how it was resized last time and
started in my preferred size.
many applications do that, I see no reason for setup.exe not to.
thanks.
-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.dhimmi.com/ http://truepeace.org http://www.palestinefacts.org/
http://www.openvotingconsortium.org/ http://www.mideasttruth.com/
UNIX, car: hard to learn/easy to use; Windows, bike: hard to learn/hard to use.


Re: setup.exe window resizing

2005-11-16 Thread Christopher Faylor
On Wed, Nov 16, 2005 at 10:00:52AM -0500, Sam Steingold wrote:
It is nice that the setup.exe window can now be resized, but it would be
even better if setup.exe remembered how it was resized last time and
started in my preferred size.
many applications do that, I see no reason for setup.exe not to.
thanks.

Wow!  Neither do I!  What were we thinking?

Oh, yeah, I remember.  WJM.

cgf


Security advisory: gtk2-x11

2005-11-16 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gerrit,

The GdkPixbuf library, that is also included in GTK+ 2, contains
vulnerabilities that could lead to a Denial of Service or the execution
of arbitrary code.

Solution: a patch for gtk+-2.x is required (URL below).

(BTW, Gerrit, what are your plans for GTK/GNOME?  I'm willing to take
stuff over if you've lost interest.)

http://www.gentoo.org/security/en/glsa/glsa-200511-14.xml
http://www.idefense.com/application/poi/display?id=339type=vulnerabilities
http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-libs/gtk+/files/gtk+-2-xpm_loader.patch?hideattic=1

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDe5qZpiWmPGlmQSMRAgRdAJ9Fh1oRf52xEELoi0gfshs9dKXBIwCfaGGU
Ce7YghJ4hRm8rCB07c3SdgI=
=KMcX
-END PGP SIGNATURE-


Please upload: wget-1.10.2-1

2005-11-16 Thread Harold L Hunt II

Files
=
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1.tar.bz2
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1-src.tar.bz2
unchanged:
http://homer.starnet.com/~hunth/cygwin/release/wget/setup.hint

Changes
===
2005-11-15 Harold L Hunt II
- Upstream fix for remotely exploitable vulnerability:
- http://www.mail-archive.com/wget@sunsite.dk/msg08300.html
- http://www.mail-archive.com/wget@sunsite.dk/msg08295.html
- Thanks to Alan Dobkin for the heads up.

Harold


setup.hint
==
sdesc: Utility to retrieve files from the WWW via HTTP and FTP
ldesc: GNU Wget is a file retrieval utility which can use either
the HTTP, HTTPS, or FTP protocols. Wget features include the ability
to work in the background while you're logged out, recursive retrieval
of directories, file name wildcard matching, remote file timestamp
storage and comparison, use of Rest with FTP servers and Range with
HTTP servers to retrieve files over slow or unstable connections,
support for Proxy servers, and configurability.
category: Web
requires: openssl libintl3 libiconv2 bash cygwin




Re: Please upload: wget-1.10.2-1

2005-11-16 Thread Harold L Hunt II

Both.

Harold

Christopher Faylor wrote:

On Wed, Nov 16, 2005 at 01:42:07PM -0800, Harold L Hunt II wrote:


Files
=
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1.tar.bz2
http://homer.starnet.com/~hunth/cygwin/release/wget/wget-1.10.2-1-src.tar.bz2
unchanged:
http://homer.starnet.com/~hunth/cygwin/release/wget/setup.hint

Changes
===
2005-11-15 Harold L Hunt II
- Upstream fix for remotely exploitable vulnerability:
- http://www.mail-archive.com/wget@sunsite.dk/msg08300.html
- http://www.mail-archive.com/wget@sunsite.dk/msg08295.html
- Thanks to Alan Dobkin for the heads up.



Uploaded.  Which old version should I remove?

cgf



Re: [Patch] Setup: Warn about dropped mirrors.

2005-11-16 Thread Bas van Gompel
Op Wed,  2 Nov 2005 22:29:10 +0100 (MET) schreef Bas van Gompel
in n2m-g.dkbctp.3vv3gvj.1atbuzzy-box.bavag:
[Warn about dropped mirrors]

I cleaned this up a little (use ``area'', not ``continent'', check for
``!size()'' instead of ``==''.) I also folded the second patch
(Initializing cache_action) into this one and added some missing parts
to the ChangeLog-entry. Please use this one.


ChangeLog-entry: (please fix the at.)

2005-11-16  Bas van Gompel  patch-cygsup.buzzatbavag.tmfweb.nl

* res.rc (IDD_DROPPED): New dialog.
* resource.h (IDD_DROPPED): New dialog-id.
(IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids.
* site.cc (site_list_type::init, site_list_type::site_list_type):
Change to four parameter form.
(site_list_type::site_list_type, site_list_type::operator=) Copy
servername, area and location.
(load_site_list): New function, broken out of get_site_list.
Support four-parameter site_list_type.
(get_site_list): Break out load_site_list. Move reading cache
earlier. Don't write new cache. Set flags to record cache state.
Load both all_site_list and cached_site_list.
(SiteSetting::registerSavedSite): Use four-parameter site_list_type.
(drop_proc, check_dropped_mirrors, save_cache_file): New functions.
(SitePage::OnNext): Check for dropped mirrors and save cache as
appropriate.
(SitePage::OnMessageCmd): Use four-parameter site_list_type.
* site.h (site_list_type::init, site_list_type::site_list_type):
Change to four parameter form.
(site_list_type): Add servername, area and location members.


L8r,
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe s.u(z)\1.as.| me. 4^re
Index: setup/res.rc
===
RCS file: /cvs/cygwin-apps/setup/res.rc,v
retrieving revision 2.67
diff -u -p -r2.67 res.rc
--- setup/res.rc9 Sep 2005 19:52:51 -   2.67
+++ setup/res.rc16 Nov 2005 19:59:08 -
@@ -356,6 +356,32 @@ BEGIN
 
 END
 
+IDD_DROPPED DIALOG DISCARDABLE  0, 0, 317, 142
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION Cygwin Setup - Use dropped mirrors?
+FONT 8, MS Shell Dlg
+BEGIN
+LTEXT   Warning:,IDC_STATIC,7,8,40,8
+LTEXT   One or more mirrors you have selected is/are not on the
+list of official Cygwin mirrors any more. 
+It/They may be out of date or missing some packages.\n
+This affects the following mirror(s):,
+IDC_STATIC,47,8,263,32
+EDITTEXTIDC_DROP_MIRRORS,7,40,303,40,WS_VSCROLL | WS_HSCROLL |
+ES_LEFT | ES_MULTILINE | ES_READONLY | ES_AUTOHSCROLL |
+ES_AUTOVSCROLL
+LTEXT   If you experience installation problems, consider trying 
+official mirrors only.\n\n
+Do you want to continue, using this/these mirror(s)?,
+IDC_STATIC,7,88,303,24
+CONTROL Don't warn me about this/these mirror(s) again,
+IDC_DROP_NOWARN,Button,BS_AUTOCHECKBOX | WS_TABSTOP,
+7,120,213,15
+PUSHBUTTON  Yes,IDYES,220,120,45,15
+DEFPUSHBUTTON   No,IDNO,265,120,45,15
+
+END
+
 /
 //
 // Manifest
Index: setup/resource.h
===
RCS file: /cvs/cygwin-apps/setup/resource.h,v
retrieving revision 2.32
diff -u -p -r2.32 resource.h
--- setup/resource.h9 Sep 2005 19:52:51 -   2.32
+++ setup/resource.h16 Nov 2005 19:59:09 -
@@ -55,6 +55,7 @@
 #define IDD_VIRUS 218
 #define IDD_DESKTOP   219
 #define IDD_PREREQ220
+#define IDD_DROPPED   221
 
 // Bitmaps
 
@@ -152,3 +153,5 @@
 #define IDC_PREREQ_TEXT   576
 #define IDC_PREREQ_EDIT   577
 #define IDC_PREREQ_CHECK  578
+#define IDC_DROP_MIRRORS  579
+#define IDC_DROP_NOWARN   580
Index: setup/site.cc
===
RCS file: /cvs/cygwin-apps/setup/site.cc,v
retrieving revision 2.40
diff -u -p -r2.40 site.cc
--- setup/site.cc   14 Oct 2005 04:23:14 -  2.40
+++ setup/site.cc   16 Nov 2005 19:59:13 -
@@ -46,6 +46,17 @@ static const char *cvsid =
 
 extern ThreeBarProgressPage Progress;
 
+
+/*
+  What to do if dropped mirrors are selected.
+*/
+enum
+{
+  CACHE_REJECT,// Go back to re-select mirrors.
+  CACHE_ACCEPT_WARN, 

[ITP] naim-0.11.8

2005-11-16 Thread Jon Allen
I intend to package and maintain naim, starting with
the most recent 0.11.8 release, which fixes the TOC/TOC2
issue present in the currently-packaged 0.11.7.2 version.

Since naim has no maintainer I'd like to step forward
to maintain this package.  Unless anyone objects I'll
produce a package and make it available for inclusion
shortly.

References:

http://sourceware.org/ml/cygwin-apps/2005-10/msg00246.html
http://sourceware.org/ml/cygwin-apps/2005-10/msg00207.html

jca



Re: [ITP] naim-0.11.8

2005-11-16 Thread Christopher Faylor
On Thu, Nov 17, 2005 at 05:19:17AM +, Jon Allen wrote:
I intend to package and maintain naim, starting with
the most recent 0.11.8 release, which fixes the TOC/TOC2
issue present in the currently-packaged 0.11.7.2 version.

Since naim has no maintainer I'd like to step forward
to maintain this package.  Unless anyone objects I'll
produce a package and make it available for inclusion
shortly.

References:

http://sourceware.org/ml/cygwin-apps/2005-10/msg00246.html
http://sourceware.org/ml/cygwin-apps/2005-10/msg00207.html

Thanks for volunteering.  Much appreciated.

cgf


Re: changes in monitor resolution

2005-11-16 Thread Roger Levy

Igor Pechtchanski wrote:

On Thu, 3 Nov 2005, Roger Levy wrote:



Hi,

I use Cygwin/X on my laptop all the time, and I often switch back and forth
between my XGA laptop display and an SXGA external monitor.  (I use
startxwin.bat to start the X server.)  What I find is that when I start xwin
while my laptop display is active, and then switch to the external monitor,
nothing displaying through X is visible on the bottom and right-hand sides of
the display.  I assume that this is because startxwin.bat detected my monitor
resolution as XGA and so configured its resolution as 1024x768, and doesn't
automatically resize when I switch displays.  I can fix this by closing the X
server and then restarting it, but then I have to close all my X clients too.

Is there a way to either (a) automatically start X with SXGA resolution, or
(b) manually resize X after I switch monitors, without restarting it?



(a) is possible -- you can pass screen size parameters to X.  For (b), see
if -multiplemonitors does the right thing; if not, you're out of luck.
Igor


Many thanks, I got (a) to work.  For reference, here is the command in 
my startxwin.bat that did the trick:


 run XWin -multiwindow -screen 0 1280x1024x32 -clipboard -silent-dup-error

Roger


--
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: bash shell not responding

2005-11-16 Thread Thorsten Kampe
* Wayne Willcox (2005-11-15 19:57 +0100)

You know that top-posting is evil?

 What do you mean by open a batch file?

He wrote the batch file. Probably the cygwin.bat. Make people's
life more fun by letting them guess is his motto...


--
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: Can I get a sigint when the bash window closed with close window's button?

2005-11-16 Thread Konrad Eisele

I can get SIGINT when user presses ctrl-c, but when the user 
closes the console by just clicking on the close button then 
no signal handler is called. Neather SIGINT not SIGHUP. 
Maybe it is not possible to get any notification by cygwin
because cygwin is killed without notification too
Can there be a workaround somehow? Maybe there is 
a windows hook or such?

-- main.c 
#include signal.h
#include stdio.h

void func1() {
  FILE *current;
  current=fopen(func1.txt,a);
  fprintf(current,func1 called);
  fclose(current);
  while(1) {
printf(func1\n);
  }
}

void func2() {
  FILE *current;
  current=fopen(func2.txt,a);
  fprintf(current,func2 called);
  fclose(current);
  while(1) {
printf(func2\n);
  }
}

int main() {
  signal (SIGHUP, func1);
  signal (SIGINT, func2);
  while(1) {};
}

--



cygwin@cygwin.com schrieb am 16.11.05 00:00:50:
 
 On Tue, 15 Nov 2005, Joe Smith wrote:
 
  Igor Pechtchanski [EMAIL PROTECTED] wrote in message news:[EMAIL 
  PROTECTED]
 
 http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.
 
   On Tue, 15 Nov 2005, Konrad Eisele wrote:
  
When th cygwin bash window is closed by clicking on the window's
close button the the appliaction gets killed without recieving a
sigint or any atexit called. Is there a way to be able to run
cleanup code when the application is about to be killed?
  
   According to exceptions.cc, a SIGHUP will be sent to bash in this
   case. Are you handling the right signal?
  
   BTW, the atexit() callback also should be called -- do you have a
   simple testcase to reproduce the problem?
   Igor
 
  I know nothing about signals, but this program when run inside bash does
  not seem to run callback() *ever*.
  ^c does not run it. Closing the bash window does not run it. But if you
  remove the loop then it *is* run.
 
  #include stdio.h
  void callback()
  {
   FILE *current;
 
   current=fopen(test.txt,a);
   fprintf(current,atexit);
  }
 
  int main()
  {
   atexit(*callback);
   while(1)
   {};
  }
 
 IIRC, the atexit callback is not supposed to be invoked from a default
 signal handler.  In fact, Cygwin defines a signal_exit specifically to
 avoid invoking it.  If you change the above to terminate on something
 other than a signal (e.g., a condition in the loop), your callback will be
 invoked.  Adding a signal handler that calls exit() should also cause the
 callback to be invoked.
   Igor
 -- 
   http://cs.nyu.edu/~pechtcha/
   |\  _,,,---,,_  [EMAIL PROTECTED]
 ZZZzz /,`.-'`'-.  ;-;;,_  [EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
 '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
 
 If there's any real truth it's that the entire multidimensional infinity
 of the Universe is almost certainly being run by a bunch of maniacs. /DA
 
 --
 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/
 



--
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: Can I get a sigint when the bash window closed with close window's button?

2005-11-16 Thread Samuel Thibault
Hi,

Konrad Eisele, le Wed 16 Nov 2005 10:22:43 +0100, a écrit :
 I can get SIGINT when user presses ctrl-c, but when the user 
 closes the console by just clicking on the close button then 
 no signal handler is called. Neather SIGINT not SIGHUP. 
 Maybe it is not possible to get any notification by cygwin
 because cygwin is killed without notification too
 Can there be a workaround somehow? Maybe there is 
 a windows hook or such?

I was looking for such thing some time ago, and couldn't find any useful
hook. And
http://msdn.microsoft.com/library/en-us/dllproc/base/setconsolectrlhandler.asp  
says

« The system generates CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and
CTRL_SHUTDOWN_EVENT signals when the user closes the console, logs off,
or shuts down the system so that the process has an opportunity to clean
up before termination [thanks to SetConsoleCtrlHandler()]. Console
functions, or any C run-time functions that call console functions,
may not work reliably during processing of any of the three signals
mentioned previously. The reason is that some or all of the internal
console cleanup routines may have been called before executing the
process signal handler. »

So when the handler is called, it might already be too late...

Cygwin sets winsup/cygwin/exceptions.cc:ctrl_c_handler() as control
handler, and in the CTRL_CLOSE_EVENT case, returns FALSE, i.e. let
windows terminate the process, even if the user set a signal handler for
SIGHUP. Maybe cygwin could return TRUE in such case, so as to give the
application a chance to detach from the console and continue running?

Regards,
Samuel

--
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:WARNING!!!! cygwin1-2005114 completely corrupted a XP laptop

2005-11-16 Thread Rodrigo Medina

Hi everybody,
I have to apologize: My laptop had a HDD failure exactly when
I was checking the cygwin1-20051114 snapshot,
Sorry about that,
R.M.



--
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: WINE on Cygwin

2005-11-16 Thread Informações

   Guys,

   Sorry for not getting involved with this discussion before.

   For those interested in more details about this topic, I included 
several good references in this message.


   I can think of many reasons why someone would want to run WINE under 
Cygwin and my reason, put shortly, is: GDI-X11. I did quite a research to 
identify all the issues related to this, and end up knowning that this 
sendmsg() limitation is a major one. I was really willing to start making 
things happen by getting more info on how to tackle this, but the discussion 
diverged to the rather philosophical why do this discussion. The only 
useful info I got from this thread was that this is still an issue, from 
Corinna.


   Can anyone point me to any reference covering the implementation of the 
missing sendmsg functionality (exchanging file descriptors across processes) 
? Any (incomplete) piece of code ? Any help ?


   My company has manifested a clear commitment to having this done, and 
I'm trying to do my best not to let this die again.


   Tks

   FLu-X

  1 - These are quite informative threads with many useful references:

   http://ask.slashdot.org/article.pl?sid=03/02/21/093223tid=109tid=104tid=4

   http://www.cygwin.com/ml/cygwin-xfree/2002-09/msg00094.html

   2 - Some related projects:

   http://sourceware.org/XOpenWin/

   http://xwinx.sourceforge.net/index.php

   http://sources.redhat.com/win32-x11/

   http://www.d1.dion.ne.jp/~sawanaka/peace/ (em japonês)



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



[ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Corinna Vinschen
I've updated the version of lynx to 2.8.5-4.

This updates Lynx to the official 2.8.5.rel5 patchlevel.  This release
contains the following security related patches:

* modify LYLoadCGI() to prompt user, displaying the command that would
  be executed, to confirm that it should be.  This makes it easier to
  notice when a local program would be run by activating a lynxcgi link.
  This is not done in advanced mode, since the URL is already visible in
  the status line (report by vade79, comments by Greg MacManus) -TD

* eliminate fixed-size buffers in HTrjis() and related functions to
  avoid potential buffer overflow in nntp pages (report by Ulf
  Harnhammar, CAN-2005-3120) -TD


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have general questions or comments, please send them to the
Cygwin mailing list at: cygwin at cygwin dot com.  I would appreciate
it if you would use this mailing list rather than emailing me directly.

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

[EMAIL PROTECTED]

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

http://sources.redhat.com/lists.html#unsubscribe-simple

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

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

--
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:[ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Rodrigo Medina
Hi,
llynx has an extrange and bothering behavior, that actually is not
exclusive of this last version:
If you call lynx  from a command window, when it returns it leaves the
terminal in a starnge status with 
no  echo.  In order to  recover the proper behavior of the terminal one has
to type (with no echo)
$ stty sane
I think that any program should  leave the terminal in its original state.
bye,
R.M.



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



1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Eduard Witteveen

When i double click on the Cygwin shortcut on the desktop a new window
pops up and after 2 seconds it hides again. Since i want to use cygwin,
i run start  cmd and i tried to lauch bash from the console:

C:\cygwin\binbash.exe --version

C:\cygwin\binbash.exe

C:\cygwin\bin


I also tried a few (maybe another also works) other executables with the
same result. Since i was working on a windows machine, i assumed that i
had to reboot the machine, but this didnt influence the results in any way

I also tried to see if the application needed the path in anyway or the
executable to be started with the current directory specification

C:\cygwin\binbash.exe

C:\cygwin\binset PATH=c:\cygwin\bin\

C:\cygwin\binbash

C:\cygwin\bin./bash
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\cygwin\binbash.exe

C:\cygwin\bin


When i look in the taskmanager's processlist, i dont see any cygwin
processes running.

I was happy to see cygcheck.exe working:

C:\cygwin\bincygcheck.exe -c -v -r
Cygwin Package Information
Last downloaded files to: c:\cygwin\download
Last downloaded files from: ftp://linux.rz.ruhr-uni-bochum.de/cygwin

Package  VersionStatus
_update-info-dir 00328-1OK
alternatives 1.3.20a-1  OK
ash  20040127-3 OK
base-files   3.6-1  OK
base-passwd  2.2-1  OK
bash 3.0-11 OK
bzip21.0.3-1OK
coreutils5.3.0-9OK
crypt1.1-1  OK
cygrunsrv1.11-1 OK
cygutils 1.2.9-1OK
cygwin   1.5.18-1   OK
cygwin-doc   1.4-3  OK
diffutils2.8.7-1OK
editrights   1.01-1 OK
findutils4.2.25-2   OK
gawk 3.1.5-1OK
gdbm 1.8.3-7OK
grep 2.5.1a-2   OK
groff1.18.1-2   OK
gzip 1.3.5-1OK
less 381-1  OK
libbz2_1 1.0.3-1OK
libcharset1  1.9.2-1OK
libgdbm  1.8.0-5OK
libgdbm-devel1.8.3-7OK
libgdbm3 1.8.3-3OK
libgdbm4 1.8.3-7OK
libiconv 1.9.2-1OK
libiconv21.9.2-1OK
libintl  0.10.38-3  OK
libintl1 0.10.40-1  OK
libintl2 0.12.1-3   OK
libintl3 0.14.1-1   OK
libncurses5  5.2-1  OK
libncurses6  5.2-8  OK
libncurses7  5.3-4  OK
libncurses8  5.4-4  OK
libpcre0 6.3-1  OK
libpopt0 1.6.4-4OK
libreadline4 4.1-2  OK
libreadline5 4.3-5  OK
libreadline6 5.0-4  OK
login1.9-7  OK
man  1.5p-1 OK
minires  1.00-1 OK
mktemp   1.5-3  OK
ncurses  5.4-4  OK
openssh  4.1p1-2OK
openssl  0.9.8a-1   OK
openssl097   0.9.7i-1   OK
rsync2.6.6-1OK
run  1.1.6-1OK
sed  4.1.4-1OK
tar  1.15.1-2   OK
termcap  20050421-1 OK
terminfo 5.4_20041009-1 OK
texinfo  4.8-1  OK
wget 1.9.1-2OK
which1.7-1  OK
zlib 1.2.3-1OK


How can i get the executables working? If more information is needed
about the system please ask.

--
Ing. Eduard Yeb Witteveen   Software Engineer
Hawar Information Technology bv   lid Dijkoraad Groep
De Wymerts 7  8701 WTBolsward
Tel: +31 (0)515 570333 Fax: +31 (0)515 570335
http://www.hawarit.com/ nl_NL fy_NL en_US



--
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: 1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Fabrizio Salvatore

Hi Eduard,

I'm not sure I understand your problem, but in any event here's what I 
do (running cygwin on a WindowsXP laptop) to start the xterm and then a 
session on a different machine:


first, I have a shortcut on my desktop to:

C:\cygwin\usr\X11R6\bin\startxwin.bat

Once oyu double click on the shortcut, also in this case you'll have a 
window that pops-up and then disappears. That's fine, because you've 
simply opened your xterm from within windows.


In startxwin.bat I think I have only un-commented the following line:

run XWin -multiwindow -clipboard -silent-dup-error +bs

After that I have created several shortcuts for an xterm window and also 
to connect to external Linux boxes:


C:\cygwin\bin\rxvt.exe -fn 7x14 -g 120x24 -si -sk -sb -fg black -bg 
white -T cygwin terminal Window -e /usr/bin/tcsh -l


C:\cygwin\bin\rxvt.exe -ls -si -sk -sb -fg white -bg blue -fn 7x14 -g 
120x24 -T lxplus.cern.ch -e ssh -X -Y -l mylogin mymachine.cern.ch


I hope this may help you.

Cheers,

Fab

Eduard Witteveen wrote:

When i double click on the Cygwin shortcut on the desktop a new window
pops up and after 2 seconds it hides again. Since i want to use cygwin,
i run start  cmd and i tried to lauch bash from the console:


C:\cygwin\binbash.exe --version

C:\cygwin\binbash.exe

C:\cygwin\bin



I also tried a few (maybe another also works) other executables with the
same result. Since i was working on a windows machine, i assumed that i
had to reboot the machine, but this didnt influence the results in any way

I also tried to see if the application needed the path in anyway or the
executable to be started with the current directory specification


C:\cygwin\binbash.exe

C:\cygwin\binset PATH=c:\cygwin\bin\

C:\cygwin\binbash

C:\cygwin\bin./bash
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\cygwin\binbash.exe

C:\cygwin\bin



When i look in the taskmanager's processlist, i dont see any cygwin
processes running.

I was happy to see cygcheck.exe working:


C:\cygwin\bincygcheck.exe -c -v -r
Cygwin Package Information
Last downloaded files to: c:\cygwin\download
Last downloaded files from: ftp://linux.rz.ruhr-uni-bochum.de/cygwin

Package  VersionStatus
_update-info-dir 00328-1OK
alternatives 1.3.20a-1  OK
ash  20040127-3 OK
base-files   3.6-1  OK
base-passwd  2.2-1  OK
bash 3.0-11 OK
bzip21.0.3-1OK
coreutils5.3.0-9OK
crypt1.1-1  OK
cygrunsrv1.11-1 OK
cygutils 1.2.9-1OK
cygwin   1.5.18-1   OK
cygwin-doc   1.4-3  OK
diffutils2.8.7-1OK
editrights   1.01-1 OK
findutils4.2.25-2   OK
gawk 3.1.5-1OK
gdbm 1.8.3-7OK
grep 2.5.1a-2   OK
groff1.18.1-2   OK
gzip 1.3.5-1OK
less 381-1  OK
libbz2_1 1.0.3-1OK
libcharset1  1.9.2-1OK
libgdbm  1.8.0-5OK
libgdbm-devel1.8.3-7OK
libgdbm3 1.8.3-3OK
libgdbm4 1.8.3-7OK
libiconv 1.9.2-1OK
libiconv21.9.2-1OK
libintl  0.10.38-3  OK
libintl1 0.10.40-1  OK
libintl2 0.12.1-3   OK
libintl3 0.14.1-1   OK
libncurses5  5.2-1  OK
libncurses6  5.2-8  OK
libncurses7  5.3-4  OK
libncurses8  5.4-4  OK
libpcre0 6.3-1  OK
libpopt0 1.6.4-4OK
libreadline4 4.1-2  OK
libreadline5 4.3-5  OK
libreadline6 5.0-4  OK
login1.9-7  OK
man  1.5p-1 OK
minires  1.00-1 OK
mktemp   1.5-3  OK
ncurses  5.4-4  OK
openssh  4.1p1-2OK
openssl  0.9.8a-1   OK
openssl097   0.9.7i-1   OK
rsync2.6.6-1OK
run  1.1.6-1OK
sed  4.1.4-1OK
tar  1.15.1-2   OK
termcap  20050421-1 OK
terminfo 5.4_20041009-1 OK
texinfo  4.8-1  OK
wget 1.9.1-2OK
which1.7-1  OK
zlib 1.2.3-1OK



How can i get the executables working? If more information is needed
about the system 

Re: WINE on Cygwin

2005-11-16 Thread Corinna Vinschen
On Nov 16 10:02, Informa??es wrote:
Guys,
 
Sorry for not getting involved with this discussion before.
 
For those interested in more details about this topic, I included 
 several good references in this message.
 
I can think of many reasons why someone would want to run WINE under 
 Cygwin and my reason, put shortly, is: GDI-X11. I did quite a research to 
 identify all the issues related to this, and end up knowning that this 
 sendmsg() limitation is a major one. I was really willing to start making 
 things happen by getting more info on how to tackle this, but the 
 discussion diverged to the rather philosophical why do this discussion. 
 The only useful info I got from this thread was that this is still an 
 issue, from Corinna.
 
Can anyone point me to any reference covering the implementation of the 
 missing sendmsg functionality (exchanging file descriptors across 
 processes) ? Any (incomplete) piece of code ? Any help ?
 
My company has manifested a clear commitment to having this done, and 
 I'm trying to do my best not to let this die again.

Red Hat would be delighted to do some contractual work for your company
to target the problem of the missing descriptor passing functionality.
See http://www.redhat.com/software/cygwin/ for contact information.


Corinna

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

--
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: 1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Eduard Witteveen

Fabrizio Salvatore wrote:
I'm not sure I understand your problem, but in any event here's what I 
do (running cygwin on a WindowsXP laptop) to start the xterm and then a 
session on a different machine:

First of all, thank you for the quick reply.

Mine points to C:\cygwin\cygwin.bat, since i dont want to use any 
x-server applications.


I want to use rsync over ssh, and once in a while login using ssh.

Therefore i guess that your sollution doesnt help me to get the system 
working.


--
Ing. Eduard Yeb Witteveen   Software Engineer
Hawar Information Technology bv   lid Dijkoraad Groep
De Wymerts 7  8701 WTBolsward
Tel: +31 (0)515 570333 Fax: +31 (0)515 570335
http://www.hawarit.com/ nl_NL fy_NL en_US

--
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: [ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Corinna Vinschen
On Nov 16 08:19, Rodrigo Medina wrote:
 Hi,
 llynx has an extrange and bothering behavior, that actually is not
 exclusive of this last version:
 If you call lynx  from a command window, when it returns it leaves the
 terminal in a starnge status with 
 no  echo.  In order to  recover the proper behavior of the terminal one has
 to type (with no echo)
 $ stty sane
 I think that any program should  leave the terminal in its original state.
 bye,

http://cygwin.com/acronyms/#WJFFM.

Is your $TERM set to something weird?


Corinna

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

--
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: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Igor Pechtchanski on 11/15/2005 12:24 PM:
 
 
 First thing to rule out is Windows-level problems -- I assume if you run
 cat from bash, you can type in 'B', right?  Then let's work on bash:
 Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?
 Does 'bind -p | grep B' show anything for 'B'?

Also check the output of stty -a to make sure that you haven't turned B
into a terminal control character.

 
 Check your .inputrc for any bindings for B; then .bashrc and
 /etc/profile, for any bind commands.
 

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
volunteer cygwin bash maintainer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDezHv84KuGfSFAYARAvJ8AJ96eGBVqqEaB6SoC+QzNRBLyvCeKgCgigQa
BQajnCuvaixnCvURBQL8Ab8=
=WNuL
-END PGP SIGNATURE-

--
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: 1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Eduard Witteveen on 11/16/2005 5:28 AM:
 
 I also tried to see if the application needed the path in anyway or the
 executable to be started with the current directory specification
 
 C:\cygwin\binbash.exe

 C:\cygwin\binset PATH=c:\cygwin\bin\

Usually, you should leave Windows directories on your PATH, and just
append to it rather than replacing it.


 C:\cygwin\bin./bash
 '.' is not recognized as an internal or external command,
 operable program or batch file.

- From cmd, you have to use Windows syntax to invoke a program (.\bash, not
./bash).

 
 I was happy to see cygcheck.exe working:

That's because cygcheck is a native windows program that works even if the
rest of cygwin does not.

Please ATTACH, not send inline, the output of cygcheck -svr (your -cvr
output is not as helpful), per the directions here:

 Problem reports:   http://cygwin.com/problems.html

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDezQ884KuGfSFAYARAnTiAKCy/S4Fg/EU220aAbtJdW79qpJD4QCfZkAr
AvHlv0jZRvghCwDuiAPThtg=
=phlv
-END PGP SIGNATURE-

--
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: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Igor Pechtchanski
On Wed, 16 Nov 2005, Eric Blake wrote:

 According to Igor Pechtchanski on 11/15/2005 12:24 PM:

  First thing to rule out is Windows-level problems -- I assume if you run
  cat from bash, you can type in 'B', right?  Then let's work on bash:
  Can you paste a 'B' into bash?  Does 'B' show up if you type 'Ctrl-V B'?

 Also check the output of stty -a to make sure that you haven't turned B
 into a terminal control character.

True, though that would've been taken care of by the Windows-level
problems above (wrong name, I know).

  Does 'bind -p | grep B' show anything for 'B'?
 
  Check your .inputrc for any bindings for B; then .bashrc and
  /etc/profile, for any bind commands.

Now, interestingly enough, a lone 'B' in .inputrc doesn't produce any key
binding that could be found in the bind output (with all the flags I
tried).  How would I figure out that 'B' is bound to nothing, but bound
nonetheless[*]?
Igor
P.S. This is a non-Cygwin-specific readline question, and perhaps
off-topic for this list.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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: Capital/upper case B doesn't register in either cygwin bash prompt, rxvt bash prompt, or ssh client bash prompt

2005-11-16 Thread Eric Blake
 Now, interestingly enough, a lone 'B' in .inputrc doesn't produce any key
 binding that could be found in the bind output (with all the flags I
 tried).  How would I figure out that 'B' is bound to nothing, but bound
 nonetheless[*]?

bind -p lists all bindings, and every character that does not do a
special function should at least do self-insert.  If a key combination
is not bound, then it will not show up in bind -p.  Therefore, the
fact that bind -p | grep 'B' failed to produce output is a good
indication that 'B' is not bound, and it can be rectified by:
bind B:self-insert
(where you use the key sequence [ctrl-v][shift-B] to actually
put B in the command line). 

   Igor
 P.S. This is a non-Cygwin-specific readline question, and perhaps
 off-topic for this list.

True, but I couldn't resist answering.

--
Eric Blake
volunteer cygwin readline maintainer



--
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: 1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Eduard Witteveen

Eric Blake wrote:

I was happy to see cygcheck.exe working:

That's because cygcheck is a native windows program that works even if the
rest of cygwin does not.

Please ATTACH, not send inline, the output of cygcheck -svr (your -cvr
output is not as helpful), per the directions here:

Thank for pointing out my error, here is the output

(i had to get it by using a webserver, so i dont have any ISO 8859-7 vs. 
windows-1253 problems ;) )

Cygwin Configuration Diagnostics
Current System Time: Wed Nov 16 16:07:48 2005

Windows 2003 Web Server Ver 5.2 Build 3790 

Running in Terminal Service session

Path:   f:\oracle\ora92\bin
C:\Program Files\Oracle\jre\1.3.1\bin
C:\Program Files\Oracle\jre\1.1.8\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 400(HawarIT)  GID: 401(mkpasswd)
401(mkpasswd)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 400(HawarIT)  GID: 401(mkpasswd)
401(mkpasswd)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

Path = `f:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program 
Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\as\Application Data'
CLIENTNAME = `EDUARD-LAPTOP'
CommonProgramFiles = `C:\Program Files\Common Files'
COMPUTERNAME = `HAWAR-WS'
ComSpec = `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\as'
JSERV = `f:\oracle\ora92/Apache/Jserv/conf'
lib = `C:\Program Files\Microsoft.NET\OracleClient.Net\'
LOGONSERVER = `\\HAWAR-WS'
NUMBER_OF_PROCESSORS = `2'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0207'
ProgramFiles = `C:\Program Files'
PROMPT = `$P$G'
SESSIONNAME = `RDP-Tcp#4'
SystemDrive = `C:'
SystemRoot = `C:\WINDOWS'
TEMP = `C:\DOCUME~1\as\LOCALS~1\Temp\1'
TMP = `C:\DOCUME~1\as\LOCALS~1\Temp\1'
USERDOMAIN = `HAWAR-WS'
USERNAME = `HawarIT'
USERPROFILE = `C:\Documents and Settings\as'
windir = `C:\WINDOWS'
WV_GATEWAY_CFG = `f:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd N/AN/A
c:  hd  NTFS 10001Mb  65% CP CS UN PA FC 
d:  cd N/AN/A
e:  hd  NTFS 29996Mb  86% CP CS UN PA FC Websites
f:  hd  NTFS 29996Mb  73% CP CS UN PA FC Diversen

C:\cygwin  /  system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: sh
Found: C:\cygwin\bin\tar.exe

   56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  cygbz2-1.dll v0.0 ts=2005/7/9 7:09
   18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
  cygcharset-1.dll v0.0 ts=2004/7/6 20:09
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
  cygcrypt-0.dll v0.0 ts=2003/10/19 9:57
 1108k 2005/10/17 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.7.dll v0.0 ts=2005/10/17 11:16
 1047k 2005/10/11 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.8.dll v0.0 ts=2005/10/11 14:47
   40k 2005/09/29 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
  cygform-8.dll v0.0 ts=2005/9/29 4:15
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/25 7:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - 

Re: Updated: run-1.1.6-1

2005-11-16 Thread Alexander Gottwald
On Wed, 2005-11-16 at 11:38 +0100, Jean-Francois Sygnet wrote:

 I just want to tell you that since run.exe was moved
 from X-startup-scripts-1.0.10-4 to run-1.1.5-2
 a command like run ssh-agent Xwin ...
 does not work anymore: it takes 100% of the CPU forever)
 I've looked at the source code of both version of run.c
 and the diff seems minimal, but ...

run ssh-agent Xwin | less does work. So I assume this has to do with the
piping of command output. 

I think enabling the piping fix only if stdin or stdout handles are
found will fix this. I'll try this in the next days

bye
ago




signature.asc
Description: This is a digitally signed message part


Finally Apache with mod_perl working (was: Error compiling mod_perl with apache-1.3.33-2 and perl-5.8.7-4)

2005-11-16 Thread Nenad Antic

Gerrit P. Haase wrote, on 11/4/2005 8:37 PM:



Please try ot run with a recent snapshot installed.
http://cygwin.com/snapshots/



Gerrit


Finally I have mod_perl working.

For reference I will describe the changes I did so that some other poor 
soul might find help if he/she runs into the same trouble. (All of this 
is probably not necessary but I don't have time to isolate the crux of 
the problem.)


I did install a recent snapshot (right now cygwin-inst-20051114).

I downgraded to and rebuilt perl-5.8.6-4. Had to change:

*** major.version.cygwin.sh.patch.orig  Wed Nov 16 14:56:31 2005
--- major.version.cygwin.sh.patch   Mon Nov 14 17:25:03 2005
***
*** 9,14 
--- 9,23 
$v_e_r_s =~ tr/./_/;
if ( $dllname =~ /libperl.*/) {
  $dllname =cygperl$v_e_r_s.dll;
+ @@ -64,6 +64,7 @@
+$command .= -Wl,--out-implib=$libname.dll$LIB_EXT if $LIB_EXT;
+$command .= -Wl,--export-all-symbols if $EXPORT_ALL;
+$command .= -Wl,--enable-auto-import -Wl,--stack,8388608; # always
+ +  $command .= -Wl,--enable-auto-image-base; # always
+ 
+# other args are passed through

+shellexec($command \\\n$args\n);
+
 --- bleadperl/lib/ExtUtils/t/Embed.t~   2004-11-09 16:40:19.006625000 
+0100
 +++ bleadperl/lib/ExtUtils/t/Embed.t2004-11-09 16:40:30.61600 
+0100

 @@ -94,7 +94,7 @@

and

*** build.sh.orig   Wed Nov 16 15:00:51 2005
--- build.shMon Nov 14 17:26:01 2005
***
*** 41,48 
--- 41,50 
   -Dmksymlinks\
   -Duse64bitint   \
   -Dusethreads\
+   -Uusemymalloc   \
   -Doptimize='-O3'\
   -Dman3ext='3pm' \
+   -Dusesitecustomize \
   21 | tee ${dir}/log.configure

 # Implied by usethreads

(this is what I believe is the real fix since a perl -V showed 
usemymalloc=y with the existing build script and mod_perl does not 
like this, see INSTALL.apaci in the perl_mod tarball)


I rebuilt apache-1.33.3-2 using the included build script with the only 
difference that I installed in /usr/local/apache instead so as not to 
conflict with the distributed version. However I had to comment out
ssize_t_EXFUN(getline, (char **, size_t *, FILE *));  in 
/usr/include/sys/stdio.h or apache would not build (apache has its own 
getline). Don't know if this a problem with the snapshot or with my 
installation.


I built mod_perl-1.29 following the steps in the post from Harald Joerg 
(http://cygwin.com/ml/cygwin/2005-08/msg00128.html).


/nenad



--
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: Making the command console stay on top

2005-11-16 Thread Terry Dabbs
 
I would like to thank you for your suggestions.

Just to clarify: I have checked out a number of the simple solutions:
WindowOnTop, AlwaysOnTop, LaunchOnTop, etc.,.
The problem with each of these is that it requires the operator to
physically select the window which is to remain on top, or with
LaunchOnTop, it doesn't work with the windows console window (The
command prompt). The point of this program is to have an operator at a
pc that controls a manufacturing operation to use a scanner, scan a
barcode, and the data they need shows up on the screen, with no other
interaction with the program (the dirt simple approach...), so I will
not make them fumble around with the mouse, which is required by the
above mentioned programs. They are quite nice for what they do, however.

The machines I am putting my application on, do not have cygwin
installed as a package. What I do is put the compiled exe file and the
cygwin1.dll only on the machine and use the windows console as the
display window, because all the windows machines have it. I can have
them start it with a short cut, and it requires zero support once it is
set up. Previous applications I have made in this way automatically
loaded the machine's programs for it, but this one requires the operator
to read the program output and then enter it in the main application
that covers the screen.

What I will do:
-Check out the run package and see what I can do with it.
-See what other window manipulations are possible with gcc libraries.
-Keep checking this mailing list for suggestions. This is one of the few
lists that actually produces *really good* information.

Terry 


original message:-
I have an application written and compiled using gcc and ncurses (for
the colors), in the cygwin environment. This application gets
information from a database, and displays it to an operator running a
machine telling them what program to input (among other things).

The problem is that when they go to enter the program name, the console
window immediately falls behind that of the application they are
entering the data into, and they can't read it.

I'm using a shortcut to start this, and the level of display of the
window is not one of the options. Does anyone (that will answer) know a
way to start this window with the attributes needed so it will not be
covered when another application is touched by the mouse?

Thanks,

Terry Dabbs

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


--
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: 1.5.18-1: cannot start executables (except cygcheck.exe) on windows server 2003 web edition

2005-11-16 Thread Eric Blake
  
  Please ATTACH, not send inline, the output of cygcheck -svr (your -cvr
  output is not as helpful), per the directions here:
 Thank for pointing out my error, here is the output

Thanks for the full output - it pinpoints your problem:

 Not Found: sh

Somehow, your installation of bash has failed.  Rerun setup.exe,
and select bash for reinstallation, so that the postinstall
script will run again and create /bin/sh.  Without a working
/bin/sh, many cygwin programs have extreme difficulty.

--
Eric Blake



--
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: Simple cygwin script doesn't work with Windows schedular/Command prompt

2005-11-16 Thread Pandey, Sunil K
Thanks Brian and Peter. It works now.

-sunil

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brian Dessent
Sent: Tuesday, November 15, 2005 7:50 PM
To: cygwin@cygwin.com
Subject: Re: Simple cygwin script doesn't work with Windows
schedular/Command prompt

Pandey, Sunil K wrote:

 However when I try to launch the same script with windows scheduler
via
 following command line it doesn't work.

That is because if you type /tmp/test.csh at the prompt, bash will ask
the system to execute the script and the #!/bin/csh line will be
honored.  It will also do this if you run it as bash -c /tmp/test.csh,
since that is by definition what the -c flag means.

But if you just run bash test.csh (which is what you are doing in you
cronjob) then bash will read the file itself and try to execute each
line as if it were a command.  This will also happen if you type source
test.csh or . test.csh.  And because you are using csh syntax, not
bourne shell syntax, you get unexpected results.

So what this all means is that if you want /bin/csh to execute your
script you need to invoke it as either bash -c /tmp/test.csh or csh
/tmp/test.csh.

None of this has anything to do with Cygwin.  You will find the exact
same behavior on any *nix.

Brian

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


--
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: [ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Rodrigo Medina
ON Nov 16 14:07 Corinna Vinschen  wrote:
On Nov 16 08:19, Rodrigo Medina wrote:
 Hi,
 llynx has an extrange and bothering behavior, that actually is not
 exclusive of this last version:
 If you call lynx  from a command window, when it returns it leaves the
 terminal in a starnge status with 
 no  echo.  In order to  recover the proper behavior of the terminal one
has
 to type (with no echo)
 $ stty sane
 I think that any program should  leave the terminal in its original
state.
 bye,
Is your $TERM set to something weird?

The same thing happens with RXVT ($TERM=xterm),  CMD ($TERM=cygwin) and
xterm ($TERM=term)
bye



--
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: [ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Rodrigo Medina
Oops, there  was  mistake in the previous message.
For xterm  obviously $TERM=xterm.
Right now I am using  a W98 box, but the same happens with a laptop with XP.
regards,
R.M.


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



Help with sshd on alternate port on XP

2005-11-16 Thread Scott Ehrlich
I have the full installation of Cygwin on my XP machine and want to
get sshd to install as a service (easy) on an alternate port (hard).

When I tried via /usr/sbin/sshd -p 8001 I get:

$ /usr/sbin/sshd -p 8001
Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.


I've tried www.google and groups.google but cannot find a good answer.

Thanks for any insight/feedback/help.

Scott

--
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: Help with sshd on alternate port on XP

2005-11-16 Thread René Berber
Scott Ehrlich wrote:

 I have the full installation of Cygwin on my XP machine and want to
 get sshd to install as a service (easy) on an alternate port (hard).
 
 When I tried via /usr/sbin/sshd -p 8001 I get:
 
 $ /usr/sbin/sshd -p 8001
 Could not load host key: /etc/ssh_host_key
 Could not load host key: /etc/ssh_host_rsa_key
 Could not load host key: /etc/ssh_host_dsa_key
 Disabling protocol version 1. Could not load host key
 Disabling protocol version 2. Could not load host key
 sshd: no hostkeys available -- exiting.
 
 
 I've tried www.google and groups.google but cannot find a good answer.
 
 Thanks for any insight/feedback/help.

Edit /etc/sshd_config, just set Port to 8001.

Install sshd as a service following the documentation in
/usr/share/doc/Cygwin/openssh.README.  This is the main part you are missing 
above.

HTH
-- 
René Berber


--
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: WINE on Cygwin

2005-11-16 Thread Brian Dessent
Informações wrote:

 Can anyone point me to any reference covering the implementation of the
 missing sendmsg functionality (exchanging file descriptors across processes)
 ? Any (incomplete) piece of code ? Any help ?

Stevens, UNIX Network Programming Volume 1, chapter 15, section 7.

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



cppunit problems

2005-11-16 Thread angolero


Hello to all, i installed cygwin version 2.457.2.2 in a windows xp, i install
g++, c++ gnu compiler and cppunit, the unitest freamwork for develop unitests
for cpp.
I create a very simple test, (but happens too with any sample code i can find),
the sample contain tree files, SimpleTest.h , SimpleTest.cpp, and run.cpp,
i compile this files to exe files with the next command:

g++ -Wall run.cpp SimpleTest.cpp -lcppunit -o all

and the compiler dont complain at hall, and of corse produce the exe file
all.exe

but When i run the file

./all.exe

i have the next mesage

Segmentation fault (core dumped)

and in the directory i find a new file, all.exe.stackdump
in this file i find the next information:

Exception: STATUS_ACCESS_VIOLATION at eip=00434531
eax=FFFC ebx=0004 ecx=7C809F8A edx= esi=0022E9F0 edi=610066BC
ebp=0022EA08 esp=0022E970 program=C:\cygwin\home\angolero\test\all.exe, pid
1148, thread main
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022EA08  00434531  (100910A4, 1009070C, 0022EA38, 610BC411)
0022EA68  0043ECD5  (100910A0, 10090708, 611317B0, 0022EB04)
0022EAD8  00441BEA  (100910A0, 10090708, 7C809F8A, 610BE30D)
0022EB48  0043FD0E  (0022ED8C, 10090708, 0022EFD0, 7C8399F3)
0022EB68  0043FC1B  (0022ED8C, 100906F8, 0022EB98, 610BE3A7)
0022EBE8  0043FDEA  (0022ED8C, 100906F8, 0022ED90, )
0022EC98  0044012D  (0022ED8C, 0022EE4C, 0022ECB8, 004126C4)
0022ECA8  0043EC50  (0022ED8C, 0022EE4C, 0022ECC8, 00412628)
0022ECB8  004126C4  (0022ED80, 0022EE40, 0022EDC8, 00411CD0)
0022ECC8  00412628  (0022ED80, 0022EE40, 0022ECF8, 610BE3A7)
0022EDC8  00411CD0  (0022EE40, 10091178, 00447210, 0022EE70)
0022EEB8  00412104  (0022EF70, , 0009, 00401181)
0022EFA8  004011E1  (0001, 61822DC0, 100900A8, 0022F000)
0022EFE8  61006A1D  (0022F000, 0022F020, 0022F368, 0022F880)
0022FF88  61006E41  (, , , )
End of stack trace

I try, install cygwin again, and the problem persist, i try to run all the
examples in cppunit documentation, and the problem is the same, the code is
transformed to *.exe files, with no complain from the compiler but when i run
it i have the Segmentation fault (core dumped) message, when i debbug the
code, i find the problem arise when i call the method addTest(Test *test) from
the class TestRunner
i can call the method with diferent arguments and the problem is the same.

Some help please??, i really want to start coding my program, and is the first
time i try to create the tests first, and i start to feel impatient.

Thanks to all.


This message was sent using IMP, the Internet Messaging Program.

--
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: [ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Shankar Unni

Rodrigo Medina wrote:


Right now I am using  a W98 box, but the same happens with a laptop with XP.
regards,


Obviously, at this stage, you should be following the cygwin problem 
reporting protocol.


  Problem reports:   http://cygwin.com/problems.html


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



upgrade/add a single package

2005-11-16 Thread beau
Greetings,

I've looked at the user guide, I think I've got my /etc/setup properly
in place, but when I try to add a new package I end up getting
everything.  The only way I can see to stop this currently is to
manually set each package to keep in the package choosing window. 
All pointers appreciated.

--
Robert Thomas (beau) Hayes Link
(c)2005ISR http://www.semanticrestructuring.com/
Discussion, News and Chat at http://lawboards.semanticrestructuring.com/
In dreams we are not tethered to earthly limitations---G.T.Snail

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



PerlTk under Cygwin?

2005-11-16 Thread Andrew DeFaria

I tried to install Tk for Perl using CPAN by:

$ perl -MCPAN -e install Tk

However it fails with:

In file included from ../pTk/tkWinPort.h:19,
from ../pTk/tkPort.h:28,
from Xlib.xs:7:
../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such 
file or directory

make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/dev/p/.cpan/build/Tk-804.027/Xlib'
make: *** [subdirs] Error 2
 /bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible

Has anybody managed to install Tk for Perl running under Cygwin?
--
There's too much blood in my caffeine system.


--
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: Making the command console stay on top

2005-11-16 Thread Ehud Karni
On Wed, 16 Nov 2005 10:44:21 -0600, Terry Dabbs  wrote:

 The problem with each of these is that it requires the operator to
 physically select the window which is to remain on top, or with
 LaunchOnTop, it doesn't work with the windows console window (The
 command prompt).
     so I will
 not make them fumble around with the mouse, which is required by the
 above mentioned programs.

Check the PowerMenu by Thong Nguyen. It is free of charge (but no
source) and has command line options that will do what you want.
It is at:  http://www.veridicus.com/tummy/programming/powermenu/

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry

--
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: [ANNOUNCEMENT] Updated: lynx-2.8.5-4

2005-11-16 Thread Rodrigo Medina
:\cygwin\bin\cygpng10.dll
  230k 2005/07/11 C:\cygwin\bin\cygpng12.dll
   24k 2005/07/29 C:\cygwin\bin\cyghistory6.dll
  144k 2005/07/29 C:\cygwin\bin\cygreadline6.dll
  304k 2005/07/10 C:\cygwin\bin\cygtiff-5.dll
  281k 2005/07/10 C:\cygwin\bin\cygtiffxx-5.dll
   50k 2003/08/09 C:\cygwin\bin\cygXpm-noX4.dll
   54k 2003/08/09 C:\cygwin\bin\cygXpm-X4.dll
   60k 2003/07/27 C:\cygwin\bin\cygkpathsea-3abi13.dll
 1080k 2003/09/20 C:\cygwin\bin\cygdb_cxx-4.1.dll
   60k 2004/09/27 C:\cygwin\bin\cygkpathsea-3.dll
 1047k 2005/10/11 C:\cygwin\bin\cygcrypto-0.9.8.dll
  215k 2005/10/11 C:\cygwin\bin\cygssl-0.9.8.dll
 1108k 2005/10/17 C:\cygwin\bin\cygcrypto-0.9.7.dll
  231k 2005/10/17 C:\cygwin\bin\cygssl-0.9.7.dll
   54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll
 1248k 2005/08/22 C:\cygwin\bin\cygperl5_8.dll
   21k 2004/10/22 C:\cygwin\bin\cygminires.dll
   17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll
  107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll
  190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll
  802k 2003/09/15 C:\cygwin\bin\cygaspell-15.dll
  991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll
   18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll
   65k 2005/08/23 C:\cygwin\bin\cygz.dll
 1063k 2005/10/13 C:\cygwin\bin\cygplot-2.dll
 1229k 2005/10/13 C:\cygwin\bin\cygplotter-2.dll
   95k 2005/10/13 C:\cygwin\bin\cygxmi-0.dll
  509k 2005/08/14 C:\cygwin\bin\cygfftw3-3.dll
   69k 2005/08/14 C:\cygwin\bin\cygfftw3_threads-3.dll
 1760k 2005/11/16 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.5.19
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 143
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Wed Nov 16 00:14:34 EST 2005
Snapshot date: 20051116-00:12:51
Shared id: cygwin1S4

   28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll
   77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll
   66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll
   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll
 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll
  459k 2004/02/10 C:\cygwin\usr\X11R6\bin\cygXmHTML-0.dll
   36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll
  358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll
  438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll
   75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll
 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll
  877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll
8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll
  254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll
  356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll
  363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll
   49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll
   56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll
   63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll
7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll
  282k 2003/10/28 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll
  275k 2004/01/13 C:\cygwin\usr\X11R6\bin\cygXaw3d-7.dll
   16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll
   76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll
   11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll
   52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll
   28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll
  282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll
   17k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll
  243k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdps-1.dll
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll
   21k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll
   20k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll
  125k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll
   40k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll
   25k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll
  675k 2005/07/16 C:\cygwin\lib\lapack\cygblas.dll
 5367k 2005/07/16 C:\cygwin\lib\lapack\cyglapack.dll

Cygwin

Re: PerlTk under Cygwin?

2005-11-16 Thread J. David Boyd
Andrew DeFaria [EMAIL PROTECTED] writes:

 I tried to install Tk for Perl using CPAN by:

 $ perl -MCPAN -e install Tk

 However it fails with:

 In file included from ../pTk/tkWinPort.h:19,
  from ../pTk/tkPort.h:28,
  from Xlib.xs:7:
 ../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such
 file or directory
 make[1]: *** [Xlib.o] Error 1
 make[1]: Leaving directory `/dev/p/.cpan/build/Tk-804.027/Xlib'
 make: *** [subdirs] Error 2
   /bin/make  -- NOT OK
 Running make test
   Can't test without successful make
 Running make install
   make had returned bad status, install seems impossible

 Has anybody managed to install Tk for Perl running under Cygwin?
 -- 
 There's too much blood in my caffeine system.


I don't think this has worked since Cygwin went from XOrg to XFree, or vice
versa, which ever it was, as I used to be able to build it, but no longer
could, right after the switch.

Dave


--
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: Hang with 20051018 (3rd version) snapshot while building OOo

2005-11-16 Thread Christopher Faylor
On Tue, Nov 15, 2005 at 09:12:42AM -0500, Volker Quetschke wrote:
(snip)
It's still hanging in a multimedia timer call, which is interesting.

The latest snapshot comments out the part of the code which sets the
timer resolution, on the off chance that setting it to 1ms is what is
causing the problem.

It's a long shot but please try out the latest snapshot.

Testing will happen soon ...

Took a little longer, not to reproduce but to send, this time:
  http://www.scytek.de/tc7_2005.tar.bz2

Ok.  Still hanging in the same place.

I've taken one more shot in the dark in the latest snapshot but I don't
have much confidence that it will make any difference.

I don't remember.  Did you ever confirm/deny that this problem happens
with other systems?

cgf

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



gawk 3.1.5-1 coredumps on file open error

2005-11-16 Thread Christian Franke

Hi,

gawk 3.1.5-1 coredumps on file open error.

cygwin-1.5.18 on XP SP2, gawk-3.1.5-1:

$ gawk /test/ no_such_file
Aborted (core dumped)


after reinstalling prev gawk-3.1.4-3:

$ gawk /test/ no_such_file
gawk: cmd. line:1: fatal: cannot open file `no_such_file' for reading 
(No such file or directory)



Christian


--
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: Re: PerlTk under Cygwin?

2005-11-16 Thread Bruce Dobrin
Don't know if you have solved this yet,  but there is a special build
that does indeed work.  
It is a version of tk800.025 with a patch.  I can't find it right now
but I found it with a bit of digging about 2 weeks ago.  There was a
tk800.024 for native win  and tk804.xx for X11.  they both seem to work
after the requesit playing with rebase

I believe I got it from sourceforge:
Cygwin port maintained by: Yaakov Selkowitz
http://sourceforge.net/projects/cygwin-ports/


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of J. David Boyd
Sent: Wednesday, November 16, 2005 1:32 PM
To: cygwin@cygwin.com
Subject: Re: PerlTk under Cygwin?

Andrew DeFaria [EMAIL PROTECTED] writes:

 I tried to install Tk for Perl using CPAN by:

 $ perl -MCPAN -e install Tk

 However it fails with:

 In file included from ../pTk/tkWinPort.h:19,
  from ../pTk/tkPort.h:28,
  from Xlib.xs:7:
 ../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such 
 file or directory
 make[1]: *** [Xlib.o] Error 1
 make[1]: Leaving directory `/dev/p/.cpan/build/Tk-804.027/Xlib'
 make: *** [subdirs] Error 2
   /bin/make  -- NOT OK
 Running make test
   Can't test without successful make
 Running make install
   make had returned bad status, install seems impossible

 Has anybody managed to install Tk for Perl running under Cygwin?
 --
 There's too much blood in my caffeine system.


I don't think this has worked since Cygwin went from XOrg to XFree, or
vice
versa, which ever it was, as I used to be able to build it, but no
longer
could, right after the switch.

Dave


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




--
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: cppunit problems

2005-11-16 Thread Brian Dessent
[EMAIL PROTECTED] wrote:

 Hello to all, i installed cygwin version 2.457.2.2 in a windows xp, i install

That is *not* the version of Cygwin, that is just the version of the
installer, and it tells us nothing useful.  Cygwin is a collection of
many packages and they each have a version number.  This is why we ask
for output of cygcheck -svr when reporting problems, which you did not
include.

 I create a very simple test, (but happens too with any sample code i can 
 find),
 the sample contain tree files, SimpleTest.h , SimpleTest.cpp, and run.cpp,
 i compile this files to exe files with the next command:

You haven't given enough information.  Without the source to this
testcase (or perhaps a stack trace with debugging info) the best anyone
could say would be you're doing something wrong.

Brian

--
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: Making the command console stay on top

2005-11-16 Thread Terry Dabbs
 
Thank you, Ehud!

You just saved me from writing a GUI that I didn't really have time to
do.
Yes, this one works on console windows, you can name the object you want
to float,
And limit it just to that, and it works if you start it before or after
the application.

Terry

-Original Message-

On Wed, 16 Nov 2005 10:44:21 -0600, Terry Dabbs  wrote:

 The problem with each of these is that it requires the operator to 
 physically select the window which is to remain on top, or with 
 LaunchOnTop, it doesn't work with the windows console window (The 
 command prompt).
     so I will
 not make them fumble around with the mouse, which is required by the 
 above mentioned programs.

Check the PowerMenu by Thong Nguyen. It is free of charge (but no
source) and has command line options that will do what you want.
It is at:  http://www.veridicus.com/tummy/programming/powermenu/

Ehud

--
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: upgrade/add a single package

2005-11-16 Thread Brian Dessent
beau wrote:

 I think I've got my /etc/setup properly in place

Huh?  Normally there is no need to touch anything under /etc/setup at
all.

, but when I try to add a new package I end up getting
 everything.  The only way I can see to stop this currently is to
 manually set each package to keep in the package choosing window.

Put the radio button at the top to 'keep', then select whichever
individual package you want.

Brian

--
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: PerlTk under Cygwin?

2005-11-16 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruce Dobrin wrote:
 It is a version of tk800.025 with a patch.  I can't find it right now
 but I found it with a bit of digging about 2 weeks ago.  There was a
 tk800.024 for native win  and tk804.xx for X11.  they both seem to work
 after the requesit playing with rebase
 
 I believe I got it from sourceforge:
 Cygwin port maintained by: Yaakov Selkowitz
 http://sourceforge.net/projects/cygwin-ports/

That version is obsolete now, built for a previous version of perl.  My
current perl-Tk packages (X11 only; the Win32 build hasn't worked for a
while) are available at:

ftp://sunsite.dk/projects/cygwinports/release/perl/perl-Tk/

or with setup.exe, add this server:

ftp://sunsite.dk/projects/cygwinports/

Being that this is frequently requested and doesn't build OOTB, maybe
it's time for me to ITP it.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDe7sHpiWmPGlmQSMRAmuxAJ4+62lIAxb9S+vHEVcYyvP3D0MPfQCfWOBm
Y0pDcWi4OJhQEbFNsORNXMA=
=TFXz
-END PGP SIGNATURE-

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



PerlTk under Cygwin?

2005-11-16 Thread Jason Pearce

I found this once:
http://sourceforge.net/project/showfiles.php?group_id=99645package_id=112046

I tried it back at version 800.025-2 , where both the X and native 
windows bindings worked. Well, to be honest I didn't use it much but I 
built some test cases with specTk and they ran OK. I was just satisfying 
a curiosity and I have not looked at it for some time. Hope it helps.


Jason


I tried to install Tk for Perl using CPAN by:

$ perl -MCPAN -e install Tk

However it fails with:

In file included from ../pTk/tkWinPort.h:19,
from ../pTk/tkPort.h:28,
from Xlib.xs:7:
../pTk/mTk/xlib/X11/Xlib.h:1206:35: ../pTk/tkIntXlibDecls.h: No such 
file or directory

make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/dev/p/.cpan/build/Tk-804.027/Xlib'
make: *** [subdirs] Error 2
 /bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible

Has anybody managed to install Tk for Perl running under Cygwin?
--
There's too much blood in my caffeine system. 



--
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: PerlTk under Cygwin?

2005-11-16 Thread Bruce Dobrin
Well, obsolete or not, the tk800.025 for win32 from sourceforge is
building and working on 1.5.18  with it's perl5.8.5.  Any chance a
non-obsolete version for win32 anytime? We use this native a lot.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Yaakov S (Cygwin Ports)
Sent: Wednesday, November 16, 2005 3:05 PM
To: cygwin@cygwin.com
Subject: Re: PerlTk under Cygwin?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruce Dobrin wrote:
 It is a version of tk800.025 with a patch.  I can't find it right now 
 but I found it with a bit of digging about 2 weeks ago.  There was a
 tk800.024 for native win  and tk804.xx for X11.  they both seem to 
 work after the requesit playing with rebase
 
 I believe I got it from sourceforge:
 Cygwin port maintained by: Yaakov Selkowitz 
 http://sourceforge.net/projects/cygwin-ports/

That version is obsolete now, built for a previous version of perl.  My
current perl-Tk packages (X11 only; the Win32 build hasn't worked for a
while) are available at:

ftp://sunsite.dk/projects/cygwinports/release/perl/perl-Tk/

or with setup.exe, add this server:

ftp://sunsite.dk/projects/cygwinports/

Being that this is frequently requested and doesn't build OOTB, maybe
it's time for me to ITP it.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDe7sHpiWmPGlmQSMRAmuxAJ4+62lIAxb9S+vHEVcYyvP3D0MPfQCfWOBm
Y0pDcWi4OJhQEbFNsORNXMA=
=TFXz
-END PGP SIGNATURE-

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




--
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: PerlTk under Cygwin?

2005-11-16 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bruce Dobrin wrote:
 Well, obsolete or not, the tk800.025 for win32 from sourceforge is
 building and working on 1.5.18  with it's perl5.8.5.  Any chance a
 non-obsolete version for win32 anytime? We use this native a lot.

804.x doesn't build for Win32, and as X11 was working with only a minor
patch and I didn't care either way, I decided to stop supporting Win32.
 You could take the source tarball from there and try recompiling with
the current perl and see how that works for you.


Yaakov
Cygwin Ports
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDe8Q2piWmPGlmQSMRArcMAJ9u75xrPOo2sGuSXwh1x4JsLEWzXwCfanar
JswqaEUA0FXwHbnxPFfLF5Q=
=0SmT
-END PGP SIGNATURE-

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



buffer overflow on cygwin vs solaris.

2005-11-16 Thread Song Ken Vern-E11804
Hi, 

I am working through some examples in the buffer overflow tutorial at 
http://www.wbglinks.net/pages/reads/wbgreads/bofs/bof07.html

One of the sample code used is this 

#include syslog.h

char buffer[4028];

void main() {

   int i;

   for (i=0; i=4028; i++)
   buffer[i]='A';

   syslog(LOG_ERR, buffer);
}

According to the tutorial, it should produced output
bash$ gcc -g buf.c -o buf
bash$ buf
Segmentation fault (core dumped)

However, on my cygwin installation, it does not core dump. 
bash$ gcc -g buf.c -o buf
bash$ buf
bash$

On Solaris, it does.

How do I get the core dump equivalent on cygwin installation? 

Thanks.

--
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: buffer overflow on cygwin vs solaris.

2005-11-16 Thread Brian Dessent
Song Ken Vern-E11804 wrote:

for (i=0; i=4028; i++)
buffer[i]='A';

Wow.  That's some horrible code.  Hasn't this person heard of memset()?

 On Solaris, it does.
 
 How do I get the core dump equivalent on cygwin installation?

That's because you're trying to exploit a bug in Solaris.  Cygwin is not
Solaris.  It does not have this vulnerability.  This is a good thing. 
Ideally Cygwin (and any other library for that matter) would have zero
exploitable buffer overflows.  And even if it did, you most certainly
can't expect to use shellcode intended for Solaris under Cygwin.  They
aren't even remotely similar under the hood, so don't expect a single
thing on that page to work.  You'll need to use win32 shellcode
techniques.

If you want to play around with buffer overflows, I suggest that you
create your own buffer and overflow it.  And find a better guide.  There
are plenty of win32-oriented guides to overflowing buffers and executing
your code.

Brian

--
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: PerlTk under Cygwin?

2005-11-16 Thread David Christensen
Andrew DeFaria wrote:
 Has anybody managed to install Tk for Perl running under Cygwin?

I've beaten my head against Perl/TK on Cygwin repeatedly over the years.  The
only way I succeeded was to use ActivePerl and keep it isolated from Cygwin --
basically, use the Cygwin environment for editing and use Command Prompt,
Windows Explorer, etc., to launch ActivePerl scripts.


HTH,

David


--
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: PerlTk under Cygwin?

2005-11-16 Thread Andrew DeFaria

David Christensen wrote:


Andrew DeFaria wrote:


Has anybody managed to install Tk for Perl running under Cygwin?


I've beaten my head against Perl/TK on Cygwin repeatedly over the 
years. The only way I succeeded was to use ActivePerl and keep it 
isolated from Cygwin -- basically, use the Cygwin environment for 
editing and use Command Prompt, Windows Explorer, etc., to launch 
ActivePerl scripts.


Oh I often work as a Clearcase administrator and Clearcase comes with 
it's own, ActiveState based Perl called ccperl. I've been using that 
develop a PerlTk based application. However I much prefer the Cygwin 
environment over a cmd prompt. ActiveState Perl doesn't handle windows 
that use ptys such as rxvt and so doing ccperl -d my PerlTk script 
does not work under rxvt. Also, that debugger doesn't seem to use 
ReadLine thus command history and editing in the Perl debugger is 
different, etc. Plus I'm not always at a place with Clearcase installed. 
I don't have Clearcase installed on my home computer, for example.


It would be good if PerlTk could work from Cygwin's Perl (and perhaps 
even have a package in Cygwin's setup.exe to install it or have it 
installed by default). At the very least PerlTk should be installable 
from CPAN and be able to be built/made so that it's usable.


After using PerlTk a little bit I'm finding that this PerlTk thing could 
be very useful to me as I've never gotten into the monolithic MS Visual 
Studio and C++ or C# way of building GUI apps. I'm much more comfortable 
in Perl...



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



Updated: lynx-2.8.5-4

2005-11-16 Thread Corinna Vinschen
I've updated the version of lynx to 2.8.5-4.

This updates Lynx to the official 2.8.5.rel5 patchlevel.  This release
contains the following security related patches:

* modify LYLoadCGI() to prompt user, displaying the command that would
  be executed, to confirm that it should be.  This makes it easier to
  notice when a local program would be run by activating a lynxcgi link.
  This is not done in advanced mode, since the URL is already visible in
  the status line (report by vade79, comments by Greg MacManus) -TD

* eliminate fixed-size buffers in HTrjis() and related functions to
  avoid potential buffer overflow in nntp pages (report by Ulf
  Harnhammar, CAN-2005-3120) -TD


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

If you have general questions or comments, please send them to the
Cygwin mailing list at: cygwin at cygwin dot com.  I would appreciate
it if you would use this mailing list rather than emailing me directly.

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

[EMAIL PROTECTED]

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

http://sources.redhat.com/lists.html#unsubscribe-simple

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

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