Re: Starting a Win32 app from inside Cygwin

2004-03-24 Thread Robert Mecklenburg
RM> If I can restate your request as: "I want to use MS Word to edit a RM> file that lives on my AIX machine." The obvious answer is to install RM> Samba on your AIX machine to allow file access from your PC. This RM> has nothing to do with X, rsh, or NFS. CP> Yes, but I want Word to open on the

GNU Make performance question

2004-03-23 Thread Robert Mecklenburg
I am writing a document on the performance of gnu make and various makefiles and came across something I can't explain. To measure the speed of gnu make $(subst...) versus sed I wrote this simple makefile: p1000 := ...<1000 character string with periodic semicolons>... # This simple assignmen

Re: Starting a Win32 app from inside Cygwin

2004-03-23 Thread Robert Mecklenburg
CP> I'm hoping someone can point me in the right direction here, CP> though I'm not even sure this is possible. CP> CP> I currently use cygwin in WinXP to display X session from an AIX CP> machine. This works very well. The software on the AIX box can CP> call a word processor (Uniplex) on the A

A bit of history

2004-03-05 Thread Robert Mecklenburg
When was the Cygwin project started? I know that I started using Cygwin somehwere around 1992. I thought it was good then, I think it is incredible now. Thanks! -- Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: bug in cygwin build of Make

2004-01-15 Thread Robert Mecklenburg
JP> dir1/Makefile: JP> -- JP> VARIABLE = $(shell echo $$PWD) JP> JP> sources : JP> @echo VARIABLE set to ${VARIABLE} The GNU make variable CURDIR is set by make to the current working directory of the executing make. This is probably the variable you want. Hope this helps, -- R

ssh-agent on cygwin

2003-11-07 Thread Robert Mecklenburg
I'm having trouble getting ssh-agent to work. I've tried both dsa and rsa keys with and without a passphrase and every time I'm still prompted for a password on the remote system. I've looked at the ssh faq and googled the cygwin list. I can login remotely without a password using authorized_key

Print postscript from cygwin

2003-10-14 Thread Robert Mecklenburg
Please forgive this post if I'm blind here, but I can't figure out how to print a postscript (or pdf) file using cygwin. Normally (I believe), I would use gs with: gs -sDEVICE=mswinpr2 -sOutputFile=spool\\MyPrinter foo.ps However neither the "native" /bin/gs or /usr/X11R6/bin/gs suppor

Re: problems with make under cygwin

2003-09-02 Thread Robert Mecklenburg
RW> ... but when I try these under cygwin I get RW> the following error: RW> RW> Target pattern contains no '%' I've seen this message many times when a target or prerequisite (both or one of, I can't remember) contains a windows path. In that case, make sees a line with two colons and believes

Bug in make?

2003-08-14 Thread Robert Mecklenburg
Has anyone seen this problem before? The following makefile: SHELL := /bin/bash # Remove the blank line to make it work... define f @echo hi endef a: $(f) ==

Re: Bug in make?

2003-08-14 Thread Robert Mecklenburg
IP> On Wed, Aug 06, 2003 at 02:27:02PM -0400, Igor Pechtchanski wrote: IP> This could well be a bug in make. I'll take a look at the make source IP> later to see whether there's something obvious. CF> You might want to hop over to the gnu web site and check out the make CF> mailing list to see if

Re: Bug in make?

2003-08-06 Thread Robert Mecklenburg
RM> Has anyone seen this problem before? ... RM> RM> make RM> RM> @echo hi RM> /bin/bash: line 1: @echo: command not found RM> make: *** [a] Error 127 IP> FYI, any shell (I tried /bin/sh, /bin/tcsh, etc) tries to execute '@echo', IP> with the obvious result. Of course, I thought that was self

Need cygwin usage statistics

2003-06-30 Thread Robert Mecklenburg
I'm sorry to bother the list with this, but I don't know where to turn. Would any of the cygwin maintainers like to give a rough estimate of the number of cygwin users? I realize from: http://www.cygwin.com/ml/cygwin-apps/2002-10/msg00177.html that actual download stats aren't available, but th

RE: newbie shell-users howto, guide, cheatsheet, or reference?

2003-06-30 Thread Robert Mecklenburg
GRVS> Let's get this straight. Your intent was clear. You were yet GRVS> again trying to be a jerk when it was completely and utterly GRVS> unwarranted, and completely contrary to convincing anybody of GRVS> doing anything for the Cygwin project. I've been using cygwin since the '80s and readin

make is holding a directory open

2003-06-25 Thread Robert Mecklenburg
I seem to be having a subtle issue with make under cygwin. The problem appears to be that make is "improperly" holding an open file handle on a directory. This prevents rm from deleting the directory as part of a makefile action. The actual problem occurs in a 4,700 line makefile which I've pare

Re: trying to compile emacs under cygwin

2003-03-27 Thread Robert Mecklenburg
RM> fatal ("SHEAP_ADJUSTMENT needs to be modified to reduce memory waste!"); JB> The proper thing to do is adjust SHEAP_ADJUSTMENT like the message says. JB> I think the SLOP parameter is a comparison fuzz setting. Okay, I'm forced to admit how lame I am, but I can't figure out how to reset this

