Sorry. i RTFWP
http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html That page answers my question eloquently. Sorry. -rgm -- 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/
Is cygipc still needed for PostgreSQL 7.3.2
I noticed the cygutils page said that most of the packages were obsolete. At this current moment, using the latest released cygwin, do I still need cygipc for postgres? I am assuming I do and using the following as an install guide: http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN -rgm -- 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: locate and it's db
It was I who came up with that dirty substitute. It's worth noting that it doesn't do anything the *real* updatedb script does like pruning and ignoring /tmp and the like. Also, you'll have to mkdir /usr/var in your cygwin installation unless you set the LOCATE_PATH environment variable. -rgm At 04:54 PM 05.15.2002 -0700, Ghosty wrote: >try this: > >alias updatedb='find / -name "*" | /usr/libexec/frcode > /usr/var/locatedb >&' > >I found this somewhere, I forgot where, so I can not give the credit to the >author. > >-- >Ghosty -- 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: no updatedb
Search the mailing list archives for updatedb. you will find much discussion, and serveral copies of a script that should work, one of which I posted. http://www.cygwin.com/ml/cygwin -rgm -- 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: Processes forking on their own?
Sorry, I should have clarified - for some reason controlling windows close themselves without me touching them. I have a script which called a batch file. This batch file has: bash --login -c "/usr/local/bin/db.sh start" and db.sh has something like: pg_ctl %1 But everything seems to come up quickly, and die. Double click batch file, cmd loads bash, which loads script, which loads postmaster and then everything goes away, without any interaction from me. The postmaster.log file shows no issues starting up. I *don't* believe that this is specifically related to PostgreSQL because I've had other system weirdness, and these scripts work fine for me elsewhere. But thanks for the info on SIGHUP - I didn't know that. Anyway, I'm not closing the windows myself. Actually, I had to add a "while(1) sleep 10" loop to another one of my scripts to keep it from going away and all the processes it starts from going away. -rgm At 10:14 PM 05.09.2002 +0100, you wrote: >> Some of my shell scripts on Windows 2000 Server (NTFS partition) seem to >be forking their commands. >> This has the effect of everything in a script trying to run at once, which >royally screws up dependencies. This seems to only happen sometimes. All >in all, general system behavior is bad. >Well in a script shells will always use either fork or spawn to launch other >commands. Do you mean that the shell isn't waiting for the command to >finish? > >> >> Worse yet and perhaps unrelated: when starting a process which forks >itself, when the controlling window closes, that process dies too (pg_ctl >start). I can't seem to keep my database up unless i avoid using pg_ctl. >SIGHUP related? If you close the controlling window, SIGHUP will get sent to >the forked children. If they don't catch the signal, they will die. > >Regards >Chris -- 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/
Processes forking on their own?
Some of my shell scripts on Windows 2000 Server (NTFS partition) seem to be forking their commands. This has the effect of everything in a script trying to run at once, which royally screws up dependencies. This seems to only happen sometimes. All in all, general system behavior is bad. Worse yet and perhaps unrelated: when starting a process which forks itself, when the controlling window closes, that process dies too (pg_ctl start). I can't seem to keep my database up unless i avoid using pg_ctl. This seems to only be a problem on this particular Windows 2000 Server computer with NTFS partitions. Everywhere else in the company we use W2K Pro / FAT, and I've never seen such weirdness. Has anyone else noticed behavior like this? I am using the latest Cygwin. my CYGWIN=tty ntsec -rgm -- 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: Incorrect file size reported ....
Are you sure you don't have some FAT corruption? (or ntfs corruption?) Running Scandisk or defrag with the "check disk" option should tell you. -rgm At 12:53 PM 04.22.2002 -0400, you wrote: >Is there a fix? > >-rw-r--r--1 dtj011 Administ 734007296 Apr 22 2002 KPRSIDX4_05.DBF >-rw-r--r--1 dtj011 Administ 524292096 Apr 22 2002 KPRSINDEX1.DBF >-rw-r--r--1 dtj011 Administ 18446744071562072064 Apr 22 2002 >KPRSINDEX2.DBF >-rw-r--r--1 dtj011 Administ 20975616 Apr 22 2002 KPRSSHIP_IDX.DBF >-rw-r--r--1 dtj011 Administ 1048580096 Apr 22 2002 OMLARGE3_01.DBF -- 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: Why did you guys break EVERYTHING...
Well Barry, I understand you're pissed off, but the changes were made for logical reasons. I'm sure that a quick skim of the FAQ would answer most of your questions. And /usr/local/bin is in /usr/local/bin on a windows box, as long as you're running a cygwin shell. Otherwise it's *probably* in C:\cygwin\usr\local\bin - that's pretty straightforward. It's worth noting that the windows "find" command can help you locate other things on your computer (like all folders named X11, for example, or all executables named "ls"). If you have specific complains about behaviour in 1.3.10 I'm sure the list could explain why things are done the way they are currently. I personally find it both useful and largely intuitive. Also - your scripts call routines? You mean like, programs? Sounds like you might want to read the documentation for cygpath too. The directory change command is "cd" and check your mount table. -rgm At 03:46 PM 04.19.2002 -0700, you wrote: >I'm sure you won't put this in the "intelligent" question genre but... >I've been using cygwin for years and I brag about it and make all my teammates >install it and make my managers refuse to piss away money on MKS... >Well, I think that party's over. I just installed the new distribution and every one >(and I mean EVERY GODDAMN ONE) of my scripts that call any of your routines that need >to know what a host or a directory are f#$king broke. What in god's name is >"/usr/local/bin" on a windows machine? Why don't you UNIX weeneies get a grip. >F#$king fix it. It used to be great. Now I can't even change a directory. >I've gone back to your old, unsupported code until we can find the money to equip our >team with MKS for $400 a throw. Thanks for making a great product unusable. > >Sincerely, >Barry Schwartz > >-- >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/ -- 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: GNU/Windows
For the record, I assumed that JG was being sarcastic, because that idea sounded so foreign to me. -- 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: kde 3.0 no icons
I'm glad that a workaround for this has been found, but I'd be more interested in understanding the root of the problem (which could ultimately lead to a solution). Mostly because I whuggle my 32 bit color depth :) What do you programmers think? Wherein does the problem lie? libpng? -rgm At 02:47 PM 04.12.2002 +0100, Scott Alexander wrote (re: 32bit -> lower depth): >Thanks a lot this solved my problem also. > >Cheers for the help >Scott Alexander. -- 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: ps command - revisited
*sigh* RTFM. ps -Wef -rgm At 05:17 PM 04.09.2002 -0400, you wrote: >Hi all, specially Corinna, > >Corinna, maybe you can help out here. The UNIX ps command reports all and >every process running on the machine, the Windows (cygwin) ps command >however, omits WinNT/Win2K services, which is something we would like to >have working. Would it be possible to extent the current version of the ps >command to include this or can this become a future project? I am no C >programmer myself, never mind Windows, and would not tackle this what so >ever. I can also not say what kind of effort it would be to implement - or >what kind of motivation ;-). > >Best regards >Chris > >> -Original Message- >> From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] >> > >-- >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/ -- 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/
ipc-daemon doen't start as service on boot on my Windows 2000 server
If you can, please help. I made sure that: - my /bin directory (C:\cygwin\bin) is in your system PATH (e.g. set for the entire system from the My Computer properties) (Chuck msg 9/2001) - The PATH is set correctly (Kurt msg 9/2001) Just for kicks i copied cygwin1.dll to C:\WINNT too - The "Path to executable" in my service properties is listed as: C:\cygwin\usr\local\bin\ipc-daemon.exe "--service" - I read /usr/doc/Cygwin/postgresql-7.1.3.README carefully - It works fine with "net start ipc-daemon", just doesn't start without an error on boot. The error is a timeout error and the follow up error is generic and something like "At least one service failed to start." In the event log I see the timeout and "the service did not respond to the start or control request in a timely fashion." It also works fine starting it from the service manager manually. - CYGWIN is a system environment variable set to "binmode tty ntsec" (Gerrit P. Haase msg 7/2001) - I removed /tmp/MultiFile* and rebooted to no avail. - PC is a Windows 2000 Server, logging onto - I turned debugging on (Chuck msg 7/2001) and saw nothing helpful. - TightSecurity flag is off - I read all archive messages that came up when "ipc-daemon service" was searched for - the ipc-daemon service has no dependencies (installed with --install-as-service) Does anyone have any other suggestions I could try? thanks. -rgm -- 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: .bashrc not getting sourced?
I searched the archives and found a note from Larry suggesting that I review the archives for 12-03-2001. I did this for all of Nov, Dec, and Jan and did not find at least two mentions of the problem as he suggested. My question is pretty simple: is editing the /etc/profile the recommended way to get my ~/.bashrc file sourced? And if not, what is. It should be noted that I found a message by Gary R. Van Sickle suggesting that .bash_profile might be a better way to do things, but this doesn't directly answer my question. -rgm At 12:02 PM 03.26.2002 -0500, you wrote: >IIRC, if you check the archives, you should find that the behavior of sourcing the >.bashrc file in /etc/profile was discontinued in later cygwin releases. The fact that >you have it from over a year ago is probably because the cygwin install does not >overwrite files that have been modified or exist previously. > >HTH, >Peter > >>> >>>I just did a recent brand new install yesterday and I noticed that /etc/profile no >longer contains a line like: >>> >>>test -f ./.bashrc && . ./.bashrc >>> >>>It took me a second to figure out why .bashrc wasn't getting read (I thought it >happened automatically by the shell) until I compared it to an older "working" cygwin >install. >>> >>>Is there a specific reason for that missing line in /etc/profile, or could it have >been an oversight? I did notice that my redhat 7 system's /etc/profile doesn't seem >to include such a line. >>>-rgm -- 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/
.bashrc not getting sourced?
I just did a recent brand new install yesterday and I noticed that /etc/profile no longer contains a line like: test -f ./.bashrc && . ./.bashrc It took me a second to figure out why .bashrc wasn't getting read (I thought it happened automatically by the shell) until I compared it to an older "working" cygwin install. Is there a specific reason for that missing line in /etc/profile, or could it have been an oversight? I did notice that my redhat 7 system's /etc/profile doesn't seem to include such a line. -rgm -- 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: Where are locatedb,updatedb?
This is probably not as good an idea, but here's what I use: alias updatedb='find / -name "*" | /usr/libexec/frcode > /usr/var/locatedb &' -rgm -- 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/
How to create a windows link in script?
I would like to be able to create a .lnk file to a batch file (and ideally associate an icon with it) from a bash script on a Windows 2000 machine. Does anyone have any suggestions? I think "ln -s" used to work, but has since been improved? Anyway, this does not provide the functionality for the icon. -rgm -- 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/
minor bug - No ".." directory gives error in ls
In some cases when listing a directory in which there is no parent ls gives an error: ls: ..: No such file or directory If there was no directory then I would expect ".." to refer to "." like it does in the root of a unix partition. Specifically, this happens with network shares. To reproduce: cd //192.168.0.2/shared ls -la Where 192.168.168.0.2 is a server on which you have authenticated yourself or need no authentication, and 'shared' is a directory which has been shared. There should be no other resources available at 192.168.0.2 via CIFS other than the shared directory. -rgm -- 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: Removing registry entries
Well the keys in HKEY_USERS are going to be under a different user id string on your system. There's probably a more straightforward way to extract this via script, but I came up with: cat /etc/passwd | grep `whoami` | awk -F":" '{print $5}' | cut -f2 -d"," In any case, from what I've found, this might work on a Windows 2000 system: - Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions] [-HKEY_CURRENT_USER\Software\Cygnus Solutions] [-HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions] [-HKEY_USERS\.DEFAULT\Software\Cygnus Solutions] [-HKEY_USERS\S-1-5-21-117609710-789336058-1957994488-1000\Software\Cygnus Solutions] [-HKEY_USERS\S-1-5-21-117609710-789336058-1957994488-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions] -- Save that to a file ending in .reg and double click on it. WARNING: This will delete registry keys. Don't expect cygwin to work without a reinstall. This WON'T work in windows 95, and in Windows 98 you need to use something like: REGEDIT4 [-HKEY_CURRENT_USER\keyname] The REGEDIT4 thing might work in Win2000 too, I didn't try it. -rgm -- 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: chmod in cygwin
It's my understanding that whether a file is executable or not in cygwin is determined by the following: - file extension (.com, .bat, .exe) - the first line of the file (#!/bin/bash) I know of no other conditions which would make a file executable in cygwin, but if there were, it would be along those lines. -rgm At 09:33 AM 02.04.2002 -0800, you wrote: >I hope this isn't a stupid question. When I try to use chmod, it doesn't do what I >expect. >See below. Am I doing something wrong? I'm running Windows NT 4.0 sp6. I've tried >with Windows 2000 with same results. > >Thanks >-John > > >administrator@WASHINGTON /test >$ ls -l >total 1 >-rw-r--r-- 1 administ None 17 Feb 4 08:43 test >-rw-r--r-- 1 administ None 26 Feb 4 08:32 test2 > >administrator@WASHINGTON /test >$ chmod -v 777 test2 >mode of test2 changed to 0777 (rwxrwxrwx) > >administrator@WASHINGTON /test >$ ls -l >total 1 >-rw-r--r-- 1 administ None 17 Feb 4 08:43 test >-rw-r--r-- 1 administ None 26 Feb 4 08:32 test2 > >administrator@WASHINGTON /test >$ > > >-- >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/ -- 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/
vt100 fonts (box characters) and terminal emulation
In short: What is the path of least resistance to improve the terminal emulation and character display in my cygwin shell window or rxvt? In long: I use a commercial package for SSH called SecureCRT which comes with some fonts called "vt100" that have those nice ncurses line drawing characters in them. It also has what I assume to be the equivalent of a termcap entry for "linux." I am trying to get away from it however. I tried to use 'rxvt -reverseVideo -fn "Terminal" -e bash' and run the ncurses-tests in /usr/bin/ncurses-test-dll/ and was unsatisfied with the results. I tried several other fixed width fonts that were by default on my system. I also tried just the regular cygwin.bat's terminal. Perhaps someone has gotten cygwin shell or rxvt to emulate a linux terminal or xterm better before and can save me some headache? Thank you. -Roland -- 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/
Found my problem, found 1.3.6 link
Browser cache (for a long time). Sorry. -rgm -- 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/
1.3.6 not linked on website?
Has there been too much mailing list chatter (read: issues) about 1.3.6 for it to have been "officially" released? cygwin.com says "latest" is 1.3.5. I realize I could get a snapshot if I wanted it. Just wondering about development cycles. -rgm -- 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/