Re: Programatically finding value of cygdrive prefix

2005-08-16 Thread Fred Kulack
On 08/16/2005 at 08:25:18 AM, cygwin-owner wrote: mount -m | grep -- --change-cygdrive-prefix | \ xargs bash -c 'while [ $# != 1 ]; do shift; done; echo $@' -- --- end of excerpt --- Why the complexity? Is there something wrong with this? regtool get /HKCU/Software/Cygnus

RE: Cygwin and NTFS Junction Points

2005-08-04 Thread Fred Kulack
On 08/03/2005 at 03:42:34 PM, cygwin-owner wrote: From the links below it seems that windows itself doesn't handle NTFS junctions points well. Sounds like another feature that wasn't well thought out, kind of like NTFS alternate data streams. --- end of excerpt --- I don't know the original

Re: Further documentation on console options?

2005-06-28 Thread Fred Kulack
I've set up Cygwin on XP (now running on a non-admin account) with CYGWIN=tty. [... Snipped some stuff about wanting a better terminal ...] How about rxvt? It has a native window (no X required) mode. c: chdir c:\cygwin\bin REM See ~/.Xresources for rxvt configuration resources start

Re: Setup.exe problem: double-click selects wrong version

2005-01-27 Thread Fred Kulack
I think double-click should work as one single click in this case, because the user gets no feedback that he've done something other than he wanted to. I think that's a perfectly reasonable argument to have. If its important to the maintainers, we'll get indication of that now that it has

Re: Setup.exe problem: double-click selects wrong version

2005-01-27 Thread Fred Kulack
On 01/27/2005 at 10:32:51 AM, Max Bowsher wrote: Why should setup be any different from other applications? Can anyone quote any existing single-clickable UI components that de-duplicate double clicks? --- end of excerpt --- The first ones that come to mind are pretty obvious: Windows desktop

Re: Obscene content in cygwin file.

2005-01-06 Thread Fred Kulack
[ ] Offended. Think about the children! [x] Not offended. Stop bothering me with your Puritanical values. [ ] Don't care. Can we go back to talking about how negative this list is now? But actually would have preferred a. [x] Oh Great! Now I'm gonna have to install fortune. --

Re: Looking for OpenGL hello world

2004-12-28 Thread Fred Kulack
[EMAIL PROTECTED] wrote on 12/28/2004 03:06:55 AM: --- a.c --- #include stdio.h int main(void) {puts(Hello world!);return(0);} /* the empty line below is required to compile properly */ - should work just doing gcc -o a a.c. Hmm Is there a reason you go so far as to

Re: Issue in using xinetd service on windows

2004-12-28 Thread Fred Kulack
cygrunsrv -I xinetd -d Cygwin Xinetd -p /usr/sbin/xinetd -e CYGWIN=ntsec Above command is installing this service successfully. To stop this service , I am using /etc/rc.d/init.d/xinetd stop I start the service , I am using /etc/rc.d/init.d/xinetd start I could be wrong, but I believe that

Re: run.exe fails to run my application

2004-12-27 Thread Fred Kulack
I usually use run like this when I make an icon for it (this is for startx obviously). C:\cygwin\usr\X11R6\bin\run.exe bash --login -c startx The stuff we call software is not like anything that human society is used to thinking about. Software is something like a machine, and

Re: MSVC-dll under cygwin

2004-12-02 Thread Fred Kulack
Perhaps I'm untrusting, but I'm not sure I'd expect you to be able to use a standard C++ library object like string from one C++ binary in Cygwin to a non-C++ binary. I.e. cygwin std::string is probably not the same definition as MSVC std::string. Why would it be? The stuff we call

Re: MSVC-dll under cygwin

2004-12-02 Thread Fred Kulack
On 12/02/2004 at 11:00:57 AM, cygwin-owner wrote: from one C++ binary in Cygwin to a non-C++ binary --- end of excerpt --- Doh! I meant ...to a non-Cygwin C++ binary -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

rxvt shift f1 and f2 same as f11 f12

