Changing to another user in cygwin -- login?

2002-12-12 Thread Andre Truter
Hi, I have postgres installed and running as a service under user postgres. Now I want to run the createdb, etc scritps as user postgres to create a new database. I have tried 'login postgres' from a bash shell, but this is the result: $ login postgres Password: Login incorrect login: I know t

Some inquiries about Cygwin?

2002-12-12 Thread MJLiu
Dear Sir: I am interested in Cygwin. May I have the following inquiries? 1. Can I install and use RedHat's RPM in Cygwin in order to install others packages like uClinux? 2. Can I install uClinux in Cygwin to cross-compile it? 3. Can I install cross-compiler like GNU toolchain for ARM7 (like Li

Re: Individual vs. list-only replies (Was Re: Force bash to start as administrator)

2002-12-12 Thread Christopher Faylor
On Thu, Dec 12, 2002 at 06:50:13PM -0800, Andrew DeFaria wrote: >>P.S. Also note that, even with your current setup, you can get a >>double copy only if someone replies to a message that you posted. > >Again, when others respond I do not get an additional email copy of it. >Just with some people.

Re: Broken Link on the ported page.

2002-12-12 Thread Christopher Faylor
On Thu, Dec 12, 2002 at 06:25:40PM -0800, Adam Jurevicius wrote: >The link to the rpm package on >http://sources.redhat.com/cygwin/ported.html is broken. Does anyone >have that file or know if it's posted on another site somewhere? It's not broken right now, at least. cgf -- Unsubscribe info:

Re: pipe improvements in snapshot

2002-12-12 Thread Norman Vine
e CVS tree build (1) below I do not experience this > > > >(1) 10-Dec-2002 7:10:38a6,683,847 cygwin-20021210.tar.gz > >(2) 12-Dec-2002 6:09:42a6,688,318 cygwin-20021212.tar.gz > > > >The times are EST and the tarballs are created by a script that > >do

Re: Individual vs. list-only replies (Was Re: Force bash to startas administrator)

2002-12-12 Thread Robert Collins
On Fri, 2002-12-13 at 13:50, Andrew DeFaria wrote: > But the issue is not only are people who reply busy but so are the > readers. With your software's defaults I get a message in my email AND > see it and have to skip it later when I read the list. Thus it is more > work for me, hence the req

Re: Individual vs. list-only replies (Was Re: Force bash to startas administrator)

2002-12-12 Thread Andrew DeFaria
Igor Pechtchanski wrote: Andrew, I would like to point out that most people on this list are busy people, As am I. and that the most convenient way to reply is the one that takes the least effort on their part. In my software I simply hit reply instead of reply all. Either button is as ea

Re: Shell script wont run with cron, but it works ok in the command line.

2002-12-12 Thread Andrew DeFaria
Igor Pechtchanski wrote: Try adding "c:\cygwin\bin" to your *system* (not user) PATH environment variable (in the Control Panel System applet select the Advanced tab, then Environment Variables, and change the System PATH variable to contain the above). If you have any other POSIX-compliant t

Broken Link on the ported page.

2002-12-12 Thread Adam Jurevicius
Hello, The link to the rpm package on http://sources.redhat.com/cygwin/ported.html is broken. Does anyone have that file or know if it's posted on another site somewhere? Thanks in advance. Adam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cyg

LaPack++ help

2002-12-12 Thread Huma Babak
Hello! Hope you are doing well. My name is Huma Babak, I have been researching for school about the LaPack++ package and I got your name as someone who has used LaPack++ package. Can you please tell me your experience with this package? Positives and Negative, more focused on the negatives. I

[ANN] Re: cyg-wrapper.sh

2002-12-12 Thread Luc Hermitte
Hello Matt, * On Tue, Dec 10, 2002 at 09:38:02AM -0700, Matt Armstrong <[EMAIL PROTECTED]> wrote: > Luc, you might consider adding an option to unset the PWD environment > variable (or convert it to a Windows path). That's done. I haven't done any test with perforce, so, let me know. The two new

Emacs: completion of buffer names ignores case

2002-12-12 Thread Eric Hanchrow
I'm using emacs-21.2-10. I frequently want to switch to the buffer named `*shell*', so I type C-x b * s h e SPC RET expecting that, since `*shell*' is the only buffer whose name begins with `*she', the SPC will cause its complete name (`*shell*') to appear in the minibuffer, and the RET

Re: MS_types and addr_t name polution

2002-12-12 Thread Christopher Faylor
On Thu, Dec 12, 2002 at 02:22:20PM -0800, Michael Eager wrote: >Elfyn McBratney wrote: >>The addr_t type is used in memory managment (memory addresses??) in >>/usr/include/sys/mman.h. If you plan on using this (or is already on >>the code, mman.h i mean) you may have problems. What is the type of

