Reading and writing to a cygwin terminal from a WINMAIN() windows application?

2007-11-29 Thread Josef Karthauser
Hi there, I'm writing a windows "winmain()" application which talks to the console, and am having trouble getting it to write() to a cygwin console window. I was hoping that someone on this list might be able to aid me. The application is a dual graphics/CLI program, and so needs to detect wheth

RE: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-29 Thread Dave Korn
On 29 November 2007 04:10, Paul Edwards wrote: > until I ran across this C compiler that > doesn't even manage to conform to a spec that has been available for > around 20 years. I get what you're asking for, and it's perfectly reasonable, but it's just not the compiler's problem. The C compil

RE: Perl is installed in /lib, but Config.pm indicates it is in /usr/local/lib

2007-11-29 Thread Dave Korn
On 29 November 2007 01:47, Etienne wrote: > It looks like I misspoke slightly. I reviewed the "Config.pm" again and it > thinks it is installed in "/usr/lib". I don't even have a "lib" directory > under "usr" on a clean install of cygwin. /usr/lib and /usr/bin are aliases for /bin and /lib creat

[ANNOUNCEMENT] Updated: [experimental] cygwin-1.5.25-2

2007-11-29 Thread Corinna Vinschen
I've made another version of the Cygwin DLL, 1.5.25-2, and associated utilities available for testing. Version 1.5.24-2 remains the current version for now. This is a bug fix release. If nothing serious crops up within the next couple of days, I intend to make this the new Cygwin version at the

Re: Rbash in cygwin ?

2007-11-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tony Benham on 11/29/2007 6:11 AM: > I'm looking for rbash in the cygwin packages but I couldn't see it ? Is this > correct ? rbash as in restricted-bash? If so, 'bash -r' or 'cp /bin/bash /bin/rbash; rbash' will try to do what you want.

Rbash in cygwin ?

2007-11-29 Thread Tony Benham
I'm looking for rbash in the cygwin packages but I couldn't see it ? Is this correct ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin

Re: Rbash in cygwin ?

2007-11-29 Thread Tony Benham
Eric Blake byu.net> writes: > > rbash as in restricted-bash? If so, 'bash -r' or 'cp /bin/bash > /bin/rbash; rbash' will try to do what you want. However, I make no > claims that the restricted mode of bash is secure, only that it will > perform the restrictions mentioned in 'man bash'. Which

[ANNOUNCEMENT] New packages: guilt 0.27-1 -- Quilt for git; similar to Mercurial queues

2007-11-29 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://packages.debian.org/guilt License : GPL Application (Git Quilt) includes series of bash scripts which add a Mercurial queues-like functionality and interface to git. The one distinguishing feature from other quilt-like porcelains, is the fo

[ANNOUNCEMENT] New package: rats-2.1-1 -- Rough Auditing Tool for Security

2007-11-29 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://www.fortifysoftware.com/security-resources/rats.jsp License : GPL The Rough Auditing Tool for Security, is a security auditing utility for C, C++, php, perl, and python code. RATS scans source code, finding potentially dangerous function ca

[ANNOUNCEMENT] New package: jlint 3.1-1 -- A Java Program Checker

2007-11-29 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://sourceforge.net/projects/jlint License : GPL A static code checker for Java. It will find bugs, inconsistencies and synchronization problems by doing data flow analysis and building the lock graph. CHANGES SINCE LAST RELEASE =

problem compiling project (bash error 126, ash error 122)

2007-11-29 Thread Jan Humpl
Hi, I have problems with compiling my project. I'm using cygwin environment. I have project compiled using couple makefiles. I use SHELL=bash or SHELL=ash. The compiler is from TI and is written for windows so I can't try it under linux. For some time everything works fine. But as project

configure command does not run.... d2u does not help either...

2007-11-29 Thread asadollahbaik a. (aa306)
Hi, I am a new user to cygwin and even to unix. I am trying to compile a package called "meep" by means of cygwin. While running the configure command I get an error as: ./configure: line 13: $'r': command not found ./configure: line 21: syntax error near unexpected token 'elif' ./configure: l

