Re:bash script Q

2002-04-05 Thread David Starks-Browning
Unless there is something Cygwin-specific to your question here, I would point out that this is off-topic for this list, and ask you to take your shell programming questions elsewhere. Thanks, David On Friday 5 Apr 02, Gupta, Sanjay writes: > I assuming that I am reading all files from /tmp/ dir

Re: Question on the new behavior of setup.exe

2002-04-05 Thread Doug Wyatt
Let's just say that today was worse that yesterday - I'm accumulating a list of problem reports from disgruntled users with domain server file access problems, plus a growing list of problem symtoms I'm finding for myself as I try to get some kind of handle on what's actually going on. Thus far,

Re: cygwin/xfree86 logged into KDE3 causes strange cygwin error

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 08:22:26PM -0500, Harold Hunt wrote: >Oh yeah, by "sketchy" I meant that after it happens a few times and I >switch the focus away from Cygwin/XFree86 two things happen: > >1) Cygwin/XFree86 freezes solid. > >2) The Windows mouse cursor disappears and the Windows mouse does

Re: cygwin/xfree86 logged into KDE3 causes strange cygwin error

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 08:14:44PM -0500, Harold Hunt wrote: >This is the first time I have every seen anything like this in >Cygwin/XFree86. > >I just installed KDE3 on my Linux box and when I login via XDMCP and run >Konsole I get this error message in Windows: > >--- >Er

Re: errno.h - EILSEQ

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 10:01:36PM -0600, Dave Trollope wrote: >Since it exists on Linux and Solaris, I figured that this was new to >Cygwin and its applications. The question is, for what was it >introduced to both Linux and Solaris, and shouldn't it be introduced to >Cygwin? That's rarely the

Re: cygwin-man

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 07:40:27PM -0800, Joshua Daniel Franklin wrote: >After looking at this, I think two "intro" pages would be best. Here is >my RFC for intro.3: > >INTRO(3) Cygwin INTRO(3) > >NAME > intro - Introduction to the Cygwin API > >DESCR

Re: Should setup suggests to downgrade? [WAS: Lillypond for cygwin]

2002-04-05 Thread Christopher Faylor
On Sat, Apr 06, 2002 at 10:21:57AM +1000, Robert Collins wrote: >> -Original Message- >> From: David A. Cobb [mailto:[EMAIL PROTECTED]] >> Sent: Friday, April 05, 2002 1:59 AM > >> > TODO >> > [..] >>>* Don't downgrade if the curr version is <= installed? >>> >>>Btw, this should apply

Bison 1.35 Build

2002-04-05 Thread Dockeen
The earlier discussion of Bison 1.35 got me curious, so I built it under Win 98 / Cygwin. It built in the straight-forward mode of: ./configure make make check (all tests passed) make install Much easier than, say, gcc-3.0.1 was! I am posting this as a potential point of interest for the

Help me understand few things

2002-04-05 Thread Gupta, Sanjay
Hello All, Few things are not clear to me, I would appreciate, if somebody can help me understand the concept. I have included my copy of /etc/group and /etc/passwd file. Q1. When I launch cygwin using shortcut on my desktop which is basically pointing to cygwin.bat , when I issue id command, I

Re: errno.h - EILSEQ

2002-04-05 Thread Dave Trollope
Hi Corinna, Since it exists on Linux and Solaris, I figured that this was new to Cygwin and its applications. The question is, for what was it introduced to both Linux and Solaris, and shouldn't it be introduced to Cygwin? Cheers Dave Corinna Vinschen wrote: > On Wed, Apr 03, 2002 at 10:25:07P

Re: cygwin-man

2002-04-05 Thread Joshua Daniel Franklin
After looking at this, I think two "intro" pages would be best. Here is my RFC for intro.3: INTRO(3) Cygwin INTRO(3) NAME intro - Introduction to the Cygwin API DESCRIPTION Cygwin is a UNIX environment, developed by Red Hat, for W

cataloger GPxZbal

2002-04-05 Thread GIBSON
Below is the result of your feedback form. It was submitted by GIBSON ([EMAIL PROTECTED]) on Friday, April 5, 2002 at 18:57:24 --- .: Imagine the perfect business: You Can Run It From Home...Or From Anywhere With A Telepho

RE: Cygwin/XFree86 logged into KDE3 causes strange Cygwin error