trying to compile emacs under cygwin

2003-03-26 Thread Robert Mecklenburg
I'm trying to compile emacs under cygwin to debug the hanging problems I'm experiencing and I've run into a minor wall. Running emacs-21.2.install yields the error: Dumping under names emacs and emacs-21.2.1 Static heap usage: 2102240 of 2254144, slop is 65536 Static heap usage: 2102240 of 225414

cygwin-mount.el 1.4.4 and UNC mounts

2003-03-26 Thread Robert Mecklenburg
The version of cygwin-mount.el I'm using (1.4.4) seems to skip UNC mounts. For instance, here is my mount table: 1 osaka:mecklen$ mount C:\usr\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode) C:\usr\cygwin\bin on /usr/bin type system (binmode) C:\usr\cygwi

Emacs occassionally hangs

2003-03-10 Thread Robert Mecklenburg
I'm running emacs under X with the -rootless option and emacs occassionally hangs. In this instance the emacs process is using no cpu and does not respond to keyboard events such as control-g. Interestingly, this time attaching with gdb and detaching restored responsiveness. This didn't happen in

Trouble getting shift keypad events

2003-02-28 Thread Robert Mecklenburg
I'm not sure if this is a cygwin emacs problem or a cygwin XFree problem, but here goes. Using emacs under xfree started with: start XWin -screen 0 830 1124 -rootless -clipboard I am not getting shift-keypad events as expected. When I type C-h c I get the message " runs the command ..." i

Re: emacs error ad-Orig-documentation called with 5 arguments

2003-01-17 Thread Robert Mecklenburg
DH> Robert Mecklenburg wrote: RM> I'm getting the following error in the x-enabled version of cygwin RM> emacs: RM> RM> ** ad-Orig-documentation called with 5 arguments, but accepts only 1-2 DH> I think the problem is with the original documentation function itsel

emacs error ad-Orig-documentation called with 5 arguments

2003-01-17 Thread Robert Mecklenburg
I'm getting the following error in the x-enabled version of cygwin emacs: ** ad-Orig-documentation called with 5 arguments, but accepts only 1-2 The bug is very reproduceable by defining the following two lisp functions: (defun foo () (interactive) (message "hi")) (defadvice foo (before

Re: fix for "wrong number of arguments" emacs problem

2003-01-09 Thread Robert Mecklenburg
JB> There have been a couple people with an emacs problem whose symptom JB> is LISP error messages complaining about a bad number of arguments JB> to a function call. JB> JB> Dr. Andrew Mayer cured this problem through a reinstall. Here are JB> the details: JB> JB> ... JB> http://cygwin.com/ml/c

sed -i problem?

2003-01-03 Thread Robert Mecklenburg
derstanding the proper use of the option? A quick google search for "gnu sed 4.0.1 -i" revealed no obvious references. The news file from 4.0.5 (the most recent on ftp.gnu.org) doesn't mention the problem or a fix either. Thanks, -- Robert Mecklenburg -- Unsubscribe info:

C-c not getting to subshells in emacs?

2002-11-26 Thread Robert Mecklenburg
A bash shell running under emacs seems to ignore C-c from the parent emacs in the current cygwin release. To reproduce: 1. start a bash (in dos window, rxvt, or xterm all the same) 2. run SHELL=/usr/bin/bash /usr/bin/emacs -nw -q 3. M-x shell 4. at the s

Changing resolution of $^ in make

2002-10-08 Thread Robert Mecklenburg
I apologize in advance if this cross-posting is inappropriate, but it seemed reasonable at the time... The following makefile yields two different values for $^ when run twice in succession: # Example makefile vpath %.in /c/work/tmp/src vpath %.out /c/work/tmp/out default: stuff/foo.out

Re: Setup problem: Download Incomplete

2002-05-17 Thread Robert Mecklenburg
RM> ... but I haven't seen it mentioned in the list so far and it is RM> possible you don't know... Please forgive this bit of noise, I'd failed to read 4 digests worth of messages... Doh! -- Robert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http

Setup problem: Download Incomplete

2002-05-17 Thread Robert Mecklenburg
First, thanks for cygwin, xfree, and a great development environment on Windows! I don't think this is a big deal, but I haven't seen it mentioned in the list so far and it is possible you don't know... I'm experiencing the above error message from setup: Setup version 2.218.2.9 Windows 2000, S

regtool doesn't support REG_BINARY?

2002-02-20 Thread Robert Mecklenburg
uces a value of type REG_MULTI_SZ rather than REG_BINARY (not very surprising). Omitting the "-m" or supplying "-i" yields a single REG_DWORD value. From the docs and this experiment it appears regtool doesn't support REG_BINARY. Am I missing something? Thanks, --

Is window manipulation available in perl?

2002-02-12 Thread Robert Mecklenburg
tween a non-cygwin perl and cygwin tools would introduce messiness I'd like to avoid. Suggestions welcome. Thanks, Robert Mecklenburg -- 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/