2004-12-02 Thread Fred Kulack
I've been having a problem using rxvt where shift-f1 and shift-f2 end up with the same scan codes as f11 and f12. tn5250 to an iSeries really requires the full set of function and shifted function keys. Did a bunch of searching and playing around with termcap and ilk. Also found this but really

Re: linking problems using gcc

2004-11-25 Thread Fred Kulack
On 11/25/2004 at 10:25:28 AM, cygwin-owner wrote: I trying to link a small C/C++ program and I got linking error on time(), rand() and srand(). These should be part of libc right? So way are they missing? Has cygwin some special libc implementation or something??? --- end of excerpt --- This

Re: /cygdrive command line completion?

2004-11-12 Thread Fred Kulack
One option might be to just use a cygdrive prefix of /. Its a bit more natural to me. cd /c/Program\ Files Of course, your mileage may vary and I'd guess it may not always work depending on how the mounts versus cygdrive prefixes are parsed. mount -u -b --change-cygdrive-prefix /

Re: OCLA - Add RFC

2004-10-26 Thread Fred Kulack
Once again, there's Nothing Quite Like Geeks Going Over-Board... Can we ignore, kill, or TITTTL this thread? [ Mandatory flapping of arms and squawking like a chicken removed by Kulack ] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

RE: Mailing list redirection etiquette?

2004-10-06 Thread Fred Kulack
On 10/06/2004 at 04:30:02 AM, cygwin-owner wrote: it's shouting TITTTL at the top of your voice while running round the room flapping your arms like a chicken! --- end of excerpt --- 8-) Oh yeah That'll help, near as I can tell there's 95 acronyms right now. there's just Nothing Quite

RE: Mailing list redirection etiquette?

2004-10-06 Thread Fred Kulack
On 10/06/2004 at 12:26:21 PM, cygwin-owner wrote: -~/bin/firefox $url +cygstart $url [...snip...] which should be more generic across different browsers etc. --- end of excerpt --- Right. Changed that at the last minute and wanted to get my firefox plug in... I actually use browse

RE: Mailing list redirection etiquette?

2004-10-06 Thread Fred Kulack
Dang... Had a multiple code iterations while posting and trying to beat the next guy bug. $qry.= should have been posted as $qry.=%20 Sigh Is this thread dead yet? Fixed: google () { qry=$(perl -mCGI -e 'undef $qry; for ($i=0; $i=$#ARGV; $i++) { if ($ARGV[$i] =~ m/ /) {

RE: Mailing list redirection etiquette?

2004-10-06 Thread Fred Kulack
On 10/06/2004 at 01:09:39 PM, cygwin-owner wrote: but this won't quote the arguments properly -- if you want that, you need something like google () { url=http://www.google.com/search?q=`echo -n $*|perl -mCGI -pe '$_=CGI::escape($_)'`; echo Starting: $url; cygstart -o $url /dev/null }

Re: (De)activating network connection

2004-10-05 Thread Fred Kulack
Getting way off topic here, and I'm sure you found this also, but ipconfig is useful for DHCP connection manipulation. I find its sufficient for my use although it doesn't do the activate/deactivate step. YMMV. Example: ipconfig /release '*Builtin*' ipconfig /renew '*Wireless*' USAGE:

RE: Fixing quoting in Outlook (Was RE: Request for a version/ rev ision/ release number for the whole Cygwin release/ distribution)

2004-10-04 Thread Fred Kulack
On 10/04/2004 at 04:17:53 AM, cygwin-owner wrote: 2) I start to forget that real mail clients thread properly. --- end of excerpt --- Yeah, I use Outlook Express or Lotus Notes. I never know what the hell you all are talking about WRT this topic... You mean you can display messages other than

Re: Request for a version/ revision/ release number for the whole Cygwin release/ distribution

2004-10-01 Thread Fred Kulack
On 10/01/2004 at 12:31:34 AM, [EMAIL PROTECTED] wrote: Every O/S and application I've used had a release number for the whole thing; Cygwin should as well. --- end of excerpt --- At a minimum, I think that's quite an oversimplification and perhaps factually untrue? Have you used a Linux

RE: We have a hacker

2004-08-31 Thread Fred Kulack
On 08/31/2004 at 01:31:31 PM, [EMAIL PROTECTED] wrote: it's spoofing your name because that's one of the email addresses it snarfed off the local hard drive, there's no hacker, no viruses are bein sent on purpose, there's no malicious intent or even any kind of intent at all behind it, nobody's

Re: Obvious Tip: Calling Windows Calc from Prompt

2004-08-05 Thread Fred Kulack
one words: bc 8-) somebody wrote on 08/05/2004 04:28:50 PM: whence calc /c/WINDOWS/system32/calc Of course I may be the only one who didn't know this!!! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Running a shell Script Directly from windows

