Difference between login and runas?

2003-07-03 Thread pmarek
Hello everybody, I'm using cygwin 1.3.22 and need some help. I'm trying to change the user (coming from the localsystem account) and tried several ways. - the "runas" utility (windows xp) does prompt me for a password. redirection via eg. "echo password| runas /user:guest cmd.exe" shows that r

Error compiling code using winsock functions

2003-07-03 Thread David None
Hi there, I've recently been trying some programming with sockets in windows, and I obtained the following code from a microsoft book called "Network programming for microsoft windows"... the code is as follows: // Module Name: iphdrinc.c // #pragma pack(1) #define WIN32_LEAN_AND_MEAN #include

gtk2 on cygwin ( --with-gdktarget=win32, only )

2003-07-03 Thread S . L .
(After my -- much too enthusiastic ? -- intrusion over a thread in this mail list, and an appropriate meeting of the meannes (SIC!), here it is.) Actually, the patches for having this done are present around since some time, some at http://cygnome.sourceforge.net/ some others at http://web.sfc.

Problem on can't locate in DLL cygwin1.dll

2003-07-03 Thread Jiang zhou
These days I find that many program under cygwin can't run. For example, if I run startx it will prompt a say don't know to locate getpwnam_r at cygwin1.dll. When I configue a packet it also occur this prompt again and maybe a different function. Can some one tell me why? -- Best Regards Jiangzh

Re: help running tftpd under winXP

2003-07-03 Thread Peter Rehley
It will run as an inetd process. The code would need to be changed to allow it to run as a windows services. On Thursday, July 3, 2003, at 09:57 AM, Vince Hoffman wrote: will it run under inetd rather than as a stand alone service ? (since it has a commented entry in inetd.conf) -Original

Re: Request for list links in left side navbar (Attn: CGF)

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 09:59:44PM -0400, Christopher Faylor wrote: >On Thu, Jul 03, 2003 at 09:49:25PM -0400, Igor Pechtchanski wrote: >>It might be that the link there is intentional, to make people scroll >>through the FAQ on the off chance that some will read it... > >Bingo. Two other observat

Re: Request for list links in left side navbar (Attn: CGF)

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 09:49:25PM -0400, Igor Pechtchanski wrote: >It might be that the link there is intentional, to make people scroll >through the FAQ on the off chance that some will read it... Bingo. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Request for list links in left side navbar (Attn: CGF)

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, Jim Kleckner wrote: > I would be grateful if you would add one or two links > to the "Mailing lists" item in the left-side navbar > that takes one directly to the cygwin mailing list page. > Say for example: > Mailing lists (cygwin, apps) > where "Mailing lists" points to >

Re: Source for upset package

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, Jim Kleckner wrote: > I see references to a package called upset to > manage the creation of release areas. I looked > searched vigorously on cygwin-apps and cygwin > lists and looked through the site including the > pointer to the CVS web link and didn't find it. > Also downl

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Earl Chew
Corinna Vinschen wrote: In other words, addr -= (off - gran_off). This address should now be 64k aligned. Error if it isn't. Use this address when calling MapViewOfFileEx(). If the call fails and MAP_FIXED is not set, then try again with addr = 0. Yes, that's what I mentioned in my first reply. I

Source for upset package

2003-07-03 Thread Jim Kleckner
I see references to a package called upset to manage the creation of release areas. I looked searched vigorously on cygwin-apps and cygwin lists and looked through the site including the pointer to the CVS web link and didn't find it. Also downloaded and extracted the setup source and searched for

php-mysql-cygwin how to

2003-07-03 Thread Bill McCormick
Can somebody point me in the right direction do get php/mysql set up? Here's what I havee so far: MySQL Win32 Server MySQL cygwin client binaries Apache various installed perl mods thanks --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Vers

Re: Noer's paper missing at Cygwin

2003-07-03 Thread Igor Pechtchanski
On Fri, 20 Jun 2003, Weiguang Shi wrote: > Hi, > > Browsing the Cygwin site, I noticed that the link > http://cygwin.com/usenix-98/cygwin.html which is > supposed to point to the paper, "Cygwin: A Free Win32 > Porting Layer for UNIX Applications" by Geoffrey Noer, > leads to nothing. > > Could any

