Re: sysvinit for cygwin?

2002-09-27 Thread Ariel Manzur
At 18:32 27/09/2002 -0700, you wrote: >On Fri, 27 Sep 2002 20:44:51 -0300 Ariel Manzur <[EMAIL PROTECTED]> >wrote: > > > is there a 'sysvinit' package for cygwin? I'm only interested in being > able > > to switch consoles using alt-f1 to 6, I understand the program 'init' is > > the one that man

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Greg Matheson
On Fri, 27 Sep 2002, Max Bowsher wrote: > > On Fri, 27 Sep 2002, Gerrit P. Haase wrote: > > > The LWP module isn't part of the Cygwin perl distribution. If you > > > install LWP you are asked if you want to install these shortcuts > > > This was included in the LWP setup because of the problems

new file permissions on SAMBA mounts

2002-09-27 Thread Igor Pechtchanski
Hi all, For some reason, new files created on a SAMBA drive have 0660 permission bits, whereas new files created on an NTFS drive have the same permission bits as the containing directory. Both ignore umask. Does anyone know the reason why? How would I go about debugging this? Igor P.S

Re: How does cygwin map / to c:/cygwin?

2002-09-27 Thread Jeremy Hetzler
At 05:44 PM 9/27/2002 -0500, Jeff Perry wrote: >I am very confused about how cygwin maps its root to the c:/cygwin >directory. I'm also not sure what /cygdrive is. "c:\cygwin" is mounted as "/". Your Windows drives (c:, d:) are mounted under /cygdrive (/cygdrive/c, /cygdrive/d). >When I type gv

Re: sysvinit for cygwin?

2002-09-27 Thread Michael A Chase
On Fri, 27 Sep 2002 20:44:51 -0300 Ariel Manzur <[EMAIL PROTECTED]> wrote: > is there a 'sysvinit' package for cygwin? I'm only interested in being able > to switch consoles using alt-f1 to 6, I understand the program 'init' is > the one that manages that. Is there at least a 'clon' of that for

Re: Installation Log File

2002-09-27 Thread Igor Pechtchanski
On Sat, 28 Sep 2002, Alex Vinokur wrote: > Hi, > I have installed Cygwin. > Where can I see Installation Log File ? /var/log/setup.log updated on each installation /var/log/setup.log.full overwritten on each installation Igor -- http

RE: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Leonard Kannapell
Excellent. Makes perfect sense. Thanks again for your patience. > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 4:21 PM > To: Leonard Kannapell > Cc: [EMAIL PROTECTED] > Subject: RE: missing awk.exe and gawk.exe in Cygwin downlo

Installation Log File

2002-09-27 Thread Alex Vinokur
Hi, I have installed Cygwin. Where can I see Installation Log File ? == Alex Vinokur mailto:[EMAIL PROTECTED] http://up.to/alexvn == -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/b

sysvinit for cygwin?

2002-09-27 Thread Ariel Manzur
Hi.. is there a 'sysvinit' package for cygwin? I'm only interested in being able to switch consoles using alt-f1 to 6, I understand the program 'init' is the one that manages that. Is there at least a 'clon' of that for cygwin? Thanks.. Ariel. -- Unsubscribe info: http://cygwin.com/ml

sysvinit for cygwin?

2002-09-27 Thread Ariel Manzur
Hi.. is there a 'sysvinit' package for cygwin? I'm only interested in being able to switch consoles using alt-f1 to 6, I understand the program 'init' is the one that manages that. Is there at least a 'clon' of that for cygwin? Thanks.. Ariel. -- Unsubscribe info: http://cygwin.com/ml/

RE: xrvt clipboard access

2002-09-27 Thread Randall R Schulz
Thomas, Put this line in your "$HOME/.inputrc" file: "\M-[2~": paste-from-clipboard# Insert The escape sequence generated by the "Insert" key happens to be the same for both the console and RXVT. Note that readline's "past-from-clipboard" stops before the first newline in the clipbo

RE: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Igor Pechtchanski
Leonard, Try switching the View to Full, which will show the packages sorted alphabetically. You can find out which category it's in from there (as well as select it for install). Igor On Fri, 27 Sep 2002, Leonard Kannapell wrote: > Thanks for clearing up the misconception, Igor. I loo