Re: MS_types and addr_t name polution

2002-12-12 Thread Michael Eager
Elfyn McBratney wrote: > > Hi, > > The addr_t type is used in memory managment (memory addresses??) in >/usr/include/sys/mman.h. If you plan on using this (or is already on the code, mman.h >i mean) you may have problems. What is the type of your addr_t? is it type char of * >(pointer)? Actua

Re: Installation

2002-12-12 Thread [EMAIL PROTECTED]
Actually, I'm not sure if there is a proper list for this. This list can't really answer questions about someone else's distribution, assuming that's the source of the problem. This list can help you determine if the CD is the source of the problem (or if it's just user error). However, we wou

Re: Shell script wont run with cron, but it works ok in the command line.

2002-12-12 Thread Igor Pechtchanski
Try adding "c:\cygwin\bin" to your *system* (not user) PATH environment variable (in the Control Panel System applet select the Advanced tab, then Environment Variables, and change the System PATH variable to contain the above). If you have any other POSIX-compliant toolset installed and in your p

Re: Shell script wont run with cron, but it works ok in the command line.

2002-12-12 Thread Eric De La Cruz Lugo
How can I make the mv, and rm commands excecutable by system? where I can add the path to this commands for System??? This is the hint I have been looking for since Dec 07 thanks in advance! Eric. Re: Script Doesn't Work Correctly with Cron From: Igor Pechtchanski To: Buck Turgidson Cc

Re: problems with CPAN and cygwin >1.3.12

2002-12-12 Thread Gerrit P. Haase
Hallo JoNO, Please keep replies to the list, others may help debugging your problem too! > --- "Gerrit P. Haase" <[EMAIL PROTECTED]> wrote: >> Hallo JoNO, >> >> At first, make sure that in your Cygwin environment >> are no >> paths in PATH with spaces like this: >> > /cygdrive/c/Pro

Re: Installation

2002-12-12 Thread Igor Pechtchanski
Wrong list, redirected. Igor On Thu, 12 Dec 2002, d. dorst wrote: > I have got cygwin on a cd-rom because I use a 56K modem. > I have read the FAQ s that are on the cd and tried every solution that is > there but it will not install. > Every time when the packeges should come in the sceen

Re: completion-ignore-case (was: /tmp)

2002-12-12 Thread Michael A Chase
On Thu, 12 Dec 2002 12:12:56 -0800 Shankar Unni <[EMAIL PROTECTED]> wrote: > Michael A Chase wrote: > > > # Ignore case while completing > > set completion-ignore-case on > > Hmm. Thanks! Now that I RTFM more closely, I also see "set > complete=enhance". Is there a difference? The latter s

Re: completion-ignore-case (was: /tmp)

2002-12-12 Thread Shankar Unni
Michael A Chase wrote: # Ignore case while completing set completion-ignore-case on Hmm. Thanks! Now that I RTFM more closely, I also see "set complete=enhance". Is there a difference? The latter seems to work as I'd expect it to, so I'm now beginning my Big Move To Cygwin Tcsh :-/.

Re: completion-ignore-case (was: /tmp)

2002-12-12 Thread Michael A Chase
On Thu, 12 Dec 2002 11:07:37 -0800 Shankar Unni <[EMAIL PROTECTED]> wrote: > Soren A wrote: > > > [...] you can nenver tell another person what they should like in > > a shell. > > Well (sorry for OT drift), the main thing was the case-insensitive > filename completion, which is invaluable on

Re: Rsync performance increase through buffering (cygwin/ssh solution?)

2002-12-12 Thread Jim Kleckner
Below is a description of a buffering speed improvement. The original message with complete patch for performance can be found here: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&selm=at1i0e%241tj3%241%40FreeBSD.csie.NCTU.edu.tw This may explain the horrendous performance

Re: GCC Include Paths

2002-12-12 Thread Shankar Unni
Vijay Sampath wrote: I just tried out a line with 2 characters and it works fine on bash as an input to GCC. I think that direct Cygwin-to-Cygwin invocation has a higher limit. If you're calling a Cygwin program from a non-Cygwin program (e.g. CMD.EXE), you're still stuck with Windows limi

Re: /tmp

2002-12-12 Thread Shankar Unni
Soren A wrote: > [...] you can nenver tell another person what they should like in a shell. Well (sorry for OT drift), the main thing was the case-insensitive filename completion, which is invaluable on Windows. I need to look at the tcsh source and see if it is implemented within an "#ifdef

RE: GCC Include Paths

2002-12-12 Thread Randall R Schulz
Vijay, I guess I was misled by this: /usr/include/limits.h:#define _POSIX_ARG_MAX 4096 /usr/include/sys/syslimits.h:#define ARG_MAX 65536 /* max bytes for an exec function */ Furthermore, "/usr/include/limits.h" bears a Red Hat copyright and is specifically marked as a "part of Cygwin," while

"The application failed to initialize properly (0xc0000022)" -- cause and cure

2002-12-12 Thread Eric Hanchrow
I think this is unrelated to previous messages on this list with a similar subject. Instead, it pertains to a problem that I encountered and solved myself; I thought it might benefit others to hear about it, so here it is. The symptom is that I was trying to start a non-Cygwin program that I'd j

RE: GCC Include Paths

2002-12-12 Thread Vijay Sampath
Randall, I just tried out a line with 2 characters and it works fine on bash as an input to GCC. At this point I gave up trying to increase the length to find out the limit. Whatever the bash limit is, it is definitely greater than a windows shell. Of course, if you are invoking a bat file or

RE: GCC Include Paths

2002-12-12 Thread Randall R Schulz
Vijay, Allan, Cygwin is similarly limited. All Unix / POSIX systems have such a limit, but Cygwin's limit is much smaller than the typical limit on a Unix (-like) system. I don't know it for a fact, but I'm pretty sure this limit is not imposed by Cygwin itself (why would it?) but is a Windows

RE: GCC Include Paths

2002-12-12 Thread Vijay Sampath
Yes, we have faced a similar problem. The problem is with the windows command shell which limits a line to 2048 characters. I don't know how to make that problem go away. But you shouldn't get the same problem from a cygwin shell. Thanks, Vijay > -Original Message- > From: Allan Crook [m

Re: Script Doesn't Work Correctly with Cron

2002-12-12 Thread Igor Pechtchanski
On Thu, 12 Dec 2002, Buck Turgidson wrote: > I have a script that works when I run it from the command line, but when it > is executed with cron, it produces a null file. I am sure that cron is > executing it because it creates the file. It is just not populated. > > Here is the script. I want

GCC Include Paths

2002-12-12 Thread Allan Crook
Help, We're trying to make GCC automatically search for required header files, unforunately if we use the C_INCLUDE_PATH environment variable or -I you need to enter every single search directory. For our current project this results in a line over 2000chars long (too long for windows or GCC to ha

Script Doesn't Work Correctly with Cron

2002-12-12 Thread Buck Turgidson
I have a script that works when I run it from the command line, but when it is executed with cron, it produces a null file. I am sure that cron is executing it because it creates the file. It is just not populated. Here is the script. I want to query an Oracle database every couple of minutes,

Re: pipe improvements in snapshot

2002-12-12 Thread Christopher Faylor
>possible data loss > >Using the gcc option -pipe seems to allow the configure process >Using the -pipe flag I have not seen the uname error but it does >eventually hang when actually creating the Makefiles > >This project uses libtool > >With the CVS tree build (1) be

Re: Why "No such file ..." in path ? 1.3.17

2002-12-12 Thread Randall R Schulz
Kun, I need to correct myself (since no one else did!)... At 19:30 2002-12-11, Randall R Schulz wrote: Kun, ... Include files required during C or C++ compilation are located via a separate search path maintained by the compiler and not driven by any environment variable, at least not in the

URL correction

2002-12-12 Thread Baker, Sterling
The correct URL for the; Cygwin GNOME 1.4 binary packages under NEWS is; http://sourceforge.net/projects/cygnome/ Have Fun Sterling -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/do

Re: Problems with GCC and C_INCLUDE_PATH

2002-12-12 Thread Igor Pechtchanski
On Thu, 12 Dec 2002, Allan Crook wrote: > I'm having problems with GCC and the C_INCLUDE_PATH, if i add the path > to the command line with -Iw:\source then all is ok, but if I add the > same path to the environment variable and remove the -I from the command > line it just will not see the header

Re: problems with CPAN and cygwin >1.3.12

2002-12-12 Thread Gerrit P. Haase
Hallo JoNO, At first, make sure that in your Cygwin environment are no paths in PATH with spaces like this: > /cygdrive/c/Program Files/SecureCRT 3.0 Then check the permissions on your executables: $ ls -l /bin/perl should look like this: -rwxr-xr-x1 gerrit Domänen-14848 Dec 9

Re: using MFC with cygwin

2002-12-12 Thread Michael D. Crawford
I believe Metrowerks CodeWarrior for Windows comes with MFC. http://www.metrowerks.com/ CodeWarrior is a much more standards-compliant compiler than VC++ and I think even more than g++, but it has a "compatibility mode" that allows it to compile a lot of broken VC++ code. Maybe if you ported M

Re: postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-12 Thread Jason Tishler
Heitzso, On Thu, Dec 12, 2002 at 09:34:37AM -0500, Heitzso wrote: > I'm guessing there's another environment variable that initdb may be > working with? Grepping initdb yields: $ fgrep LANG /usr/bin/initdb for var in "PGLC_$arg" PGLOCALE LC_ALL "LC_$arg" LANG; do Did you set any of

Re: using MFC with cygwin

2002-12-12 Thread [EMAIL PROTECTED]
Hm, someone's been digging around in the email archives! ;-) Actually, that's good to see. While I won't argue the slight semantic differences pointed out here between what I said and this response, I believe we both agree it makes the same point, at least in the context of Cygwin. Anyone that w

Re: sftp ssh chroot

2002-12-12 Thread Jeremy Hein
I solved my problem regarding "jailing" users in cygwin. If anyone is interested, the patch for linux works fine for cygwin. Here are the steps: 1) Download http://chrootssh.sourceforge.net/patches/osshChroot-3.5.diff 2) Go to http://www.openssh.org/portable.html and get the sourcefile openssh-

RE: postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-12 Thread Heitzso
Just want to note that my LANG was not set when I ran initdb which left me with LC_MESSAGES="EN_US". I tried setting LANG=C in my environment and wiped my postgres data directory and re initdb'ed and still ended up with LC_MESSAGES="EN_US". I'm guessing there's another environment variable that in

Problems with GCC and C_INCLUDE_PATH

2002-12-12 Thread Allan Crook
I'm having problems with GCC and the C_INCLUDE_PATH, if i add the path to the command line with -Iw:\source then all is ok, but if I add the same path to the environment variable and remove the -I from the command line it just will not see the header file, whats wrong?? I get the following error:

Re: pipe improvements in snapshot

2002-12-12 Thread Pavel Holejsovsky
project uses libtool With the CVS tree build (1) below I do not experience this (1) 10-Dec-2002 7:10:38a6,683,847 cygwin-20021210.tar.gz (2) 12-Dec-2002 6:09:42a6,688,318 cygwin-20021212.tar.gz The times are EST and the tarballs are created by a script that does a CVS update, make, ma

Re: postgres 7.3 postmaster: invalid value for option 'LC_MESSAGES':'en_US'

2002-12-12 Thread Jason Tishler
Jari, On Wed, Dec 11, 2002 at 10:27:43PM +0200, Jari Aalto wrote: > $ env | grep LC_ > LC_ALL=en_US See the following: http://cygwin.com/ml/cygwin/2002-12/msg00666.html Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C1

Re: postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-12 Thread Jason Tishler
Heitzso, On Wed, Dec 11, 2002 at 12:48:20PM -0500, Heitzso wrote: > I got around this problem (??) by commenting out the 4 localization > lines at the end of postgresql.conf in the data directory, but would > greatly appreciate any suggestions as to what's south with my setup > that would cause th

Re: pipe improvements in snapshot

2002-12-12 Thread Norman Vine
ntually hang when actually creating the Makefiles This project uses libtool With the CVS tree build (1) below I do not experience this (1) 10-Dec-2002 7:10:38a6,683,847 cygwin-20021210.tar.gz (2) 12-Dec-2002 6:09:42a6,688,318 cygwin-20021212.tar.gz The times are EST and the tarball

Re: postgresql postmaster and LC_MESSAGES EN_US problem

2002-12-12 Thread Jason Tishler
Heitzso, On Wed, Dec 11, 2002 at 12:48:20PM -0500, Heitzso wrote: > I just updated to current postgresql and got past the ipc-daemon > upgrade problem (yes it's noted in the README) but then got snagged on > the LC_MESSAGES EN_US setting in postgresql.conf. > > [snip] I would try the [EMAIL PROT

RE: ntsec and remote copy

2002-12-12 Thread Kris Thielemans
Hi Pierre, thanks for your reply! That indeed turned out to be the case. > The owner of the remote file has a SID that does not appear > in your passwd file and thus it cannot be mapped to a uid. > Cygwin then uses uid = -1 > This also explains what you describe in your follow up > message. > > P

What "bash --login -i" has done for my project?

2002-12-12 Thread 姚 金毅
My project runs well in cygwin's bash. But it fails in cmd.exe with the following error: " Exception: STATUS_ACCESS_VIOLATION at eip=00558706 eax= ebx=00691E64 ecx= edx= esi=00692140 edi=005BF220 ebp=0022F430 esp=0022F388 program=D:\cygwin\home\Administrator\win9.1.4\rcssse