automatic start of ssh-agent?

2002-10-29 Thread Christian Lamsbach
i tested it with "start /B ssh-agent XWin -nodecoration" in the startxwin.bat (i'm using it to start my cygwin..not the cygwin.bat), but i doesn't work...what's wrong? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documenta

Re: module problems on cygwin

2002-10-29 Thread Ben Wing
cygwin is not terribly windows-specific. it's basically unix, and runs all the standard gcc suite of tools, so if you understand shared libraries under Unix, you understand them under gcc. the failures are unresolvable references to the various functions in the XEmacs executable. clearly the XEm

RE: problems setting permissions for sshd

2002-10-29 Thread Marcos Lorenzo
Harig, Mark A. <[EMAIL PROTECTED]> wrote [Yesterday -0500] HMA > 1. What filesystem are you running on your disk(s): NTFS or FAT32? OK, I forgot: NTFS HMA > HMA > 2. What value do you have the environment variable HMA >CYGWIN set to in your Control Panel's System applet? CYGWIN

how to set "To:" and "Subject:" with ssmtp

2002-10-29 Thread Marcos Lorenzo
I'm unable to fill some fields in mail header with ssmtp: When I run: marcos@MOZART ~$ echo "testing mail" | ssmtp -f administrador@mozart -F Administrador [EMAIL PROTECTED] I get the following: Received: from arpa.i

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-29 Thread CBFalconer
Mark Schoenberg wrote: > > Thank you for your rapid and thorough reply. Here is the slighly > more sophisticated program which just pops up a window and exits > upon IDCANCEL. The compilation output to the command > > gcc -O2 -mno-cygwin -mwindows short.cpp \ > -lkernel32 -luser32 -lgdi32 -lwin

Re: Cygwin, GNU make and VC++ ?

2002-10-29 Thread CBFalconer
Ross Smith II wrote: > > From: Of Igor Pechtchanski > > > > > > Anyway, we're making progress in being able to compile with CL.EXE, but > > > we're having trouble with include files. We use the flag > > > '-I/home/user/dg/include' to point to the include directory, but it > > > can't find it. > >

RE: problems setting permissions for sshd

2002-10-29 Thread Marcos Lorenzo
On Tue, 29 Oct 2002, Marcos Lorenzo wrote: If it helps you, my cygcheck is: Cygwin Win95/NT Configuration Diagnostics Current System Time: Tue Oct 29 11:40:13 2002 Windows NT Ver 4.0 Build 1381 Service Pack 6 Path: C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\local\bin C

MAKE - problem with small/capital letters in filenames

2002-10-29 Thread Graff_Zoltan
Hi! I've got a simple makefile. It works well under DOS (with DJGPP) and under Linux (Debian Woody). But it does not work under Cygwin. The message: no rule to make 'hello.d' The makefile: all: $(CC) $(CFLAGS) hello.c -o hello.exe include hello.d %.d: %.c @ $(CC) -MM $(CFLAGS) $

Re: how to set "To:" and "Subject:" with ssmtp

2002-10-29 Thread Felix van Hove
Hi Marcos, items such as Date, Subject, To, Cc, From are part of the message data. You should consider to use a file for sending this data. Something like: Subject: hello To: Pete Hello Pete! Felix Ma

Re: how to set "To:" and "Subject:" with ssmtp

2002-10-29 Thread Frank-Michael Moser
I attached a small shell script which mimes the behaviour of the classic Unix' mail command using ssmtp. Most of the options are ignored but "To:" and "Subject:" at least work. Give it a try and type "mail --help" Frank-Michael Marcos Lorenzo wrote: I'm unable to fill some fields in mail heade

conflicting types for `typedef struct mbstate_t`(was link troubles with wcslen)

2002-10-29 Thread Xavier Pianet
Hi there It seems there is a pb in some include files in cygwin1.3.13/1.3.14+gcc3.2 1) first of all /usr/include/wchar.h lacks of _BEGIN_STD_C ... _END_STD_C in function declarations. (same goes for wctypes.h) adding them solved the link problem i had with 'wcslen' in previous post (thanks to Sha

Re: Problem compiling cpp programs with gcc-3.2-1

2002-10-29 Thread Dockeen
> gcc -O2 -mno-cygwin -mwindows short.cpp \ > -lkernel32 -luser32 -lgdi32 -lwinspool \ > -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 \ > anv.res -o short Note also that if you are going to compile a C++ program, you should use g++, not gcc as your above. Among other things

problem with dlltools / gcc -shared

2002-10-29 Thread Xavier
Hi there I try to compile a dll that exports 17000+ symbols during the creation of the .lib archive it creates those temporary .o files but it looks like it goes over the allowed number of files in the same directory or somethings around thoses lines (the / tree is on an NTFS partition) >dlltool -

RE: how to set "To:" and "Subject:" with ssmtp

2002-10-29 Thread Polley Christopher W
You might also try formail, which is included in the procmail package. >From: Marcos Lorenzo > >I'm unable to fill some fields in mail header with ssmtp: > >When I run: > >marcos@MOZART ~$ echo "testing mail" | ssmtp -f >administrador@mozart -F Administrador [EMAIL PROTECTED] > > >I get the foll

Re: export CYGWIN=tty

2002-10-29 Thread Larry Hall (RFK Partners, Inc)
At 12:02 AM 10/29/2002, Daniel Jeffery wrote: >I do the above to run emacs, (so I can type C-c and C-t while in emacs), and when I'm >done (C-x C-c), it looks like I need to type `reset'. (I can't see what I'm typing.) > But it doesn't work! I have to do `unset CYGWIN' and then `reset' (without

Re: cygwin gcc:undefined reference

2002-10-29 Thread Christopher Faylor
Please check out the project web page for links to available information and ports: http://cygwin.com/ . In particular, check out http://cygwin.com/lists.html and http://cygwin.com/bugs.html . If you don't see what you need there, then the cygwin mailing list is the best place to make observati

Re: module problems on cygwin

2002-10-29 Thread Larry Hall (RFK Partners, Inc)
Sounds to me like you're expecting too much, at least for Windows. On Windows, the closest thing to shared libraries are DLLs and these require all references to be resolved at build-time. That's generally done by providing "import libraries" with stubs to all the calls that will be resolved t

Re: Cygwin, GNU make and VC++ ?

2002-10-29 Thread Peter A. Castro
On Mon, 28 Oct 2002, Christophe Dupre wrote: > Hello everyone, > I'm trying to recompile a homegrown program that was originaly > developped for Unix under Windows. We were successful in compiling this > program with the cygwin-supplied gcc using our current Makefile. > > Now we'd like to recompi

Re: Cygwin, GNU make and VC++ ?

2002-10-29 Thread Christophe Dupre
Can you share this script with us ? On Tue, 29 Oct 2002, Peter A. Castro wrote: > On Mon, 28 Oct 2002, Christophe Dupre wrote: > > > Hello everyone, > > I'm trying to recompile a homegrown program that was originaly > > developped for Unix under Windows. We were successful in compiling this > >

Re: Cygwin, GNU make and VC++ ?

2002-10-29 Thread Lassi A. Tuura
> Can you share this script with us ? There's also such a wrapper script in the packages distributed as a part of Coin3D (Coin, SoQt, SoGtk, SoWin, ...), see http://www.coin3d.org, check out the code from CVS and look for cfg/wrapmsvc.cpp (and .exe). Or just search Google for "wrapmsvc". //lat --

Re: Cygwin, GNU make and VC++ ?

2002-10-29 Thread William A. Hoffman
Depending on how complicated the makefile is, you may want to try creating a CMakeLists.txt file from it and use cmake. See www.cmake.org for more information. For the cygwin build, cmake 1.4-6 is in the cygwin setup now, and for the windows build, you can download CMakeSetup from www.cmake.org.

Re: export CYGWIN=tty

2002-10-29 Thread Randall R Schulz
Larry, Daniel, I don't routinely use the "tty" option of the CYGWIN variable, but when I've experimented with it, I've seen symptoms like those reported by Daniel if I set the tty option after a shell is started and then run a program such as Vim that changes the tty modes. When the program exi

RE: problems setting permissions for sshd

2002-10-29 Thread Harig, Mark A.
> > My /etc/group (I modified it): > > all:*:0:0:,S-1-1-0:: > SYSTEM:*:18:18:,S-1-5-18:: > admin:*:544:544:,S-1-5-32-544:: > domadmin:*:512:512:,S-1-5-32-512:: > guests:*:546:546:,S-1-5-32-546:: > users:*:545:545:,S-1-5-32-545:: > domusers:*:513:513:,S-1-5-32-513:: > try changing 'admin' t

Re: problems setting permissions for sshd

2002-10-29 Thread Pierre A. Humblet
On Tue, Oct 29, 2002 at 10:59:12AM -0500, Harig, Mark A. wrote: > > > > > My /etc/group (I modified it): > > > > all:*:0:0:,S-1-1-0:: > > SYSTEM:*:18:18:,S-1-5-18:: > > admin:*:544:544:,S-1-5-32-544:: > > domadmin:*:512:512:,S-1-5-32-512:: > > guests:*:546:546:,S-1-5-32-546:: > > users:*:545:5

RE: problems setting permissions for sshd

2002-10-29 Thread Harig, Mark A.
Yes, which implies that Marcos Lorenzo should regenerate his /etc/group file from scratch with 'mkgroup', and then edit it to add 'Administrators'. > -Original Message- > From: Pierre A. Humblet [mailto:pierre.humblet@;ieee.org] > Sent: Tuesday, October 29, 2002 10:59 AM > To: [EMAIL PROT

RE: how to set "To:" and "Subject:" with ssmtp

2002-10-29 Thread Harig, Mark A.
Also, once 'ssmtp' has been set up properly, 'mutt' can be used like traditional UNIX 'mail'. It has been working for well over a year now (thanks to Corrina Vinschen). > -Original Message- > From: Polley Christopher W [mailto:PolleyChristopherW@;JohnDeere.com] > Sent: Tuesday, October 29

Re: problems setting permissions for sshd

2002-10-29 Thread Marcos Lorenzo
Pierre A. Humblet <[EMAIL PROTECTED]> wrote [10:59am -0500] PAH > On Tue, Oct 29, 2002 at 10:59:12AM -0500, Harig, Mark A. wrote: PAH > > PAH > > > PAH > > > My /etc/group (I modified it): PAH > > > PAH > > > all:*:0:0:,S-1-1-0:: PAH > > > SYSTEM:*:18:18:,S-1-5-18:: PAH > >

RE: problems setting permissions for sshd

2002-10-29 Thread Marcos Lorenzo
Harig, Mark A. <[EMAIL PROTECTED]> wrote [11:21am -0500] HMA > Yes, which implies that Marcos Lorenzo should regenerate HMA > his /etc/group file from scratch with 'mkgroup', and HMA > then edit it to add 'Administrators'. mkgroup for /etc/group and mkpasswd for /etc/passwd then? Ok, I'

Re: problems setting permissions for sshd

2002-10-29 Thread Pierre A. Humblet
On Tue, Oct 29, 2002 at 06:31:59PM +0100, Marcos Lorenzo wrote: > Pierre A. Humblet <[EMAIL PROTECTED]> wrote [10:59am -0500] > >PAH > On Tue, Oct 29, 2002 at 10:59:12AM -0500, Harig, Mark A. wrote: >PAH > > >PAH > > > >PAH > > > My /etc/group (I modified it): >PAH > > > > I ju

cygpath -pw output is corrupt for long path names

2002-10-29 Thread Daniel Steinmann
When I use cygpath -pw for a unix path with a lot of directory components for each entry in the path, I get corrupted output. Here is an example usage (see also attached cygcheck -s output): $ pwd /tmp/this/is/a/very/long/directory/path/enterprise/modules/base $ cygpath -pw :/c/programs/jdk1.3.

open() not handling previously opened serial port gracefully?

2002-10-29 Thread Troy Curtiss
Hi, I recently ran into a problem where my cygwin-based program was trying to open a serial port that was already opened by another windows app. Instead of the open() call failing & returning -1, the cygwin program dumped stack (tracing w/ gdb indicated that the failure was within the open()

Re: export CYGWIN=tty

2002-10-29 Thread Gareth Pearce
> Larry, Daniel, > > I don't routinely use the "tty" option of the CYGWIN variable, but when > I've experimented with it, I've seen symptoms like those reported by Daniel > if I set the tty option after a shell is started and then run a program > such as Vim that changes the tty modes. When the pro

Re: module problems on cygwin

2002-10-29 Thread Ben Wing
well then, how do you build import libraries under cygwin? - Original Message - From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]> To: "Ben Wing" <[EMAIL PROTECTED]>; "Jerry James" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday,

Cannot compile my first Cygwin program

2002-10-29 Thread jblazi
I am trying to compile my first cygwin application. Here is my command line: gcc -I /cygwin/usr/include/sys test.c -o test.exe and I get the error message gcc: installation problem, cannot exec 'cc1.plus': No such file or directory Can anybody help me? TIA, -- Janos Blazi -- Unsubscribe inf

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Max Bowsher
jblazi <[EMAIL PROTECTED]> wrote: > I am trying to compile my first cygwin application. Here is my > command line: > > gcc -I /cygwin/usr/include/sys test.c -o test.exe > > and I get the error message > > gcc: installation problem, cannot exec 'cc1.plus': No such file or > directory > > Can anybody

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Elfyn McBratney
I am trying to compile my first cygwin application. Here is my command line: gcc -I /cygwin/usr/include/sys test.c -o test.exe Try this instead: gcc -I/cygwin/usr/include test.c -o test.exe or gcc test.c -o test.exe -I/cygwin/usr/include (by the way you don't need to add the .exe on the exe

SSH Tunneling and TCP_NODELAY

2002-10-29 Thread Brian Genisio
Hi all, I am using SSH port forwarding on a linux sshd from the Cygwin ssh. Both sides have version OpenSSH 3.4p1. There is no problem with my tunneling, as I have been using many (about 10) port forwards (server and local) for quite some time now. A new application has been introduced to my mi

Re: module problems on cygwin

2002-10-29 Thread [EMAIL PROTECTED]
Check out http://cygwin.com/cygwin-ug-net/dll.html. This will build a DLL with an import library for the DLL. Use the import library in the link stream of any other DLL or EXE that references things in this DLL. Larry Original Message: - From: Ben Wing [EMAIL PROTECTED] Date: T

Re: Cannot compile my first Cygwin program

2002-10-29 Thread jblazi
On Tuesday 29 October 2002 22:57, Elfyn McBratney wrote: > Try this instead: > > gcc -I/cygwin/usr/include test.c -o test.exe > > or > > gcc test.c -o test.exe -I/cygwin/usr/include So I did and now I receive a different set of error messages: d:\cygwin\home\Administrator\c-programme>gcc -I/cygwi

RE: ls takes a long time.

2002-10-29 Thread Harig, Mark A.
I can't see what is causing your problem. For what it's worth, it does not appear to be inherent in Cygwin: $ uname -r 1.3.13(0.62/3/2) $ /usr/bin/ls --version ls (fileutils) 4.1 $ touch foo && chmod +s foo && time /usr/bin/ls -l foo -rwSr-Sr--1 maharig Power Us0

Re: Simplifying Cygwin PosgreSQL Installation

2002-10-29 Thread Glenn Murray
Jason, I see now that a lot of people on the list agree that command line options for setup.exe is a Good Idea and I'll let it go at that, in hopes that some C++ wizard picks it up. In the meantime I'll muddle through with scripts, lengthy explanations, and hand-holding. Thanks for your response

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Max Bowsher
jblazi <[EMAIL PROTECTED]> wrote: > On Tuesday 29 October 2002 22:57, Elfyn McBratney wrote: >> Try this instead: >> >> gcc -I/cygwin/usr/include test.c -o test.exe >> >> or >> >> gcc test.c -o test.exe -I/cygwin/usr/include The -I option shouldn't be needed at all. > So I did and now I receive

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Dockeen
Max Bowsher made a very important point from a diagnostic point, he said: "Run the command "gcc -v" and post the output." This may give a tipoff if something is wrong with your gcc install. Also run: which gcc and give the results. This will tell us where gcc is coming from, and whether there

RE: SSH Tunneling and TCP_NODELAY

2002-10-29 Thread [EMAIL PROTECTED]
So this is a Cygwin issue and not a ssh issue (i.e. you're saying it works fine if the Cygwin ssh isn't in the loop)? Larry Original Message: - From: Brian Genisio [EMAIL PROTECTED] Date: Tue, 29 Oct 2002 14:06:37 -0800 (PST) To: [EMAIL PROTECTED] Subject: SSH Tunneling and TCP_NO

RE: SSH Tunneling and TCP_NODELAY

2002-10-29 Thread Brian Genisio
Well, more like "It works fine when ssh is not in the loop", but I have a suspicion that it has to do with the OpenSSH port in Cygwin. It is hard to tell at this time... It has something to do with port forwarding and TCP buffering at the kernel level. Brian --- "[EMAIL PROTECTED]" <[EMAIL PROT

smarc card undefined reference

2002-10-29 Thread Alfred Lam
Hi all, I have been trying for 3 days already and I'm getting the same frustrating undefined reference to I have tried the same command with the same program on Linux and it is working, but on cygwin, it's not.. Can anyone help me.. This is what I did : My windows pc is win98. The program i

Re: Simplifying Cygwin PosgreSQL Installation

2002-10-29 Thread CBFalconer
Glenn Murray wrote: > On Thu, 24 Oct 2002, Jason Tishler wrote: > > On Wed, Oct 23, 2002 at 11:04:01AM -0600, Glenn Murray wrote: > > > > > I think that command line support in setup.exe is a great idea. > > > I noticed when browsing through the source code that there were > > > comments about it.

Re: Simplifying Cygwin PosgreSQL Installation

2002-10-29 Thread Igor Pechtchanski
On Tue, 29 Oct 2002, CBFalconer wrote: > Glenn Murray wrote: > > On Thu, 24 Oct 2002, Jason Tishler wrote: > > > On Wed, Oct 23, 2002 at 11:04:01AM -0600, Glenn Murray wrote: > > > > > > > I think that command line support in setup.exe is a great idea. > > > > I noticed when browsing through the s

Re: Simplifying Cygwin PosgreSQL Installation

2002-10-29 Thread Randall R Schulz
Chuck, So-called "top-posting" is not a sin or even a bad idea. The source code for Cygwin Setup is available for download and installation using Cygwin Setup. Randall Schulz Mountain View, CA USA At 18:19 2002-10-29, CBFalconer wrote: Glenn Murray wrote: > On Thu, 24 Oct 2002, Jason Tishler

Re: module problems on cygwin

2002-10-29 Thread Ben Wing
OK, I've disabled module support on Cygwin. Jerry, you need to fix this at some point. ben - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, Octobe

Cygwin 1.3.9-1

2002-10-29 Thread Kyo Kusanagi
Hello,im a very young programmer and I need cygwin 1.3.9-1. I can't find it anywhere.I need that specific version (I need it to setup a compiler)Could someone point me an URL where I can download it?? (Im using Windows 2000/XP,and also I have problems opening .bz2 files..),I really really reall

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Max Bowsher
jblazi <[EMAIL PROTECTED]> wrote: > Thank you for your help. No problem. >> The -I option shouldn't be needed at all. > > I saw that there is no such thing in the Cygwin examples. I suspect > that I should set some variables manually. But which ones? None. >> *Backslash paths* !?!?! From *Cygw