Re: Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head

2002-09-27 Thread Michael A Chase
On Fri, 27 Sep 2002 18:31:41 -0400 (EDT) Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > When installing LWP through CPAN, the installation creates the GET, HEAD > and POST scripts in /usr/bin. On Cygwin, the name HEAD clashes with an > existing program, /bin/head.exe (Cygwin assumes a ".exe" ext

RE: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Leonard Kannapell
Thanks for clearing up the misconception, Igor. I looked under the Cygwin packages and found gawk, but when I go back to "Install Now!", I don't see where I can select "gawk" under Categories (which includes Admin*Default, Archive*Default, Base*Default, etc.) - which category would gawk be in?

How does cygwin map / to c:/cygwin?

2002-09-27 Thread Jeff Perry
I am very confused about how cygwin maps its root to the c:/cygwin directory. I'm also not sure what /cygdrive is. When I type gvim /etc/passwd from bash, gvim comes up with an empty file called passwd in c:/etc (which doesn't exist). If I try to write this file, gvim fails, which, of course, i

RE: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Igor Pechtchanski
Just to correct a misconception for the archives: you download packages using setup.exe. You go to the Cygwin Package Search page to find out which package contains the file or program you need. So, the correct procedure to install a file you're missing is: 1) Go to http://cygwin.com/packages/

ssh can't create .ssh directory

2002-09-27 Thread Jeff Perry
I fixed my /etc/passwd file with mkpasswd -u uname -d domain, but it seemed to have broken my ssh. When I try to ssh, it says, 'could not create directory '/home/uname/.ssh'. If mv .ssh to .ssh.save and then try to run ssh-keygen again, it complains that it can't create the .ssh directory. Does

Cygwin: name of an lwp-request script (HEAD) clashes with /bin/head

2002-09-27 Thread Igor Pechtchanski
Hi, When installing LWP through CPAN, the installation creates the GET, HEAD and POST scripts in /usr/bin. On Cygwin, the name HEAD clashes with an existing program, /bin/head.exe (Cygwin assumes a ".exe" extension if it cannot find a program, so /bin/head normally invokes /bin/head.exe). Window

RE: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Leonard Kannapell
Thanks, Igor. I did go to the aforementioned Web site and searched on "bin/awk," and it didn't specify any download directory. However, I did go to http://www.redhat.com/download/cygwin.html and clicked "Download Now!" and somehow the gawk package was included in the download, and I now have aw

Re: xrvt clipboard access

2002-09-27 Thread thomas
On Fri, Sep 27, 2002 at 02:54:17PM -0400, Harig, Mark A. wrote: > You might need to create the text file ~/.inputrc, > and add the line: > > "\e[2~": paste-from-clipboard Am I right in guessing that you're an emacs user? Unless I'm configuring it wrong, I think the mapping functionality of read

Re: cvs executes illegal instructions

2002-09-27 Thread Igor Pechtchanski
Steve, When a 'cvs commit' is invoked without the -m option, an editor is started to create the message. Which editor is started is determined (in order of priority) by the -e flag, the CVSEDITOR environment variable, the VISUAL environment variable, and the EDITOR environment variable. Please

Re: missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Igor Pechtchanski
Go to http://cygwin.com/packages/ and search for "bin/gawk". In short, gawk is in a separate package, and you probably haven't downloaded it. If you direct the users to download cygwin, you may also want to give them a list of packages they need for your applications. Igor On Fri, 27 Sep

Re: cvs executes illegal instructions

2002-09-27 Thread Michael A Chase
On Fri, 27 Sep 2002 13:29:08 -0700 Steve Kelem <[EMAIL PROTECTED]> wrote: > Here's the actual output: > > Thanks for any help you can give. > > Steve > > % which -a cvs > -a: Command not found > /usr/bin/cvs I don't use csh or tcsh routinely, so I forgot they have an internal command which.

missing awk.exe and gawk.exe in Cygwin download