script for installing cygwin?

2007-11-29 Thread [EMAIL PROTECTED]
I would like to be able to install cygwin with all the packages I want automatically, without having to select them all. (reason is actually because when things go wrong i would like to uninstall and reinstall cygwin, and i do not want to go through that screen selecting a dozen or two packages e

[PATCH] Build DLL for SunRPC package

2007-11-29 Thread Richard W.M. Jones
The attached patch builds librpc.dll, and also fixes some minor source bugs which seem to stop sunrpc-4.0-3 from building with modern gcc / Cygwin. I've also built a binary package for this: http://libvirt.org/sources/win32/ Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjon

RE: configure command does not run.... d2u does not help either...

2007-11-29 Thread Dave Korn
On 29 November 2007 15:47, asadollahbaik a. (aa306) wrote: > Hi, > > I am a new user to cygwin and even to unix. > > I am trying to compile a package called "meep" by means of cygwin. > While running the configure command I get an error as: > > ./configure: line 13: $'r': command not found Gue

Re: script for installing cygwin?

2007-11-29 Thread Larry Hall (Cygwin)
jameshanley39 wrote: I would like to be able to install cygwin with all the packages I want automatically, without having to select them all. (reason is actually because when things go wrong i would like to uninstall and reinstall cygwin, and i do not want to go through that screen selecting a

[ANNOUNCEMENT] New package: pngquant 1.0-1 -- PNG image optimising utility

2007-11-29 Thread Jari Aalto
PACKAGE DESCRIPTION === Homepage: http://freshmeat.net/projects/pngquant License : GPL pngquant is a command-line conversion utility to quantize and dither truecolor PNG images, especially those with a full alpha channel, down to 8-bit (or smaller) RGBA-palette PNGs. Such images a

Re: Reading and writing to a cygwin terminal from a WINMAIN() windows application?

2007-11-29 Thread Jim Marshall
Josef Karthauser wrote: Hi there, I'm writing a windows "winmain()" application which talks to the console, and am having trouble getting it to write() to a cygwin console window. I was hoping that someone on this list might be able to aid me. The application is a dual graphics/CLI program, an

root privileges

2007-11-29 Thread Jorge Marques Pelizzoni
Hi all! I am developing a program that requires root privileges to run (e.g. it calls ioctl to set communication lines at a serial port). Even though I am an administrator of my WinXP workstation, cygwin keeps giving me EPERM. Ok, I've read: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mappi

Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have attached the output of cygcheck -s

native win32 apps and cygwin-based dlls

2007-11-29 Thread Jorge Marques Pelizzoni
Hi all! Can gcc-generated, cygwin-based dlls be loaded by native win32 applications? If so, is there anything special (flags, etc.) about the build (or load) procedure in that case? Thanks in advance. Cheers, Jorge. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

SSH/BASH - No prompt after remote login

2007-11-29 Thread fb
I recently performed a cygwin update, and am now having a strange issue when logging in remotely via ssh. >From the remote computer, I ssh to the cygwin/windows computer, am prompted >for my password, and successfully login. At that point, the shell appears to be extremely limited - no prompt,

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Larry Hall (Cygwin)
On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, but I tried to include all pertinent information. I have a

Re: native win32 apps and cygwin-based dlls

2007-11-29 Thread Larry Hall (Cygwin)
Jorge Marques Pelizzoni wrote: Hi all! Can gcc-generated, cygwin-based dlls be loaded by native win32 applications? If so, is there anything special (flags, etc.) about the build (or load) procedure in that case? -- Larry

Re: update/reinstall openssh problem

2007-11-29 Thread Larry Hall (Cygwin)
On 11/26/2007, Tim Freedom wrote: On Wed, 31 Oct 2007 10:18:19 -0400, "Larry Hall" wrote: > > Tim Freedom wrote: >> > > >> > >Hi - I'm trying to upgrade my currently installed openssh >> > >(version 4.6p1-1) yet whenever I select to install the latest >> > >4.7p1-2 (or even reinstall

Re: weird samba problems, latest cygwin, samba 3.0.25b-4.2

2007-11-29 Thread jeff
I haven't gotten a reply from my message on the 27th. I am reporting what is possibly a bug, and I am happy to help debug it. Surely I am not the only person using a samba fileserver. Any ideas? Thanks, jeff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
I have changed quite a bit. Larry Hall (Cygwin) wrote: On 11/29/2007, Kyle Flavin wrote: I am having trouble starting sshd as a Window's service. I've looked over the mailing list archives, but have been unable to find a resolution to my problem. I apologize for the length of this email, bu

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Kyle Flavin
Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-owned shell; I ran it

Failure in building GFortran on Cygwin

2007-11-29 Thread Angelo Graziosi
For the sake of completeness I want to flag the following. Building GFortran CVS 20071129 trunk 130516 on Cygwin it fails in this way: ... libtool: compile: /tmp/gcc/build/./gcc/xgcc -B/tmp/gcc/build/./gcc/ -B/usr/local

Re: Problems Starting sshd as a service through CYGWIN

2007-11-29 Thread Larry Hall (Cygwin)
Kyle Flavin wrote: Whoops, ignore the last email, I accidentally must have hit a send hotkey, because I fired it off before I had finished typing. Sorry. I have changed a lot, so I'll probably go back and start fresh one more time. The first time I ran sshd, I did not run it from a system-ow

Re: Problem with mkgroup

2007-11-29 Thread Larry Hall (Cygwin)
Erik Weibust wrote: I am having problems with a new cygwin install on windows vista business. The first time I log in I get an error message about my group being mkgroup. The error message states to run mkpasswd and mkgroup with the -d flag for domain users. I get a very large passwd file when r

Re: root privileges

2007-11-29 Thread Jorge Marques Pelizzoni
First of all, please believe that I spent almost three hours going through the mailing list archives before asking this. It's just that I (and many others) have not been able to find a solution there. I'm not running a program that tests for rootness in some non-portable way. I'm just calling an

Problem with mkgroup

2007-11-29 Thread Erik Weibust
I am having problems with a new cygwin install on windows vista business. The first time I log in I get an error message about my group being mkgroup. The error message states to run mkpasswd and mkgroup with the -d flag for domain users. I get a very large passwd file when running this. Am I

Re: Failure in building GFortran on Cygwin

2007-11-29 Thread Jerry DeLisle
Angelo Graziosi wrote: For the sake of completeness I want to flag the following. Building GFortran CVS 20071129 trunk 130516 on Cygwin it fails in this way: ... libtool: compile: /tmp/gcc/build/./gcc/xgcc -B/tmp/gcc/build

Re: weird samba problems, latest cygwin, samba 3.0.25b-4.2

2007-11-29 Thread David Rothenberger
On 11/29/2007 2:21 PM, jeff wrote: Surely I am not the only person using a samba fileserver. You're not, of course. I tried your test case with my samba server (Debian etch, version 3.0.24-6etch8) and it worked just fine. I'm using ext3 filesystems on the samba server. I did not have smbntsec

Re: configure command does not run.... d2u does not help either...

2007-11-29 Thread Tim Prince
Dave Korn wrote: > On 29 November 2007 15:47, asadollahbaik a. (aa306) wrote: > >> Hi, >> >> I am a new user to cygwin and even to unix. >> >> I am trying to compile a package called "meep" by means of cygwin. >> While running the configure command I get an error as: >> >> ./configure: line 13: $'

Re: root privileges

2007-11-29 Thread Christopher Faylor
On Thu, Nov 29, 2007 at 09:54:33PM -0200, Jorge Marques Pelizzoni wrote: >First of all, please believe that I spent almost three hours going through >the mailing list archives before asking this. It's just that I (and many >others) have not been able to find a solution there. > >I'm not running a p

Latin (accented) characters and subversion

2007-11-29 Thread Larry Azlin
I'm having difficulty importing files into subversion if their names contain accented characters. I've spent several hours googling for information, and I've read the FAQ regarding international characters, without being able to solve this issue. I'd certainly appreciate any help that any of y