Re: _regcmp where is regular expression library?

2003-01-06 Thread Elfyn McBratney
Hi, What you'll be needing is the regcomp() routine: extern int regcomp(regex_t *, const char *, int); The regexp routines (reg{comp,error,exec,free}) are built into cygwin (posix_reg*) so you don't need to link in with an additional library. Elfyn [EMAIL PROTECTED] --- Robert Bercik <[EMAIL

Re: Quirky Emacs behavior -- any ideas?

2003-01-06 Thread Andrew Mayer
Well, when I try: M-x describe-function RET documentation RET I get: Debugger entered--Lisp error: (wrong-number-of-arguments #[(new-pos old-pos &optional escape-from-edge only-in-line inh$ ^K^L^M%\211^P;\2035^@\310^N^N^H\"\2035^@\311^H\312\224\312\225#@\211^^^O\313 N\2034^@\314^N^O!^P \2044^@\3

bash 2.05b-8 doesnot execute .bashrc even if HOME is defined and .bashrc is under both ~/ and /

2003-01-06 Thread Tianming Kong
Hi, I'm using cygwin v1.3.18 under Windows XP Professional. Unfortunately bash 2.05b-8 does not exectute my startup script ~/.bashrc -- I have to manually run it every time I start a new cygwin window. I defined environement variable HOME as "d:\" using windows control panel. I also copy my .bash

File permissions

2003-01-06 Thread Shaun Mcbride
I have recently installed cygwin latest version on Windows XP Professional. Have users set up and they can telnet in and make use of the shell and such. How do I go about keeping users from using or even deleting system files and other user files? -- Unsubscribe info: http://cygwin.com/ml

Re: adduser script for cygwin and NT/2000/XP

2003-01-06 Thread Pierre A. Humblet
On Mon, Jan 06, 2003 at 05:05:51PM -0800, Jon Clegg wrote: > I have created a adduser script for NT/2000/XP, it?s > mkpasswd -l > /etc/passwd > net stop sshd > net start sshd Have you observed that it's necessary to restart sshd? If so, it's a bug. Pierre -- Unsubscri

Re: nohup broken in sh-utils-2.0.15-2

2003-01-06 Thread Hack Kampbjorn
Michael A Richmond wrote: When I run nohup from sh-utils-2.0.15-2, I get the message exec: --: not found The version of nohup in sh-utils-2.0-3 does not produce this error. The problematic line in nohup is the last one: exec -- "$@" In sh-utils-2.0 this was: exec "$niceprog" -5 -- "$@" Given t

adduser script for cygwin and NT/2000/XP

2003-01-06 Thread Jon Clegg
Hello, I have created a adduser script for NT/2000/XP, it’s not general purpose as it assumes you are running a ssh server, however it shows that is is necessary to restart sshd once a user is added; This is not obvious, and has taken me a while to figure that out myself. I am posting this basic

german language for CygWin

2003-01-06 Thread Hans-Juergen Merkel
Hello, I use Cygwin for working on a remote Linux PC. Unfortunately I have no german keys anywhere in the shell or the KDE desktop. Please, how can I get the german keyboard layout working? Thanks Hans-Juergen Merkel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug repor

RE: ld: cannot find -luser32

2003-01-06 Thread [EMAIL PROTECTED]
I hope as a completely new user to Cygwin that you avail yourself of resources at the Cygwin web site such as the FAQ, user guide, and email archives. There's allot of information in these areas and they contain many of the answers to typical questions, though sometimes it takes a minute or tw

_regcmp where is regular expression library?

2003-01-06 Thread Robert Bercik
I am trying to build an app which uses the function regcmp(). But during the link phase, it can't seem to find regcmp(). I know on unix it links to -lgen, but what do I need to link to on cygwin. Thanks in advance, -Rob __ Do you Yahoo!? Yahoo! Ma

Re: [Mingw-users] Solving the "relink exe's" libtool problem

2003-01-06 Thread Michael Bester
Charles Wilson wrote: [cross posted. Please keep (at least) [EMAIL PROTECTED] in all replies, especially as the @gnu.org mailserver has not been archiving all messages] There has been a long-standing problem with libtool on windows-ish platforms (cygwin, mingw, others?), in which libtool rel

ld: cannot find -luser32

2003-01-06 Thread cygwin
Hi there, I'm completely new to Cygwin... I would like to build one program but I cannot go over this error: $ make --win32 listswf gcc -g -Wall listswf.c blocktypes.o decompile.o read.o -o listswf -lm -lz /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot

Re: Installing Postgresql-7.3 on Cygwin (Win2000pro)

2003-01-06 Thread Jason Tishler
David, On Sun, Jan 05, 2003 at 08:07:34PM -0500, David A. Cobb wrote: > I don't expect the postmaster, or other pgsql components, to run in > any command shell at all but as Win services. I suppose I can mess > with the user-environment variables of the postgres "user," but I > don't know how goo

Re: xinetd/ init not working for me

2003-01-06 Thread Bruce Dobrin
Thank you! Works perfectly now! - Original Message - From: "Sergey Okhapkin" <[EMAIL PROTECTED]> To: "'Bruce Dobrin'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 11:47 AM Subject: RE: xinetd/ init not working for me > Stop init service, remove /var/log/servi

Control-C handling from the ssh client

2003-01-06 Thread William . Young
When I make an ssh client connection from the bash shell to another UNIX host, then want to cancel a running foreground command executing on the UNIX host (such as find / -print), I cannot use the Control-C key combination to kill the command on the UNIX host. When I press Control-C on my clie

RE: xinetd/ init not working for me

2003-01-06 Thread Sergey Okhapkin
Stop init service, remove /var/log/servicelog and make sure /var/log directory is writeable for all. Start init service. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Bruce Dobrin > Sent: Monday, January 06, 2003 2:37 PM > To: Sergey Okhapkin; [EM

nice command?

2003-01-06 Thread Thomas Chadwick
I got to playing around with Windows 2000 Task Manager the other day and discovered that you can change the priority of a running task. This led me to discover that you can specify the priority of a task when you launch it by way of the windows start command using one of the following options:

Re: postgresql question

2003-01-06 Thread Jason Tishler
Michelle, Please post instead of sending private email. Not only is it the more appropriate way to solicit help, you may find that you get a better response time too. On Fri, Jan 03, 2003 at 04:58:52PM -0800, Michelle Wang wrote: > I tried to build PostgreSql on Windows 2000 according to > postg

Re: xinetd/ init not working for me

2003-01-06 Thread Bruce Dobrin
Thanks Sergey, that is exactly what I did (said "yes" to overwrite). I've re-installed and now init runs xinetd. now I get an error (in the error log) after xinetd loads the appropriate services "xinetd: creation of default log failed." followed by: "xinetd:Started working: 0 available services.

nohup broken in sh-utils-2.0.15-2

2003-01-06 Thread Michael A Richmond
When I run nohup from sh-utils-2.0.15-2, I get the message exec: --: not found The version of nohup in sh-utils-2.0-3 does not produce this error. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://

Cygwin gcc 3.2 seems to break fetchmail

2003-01-06 Thread Jason Tishler
In the process of building the latest fetchmail (i.e., 6.2.0) for release, I seem to have stumbled over a Cygwin gcc 3.2 build problem. Although fetchmail builds cleanly under Cygwin gcc 3.2, it does not function properly -- it seems to get completely confused. Here are some of my observations so

Re: gcj and -mno-cygwin

2003-01-06 Thread Christopher Faylor
On Mon, Jan 06, 2003 at 07:34:22PM +0100, Lapo Luchini wrote: >Frank-Michael Moser wrote: >>Are there plans to implement -mno-cygwin for gcj? > >cygwin and no-cygwin are quite different platform, gcj would need to be >ported "twice" in pratice and, of course, cygwin is closer to original >linux's g

Re: gcj and -mno-cygwin

2003-01-06 Thread Lapo Luchini
Frank-Michael Moser wrote: Are there plans to implement -mno-cygwin for gcj? cygwin and no-cygwin are quite different platform, gcj would need to be ported "twice" in pratice and, of course, cygwin is closer to original linux's gcj. Though I've just seen a "gcj release candidate" on http://ww

Re: Re: Re: help for compiling problem!

2003-01-06 Thread Christopher Faylor
On Tue, Jan 07, 2003 at 02:08:14AM +0800, Irving Lee wrote: >r u sure? s i m. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Re: Re: help for compiling problem!

2003-01-06 Thread Irving Lee
r u sure? if cygwin does not suport setlinbuf, why i can find the definition in the header file as: \usr\include\stdio.h(239):int _EXFUN(setlinebuf, (FILE *)); anyway, thanks >On Sun, Jan 05, 2003 at 10:53:20PM -0800, Elfyn McBratney wrote: >>>next job is to produce the symbolic soft qepcad

Solving the "relink exe's" libtool problem

2003-01-06 Thread Charles Wilson
[cross posted. Please keep (at least) [EMAIL PROTECTED] in all replies, especially as the @gnu.org mailserver has not been archiving all messages] There has been a long-standing problem with libtool on windows-ish platforms (cygwin, mingw, others?), in which libtool relinks exe's over and over

sh-utils-2.0.15-2

2003-01-06 Thread Mutiso, Anthony
Anybody else having problems with keychain based on the latest sh-utils? I am getting "/usr/bin/keychain: line 1: exec:: command not found" errors. Anthony -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

Re: Repost, different list...File::Spec, cygwin, Syntactic vs. Semantic path analysis

2003-01-06 Thread Christopher Faylor
On Mon, Jan 06, 2003 at 09:43:30AM -0800, LA Walsh wrote: >So it seems that 'syntactically', one can't always determine if a "/" is >invalid in a straight win32 environment -- at least not when a network name >is involved, but I'd agree it is pathological and should be ignored (and >documented as i

Re: Re: help for compiling problem!

2003-01-06 Thread Dave Hooper
>>As a follow up to this, and the earlier thread regarding icmp (which >>presumably is resolved in the same way), would it not be "better" to add >>support for the icmp function and setlinebuf to cygwin? > > What are you suggesting? That there should be an eager team of > engineers standing by wai

Re: gcj and -mno-cygwin

2003-01-06 Thread Frank-Michael Moser
Christopher Faylor wrote: On Mon, Jan 06, 2003 at 06:12:30PM +0100, Frank-Michael Moser wrote: Should gcj work with the -mno-cygwin option? No. cgf Thanks. Are there plans to implement -mno-cygwin for gcj? Frank-Michael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis

2003-01-06 Thread LA Walsh
> -Original Message- > From: Elfyn McBratney [mailto:[EMAIL PROTECTED]] > I tend to agree that as windows uses the back-slash as a > default path seperator so should `normalize' but also in the > interest of compatability with windows 95 (in dos mode) as it > doesn't support the forwa

Re: gcj and -mno-cygwin

2003-01-06 Thread Christopher Faylor
On Mon, Jan 06, 2003 at 06:12:30PM +0100, Frank-Michael Moser wrote: > >I'm just a little bit confused: > >Should gcj work with the -mno-cygwin option? No. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

New sh utils breaks keychain

2003-01-06 Thread Tony Arnold
Dear All, Apologies if this has been highlighted already, I'm not on the mailing list. The new version of sh-utils breaks the keychain utility. Keychain is a bash script and it uses nohup to invoke ssh-agent on line 232. The behaviour of nohup now prints a message saying 'Output redirected to noh

gcj and -mno-cygwin

2003-01-06 Thread Frank-Michael Moser
I'm just a little bit confused: Should gcj work with the -mno-cygwin option? $ gcj -mno-cygwin --main=Hello -gstabs Hello.java -o Hello.exe gcj: installation problem, cannot exec `jc1': No such file or directory I found that there are no symbolic links to jc1.exe and jvgenmain.exe in /usr/lib/

Re: Re: help for compiling problem!

2003-01-06 Thread Christopher Faylor
On Mon, Jan 06, 2003 at 04:18:57PM -, Dave Hooper wrote: error: main.c: undefined reference to '_setlinebuf' >>> >> cygwin doesn't provide setlinebuf. >> In general what this means is that you have to actually "inspect" the >> code and "port it" > >As a follow up to this, and the earlier t

Re: [drow@mvista.com: Re: configure problems: possibly undefinedmacro: AS_FOR_TARGET]

2003-01-06 Thread Charles Wilson
Christian Jönsson wrote: When trying to configure/build binutils' cvs trunk sources I get a problem with running the autoconf script. A reply on binutils' list claims this to be a problem of cygwin's autoconf wrapper script. One could easily say that the problem is binutils' configure.in, once

RE: Re: help for compiling problem!

2003-01-06 Thread Vince Hoffman
Not being much of a programmer let alone a Cygwin developer i'm not realy the best person to answer... but as Cygwin aims to be a POSIX layer for windows i would guess that the definitive guide should be http://www.opengroup.org/onlinepubs/007908799/ However It seems people also expect the full ran

Re: Console input in xterm from NT program?

2003-01-06 Thread Christopher Faylor
On Mon, Jan 06, 2003 at 12:14:58PM +0100, Bj?rn Giesler wrote: >On Sunday 05 January 2003 18:13, Christopher Faylor wrote: >>xterm is a pure UNIX-like environment. You can't use Windows APIs to >>control it. You need to use tcsetattr. > >Right. That's what I thought. OTOH, what does tcsetattr o

Re: [Mostly to Charles Wilson] Upgrading Cygwin's CVS

2003-01-06 Thread Charles Wilson
Robert Collins wrote: On Tue, 2003-01-07 at 01:08, Jason Tishler wrote: On Sat, Jan 04, 2003 at 07:58:48PM -0500, Charles Wilson wrote: Because of all that, I'd pretty much decided that the next time I update the 'cvs' package, I'm going to use the cvsnt codebase Well, there's always Subve

Re: Re: help for compiling problem!

2003-01-06 Thread Dave Hooper
>>>error: main.c: undefined reference to '_setlinebuf' >> > cygwin doesn't provide setlinebuf. > In general what this means is that you have to actually "inspect" the > code and "port it" As a follow up to this, and the earlier thread regarding icmp (which presumably is resolved in the same way),

Re: How do you run BrickOS in Cygwin

2003-01-06 Thread Max Bowsher
Andrew Tait wrote: > Hi > > I was wondering if anyone knew how run/open brickOS in cygwin and how > to write and download programs onto this operating system. > > Any tips or useful websites would be a great help. How about the brickOS website? There's ample info on how to get started. If you run

Re: Re: help for compiling problem!

2003-01-06 Thread Christopher Faylor
On Sun, Jan 05, 2003 at 10:53:20PM -0800, Elfyn McBratney wrote: >>next job is to produce the symbolic soft qepcad. but the undefined >>reference error comes up. any suggestions. >> >>error: main.c: undefined reference to '_setlinebuf' > >Does main.c include stdio.h? stdio.h (in /usr/include) is w

[drow@mvista.com: Re: configure problems: possibly undefined macro: AS_FOR_TARGET]

2003-01-06 Thread Christian Jönsson
When trying to configure/build binutils' cvs trunk sources I get a problem with running the autoconf script. A reply on binutils' list claims this to be a problem of cygwin's autoconf wrapper script. Is that script generic or is it cygwin specific? If it's cyginw specific perhaps it could be add

RE: javac on cygwin

2003-01-06 Thread David P. Caldwell
Igor: >Actually, the custom java.io.File wrapper is very useful in that it's >orthogonal to the purpose of my scripts and takes care of one of the >caveats (namely, the filenames passed to Java programs). Actually, the way it works now, the programs I write have to be Cygwin-aware (I don't have a

RE: javac on cygwin

2003-01-06 Thread Igor Pechtchanski
David, Thanks for considering this. The only real way to identify major (and minor) issues, however, is testing, so, hopefully, people will use these scripts. Once they are deemed reasonably robust, it might even be worth it to release a java wrapper package for Cygwin... Actually, the custom j

Re: Quirky Emacs behavior -- any ideas?

2003-01-06 Thread Shin'ichi Matsuo
Joe Buehler <[EMAIL PROTECTED]> writes: > Very interesting -- something is mightily messed up here -- you did not > get back the documentation for the proper function. What version of > emacs 21.2 are you running, and on what version of Windows? I'm now using emacs 21.2-9. No problem. emacs 21.

Re: [Mostly to Charles Wilson] Upgrading Cygwin's CVS

2003-01-06 Thread Robert Collins
On Tue, 2003-01-07 at 01:08, Jason Tishler wrote: > On Sat, Jan 04, 2003 at 07:58:48PM -0500, Charles Wilson wrote: > > Because of all that, I'd pretty much decided that the next time I > > update the 'cvs' package, I'm going to use the cvsnt codebase > > Well, there's always Subversion: > >

Re: [Mostly to Charles Wilson] Upgrading Cygwin's CVS

2003-01-06 Thread Jason Tishler
On Sat, Jan 04, 2003 at 07:58:48PM -0500, Charles Wilson wrote: > Because of all that, I'd pretty much decided that the next time I > update the 'cvs' package, I'm going to use the cvsnt codebase Well, there's always Subversion: http://subversion.tigris.org :,) Jason -- PGP/GPG Key: http:

Re: Quirky Emacs behavior -- any ideas?

2003-01-06 Thread Joe Buehler
Shin'ichi Matsuo wrote: M-x describe-function RET documentation RET -- Buffer: *Help* -- documentation is a built-in function. [Missing arglist. Please make a bug report.] region of text with the same `field' property. If NEW-POS is nil, then the current point is used instead,

Re: problem with emacs 21.2 on Cygwin 1.3.18-1

2003-01-06 Thread Joe Buehler
Mei Wu wrote: I found a few problems with emacs 21.2 on the latest Cygwin 1.3.18-1, when I use uniquify-rename-buffer:, it is invoked when a second file with Which version of 21.2 are you using? Your problem looks like the same thing that a couple others are having problems with -- advice.el.

How do you run BrickOS in Cygwin

2003-01-06 Thread Andrew Tait
Hi I was wondering if anyone knew how run/open brickOS in cygwin and how to write and download programs onto this operating system. Any tips or useful websites would be a great help. Thanks Andrew _ The new MSN 8 is here: Try it

Re: [ANNOUNCEMENT] Updated cygwin package rxvt-2.7.9-3

2003-01-06 Thread Olaf Foellinger
On Tue, Dec 24, 2002 at 03:33:08AM -0500, Steve O wrote: > Hi, > rxvt is a terminal program that can be used instead of the windows > command shell. It does not require an X server. > > This release enables the NeXT and xterm scrollbars as well as > Shift-KP+ and Shift-KP- to change fonts. Than

Re: Re: help for compiling problem!

2003-01-06 Thread hybin
sure. compileing passes and linking fails. i guess link cannot locate the proper lib. but how? >next job is to produce the symbolic soft qepcad. but the undefined >reference error comes up. any suggestions. > >error: main.c: undefined reference to '_setlinebuf' Does main.c include

ip_var.h / igmp.h

2003-01-06 Thread Jan-Peter Koopmann
Hi, I am trying to compile thcrut on cygwin but it keeps complaining that netinet/ip_var.h and netinet/igmp.h are missing. Am I correct in assuming that this is a missing IP stack functionality of cygwin? Thanks, JP

Re: Console input in xterm from NT program?

2003-01-06 Thread Björn Giesler
Hi, first of all, thanks for the answer... On Sunday 05 January 2003 18:13, Christopher Faylor wrote: > xterm is a pure UNIX-like environment. You can't use Windows APIs to > control it. You need to use tcsetattr. Right. That's what I thought. OTOH, what does tcsetattr on Cygwin do? W32 just

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-06 Thread Lapo Luchini
Bruce Adams wrote: Hello.java(note: case is important in this filename) == class Hello { public Hello() {}; public static void main(String args[]) { int returnCode = 0; System.out.println("hello world\r\n"); System.exit(returnCode); } } lapo@CYBERONE

problem with emacs 21.2 on Cygwin 1.3.18-1

2003-01-06 Thread Mei Wu
Hello, I found a few problems with emacs 21.2 on the latest Cygwin 1.3.18-1, when I use uniquify-rename-buffer:, it is invoked when a second file with the same filename but different dir is being openned, however, the error message appears : uniquify-rename-buffer: Wrong number of arguments: #[ni

dhcpd on cygwin

2003-01-06 Thread Chirag Kantharia
Hello, Not sure if this is the right forum for the question. Is there dhcpd port available for cygwin? I'd come across a few postings on the mailing list archive but can't find any package which has it (inetutils doesn't have it). Where could I find dhcpd for cygwin? Or if it doesn't exist, then i

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs.Semantic path analysis

2003-01-06 Thread Robert Collins
On Mon, 2003-01-06 at 20:52, LA Walsh wrote: > Do you think this is proper behavior? Do you think a win32 person being > introduced to posix/gnu utils would find this beneficial? Do you think > a linux person who uses some combination of cygwin and Win utils would find > this beneficial?

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis

2003-01-06 Thread LA Walsh
> -Original Message- > From: Hack Kampbjorn [mailto:[EMAIL PROTECTED]] > > Cygwin, and possibly, the Win32 module, are inconsistent in > handling > > the differences between i:/foobar/ and i:. On one hand i: is > > considered a 'volume' but on the other hand i:/ seems to > evaluat

Java (2 of 3): where is gij?

2003-01-06 Thread Bruce Adams
Hi, Just a quick question (for the FAQ?). I notice that gij (the GNU java virtual machine) is not installed along with gcj. I presume this is because the M$ and Sun JVMs are perfectly adequate for the task. I thought this would be documented somewhere. Anyone know?

Java (1 of 3): Gcj - Hello world exe (again)

2003-01-06 Thread Bruce Adams
Hi, This ought to be in the FAQ but I couldn't find it. I can't seem to get a hello world program to work as an executable though it works fine with the JVM. I've seen this asked before but not the answer. See code below. Hello.java(note: case is important in this filename) ==

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis

2003-01-06 Thread Elfyn McBratney
> Right, so: > Perl for Cygwin uses "/" > Perl for win32 uses "\" and ":". > > Seems pretty straight forward to me. > > Cygwin may be 'just a partial posix layer', but if you are compiling > for it, you >should use "/" delimited paths. And thats just what I meant to end with before hitting that s

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs.Semantic path analysis

2003-01-06 Thread Robert Collins
On Mon, 2003-01-06 at 19:30, Elfyn McBratney wrote: > Although the win32 api supports both one takes more work as paths > containing forward-slashes are converted to back-slashes*. I know this > is being petty but if different style paths cause problems surely it > would make sense to follow the s

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis

2003-01-06 Thread Elfyn McBratney
> If a user calls the 'normalize' function, it should convert it >to "\" -- since that is the OS standard/default -- HOWEVER... I tend to agree that as windows uses the back-slash as a default path seperator so should `normalize' but also in the interest of compatability with windows 95 (in

Re: Setup.exe locks up: Clarification

2003-01-06 Thread Robert Collins
On Mon, 2003-01-06 at 13:45, Paul T. Karch wrote: > This setup.exe version is 2.249.2.5 and I downloaded > it on 5 Jan 2003 from the main Cygwin site. Please try the snapshot from http://www.cygwin.com/setup-snapshots Rob signature.asc Description: This is a digitally signed message part