Re: flockcyg

2003-08-17 Thread Gerrit P. Haase
Hallo Bill, Am Montag, 18. August 2003 um 01:16 schriebst du: >> Cygwin doesn't have flock() or lockf() . > Right, but there is a work-around, yes? There is a flock() in the ruby sources for systems which don't have it. I already used it several times. Gerrit -- =^..^= -- Unsubscribe info

RE: Driver help

2003-08-17 Thread Kiran Bacche
The ioperm package was very helpful. Thanks for that. U was now able to compile a sample driver into a .sys file. I used the SCOpenManager and CreateProcess to get it loaded. So in effeect, when a write an application program ││hPort = CreateFile( │ "\\DosDevices\\mydevice",

RE: Setup strangeness

2003-08-17 Thread Robert McNulty Junior
I'll downgrade to basefile 1.3-1 or whatever it was. Robert. Thanks, Fred. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frederic L. W. Meunier Sent: Sunday, August 17, 2003 11:49 PM To: [EMAIL PROTECTED] Subject: Re: Setup strangeness Robert McNulty Jun

Re: Setup strangeness

2003-08-17 Thread Frédéric L. W. Meunier
Robert McNulty Junior wrote: > I'm getting the following after setting up the installation. > Every file is there. > C:\cygwin>chdir C:\cygwin\bin > C:\cygwin\bin>bash --login -i > Error (2): The system cannot find the file specified. I get this message since I upgraded base-files to 2.0-2 and

Cygwin 1.5.2-1 strangeness part two cygwcheck

2003-08-17 Thread Robert McNulty Junior
Here's the output to cygcheck -rsv. Hope it helps. Cygwin Win95/NT Configuration Diagnostics Current System Time: Sun Aug 17 22:44:54 2003 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS\sy

Re: help

2003-08-17 Thread Martin Gainty
Make sure the folder where make is located is before the folder continaing nmake on your PATH -Martin - Original Message - From: "Glen Zhang" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 8:45 PM Subject: RE: help > Hi, Mar

RE: help

2003-08-17 Thread Glen Zhang
Hi, Martin: Thanks for your message. Unfortunately I have to use nmake.exe in my case. Cheersm Glen -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Sunday, August 17, 2003 4:09 PM To: Glen Zhang; [EMAIL PROTECTED] Subject: Re: help The easiest way to resolve thi

Setup strangeness

2003-08-17 Thread Robert McNulty Junior
I'm getting the following after setting up the installation. Every file is there. C:\cygwin>chdir C:\cygwin\bin C:\cygwin\bin>bash --login -i Error (2): The system cannot find the file specified. [EMAIL PROTECTED] ~ $ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem r

RE: flockcyg

2003-08-17 Thread Abe Backus
In uw-imap/c-client, the functionality of flock is emulated. Take a look in the osdep/unix directory of the uw-imap sources. As for the linker errors, there are a couple of different things to check. How are you linking libc-client? If you are using -L and -l, try instead to explicitly put /lib

Re: Newbie: Where's ed, vi, more (or less), man?

2003-08-17 Thread Andy Civil
Well, I managed to install vim, but I couldn't get it to emulate vi successfully, I read all the help stuff, and tried "vi -v file", but it was still showing the "~" signs in blue. I did a web search and came up with a port of vi that works under cygwin here: http://www.fay.nc.us/~glenn/cygwin

RE: flockcyg

2003-08-17 Thread Bill McCormick
> > Cygwin doesn't have flock() or lockf() . > > -- Elfyn > Right, but there is a work-around, yes? Isn't that what uw-imap is doing in this case with flockcyg.h? If so, I'm curious if I might be able to use the same work-around. I found these related posts in the archive ... http://sources.redh

Re: Win2k and cygwin memory leak

2003-08-17 Thread Vaclav Haisman
On Sun, 17 Aug 2003, Christopher Faylor wrote: > On Tue, Aug 12, 2003 at 10:31:19AM +0300, Nedko Arnaudov wrote: > >This is the proof. > > > >http://www.faultcentral.org/personal/nedko/soft/pootag.JPG I think that he is trying to point out that the SeOn kernel memory pool occupies about 120 MB o

Re: Newbie: Where's ed, vi, more (or less), man?

2003-08-17 Thread Andy Civil
Larry Hall wrote: That's great, thanks. If anyone reads the other post I sent here, please ignore it, I was doing something stupid. I sent a cancel, but I have no idea if gmane honours them (mozilla deletes your post from the view

Re: Newbie: Where's ed, vi, more (or less), man?

2003-08-17 Thread Andy Civil
Larry Hall wrote: > Thanks for the answer Larry. I'll be honest, I'm rather frustrated by this because I can't install the package. This is what happens: I'm doing it as a two-step process, downloading with one hard disk, and insta

Re: flockcyg

2003-08-17 Thread Elfyn McBratney
Bill McCormick <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to compile a program that has: > > #ifdef HAVE_FLOCK > (void) flock(fd,LOCK_EX); > #else > lseek(fd,0L,0); > (void) lockf(fd,F_LOCK,0L); > #endif Cygwin doesn't have flock() or lockf() . -- Elfyn -- Unsubscribe info:

Re: Question about large file support

2003-08-17 Thread ColinB
Thanks Corinna, fseeko is new to me! So for 64 bit file offsets I can use either: open/lseek/close or fopen/fseeko/ftello/fclose But in both cases do I have to specify #define _FILE_OFFSET_BITS 64 to make off_t 64 bit, or will off_t be 64 bits by default in cygwin 1.5.0 ? Colin __

Re: Beeing cranky; In general.

2003-08-17 Thread Christopher Faylor
On Sun, Aug 17, 2003 at 09:52:59PM +0200, Hannu E K Nevalainen (garbage mail) wrote: >I won't join the XFree list just for this matter. The email that I was responding to was specifically about issues with Cygwin/XFree86. The developers on the cygwin-xfree mailing list are the ones who control th

Re: flockcyg

2003-08-17 Thread Martin Gainty
>From what I read it is supposed to be undefined e.g. #ifndef LOCK_H #define LOCK_H #endif Hth, Martin - Original Message - From: "Bill McCormick" <[EMAIL PROTECTED]> To: "Cygwin" <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 1:21 PM Subject: flockcyg > Hello, > > I'm trying to com

flockcyg

2003-08-17 Thread Bill McCormick
Hello, I'm trying to compile a program that has: #ifdef HAVE_FLOCK (void) flock(fd,LOCK_EX); #else lseek(fd,0L,0); (void) lockf(fd,F_LOCK,0L); #endif I include flockcyg.h in the program and specify -I/usr/include/c-client/ in the Makefile. I assume this function can be found in /lib/

RE: Beeing cranky; In general.

2003-08-17 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf > Of Christopher Faylor > On Sun, Aug 17, 2003 at 02:05:39PM -0400, Christopher Faylor wrote: > >On Sat, Aug 16, 2003 at 09:59:27PM +0200, Hannu E K Nevalainen > >>> > Of course! But having to _REDO_ it every time you have run setup.exe >

Re: help

2003-08-17 Thread Martin Gainty
The easiest way to resolve this is to take nmake.exe off the path -Martin - Original Message - From: "Glen Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 1:56 PM Subject: FW: help > > > Dear Sir/Madam: > > I am running nmake on cygwin shell, but I always

FW: help

2003-08-17 Thread Glen Zhang
Dear Sir/Madam: I am running nmake on cygwin shell, but I always get the following message before I can move on. CORRECT>make (y|n|e|a)? I have to say NO to use windows NMAKE. Could you please tell me how to get rid of this question? I have tried to set MAKE_MODE=WIN32, but it doesn't work. T

Re: Win2k and cygwin memory leak

2003-08-17 Thread Christopher Faylor
On Tue, Aug 12, 2003 at 10:31:19AM +0300, Nedko Arnaudov wrote: >This is the proof. > >http://www.faultcentral.org/personal/nedko/soft/pootag.JPG >http://www.faultcentral.org/personal/nedko/soft/taskmanager.JPG These are two jpeg images with no words describing what we are supposed to be looking a

Re: Now uploaded: gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-17 Thread Gerrit P. Haase
Hallo Wayne, Am Sonntag, 17. August 2003 um 15:16 schriebst du: > At the risk of asking a question mind boggling in its stupidity > (I am good at that) > To utilize your binaries, does one need to be using the 1.5 > version of Cygwin. Yes. I used the latest test release cygwin-1.5.2. Gerrit

Re: Beeing cranky; cygwin-xfree86

2003-08-17 Thread Christopher Faylor
On Sun, Aug 17, 2003 at 02:05:39PM -0400, Christopher Faylor wrote: >On Sat, Aug 16, 2003 at 09:59:27PM +0200, Hannu E K Nevalainen (garbage mail) wrote: >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf >>> Of Andrew DeFaria >> >>> Hannu E K Nevalainen (garbage mail) wrote: >>> >>> >> Y

Re: Beeing cranky; cygwin-xfree86

2003-08-17 Thread Christopher Faylor
On Sat, Aug 16, 2003 at 09:59:27PM +0200, Hannu E K Nevalainen (garbage mail) wrote: >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf >> Of Andrew DeFaria > >> Hannu E K Nevalainen (garbage mail) wrote: >> >> >> You know you can rearrange your Start menu to your liking. I keep >> >> mine

Re: using setup.exe without the mouse?

2003-08-17 Thread Christopher Faylor
On Sat, Aug 16, 2003 at 12:06:46PM +0200, Gerrit P. Haase wrote: >Hmmm, e.g. ftp (inetutils), wget, openssl, lynx, all those tools are >not included in the base config. An option to make it easier for those >users and to have an intermediate solution: Create some more default >configurations besid

Re: Question about large file support

2003-08-17 Thread Corinna Vinschen
On Sun, Aug 17, 2003 at 07:24:14AM -0700, ColinB wrote: > I believe that large file support is in version 1.5.0 of Cygwin but Yes. > Are there separate 64-bit versions of fopen/fseek/... called > fopen64/fseek64 as on some platforms, or is there some sort of No. > "transparent" support where yo

Re: Newbie: Where's ed, vi, more (or less), man?

2003-08-17 Thread Larry Hall
Andy Civil wrote: Hi, a newbie here, my objective was to install Cygwin for a friend so that she could use vi. I've installed cygwin successfully, but various fundamental programs are missing, notably vi (or even ed) more (or less) and man (despite the fact that there are 801 files in /usr/man

Re: How can I install an exabyte tape?

2003-08-17 Thread Corinna Vinschen
On Sat, Aug 16, 2003 at 07:45:41PM -0700, [EMAIL PROTECTED] wrote: > dd: reading '/dev/st0': Permission denied > > Please let me know how I can do that! Set the blocksize of the device to the correct value used on the exabyte tape. If you don't know the blocksize used on the tap

RE: 'system cannot find the file specified' when starting bash

2003-08-17 Thread John Morrison
> From: Tero Saarni > > Bash starts successfully but the error msg is a little bit annoying. > It seems the reason is that Cygwin assumes I have printers in the > system. /etc/profile runs regtool which prints the above error > message if key cannot be found: > > `regtool get '\user\Software\Micr

Now uploaded: gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-17 Thread Wayne
Never mind, I'm an illiterate cretin.. "GCC 3.3.1 for Cygwin >= 1.5.2" Wayne -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/

Question about large file support

2003-08-17 Thread ColinB
I am fairly new to Cygwin (occasionally using an old version) but I now need to write a program which can fseek() through very large AVI files (12 GB or even larger). I believe that large file support is in version 1.5.0 of Cygwin but can't find any details of how to use it. Are there separate 64

Re: Hi, Installing from a CD-ROM.

2003-08-17 Thread Andy Civil
M.G.A. wrote: Hi, I want to install cygwin on a laptop that doesn't have Internet access, so I want to use a CDROM. I've made a CD with cygwin packages, I have not respected the same structure "release/directoryofpackage" in the ftp mirror. I've read in FAQ that you have to use "install fro

Hi, Installing from a CD-ROM.

2003-08-17 Thread M.G.A.
Hi, I want to install cygwin on a laptop that doesn't have Internet access, so I want to use a CDROM. I've made a CD with cygwin packages, I have not respected the same structure "release/directoryofpackage" in the ftp mirror. I've read in FAQ that you have to use "inst

Newbie: Where's ed, vi, more (or less), man?

2003-08-17 Thread Andy Civil
Hi, a newbie here, my objective was to install Cygwin for a friend so that she could use vi. I've installed cygwin successfully, but various fundamental programs are missing, notably vi (or even ed) more (or less) and man (despite the fact that there are 801 files in /usr/man). I've searched t

Now uploaded: gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-17 Thread Wayne
At the risk of asking a question mind boggling in its stupidity (I am good at that) To utilize your binaries, does one need to be using the 1.5 version of Cygwin. Wayne (Bozo) Keen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/probl

Now uploaded: gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-17 Thread Gerrit P. Haase
Hallo, gcc-3.3.1 binaries are uploaded: http://anfaenger.de/cygwin-1.5/gcc (Note that the the source package is still uploading now, please fetch the original 3.3.1 source package or the 3.3 source and 3.3-3.3.1.diff from one of the original GCC mirrors -> http://gcc.gnu.org/mirrors.html The RE

'system cannot find the file specified' when starting bash

2003-08-17 Thread Tero Saarni
Hi, I've made a fresh install of Cygwin to Windows XP machine. While starting bash I get following error message: "Error (2): The system cannot find the file specified." Bash starts successfully but the error msg is a little bit annoying. It seems the reason is that Cygwin assumes I have printers

RE: Various shell problems

2003-08-17 Thread John Morrison
> From: Dr.D.J.Picton Hi :) Thanks for the feedback, > 1. I downloaded the new version of base-files (2.0-2) today. I > note that the > new config files now go into the /etc/defaults directory, which is a good > idea! Been that way for a while... but thanks for noticing :) > Although it does

RE: Shell Details?

2003-08-17 Thread John Morrison
> From: Rory Filer > > Hi Cygwin Hi Rory > I've just installed Cygwin on my machine today Welcome to the wonderful world :) > after downloading it from your site today and > the shell is asking me to write to you. You mean: "Sorry, this shell has no default setup. Please contact [EMAIL PROTE