2002-09-27 Thread Leonard Kannapell
Cygwin users, An older download for Windows included awk.exe and gawk.exe in the cygwin/bin directory. I downloaded a recent version (1.3.12-2) that apparently doesn't include these files, so running the cygwin utility doesn't seem to work. Two questions: 1. Was this intentional or is it just

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Igor Pechtchanski
On Fri, 27 Sep 2002, Lynn Wilson wrote: > alias head="/bin/head" > > works for me from the bash command line. Doesn't address the 'which head' issue and /bin/sh scripts calling head... Also doesn't help with 'ls /bin/head', '[ -x /bin/head ]', etc. Igor --

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Igor Pechtchanski
On Fri, 27 Sep 2002, Max Bowsher wrote: > Igor Pechtchanski wrote: > > On Fri, 27 Sep 2002, Gerrit P. Haase wrote: > > > The LWP module isn't part of the Cygwin perl distribution. If you > > > install LWP you are asked if you want to install these shortcuts > > > This was included in the LWP set

Re: cvs executes illegal instructions

2002-09-27 Thread Steve Kelem
Here's the actual output: Thanks for any help you can give. Steve % which -a cvs -a: Command not found /usr/bin/cvs % cvs commit cvs commit: Examining . cvs commit: Examining src cvs commit: Examining src/com cvs commit: Examining src/com/kelem cvs commit: Examining src/com/kelem/database cvs c

Re: gpg file permissions

2002-09-27 Thread Francis Litterio
"C. Porter Bassett" <[EMAIL PROTECTED]> writes: > Whenever I try to run gpg, I get the errors: > gpg: Warning: unsafe permissions on file "/home/porter/.gnupg/options" > gpg: Warning: unsafe permissions on file "/home/porter/.gnupg/random_seed" > gpg: Warning: unsafe permissions on file "/home/po

gpg file permissions

2002-09-27 Thread C. Porter Bassett
Whenever I try to run gpg, I get the errors: gpg: Warning: unsafe permissions on file "/home/porter/.gnupg/options" gpg: Warning: unsafe permissions on file "/home/porter/.gnupg/random_seed" gpg: Warning: unsafe permissions on file "/home/porter/.gnupg/secring.gpg" gpg: Warning: unsafe permissions

RE: xrvt clipboard access

2002-09-27 Thread Harig, Mark A.
You might need to create the text file ~/.inputrc, and add the line: "\e[2~": paste-from-clipboard Then you should be able to use 'shift-insert' to insert the contents of the clipboard into 'rxvt'. >From the manual page for 'rxvt': TEXT SELECTION AND INSERTION The behaviour of text sele

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Lynn Wilson
alias head="/bin/head" works for me from the bash command line. -- 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/

Cygwin port of the Unix 'script' utility.