Re: autoconf-2.57 - is there a new port for it?

2003-07-03 Thread Charles Wilson
Jari Aalto+list.cygwin-apps wrote: I'm tyring to port some webdav stuff, but it needs new autoconf. The newest seems to be 2.57. Could we get an update or is there problems with new autoconf versions? There is no new version. See ftp://ftp.gnu.org/pub/gnu/autoconf/ Cygwin's autoconf-devel packa

autoconf-2.57 - is there a new port for it?

2003-07-03 Thread Jari Aalto+list.cygwin-apps
I'm tyring to port some webdav stuff, but it needs new autoconf. The newest seems to be 2.57. Could we get an update or is there problems with new autoconf versions? Jari -- http://tiny-tools.sourceforge.net/ Swatch @time http://www.ryanthiessen.com/swatch/resources.htm Convert @time http://ww

Re: Starting up : file seek order

2003-07-03 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > Q1. When starting (a properly installed and mounted) Cygwin up using the > command c:\bin\bash --login -i it seems that the file /etc/profile > is sought and run then the file ~/.bash_profile likewise. Yes? (This seems > to happen even when both files are empty, as evid

Request for list links in left side navbar

2003-07-03 Thread Jim Kleckner
I would be grateful if you would add one or two links to the "Mailing lists" item in the left-side navbar that takes one directly to the cygwin mailing list page. Say for example: Mailing lists (cygwin, apps) where "Mailing lists" points to http://cygwin.com/lists.html (as it now does) and cygw

Re: new Info on File Permission Problems on Windows XP, cygwin 1.3.22

2003-07-03 Thread Mark Priest
Larry, I am referring to the ntsec setting for the CYGWIN environment variable. It is described as the ntsec patch in the user document so I thought that was the name people were familiar with. Thanks, Mark - Original Message - From: "Larry Hall" <[EMAIL PROTECTED]> To: "Mark Priest" <[

Re: Deeply unattractive naming convention

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 10:52:04PM +0100, [EMAIL PROTECTED] wrote: >It necessarily involves starting off "unknown". In the course of trying to >work my way round this I became finally aware of something that's been >nagging me in the background for ages: specifically (and nastily) that the >default

Deeply unattractive naming convention

2003-07-03 Thread fergus
Well I actually think I'm almost there with a portable CD version that can be plugged in to any Windows machine without regard to privileges (as long as the machine is switched on: one might need privileges to achieve that). Made yet another CD tonight for testing around the workplace tomorrow. It

Re: new Info on File Permission Problems on Windows XP, cygwin 1.3.22

2003-07-03 Thread Larry Hall
Just curious. What "ntsec patch" are you referring to? Larry Mark Priest wrote: Hello, I was able to fix the problem with file permissions by adding the cvs users into the Administrators group. This should not be necessary from my understanding of Cygwin and the ntsec patch. This is a bit of

new Info on File Permission Problems on Windows XP, cygwin 1.3.22

2003-07-03 Thread Mark Priest
Hello, I was able to fix the problem with file permissions by adding the cvs users into the Administrators group. This should not be necessary from my understanding of Cygwin and the ntsec patch. This is a bit of a security hole since these users have no reason to be Administrators on my Windows

Re: proftpd hang (1.2.9rc1-2 on 1.3.22)

2003-07-03 Thread Jason Tishler
Bruno, On Thu, Jul 03, 2003 at 10:30:38PM +0200, Grossniklaus Bruno wrote: > But when I try to get some bytes (eg with a ls -l) I get a hang after > the last bytes. Well not exactly a hang but i have to wait for ~6 min > after a simple ls to get my prompt back. The same applies when I do a > get

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Corinna Vinschen
On Thu, Jul 03, 2003 at 11:33:02AM -0700, Earl Chew wrote: > Corinna Vinschen wrote: > >On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: > >>On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > >>>Do you mean something like this: > >>> > >>> If addr is given, chec

proftpd hang (1.2.9rc1-2 on 1.3.22)

2003-07-03 Thread Grossniklaus Bruno
Hello I have problems using proftpd 1.2.9rc1-2 (cygwin1.dll 1.3.22). I'm able to start proftpd as service an even to log in (as administrator). Some commands (like pwd) work fine. But when I try to get some bytes (eg with a ls -l) I get a hang after the last bytes. Well not exactly a hang but i

possible bug in mutt when using ssmtp

2003-07-03 Thread Rob
Hello, I am currently using Mutt with sSMTP as the sendmail binary. This is probably a problem with ssmtp, but I don't know enough to know how to track it down. With a default ssmtp.conf, everything works fine. However, giving '-e "my_hdr From: rob <[EMAIL PROTECTED]>"' to mutt seems to be usele

Re: cvs question

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, mixy wrote: > Hello, > > please forgive the e-mail I will not make a habit of it. > thankyou for answering my post in at gmane.os. cygwin . > > I have read the info pages about cvs. > > I just would like you to be pointed in the wright direction > of seeting up a directory for

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Earl Chew
Corinna Vinschen wrote: On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: >Do you mean something like this: > > If addr is given, check if it's 64K aligned. If not, align and > raise the memory requirement accord

RE: mmap() and gcc precompiled headers

2003-07-03 Thread Chris January
> On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: > > On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > > >Do you mean something like this: > > > > > > If addr is given, check if it's 64K aligned. If not, align and > > > raise the memory requirement accordin

Re: release 1.3.22-1 uninstall \etc\hosts

2003-07-03 Thread Larry Hall
Bhavraj Singh wrote: Hi, After uninstalling cygwin by removing the directory, shortcuts etc. there are are links to 2 files which refuse to get deleted, they are \etc\hosts and \etc\lib. Any suggestions on how to remove the links (shortcuts)? Must be some kind of permissions problem, though

Re: release 1.3.22-1 uninstall \etc\hosts

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, Bhavraj Singh wrote: > Hi, > > After uninstalling cygwin by removing the directory, shortcuts etc. > there are are links to 2 files which refuse to get deleted, they are > \etc\hosts and \etc\lib. Any suggestions on how to remove the links > (shortcuts)? > > regards, > Bhavraj

release 1.3.22-1 uninstall \etc\hosts

2003-07-03 Thread Bhavraj Singh
Hi, After uninstalling cygwin by removing the directory, shortcuts etc. there are are links to 2 files which refuse to get deleted, they are \etc\hosts and \etc\lib. Any suggestions on how to remove the links (shortcuts)? regards, Bhavraj -- Unsubscribe info: http://cygwin.com/ml/#unsubsc

RE: help running tftpd under winXP

2003-07-03 Thread Vince Hoffman
will it run under inetd rather than as a stand alone service ? (since it has a commented entry in inetd.conf) > -Original Message- > From: Rajesh Gottlieb [mailto:[EMAIL PROTECTED] > Sent: 03 July 2003 17:40 > To: [EMAIL PROTECTED] > Subject: Re: help running tftpd under winXP > > > Ther

Re: help running tftpd under winXP

2003-07-03 Thread Rajesh Gottlieb
There's nothing in /var/log/tftpd.log Here's what the windows "event viewer" logs show. They might be informative, but they still don't help me much. System logs: first entry: The tftpd service was successfully sent a start control second entry: The tftp service entered the stopped state Appl

Re: cvs path in cygwin

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, nigel gray wrote: > I want to know how to set the PATH in cygwin for cvs > The version which comes install with cygwin is 1.11.5-1 > > many thanks > Nigel cvs is installed to /bin, which is in the PATH by default. If this doesn't answer your question, you'll have to rephrase

Re: how to use current directory as bash startup directory

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003, Daniel Barclay wrote: > Can bash "inherit" the working directory setting from the process that > invoked bash instead of always setting its initial working directory > (to the user's home directory)? > > On Unix, Emacs' "shell" command gets me a shell whose working directory >

cvs path in cygwin

2003-07-03 Thread nigel gray
I want to know how to set the PATH in cygwin for cvs The version which comes install with cygwin is 1.11.5-1 many thanks Nigel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/do

how to use current directory as bash startup directory

2003-07-03 Thread Daniel Barclay
Can bash "inherit" the working directory setting from the process that invoked bash instead of always setting its initial working directory (to the user's home directory)? On Unix, Emacs' "shell" command gets me a shell whose working directory is set based on what I was editing. However, when I use

Re: Weird error executing binary in bash

2003-07-03 Thread Ronald Landheer-Cieslak
What kind of file is slpd? (i.e., what's the output of "$ file slpd" ?) I suspect that slpd is not actually a Windows executable... rlc On Thu, 3 Jul 2003, Martin Gainty wrote: > $ slpd > ./slpd: 1: Syntax error: "(" unexpected > > Any ideas what is causing this?? > Is this a shell permissions

Weird error executing binary in bash

2003-07-03 Thread Martin Gainty
$ slpd ./slpd: 1: Syntax error: "(" unexpected Any ideas what is causing this?? Is this a shell permissions problem? Many Thanks, Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 04:30:10PM +0200, Corinna Vinschen wrote: >On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: >> On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: >> >Do you mean something like this: >> > >> > If addr is given, check if it's 64K aligned. I

[ADMINISTRIVIA] sources.redhat.com/gcc.gnu.org/cygwin.com moving this weekend

2003-07-03 Thread Christopher Faylor
The system will be moving to a new co-lo on Saturday so the IP address will be changing and there will be some downtime. I haven't been given exact times but I suspect that this will probably happen in late morning EST. I don't expect more than a couple of hours downtime at most. FYI, cgf -- Ple

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Corinna Vinschen
On Thu, Jul 03, 2003 at 10:19:42AM -0400, Christopher Faylor wrote: > On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > >Do you mean something like this: > > > > If addr is given, check if it's 64K aligned. If not, align and > > raise the memory requirement accordingly. Call M

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: >Do you mean something like this: > > If addr is given, check if it's 64K aligned. If not, align and > raise the memory requirement accordingly. Call MapViewOfFileEx > with the aligned address. If it works, return the addr give

Re: tcsh on cygwin and problems in installing cygwin ...

2003-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2003 at 02:05:53PM +0200, Ronald Landheer-Cieslak wrote: >From your name & E-mail address I take it you're French. There are no >French mirrors, but there are a couple of Belgian and Swiss ones (as well >as some German ones). There is one French mirror but since it is not up-to-

Re: Starting up : file seek order

2003-07-03 Thread Igor Pechtchanski
On Thu, 3 Jul 2003 [EMAIL PROTECTED] wrote: > Four questions with my guessed answers. Please would it be possible for > somebody who _knows_ the answers to respond? Then there's a 5th question, of > the right answer to which I haven't a clue. Thanks very much indeed. > > Q1. When starting (a prope

Re: Lib nl_types.h

2003-07-03 Thread Igor Pechtchanski
Andrey, FYI, "supply a patch" = implement it yourself and contribute the code to the Cygwin project (in a "diff -up" format, as indicated in ). Cygwin, like many open source projects, is a volunteer effort. If someone finds that some needed functionality is missin

Starting up : file seek order

2003-07-03 Thread fergus
Four questions with my guessed answers. Please would it be possible for somebody who _knows_ the answers to respond? Then there's a 5th question, of the right answer to which I haven't a clue. Thanks very much indeed. Q1. When starting (a properly installed and mounted) Cygwin up using the command

Re: Lib nl_types.h

2003-07-03 Thread Larry Hall
"supply a patch" = add the needed functionality to Cygwin and, ideally, supply the Cygwin community with the results of your efforts. See Larry Andrey Sidun wrote: Thanks. But i do not understand what you meen about supply a patch. Hi. I build the application

using cygwin crypt with Win32 MySQL encrypt()?

2003-07-03 Thread Ralf Hauser
Hi, It appears that state-of-the art salted-MD5 password verification is possible with mysql's encrypt() function (for details, see http://bugs.mysql.com/?id=784). Unfortunately, this doesn't work with the plain windows version of mysql (Ver 4.0.13-nt for NT on i32). Cygwin users, however have a /

Re: tcsh on Cygwin and problems in installing cygwin ...

2003-07-03 Thread Ronald Landheer-Cieslak
You *are* using Setup, right? I'm just asking because it wasn't quite clear to me.. The way to install Cygwin is to download http://www.cygwin.com/setup.exe (via the "Install Cygwin now" link on the Cygwin site), run it, and in the "Choose A Download Site" screen pick one or more mirrors from w

Re: tcsh on Cygwin and problems in installing cygwin ...

2003-07-03 Thread philippe guillaume
I've resolved my problem ... i found a ftp that provided me a version of the cygwin setup on which there is tcsh and many others packages ... ! Thanks to everybody --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul 2003, philippe guillaume wrote: > > > I saw on the cygwin site

Re: tcsh on Cygwin and problems in installing cygwin ...

2003-07-03 Thread philippe guillaume
I've resolved my problem ... i found a ftp that provided me a version of the cygwin setup on which there is tcsh and many others packages ... ! Thanks to everybody --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul 2003, philippe guillaume wrote: > > > I saw on the cygwin site

Re: mysqlc

2003-07-03 Thread Gerrit P. Haase
Hi Bill, > perl -MCPAN -e 'install DBD::mysql' > results in ... you need an mysql importlib and the headers. Get the Source and compile it (use the --without-server flag when configuring). IIRC there are also several usres on this list which will happily send you their own versions of a mysql

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Corinna Vinschen
On Thu, Jul 03, 2003 at 11:47:28AM +0200, Corinna Vinschen wrote: > On Wed, Jul 02, 2003 at 01:37:20PM -0700, Earl Chew wrote: > > From the FreeBSD man page: > > > > If addr is non-zero, it is used as a hint to the system. (As a > > convenience to the system, the actual address of the reg

Re: mmap() and gcc precompiled headers

2003-07-03 Thread Corinna Vinschen
On Wed, Jul 02, 2003 at 01:37:20PM -0700, Earl Chew wrote: > The current implementation does not know anything about the > Cygwin 64k granularity, and does not use MAP_FIXED because > MAP_FIXED may have bad side-effects on other implementations. So it can't rely on getting the mmap at the same loc

Re: posix and win32 enviornment

2003-07-03 Thread Ronald Landheer-Cieslak
int main( void ) { #ifdef __CYGWIN__ // Cygwin printf( "I understand POSIX paths!\n" ); #elif defined( _WIN32 ) // Any other win32 printf( "I don't understand much of anything..\n" ); #else // Something else - probably POSIXly correct.. printf( "I und

Re: tcsh on Cygwin and problems in installing cygwin ...

2003-07-03 Thread Corinna Vinschen
On Thu, Jul 03, 2003 at 10:03:46AM +0200, philippe guillaume wrote: > I use the setup.exe that i downloaded on the cygwin > web-site ... > And i looked for tcsh in the "shells"-category but > there's only "ash" , "bash" and "sh-utils" ! > I also looked for it in the list in full view and i > didn't

Re: tcsh on Cygwin and problems in installing cygwin ...

2003-07-03 Thread philippe guillaume
I use the setup.exe that i downloaded on the cygwin web-site ... And i looked for tcsh in the "shells"-category but there's only "ash" , "bash" and "sh-utils" ! I also looked for it in the list in full view and i didn't see it ! --- Igor Pechtchanski <[EMAIL PROTECTED]> a écrit : > On Wed, 2 Jul

File Permission Problems on Windows XP, cygwin 1.3.22

2003-07-03 Thread Mark Priest
Hello, I am serving a cvs repository from a Windows XP Professional machine under Cygwin 1.3.22 and I believe that I am having a file permissions problem in the cvs repository. My repository is located at /cvs and all cvs users belong to the "cvs" group as their primary group. All directories in

Re: help running tftpd under winXP

2003-07-03 Thread Brian Dessent
Rajesh Gottlieb wrote: > > I'm trying to start the tftpd under windows XP without any luck. The > cygrunsrv.exe program that installs a program as a windows service seemed to > work for me when I set up the secure shell daemon some time back, but trying > the same thing for tftpd hasn't worked. An