2002-04-05 Thread Harold Hunt
Oh yeah, by "sketchy" I meant that after it happens a few times and I switch the focus away from Cygwin/XFree86 two things happen: 1) Cygwin/XFree86 freezes solid. 2) The Windows mouse cursor disappears and the Windows mouse doesn't work until I reboot. The mouse doesn't even start to work agai

Cygwin/XFree86 logged into KDE3 causes strange Cygwin error

2002-04-05 Thread Harold Hunt
This is the first time I have every seen anything like this in Cygwin/XFree86. I just installed KDE3 on my Linux box and when I login via XDMCP and run Konsole I get this error message in Windows: --- Error --- Failed assertion fds_on_hold

RE: Should setup suggests to downgrade? [WAS: Lillypond for Cygwin]

2002-04-05 Thread Robert Collins
Redirect this to cygwin-apps please folk. > -Original Message- > From: David A. Cobb [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 1:59 AM > > TODO > > [..] > > * Don't downgrade if the curr version is <= installed? > > > >Btw, this should apply to test too, I think. >

FW: question regarding id command

2002-04-05 Thread Gupta, Sanjay
I have missed word "not" in my previous email. " Why the output of id -Gn and id -Gn Sgupta is NOT same , assuming that I am logged in as Sgupta " It looks like id -Gn prints all the groups (Primary, Secondary), if I put user name like id -Gn SGupta , it only prints the Primary Group. Is it t

RE: ncftp current release won't run - missing CYGREADLINE5.DLL

2002-04-05 Thread Robert Collins
> -Original Message- > From: Christopher Faylor [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 12:20 AM > To: [EMAIL PROTECTED] > Subject: Re: ncftp current release won't run - missing > CYGREADLINE5.DLL > > > On Thu, Apr 04, 2002 at 11:57:09PM +1000, Robert Collins wrote:

RE: Question on the new behavior of setup.exe

2002-04-05 Thread Robert Collins
> -Original Message- > From: Karl Chen [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 11:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Question on the new behavior of setup.exe > > > > I had the same problem with the 2.194 setup.exe, not on a > network share, but now I can

RE: setup.exe wishlist

2002-04-05 Thread Robert Collins
> -Original Message- > From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 06, 2002 12:20 AM > I recently upgraded from the b20 full.exe setup mechanism to > the newer b20.1 setup.exe. BTW, it looks like a centura team > developer application or where does thi

Re: Problem with dlopen

2002-04-05 Thread Frank Motta
Thanks Larry, As a result of your response I made a -very- truncated version and got past the dlopen error. The problem seems to be in the -creation- of the dll. the instructions at http://cygwin.com/cygwin-ug-net/dll.html result in many link-time errors and the method I -was- using

Re:bash script Q

2002-04-05 Thread Gupta, Sanjay
I assuming that I am reading all files from /tmp/ directory for File in /tmp/* do ## Check, if it is a File if [ -f $File ] ; then ## Yes, it is a file ## Get the basename and cut two characters TWOBYTES=`basename $File | cut -b1,2` if [ "$TWOBYTES" = "%!" ] ; then

question regarding id command

2002-04-05 Thread Gupta, Sanjay
When I issue the id command as follows $id -Gn it gives me the following output Domain Users Everyone DBAs Epylon Employees Neptune DBA Operations Administrators Users ORA_DBA $ id -Gn SGupta It gives only the following output Domain Users $ whoami SGupta My current user is SGupta, so when I

Re: Problem with dlopen

2002-04-05 Thread Larry Hall (RFK Partners, Inc)
At 02:51 PM 4/5/2002, Frank Motta wrote: >The following code returns Win32 error 126 - this is the same error >I get if I try a file which does not exist. > >What is going wrong (operator malfunction - I'm sure!) >please help > strncat(mod_file_name, LIB_EXT, LIB_EXT_LEN + 1); >

Re: bison 1.35

2002-04-05 Thread C. J.
>>Hi, could the bison maintainer publish bison 1.35 for cygwin? It >>includes an important fix my team requires. > >Sounds like your team should just rebuild it themselves. Why would >you >wait for someone else to do this if it is important to you? We have built it, it's just that our environ

Problem with dlopen

2002-04-05 Thread Frank Motta
The following code returns Win32 error 126 - this is the same error I get if I try a file which does not exist. What is going wrong (operator malfunction - I'm sure!) please help strncat(mod_file_name, LIB_EXT, LIB_EXT_LEN + 1); // FJM handle = dlopen(mod_file_name, (RTLD_

Re: strange downloading problem

2002-04-05 Thread William S. Huizinga
Nope, no joy. [root@vixen rts]# declare -x http_proxy=http://enterprise.si.com:80 [root@vixen rts]# declare -x ftp_proxy=http://enterprise.si.com:80 [root@vixen rts]# wget --proxy=on --proxy-user=huizinws --proxy-passwd= http://www.cygwin.com/setup.exe --14:07:33-- http://www.cygwin.com/set

Re: ip.h & tcp.h

2002-04-05 Thread Jason Tishler
On Fri, Apr 05, 2002 at 09:57:31AM -0500, Robinow, David wrote: > Well, I'm somewhat to blame for this situation. >See http://sources.redhat.com/ml/cygwin/2000-09/msg00010.html > > Is the suggestion of "include " reasonable? No. IIRC, this caused problems. See the following: http:

RE: Which OS Type

2002-04-05 Thread Gupta, Sanjay
Thanks Michael,Robet , Randall and Prentis It is good to know that sqlplus in windows handles '/' in directory specification. I guess your suggestion will not work in my case. In my shell script, a sql file is dynamically generated. see example echo "select * from dual;" >> /tmp/test.sql The abo

strange downloading problem

2002-04-05 Thread William S. Huizinga
I am experiencing a very strange problem. I want to install cygwin on my W2K box, so I went to the website and hit the download button, etc... The download got to around 22% and then stopped, only to timeout 300 seconds later. I tried it again, same problem. I tried on each and every mirror to

RE: Strange Crond behavior

2002-04-05 Thread Ken Sheldon
I believe the root cause is that the CYGWIN environment variable needs to be set to include NTSEC. The instructions in /usr/doc/Cygwin/cron.README include this command: cygrunsrv -I cron -p /usr/sbin/cron -a -D That will not always work A command that works better is: cygrunsrv -I cron -d "Cro

Autoconf 2.53 check for working mmap fails

2002-04-05 Thread \(1pH3r_IVI4IV14\(
When configuring a package using autoconf-2.53, the built-in check for mmap (AC_FUNC_MMAP I believe) fails: [...] checking for working mmap... no [...] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: ht

Re: 1.4 To 1.10 : cygwin1.dll Bug on NT 4.0 ?

2002-04-05 Thread Larry Hall (RFK Partners, Inc)
At 02:58 AM 4/5/2002, Patrick Pelissier wrote: >>It's not at all clear where your problem is. However there are >>several factors to consider: >> >>1. The issue is with a cross-compiler not provided by Cygwin > >Yes. That's why, I didn't expect anything else than an idea of the origin of the

Re: NcFTP Feature Request for "getline" (fwd)

2002-04-05 Thread Hack Kampbjørn
Charles Wilson wrote: > > The interesting thing is, as of 3.1.2 and 3.1.3, cygwin ncftp uses the > readline library for terminal handling -- just like bash does. Prior to > 3.1.2, cygwin ncftp used the home-grown termhandling stuff internal to > the ncftp codebase. You'd think that would be an

Re: [ILUG] bash script Q

2002-04-05 Thread Waider
According to Justin MacCarthy: > Hi, > anyone point me to the best bash script option for checking the first 2 > characters of all the files in a directory? > > logic of the script is > > for each file in directory > test if the first 2 chars are "%!" > print Filename

bash script Q

2002-04-05 Thread Justin MacCarthy
Hi, anyone point me to the best bash script option for checking the first 2 characters of all the files in a directory? logic of the script is for each file in directory test if the first 2 chars are "%!" print Filename valid if not print

RE: Re[2]: setup.exe and mirror list question

2002-04-05 Thread Scott Prive
OK, thanks. I didn't know if there was a way to do a safe search and replace within the binary file. I'll recompile then. It's a little more work because the mirror is on Linux, and I've never investigated cross-compiling from Linux (and someone said you can't run Cygwin under WINE anymore).

Re: setup.exe wishlist

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 04:19:36PM +0200, Christoph Kukulies wrote: >I recently upgraded from the b20 full.exe setup mechanism to the newer b20.1 >setup.exe. BTW, it looks like a centura team developer application >or where does this tree view stem from? > >At least it requires a bit 'getting used

setup.exe wishlist

2002-04-05 Thread Christoph Kukulies
I recently upgraded from the b20 full.exe setup mechanism to the newer b20.1 setup.exe. BTW, it looks like a centura team developer application or where does this tree view stem from? At least it requires a bit 'getting used to'. Could please be added that the last used proxy is entered in the r

Re: ip.h & tcp.h

2002-04-05 Thread Christopher Faylor
On Fri, Apr 05, 2002 at 04:34:42PM +0800, Wu Yongwei wrote: >Um, no one willing to answer? > >OK, I am changing my request now. CAN CYGWIN DROP IP.H AND TCP.H IN >DISTRIBUTION FOR NOW? http://www.cygwin.com/ml/cygwin/2002-03/msg01461.html http://cygwin.com/contrib.html cgf -- Unsubscribe info:

Re: Question on the new behavior of setup.exe

2002-04-05 Thread Karl Chen
I had the same problem with the 2.194 setup.exe, not on a network share, but now I can't reproduce the bug. By the way, it was not at all obvious that you can select more than one mirror. Suggestion: print a hint to this effect; and also change the selection box to the kind that is specifically

Re: App Unable to Acceess X Display

2002-04-05 Thread Christopher Faylor
Redirected to proper mailing list. On Thu, Apr 04, 2002 at 08:50:10PM -0500, Mike wrote: >Hello. My name is Mike. I am running Win 2000 Pro. I have recently >tried to install the Lyx Latex editor. I had a successful Cygwin and, >by all indications, Lyx install. When I try to launch Lyx, I re

Re: bison 1.35

2002-04-05 Thread Christopher Faylor
On Thu, Apr 04, 2002 at 05:42:02PM -0800, C. J. wrote: >Hi, could the bison maintainer publish bison 1.35 for cygwin? It >includes an important fix my team requires. Sounds like your team should just rebuild it themselves. Why would you wait for someone else to do this if it is important to you

Re[2]: Question on the new behavior of setup.exe

2002-04-05 Thread Pavel Tsekov
Hello Doug, Friday, April 05, 2002, 2:51:16 PM, you wrote: DW> Hi, DW> It appears that the problem with downloads on the W2k PC is the DW> result of one or more problems on the PC itself and between W2k DW> PC's in general and the NT Domain Server. The download dir is on DW> a server share and

Vim initialization and DOS CR/LF file mode & possible fix

2002-04-05 Thread Karl Chen
Hi, Vim recently started behaving annoyingly on startup. I know I have used cygwin setup since before the problem appeared so it may be a new version or I may have changed the CR/LF text mode. But now neither setting of DOS/unix text modes seem to fix the problem. Whenever I start vim, I get C

Re: Question on the new behavior of setup.exe

2002-04-05 Thread Doug Wyatt
Hi, It appears that the problem with downloads on the W2k PC is the result of one or more problems on the PC itself and between W2k PC's in general and the NT Domain Server. The download dir is on a server share and it always worked w/o problems on and before 18Mar02. Naturally, my first assump

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory:No such file or directory

2002-04-05 Thread Prentis Brooks
Actually, the error is real. At the time that you logged in your home directory did not exist. There are some Cygwin processes (not sure which) that are very helpful and will automatically create the home dir for you. I think I saw the code in /etc/profile. It won't, however, do anything speci

Re: Which OS Type

2002-04-05 Thread Prentis Brooks
uname -s If it is a Windows box and that command works :) it would have the string "cygwin". Most linux dists say Linux. You can use -a instead of -s to get all of the data from the uname. Experimentation with that command would give you the most benefit. On Thu, 4 Apr 2002, Gupta, Sanjay w

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory: No such file or directory

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 05:22:08AM -0600, Philip Flip Kromer wrote: > That did the trick! Thanks so much for your help. SSHD is back to being > run by SYSTEM. > > Is there a way to get mount to "dispel" any per-user mount settings? I umount --help Corinna -- Corinna Vinschen

Re: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 08:50:26PM +1000, Robert Collins wrote: > > > > -Original Message- > > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 05, 2002 7:52 PM > > To: [EMAIL PROTECTED] > > Subject: WinXP users without password and cygwin_logon_user > > > > > > H

Re[4]: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Pavel Tsekov
Hello Robert, Friday, April 05, 2002, 1:22:28 PM, you wrote: >> -Original Message- >> From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] >> Sent: Friday, April 05, 2002 9:04 PM >> Well, I think this doesn't help much with XP home - it >> doesn't allow you to edit policies :) Or at least I c

Re[3]: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Pavel Tsekov
[snip] RC>> There is a policy setting - prevent logons with blank passwords except RC>> for console users. You could try flipping that and see what happens. PT> Well, I think this doesn't help much with XP home - it doesn't allow PT> you to edit policies :) Or at least I can't find the tool whi

RE: Re[2]: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Robert Collins
> -Original Message- > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 9:04 PM > RC> There is a policy setting - prevent logons with blank passwords > RC> except for console users. You could try flipping that and > see what > RC> happens. > > > Well, I

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory:No such file or directory

2002-04-05 Thread Philip Flip Kromer
That did the trick! Thanks so much for your help. SSHD is back to being run by SYSTEM. Is there a way to get mount to "dispel" any per-user mount settings? I found that since I had already set mount -c / when I ran mount -s -c / the changes were masked by the old settings. I ended up r

Re[2]: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Pavel Tsekov
Hello Corinna, Friday, April 05, 2002, 12:46:26 PM, you wrote: CV> On Fri, Apr 05, 2002 at 11:52:26AM +0200, Pavel Tsekov wrote: >> Hello, there! :) >> >> I want to raise this issue again... In short >> on my WinXP Home cygwin_logon_user fails to log >> users without password set (or empty pass

Re[2]: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Pavel Tsekov
Hello Robert, Friday, April 05, 2002, 12:50:26 PM, you wrote: >> -Original Message- >> From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] >> Sent: Friday, April 05, 2002 7:52 PM >> To: [EMAIL PROTECTED] >> Subject: WinXP users without password and cygwin_logon_user >> >> >> Hello, there!

RE: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Robert Collins
> -Original Message- > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 7:52 PM > To: [EMAIL PROTECTED] > Subject: WinXP users without password and cygwin_logon_user > > > Hello, there! :) > > I want to raise this issue again... In short > on my WinXP Home

Re: WinXP users without password and cygwin_logon_user

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 11:52:26AM +0200, Pavel Tsekov wrote: > Hello, there! :) > > I want to raise this issue again... In short > on my WinXP Home cygwin_logon_user fails to log > users without password set (or empty passwords - I dont know which is > correct to be said). Is this a known issue

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory: No such file or directory

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 03:45:37AM -0600, Philip Flip Kromer wrote: > > No, /h is a local FAT32 drive. I also tried creating c:\foouser and > changing (in /etc/passwd) my home directory to /c/foouser , so that I > could check whether it was unhappy about changing drives. I assume you've change

WinXP users without password and cygwin_logon_user

2002-04-05 Thread Pavel Tsekov
Hello, there! :) I want to raise this issue again... In short on my WinXP Home cygwin_logon_user fails to log users without password set (or empty passwords - I dont know which is correct to be said). Is this a known issue ? The failed Win32 API is LogonUser. I red the MSDN docu on this API but i

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory:No such file or directory

2002-04-05 Thread Philip Flip Kromer
No, /h is a local FAT32 drive. I also tried creating c:\foouser and changing (in /etc/passwd) my home directory to /c/foouser , so that I could check whether it was unhappy about changing drives. If you have pointers to more information or discussions on this error please let me know. I have

Re: ip.h & tcp.h

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 04:34:42PM +0800, Wu Yongwei wrote: > Um, no one willing to answer? > > OK, I am changing my request now. CAN CYGWIN DROP IP.H AND TCP.H IN > DISTRIBUTION FOR NOW? No reason to shout. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to C

Re: Possible Workaround - SSH/SSHD: could not chdir to home directory: No such file or directory

2002-04-05 Thread Corinna Vinschen
On Fri, Apr 05, 2002 at 02:01:52AM -0600, Philip Flip Kromer wrote: > Hello, > > I followed the recipe for setting up sshd under cygwin at > http://tech.erdelynet.com/cygwin-sshd.asp > > Everything worked swimmingly, except.. > tick:~$ ssh me@localhost > me@localhost's password: > Fa

Re: ip.h & tcp.h

2002-04-05 Thread Wu Yongwei
Um, no one willing to answer? OK, I am changing my request now. CAN CYGWIN DROP IP.H AND TCP.H IN DISTRIBUTION FOR NOW? Reasons: 1. They are empty and so they do not help. They may even frustrate users because it is more difficult to find the cause from a lot of parse errors than a simple "cann

Rxvt help!

2002-04-05 Thread Pellegrini Giuliano
Hi all, my name is Giuliano and I write from Italy. I contact the list because I have a problem with rxvt. I use rxvt 2.6.1 for open my gestional applications in vt320 emulation. My only problem is with the print of data. If I setting the local printer (parallel port) like "Text Generic Onl