2004-07-08 Thread Fred Kulack
I have had the best luck using the 'run' utility to avoid extra consoles and other 'shtuff' like that. Haven't seen any doc about it though so it may disappear. Dunno the details. For example, I create a shortcut for running X so that I don't get the extra console window where bash ran... That

Fw: shell cmds crapping out with large numbers of files

2004-05-26 Thread Fred Kulack
[ Accidentally sent the same thing directly to Bruce. Sorry Bruce. ] In addition to the other replies. In general, I've always used the rule of thumb that its a bad idea in these sort of cases to do command line globbing at all. Seems to me that it doesn't matter much if its echo, ls or some

RE: echo vs. ls race condition?

2004-05-25 Thread Fred Kulack
Subject RE: echo vs. ls race condition? From: Henry S. Thompson Sent: Monday, May 24, 2004 6:32 PM Fred Kulack [EMAIL PROTECTED] writes: Short summary: a loop with echo and ls does not produce well-ordered output For what it's worth, it works fine on my system. XP

Re: echo vs. ls race condition?

2004-05-24 Thread Fred Kulack
Short summary: a loop with echo and ls does not produce well-ordered output For what it's worth, it works fine on my system. XP Professional bash2.05b-16 I always try an update and see if its still happens when I find something not quite right. The

Graphical debugger over gdb (ddd/insight failed to build)

2003-03-21 Thread Fred Kulack
What's the favorite graphical debugger that you use with cygwin? Is there a binary distribution for it anywhere or a source distribution that is 'more stable' for cygwin? I downloaded and tried to compile the source for both ddd and insight, but both failed for different reasons. I worked on

Re: Graphical debugger over gdb (ddd/insight failed to build)

2003-03-21 Thread Fred Kulack
On 03/21/2003 at 04:08:56 PM, [EMAIL PROTECTED] wrote: Call `insight'. That's the way it is in recent gdb versions. `gdb' is only the CLI. --- end of excerpt --- Ah beautiful. Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: Link gcc3.2 20020927 libgcc.a undefined ref to FindAtomA, AddAtomA, GetAtomNameA

2003-03-19 Thread Fred Kulack
: 507.253.5982 T/L 553-5982) mailto:[EMAIL PROTECTED] Personal: mailto:[EMAIL PROTECTED] AIM Home:FKulack AIM Work:FKulackWrk MSN Work: [EMAIL PROTECTED] Fred

Link gcc3.2 20020927 libgcc.a undefined ref to FindAtomA, AddAtomA, GetAtomNameA

2003-03-17 Thread Fred Kulack
I tried to keep this brief but still complete. I'm using gcc to compile C++ code using ODBC and some proprietary APIs (iSeries client access). During link, libgcc is not finding references to FindAtomA(), AddAtomA(), GetAtomNameA() and GetModuleHandleA() (exact error follows). I suspect a luser

Re: Setting up cvs on Windows 2000

2003-01-13 Thread Fred Kulack
For what its worth (perhaps nothing) based on other comments about this working sometimes... I got cygwin CVS working using the pserver protocol with no heroic efforts. Not having used CVS before, I could have done something heroic and didn't even know it, but I doubt it. 8-). 1) I set the

cygpopt-0.dll missing after reinstall

2003-01-09 Thread Fred Kulack
After having problems upgrading using setup, I've deleted and reinstalled cygwin yesterday. I assume I just selected/deselected an incorrect package somewhere during the install because I'm having a problem with cygpopt-0.dll not being present (used by at least cygstart). Having read the FAQ and