2002-09-27 Thread Alan Evans
Hello, After failing to find a cygwin version of the unix script utility I decided to port it myself. This was a very quick port so there could be bugs and it could be better but it seems to work OK for my requirements. To compile the code I used: gcc -o script script.c -lutil Hope this helps s

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Max Bowsher
Igor Pechtchanski wrote: > On Fri, 27 Sep 2002, Gerrit P. Haase wrote: > > The LWP module isn't part of the Cygwin perl distribution. If you > > install LWP you are asked if you want to install these shortcuts > > This was included in the LWP setup because of the problems with Cygwin > > and othe

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Shankar Unni
On 9/26/2002 9:38 PM, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. All the mount info can > be stored in a plain ASCII file like 'cygwin.cfg'. As part of its > initialization the cygwin1.dll can use GetM

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
Robert, >FWIW the HKLM user mounts would have the same security >ramification (which is why it's not a generically viable solution). True, but one could fine-tune access rights to "HKLM/Software/Cygwin" such that: 1) All users have "Create subkey" permission in "HKLM/./Cygwin/Users". 2) All

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Igor Pechtchanski
Gerrit, Thanks for a quick reply. On Fri, 27 Sep 2002, Gerrit P. Haase wrote: > Igor schrieb: > > > A question for the perl gurus: > > > I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are > > interfaces to the LWP library. Does anyone know what creates them? > > Looking at t

Re: Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Gerrit P. Haase
Igor schrieb: > A question for the perl gurus: > I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are > interfaces to the LWP library. Does anyone know what creates them? > Looking at the creation times, the most likely culprit is the CPAN perl > module, but I'd like to confir

Re: Missing gettext.m4

2002-09-27 Thread Jason Tishler
Doru, On Thu, Sep 26, 2002 at 04:28:44PM -0700, Doru Carastan wrote: > I am getting automake errors complaining about AM_GNU_GETTEXT. > > aclocal: configure.in: 91: macro `AM_GNU_GETTEXT' not found in library > > Is there any special reason why gettext.m4 is not installed? Yes, because it is i

Question for perl gurus: what creates /bin/{HEAD|GET|POST}?

2002-09-27 Thread Igor Pechtchanski
A question for the perl gurus: I noticed that I have 3 files in /bin: HEAD, GET, and POST. These are interfaces to the LWP library. Does anyone know what creates them? Looking at the creation times, the most likely culprit is the CPAN perl module, but I'd like to confirm that. The reason I'm c

RE: Checking mount points

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:56, Richardson, Tony wrote: > Any suggestions on how to do it? > > "mount /home/$USER" returns "not enough arguments" and I haven't found a > -check option to mount. mount | grep /home/$USER if empty, not mounted if not empty, the win32 path that is mounted there. Rob

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:57, Dan Vasaru wrote: > > Robert, > > Your solution only works if the users are local administrators, as a domain > user has no rights to HKLM (and hence to create a system mount). In our > case, giving all users local administrator rights is an acceptable solution, > b

RE: Checking mount points

2002-09-27 Thread Richardson, Tony
> From: Robert Collins [mailto:[EMAIL PROTECTED]] > On Sat, 2002-09-28 at 00:07, Richardson, Tony wrote: > > What is the easiest way to check if /home/$USER (or some other > > directory) has been mounted (either system-wide or > user-only)? I know > > that I can use regtool (checking both the

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
Robert, Your solution only works if the users are local administrators, as a domain user has no rights to HKLM (and hence to create a system mount). In our case, giving all users local administrator rights is an acceptable solution, but we're still left with a maximum of 25-30 simultaneous user

java, GUI and cygwin

2002-09-27 Thread Bernd Prager
Hi. When I try to run a Java application that uses Windows GUI (e.g. swing package) it runs smoothly from the Win2K cmd line. >From the cygwin bash shell I get the error message: - snip - Sep 27, 2002 10:35:05 AM java.util.prefs.WindowsPreferences WARNING: Could not open/cr

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:19, Dan Vasaru wrote: > > > On the user mount in HKLM idea, it's a no-goer. Normal users don't > > have write access to most of HKLM, on any partly-secure install > > of NT (which is where the original posters issue arose). > > I may be wrong, but couldn't setup, or who

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
> On the user mount in HKLM idea, it's a no-goer. Normal users don't > have write access to most of HKLM, on any partly-secure install > of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the se

Re: Checking mount points

2002-09-27 Thread Robert Collins
On Sat, 2002-09-28 at 00:07, Richardson, Tony wrote: > What is the easiest way to check if /home/$USER (or some other > directory) has been mounted (either system-wide or user-only)? I know > that I can use regtool (checking both the system and user keys) or parse > the output from "mount", but I

Re: Pthread problems -- [was: Re: newer bintuils]

2002-09-27 Thread Robert Collins
On Fri, 2002-09-27 at 23:59, [EMAIL PROTECTED] wrote: > > Yes, you are correct. However there are currently some pthread > > issues which are being resolved before this happens. Anyhow, as > > previously mentioned, we are probably in for a long wait. > > > > Cheers, > > Nicholas > > Can someone

Checking mount points

2002-09-27 Thread Richardson, Tony
What is the easiest way to check if /home/$USER (or some other directory) has been mounted (either system-wide or user-only)? I know that I can use regtool (checking both the system and user keys) or parse the output from "mount", but I was hoping for something as simple as typing "isitmounted /h

Pthread problems -- [was: Re: newer bintuils]

2002-09-27 Thread Fred_Smith
> --- Alan Hourihane <[EMAIL PROTECTED]> wrote: > > "Alan Hourihane" wrote in message > > amnb7e$7k5$[EMAIL PROTECTED]">news:amnb7e$7k5$[EMAIL PROTECTED]... > > > Anyone know when the new binutils will be out with Egor's > > > fixes for auto-import of arrays ? > > > > Anyone know the expected ETA

Re: Solution to: Couldn't duplicate my handle & Win32 error 6 when using gcc helloworld.c

2002-09-27 Thread Christopher Faylor
On Fri, Sep 27, 2002 at 07:16:51AM +0200, [EMAIL PROTECTED] wrote: >Hi guys. >I present a solution to one of the cygwin on win2k problems: > >I ve read through the mailing list messages and found only one answer: >complete new install > >OK. Anyway a solution. But not for me. > >So, what is the pr

RE: Open bash at the current explorer directory?

2002-09-27 Thread Igor Pechtchanski
Gunnar, I suggest putting an 'echo "$CYGWINSTARTHERE" >> /var/log/bashhere.log' in your .bashrc before the 'cd' line. Then, when you know exactly which value $CYGWINSTARTHERE gets, try running your command with that value from the cmd.exe window, and see what it says... Once you've debugged this

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Robert Collins
On Fri, 2002-09-27 at 23:15, Charles Krug wrote: > On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: > > How about breaking free from using the windoze registry. There is > > absolutely no special need to use it IMO. > > I'll second that. Relying on a single monolithic binary file

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Igor Pechtchanski
On Thu, 26 Sep 2002, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. All the mount info can be stored > in a plain ASCII file like 'cygwin.cfg'. As part of its initialization the > cygwin1.dll can use GetModu

Re: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Charles Krug
On Thu, Sep 26, 2002 at 09:38:21PM -0700, Doru Carastan wrote: > How about breaking free from using the windoze registry. There is > absolutely no special need to use it IMO. I'll second that. Relying on a single monolithic binary file for system critical information is an extraordinarily bad i

RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)

2002-09-27 Thread Thomas Mellman
RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin) > From: "Chris January" > > > The internal URLs don't seem to be set up right; but there's some > > interesting things on there, thanks. > > Oops - I broke that yesterday when trying to get external URLs to pop up in > a new w

Has anyone compiled a PHP extension (as a dll) succesfully in cygwin?

2002-09-27 Thread DOBLEJ1
Hi: Has anyone compiled a PHP extension (as a dll) succesfully in cygwin? Thanks. -- 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/f

Re: inetd fails with fork: Resource temporarily unavailable

2002-09-27 Thread Robert White
I also saw this problem, see "inetd stops allowing connections after console login" thread. Unfortunately no one seems to have an explanation or a fix. It looks like we are getting similar symptoms. After some investigation I recall that the limit it is a limit on the number of processes that

RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)

2002-09-27 Thread Chris January
> > Tried the Cygwin TWiki? > > http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin > > > > It's maintained by NanFudd aka Charles Howes. Just make a page for > > beginner's questions there. Hopefully some helpful souls will check back > > every so often ;) > > > > > The internal URLs don't seem

RE: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)

2002-09-27 Thread Chris Game
In an earlier post, Chris January said... > Tried the Cygwin TWiki? > http://www.doc.ic.ac.uk/~ccj00/twiki/bin/view/Cygwin > > It's maintained by NanFudd aka Charles Howes. Just make a page for > beginner's questions there. Hopefully some helpful souls will check back > every so often ;) > > T

Re: cvs cygwin1.dll

2002-09-27 Thread Guy Harrison
On Thu, 26 Sep 2002 10:42:56 -0400, Christopher Faylor <[EMAIL PROTECTED]> wrote: >On Thu, Sep 26, 2002 at 05:20:53AM +, Guy Harrison wrote: [snip] >>If I knew unix I probably could - it's preventing me understanding >>crucial aspects of the cygwin dll. Nevertheless, methinks we're both >>c

RE: cygpath returns garbage if DOS/win2k input environment variable is too long?

2002-09-27 Thread "Schaible, Jörg"
Hi Randall, > Completely incorrect. I use "cygpath" to convert CLASSPATHs > all the time > and it works just fine. Syntactically, they're just like PATH > (on either > side of the Unix / Windows divide) and cygpath doesn't care > what they're > used for, only what lexical / syntactic struct