the DBI for perl

2013-03-23 Thread Wynfield Henman
Thank you Csaba and Reini for the information in helping me build the
Perl database interface code. I downloaded the gcc-4 and the build
process worked.
And Reini, thanks for the 64 number significance explanation.

Regards

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



perl (why 64int on 32int machine)

2013-03-22 Thread Wynfield Henman
I just downloaded and tried to build and install Perl's Database
Interface, DBI (yes the hard way, using Marefile.PL).

Configure completed fine, but make fails with:
" make
gcc-4 -c-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3
-DVERSION=\"1.623\"  -DXS_VERSION=\"1.623\"
"-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE"  -W -Wall
-Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter Perl.c
/bin/sh: gcc-4: command not found
Makefile:625: recipe for target `Perl.o' failed"

The above also mentions
"/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int"
which I do have on my system.  I did not select it and I don't have a
64 bit system.
Would this indicate a setup ini problem for perl?

Erroneously its using "gcc-4" for the compiler which wont be found.
Just mentioning this for those interested.  Though I shouldnt have had
 /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int et al
installed.

thanks

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



PostgreSQL not working from start

2013-03-22 Thread Wynfield Henman
This is apparently a common problem.
I' m trying to install and get PostgreSQL up and running.

Yes, CYGWIN, the environment variable is set to "server" and file/dir
permissions are set for the user and have r/w permissions.

No matter if I use:

   initdb or  pg_ctl initdb -D $DBDIR -l $DB_ADMINLOG -o "-X $XLOGDIR
-U $DB_OWNER"

No database is initialized and the "Bad system call" messages in a
downward counting loop of shared_buffers appears on the screen. ending
with]
...creating configuration files ... ok
creating template1 database in /usr/local/share/db-datadir/base/1 ...
child process was terminated by signal 12: Bad system call
initdb: removing contents of data directory "/usr/local/share/db-datadir"
initdb: removing contents of transaction log directory
"/usr/local/share/db-logdir"

---

Then tried to use  pg_ctl start -D $DBDIR -l $DB_ADMINLOG
to get the server up and it failed (it did say it was looking in
$DBDIR for the config file which makes, sense as initdb failed and
deletes the contents it just made)

Still should be able to start the server, I think, so tried
$ pg_ctl start -
server starting

It says server starting.  But, no server was started or if it did it
did in its infancy, but no event logs show a service being started.

What are steps to use to get this database up and running. Would not
using pg_ctl or init_db and just starting a server and create by hand
a new database be easier an workable, or if now who to make them work
or fix them.?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



database related

2013-03-19 Thread Wynfield Henman
The database MariaDB looks good.   It does have a windows version
available, but I, like others would prefer to learn it on a Posix
system like cygwin if at all possible.

The only information I could find matching MariaDB and cygwin as at
least a couple of years old as I recall.   Has anyone built or tried
MariaDB on cygwin?I'd appreciate information about it.

Thanks

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to make persistent changes to PATH in cygwin?

2013-01-03 Thread Wynfield Henman
Why are invoking 'echo' and not just simply
PATH=$PATH:/newdir  ? Which is faster & take less resources..I

On Wed, Jan 2, 2013 at 10:32 AM, Aaron Schneider
 wrote:
> I've tried this:
>
> export PATH=`echo $PATH`:/newdir/
>
> And PATH contains the new dir, but after closing and reopening mintty (with
> cygserver stopped) changes are lost.
>
> How to solve that?
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Unwanted texlive invasion

2012-09-26 Thread Wynfield Henman
 In my humble opinion cygwin should be open to improvement and, we
should keep cygwin's purpose as a base system, which is as full, and
as easy, and as close to a *nix environment as possible.

On Tue, Sep 25, 2012 at 2:20 PM, Ken Brown  wrote:
. snipped
>
>> I don't agree.  The solution should not be to install an unnecessary
>> package and waste space and complicate by having to check order in the
>> PATH variable.
>
> People who install programs that are not provided by Cygwin have to expect
> to set PATH appropriately, including checking the order of the paths.

Nonsense.  cygwin does behave, has behaved, and should operate in as
should as a base for *nix environment, applications, and tools.
Forcing such minutiae as, what goes where in PATH, is not an elegant
solution.  A temporary work-around it is, but not a good final
solution.

>
>> It would be better that a.) installation scripts check for the
>> existence of the necessary commands first and not brute force the
>> installation or warning that the cygwin port of it be installed.
>
> For the issue being discussed in this thread (the gnuplot dependency on
> texlive-collection-basic), the necessary command *is* /usr/bin/mktexlsr.
> Running the mktexlsr provided by the native TeX Live distribution will not
> do the job (which is to make the files installed in /usr/share/texmf-dist 
> accessible to tex).

Yes, it would do the job.  Note that 'mktexslr' is not a TexLive
function, at least not in my setup.  Assuming that mktexslr has been
developed properly it will find the TexLive required code since it is
in PATH, else it would print a 'req'd  name.xxx not found.  Then the
user can do what has to be done.

Now the real issue was flagged by the texlive dependency, but the main
issue is all dependencies in general and how to handle them the best.
We shouldn't be myoptic, but look to solutions that would cover all
cases, not just a single case.  I believe we want cygwin to be a
robust, easy to use, yet powerful tool.

>> It may also be desirable, to have setup use a list of packages to NOT
>> install, regardless of any dependencies.
>
> I don't think setup.exe should make it quite that easy for people to
> circumvent dependencies.

On the contrary we make cygwin easy to use and free to users to
customize their system.  I suppose you're worried that could cause a
lot of problems, which it could if applied naively, but that would be
the user's problem and such features could easy display a warning, and
a user at his own disgression could set an option  to not display the warning every time and carry on setup
processing just as the user chose.

  But maybe something like the Debian "equivs"
> facility would be useful (see http://www.tug.org/texlive/debian.html for a
> discussion of this in the context of TeX Live).

This might be a good idea. I'm not familiar with it, but again it is
desired to have a general solution for all depencies and not just
Texlive based ones.

> As usual, it's easy to come up with ideas for enhancing setup.exe; but
>
>   http://cygwin.com/acronyms/#SHTDI
>
Yes, of course it takes someone and resources to implement it.  But,
ideas should be always welcome to those who are so valuable and do
work on setup.  It's improvements lately are extremely appreciate by
me.

> Ken
>
Wynfield

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Unwanted texlive invasion

2012-09-25 Thread Wynfield Henman
I don't agree.  The solution should not be to install an unnecessary
package and waste space and complicate by having to check order in the
PATH variable.

It would be better that a.) installation scripts check for the
existence of the necessary commands first and not brute force the
installation or warning that the cygwin port of it be installed.

It may also be desirable, to have setup use a list of packages to NOT
install, regardless of any dependencies.  Maintaining that list would
be the site's administistrator's task.

I also have the problem of setup always trying to install texlive,
when I already have the native version, and it's a pain to have to
continually go in and select [skip] for each one and the select yes I
don't want these, every time I want to update other packages.


On Tue, Sep 25, 2012 at 10:07 AM, Ken Brown  wrote:
> On 9/25/2012 11:41 AM, Ryan Johnson wrote:
>>
>> Hi all,
>>
>> I'm trying to upgrade a set of existing cygwin packages, and texlive
>> suddenly wants to install itself, apparently due to a new dependency
>> from gnuplot. Is this really necessary?
>
>
> This dependency is created by cygport.  It's of course up to the gnuplot
> maintainer (Volker Zell) whether or not he wants to override it, but I can
> explain the rationale.  gnuplot installs some files into
> /usr/share/texmf-dist.  To make it possible for tex to find those files, the
> gnuplot postinstall script runs /usr/bin/mktexlsr.  The latter is provided
> by texlive-collection-basic, so this package is required by gnuplot.
>
> Maybe you should just bite the bullet and install texlive.  It won't
> interfere in any way with your native TeX Live installation, as long as you
> put the bin directory for the latter first in your path.
>
> Ken
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: multiwindow X11 and Emacs

2012-09-14 Thread Wynfield Henman
Sorry about that.  I was more making the point that it's not a cygwin
port of emac's fault.

I also have this problem using emacs built locally from the original
gnu emacs source code.   And also from the cygwin port.

C-z  puts emacs off the screen, but when its re-displayed the focus
doesn't come back into the editting buffer.  I have to first click on
any ol option on the top menu, and it re-activiates something that
enable editting back in the buffer.
environment:putty (also built from original source code)

This problem / hanging does not occur when emacs has been moved off
the screen by clicking on the [-] tab in the upper right side of the
emacs frame.

Can you duplicate this on your system?

C-Z# then [SHIFT][TAB] back to emacs to get it back up on the
screen.  It should be frozen then.  Workaround, click on [File] or
something and then escape from it and you can work in the normal
buffer.

On Fri, Sep 14, 2012 at 4:15 AM, Ken Brown  wrote:
> On 9/14/2012 1:56 AM, Wynfield Henman wrote:
>>
>> emacs hangs  for me when invoking it from putty which has been
>> initiated by cygwin X11 which I start with startx.
>> But, I usually always have emacs up all the time and its not a big
>> pain.  I would be nice for it not to freeze when being re-activated.
>
>
> I'm sorry, but you didn't give enough details for me to know whether you're
> reporting the same problem that Achim reported.  If not, please start a new
> thread.  In either case, please give a precise recipe for producing the
> problem.  Do you have to use a non-Cygwin program (putty) in order to
> produce the problem?
>
> Ken
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: multiwindow X11 and Emacs

2012-09-13 Thread Wynfield Henman
emacs hangs  for me when invoking it from putty which has been
initiated by cygwin X11 which I start with startx.
But, I usually always have emacs up all the time and its not a big
pain.  I would be nice for it not to freeze when being re-activated.

On Tue, Sep 11, 2012 at 11:46 PM, Achim Gratz  wrote:
>
> Now that X11 works again without crashing and I've found a font that looks OK
> I'm running into a problem again that (I think) has existed for much longer:
>
> When I start emacs from a shell window outside the X11 session (e.g. the same
> mintty that I ran startxwin in) and then iconify emacs-X11 with C-z, the 
> cursor
> won't blink and it won't respond to keyboard input after de-iconifying it from
> the taskbar (I'm using the multiwindow "native" window manager).  I have to
> select something from the menu bar before emacs starts responding again, which
> is a bit of a problem when I've switched the menu bar off... until I remember
> that the context menus in the text pane are still there.
>
> This does not happen if Emacs is started from an Xterm or the menu entry of 
> the
> X server icon in the notification area or even another mintty that's been
> started from within X.  Somehow that C-z makes its way to where it shouldn't 
> go
> when the controlling terminal hasn't been started from the X11 session.  
> Ideas?
>
>
> Regards,
> Achim.
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: TexLive's ConTeXt runtime error..

2012-08-22 Thread Wynfield Henman
Ken,
  your suggestion to put the TeXLive bin dir as the first entry of
PATH enabled TeXLive/ConTex.
Great.  I sincerely appreciate you assistance.

Now I will try to ferret out the problem and report on it when I find it.

Regards



On Wed, Aug 22, 2012 at 12:30 PM, Ken Brown  wrote:
> On 8/22/2012 2:06 PM, Wynfield Henman wrote:
>>
>> Ken,
>>thanks for replying and helping.  Here is the information that you
>> asked about.
>>
>> The example ConTeXt file, example.tex, is attached hereto.
>>
>> PATH is in the cygcheck.out file.
>> No other zlib.h was found.
>
>
> I can't reproduce the problem on my system, using either the native TeX Live
> or Cygwin's TeX Live.  Try putting /usr/local/texlive/2012/bin/i386-cygwin
> first in your path instead of last.  (That's what I do when I want to test
> something using native TeX Live.)
>
>
> Ken
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: TexLive's ConTeXt runtime error..

2012-08-22 Thread Wynfield Henman
I reinstalled all cygwin zlib modules and the problem persisted.  The
only zlib I found was the cygwin installed one.  Since it is POSIX
compliant and TeXLive installs with it it shouldn't be a problem, I
should think.  But,
there is one due to, pdftex I think.

Regards

On Mon, Aug 20, 2012 at 11:24 PM, Achim Gratz  wrote:
> Wynfield Henman  gmail.com> writes:
>> This results in: "PANIC: unprotected error in call to Lua API
>>  (zlib library version does not match -
>> header: 1.2.5, library: 1.2.7)"
>
> Reinstall zlib and install zlib-devel.  If that doesn't help, check where the
> zlib.h header file is found (it shouldn't be from a Cygwin package in that 
> case).
>
>
> Regards,
> Achim.
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



TexLive's ConTeXt runtime error..

2012-08-20 Thread Wynfield Henman
TeXLive Version: 2012  ("--all" updated to August 20th, 2012)
Downloaded from: REPOSITORY="http://mirror.ctan.org/systems/texlive/tlnet";
Yes, this is the wild verison.  ConTeXt changes very rapidly and I
fancy following and testing those changes.  Thanks to cygwin for
allowing me to do that.
The attempted command which ends in an error is:

   texexec -o pdf 659-water-stations.tex

This results in: "PANIC: unprotected error in call to Lua API
 (zlib library version does not match -
header: 1.2.5, library: 1.2.7)"

However /usr/include/zlib.h  is for version 1.2.7, not the 1.2.5
mentioned in the error message. Any idea of how to fix this, so I
can run ConTexT?
Thanks for any and all help.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



How to keep a dependency from [continually] appearing in setup

2012-07-29 Thread Wynfield Henman
I use the in-the-wild, 'texlive 2012' distribution, which I like to
tinker with and customize.
Due to a, what I believe is a dependency by auctex on texlive for some
reason, I keep getting a list of about 10 texlive related packages
automatically appended to what I want to install and I have to keep
manually [skip] them.

I would like to know some efficient way I could make that go away and
just have setup ignore texlive or have it see that I have it already,
but that it's just not a cygwin package, but user installed.

Any an all advice and ideas would be greatly appreciated.

Regards,

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: how to install libtoolize

2009-02-05 Thread Wynfield Henman
Though I am building a different package, I have the same problem as
mentioned below.  The libtool package downloaded is 46 bytes
(effectively null) and get stashed into the _obsolete folder without
ever getting installed.

Another problem just noticed is that the setup process is appending a
"/" character onto the end of the cygwin directory name on a mirror.

e.g. http%3a%2f%2fftp.daum.net%2fcygwin%2f

the %2f above. this creates a directory with the same name.  Names
shouldn't have "/", ok %2f in them in my opinion and it wasn't like
this before.  For example setup shows get the setup.bz2 file from the
following address
   http://ftp.duam.net/cygwin//setup.bz2

not the two consequtive //'s above.  Whether this causes a problem or
now I can't say, but I like to keep my downloaded files in the same
directory and this is now created a new one with a dangerous name
(i.e. an explicit '/' from the %2f.

Don't forget the libtool probelm as well. Related or not I do not
know.  All  help is appreciated

regards
  wynfield

On Thu, Feb 5, 2009 at 7:01 PM,
From: ludovic leman:
> I'll try to build VideoLAN but it uses libtoolize
>
> I have tried to install libtool (1.5b-2) with setup.exe but this package
> doesn't include /usr/bin/libtoolize.
> In fact, the downloaded libtool-1.5b-2.tar.bz2 is empty
>
> I have tried to installed an "alternative version" : I uncheck "Hide
> obsolete packages" and I try to use libtool2.2 v2.2.2-2.
> The resulting libtool2.2-2.2.2-2.tar.bz2 is also empty.
>
> I have tried severals mirrors : all "official" libtool*.bz2 are empty.
>
> But on the mirrors, there are libtool*.bz2 files with different version
> number. (for example on
> http://sources-redhat.mirrors.airband.net/cygwin/release/libtool/ there is
> libtool-2.2.6a-1.tar.bz2 but the setup.ini from this mirroir doesn't
> reference this file)
>
> well, how can I install "libtool package" with the libtoolize file.
>
> thanks,

--
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/faq/



Audio coding/encoding conversions

2007-12-13 Thread Wynfield Henman
Has anybody had any success building --> ffmpeg
on cygwin.   It has a rich set of codecs it can convert to and from.

My main concern is to convert .3gp audio files into .wav,  or .mp3 formats

regards

--
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/faq/



Re: getting emacs in cygwin

2007-07-02 Thread Wynfield Henman


Some people like to associate Cygwin tools with certain mime types so it's
possible to click on a file in the explorer, for example, and have their
favorite Cygwin tool open the file.


Ah..  I see. That makes sense.
I use zsh's suffix aliases and completion.  I just enter the file name
and zsh knows which program to open it with.   But, I see if you had
to go through explorer how run could be useful.

Regards

--
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/faq/



Re: getting emacs in cygwin

2007-06-27 Thread Wynfield Henman

On 6/27/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> Larry,
>  I tried using "run.exe" as you suggested in "cygwin.bat" but it does
> not work.  The issue is not emacs, but the initial login terminal.

Why are you starting emacs from cygwin.bat?


I am not.
You are the one that suggested that by using it one would avoid the cmd.exe box.
And the only time that is a problem is when starting up cygwin and only then.


'run.exe' is designed to be run directly from the Windows GUI (not from
any console/terminal).  If you've already started a console or terminal,
it's really not needed.

Why would you use a MS Windows GUI to run a cygwin program?

I guess you got confused since there were two different points being
discussed.
Regarding the dos box, when starting cygwin initially.  Because we
already have a putty terminal emulator which is superior.

cheers

--
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/faq/



Re: getting emacs in cygwin

2007-06-26 Thread Wynfield Henman

Larry,
 I tried using "run.exe" as you suggested in "cygwin.bat" but it does
not work.  The issue is not emacs, but the initial login terminal.

Besides I don't see that it does emacs any good at all
(1) it causes emacs to fail in a std tty window. and
(2) from an x-window it doesn't do anything that > emacs & doesn't do.
in an x-window. In this case its no relation to cmd.exe

Regards


'run.exe' from the 'run' package is designed to hide the 'cmd.exe' window
from the get-go.  You'll never see it.



--
Larry Hall  http://www.rfk.com


--
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/faq/



clamav antivirus software

2007-06-26 Thread Wynfield Henman

I have seen references that there is a cygwin platform, runnable
"clamav" variant
for protection against, s/w viruses, but I can't find it in the
setupexe dialog, and I can find a search function for setup.exe to see
if in fact it is anywhere in there

Is there a current ClamAv virus filter for cygwin?


regard,
 henman

--
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/faq/



Re: getting emacs in cygwin

2007-06-26 Thread Wynfield Henman

I had that annoyance to, but  I used a shell login script to erase the
offense windows box.
Something like this.  I used zsh, but you should be able to translate
it to bash easily.
It's not elegant, but it gets rid of the windows box.

I forgot which one, but I think the "cnime.exe" or "cmd.exe" is the
windows box that you find annoying.
 script called from login script start
#! /bin/zsh

# A is declared as a null array below:
A=()

# Below I search for offending processes that i don't like..
ps -W | grep "\(conime.exe\|ctfmon.exe\|cmd.exe\)"   >~/tmp-z

# Set array 'A' to offensive processe's #'S or Name's (I forgot)
#...below the process names are extracted .. This is (blush)  hard
coded offsets...
A=(`cut -d" " -f6-9  ~/tmp-z`)
rm ~/tmp-z

if [[ $#A == 0 ]] ; then return 1
else
# below loop to kill all offensive processes found...
for PID in $A[*]
  do
  kill -f $PID
  done
fi
 end
...

thanks, the putty stuff works great.  curiously, it still brings up a cygwin
terminal before it brings up the putty terminal.  i can delete the terminal
without a problem, but i'd like to keep it from showing up in the first
place, if possible.
here's my cygwin.bat file:
---

i can get emacs to run in a separate window, but not inside the putty
terminal (which would be really nice sometimes).  my emacs command is just
the emacs.exe, but i also tried runemacs.exe as the executable, but the
results were the same.  is there a different executable i should be using?

thanks for the great help! -- lou


I use a cygwin compiled and build version of emacs, the most recent
test version, but it sounds to me like you did not use setup and
download the existing emacs binary from cygwin.  "runemacs.exe" is NOT
cygwin compatible,  . or how to say it... IT is build native to
windows.  You need a native cygwin ( operating system compatiable ..
like POSIX supplied by cygwin to get emacs to understand x-windows and
terminals.

Try downloading the emacs binaries that cygwin has and try it.

Ah.. and  run "startx &" to get into an X-windown terminal and then
run emacs
to get the X-window graphic emacs (from cygwin or built by yourself) running.

Regards,
  Henman

--
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/faq/



Re: getting emacs in cygwin

2007-06-23 Thread Wynfield Henman

Lou,
  yes, you can run emacs in cygwin in either of two modes, which
emacs figures out by itself.  Either in terminal mode if invoked from
a terminal emulator like, say putty or in full graphical mode if
executed from one of cywin's X-windows.

And yes, you can run a shell inside it too, if you set up .emacs init
file right.

On 6/24/07, illuzioner <[EMAIL PROTECTED]> wrote:

i currently run both cygwin and emacs under winXP, but emacs runs
separately.  can i run emacs in cygwin, and then have a shell inside of
emacs?

also, based on recommendations by some in this group i got puttycyg.  i love
that i can expand the window horizontally.  however, when i execute
"putty.exe -cygwin" it brings up a dialog first into which i have to type
"-" for the login.  is there a way to bypass this so just the shell comes
up?


Do this in your  "cygwin.bat" file.
c:/.../putty.exe -cygterm -load lou_cyg_putty

But, first you have to create the putty session load file", which in
the above case
I arbitrary named "lou_cyg_putty" ,  You can give it any name  you wish.
Where in this example "lou_cyg_putty" is the name you gave to a"putty session
you customized for a cygwin window" and then saved it from withing the
"Putty configuration" window.  For example, set you screen title in
"Window"-> "Behavior" to
"Lou's Cygwin Putty Terminal" or what ever... Set sizes, character
fonts and then
give these a session name and click [Save].

Then everytime you invoke cygwin the putty terminal will come up,
without having the putty configuration screen always come up.


thanks!
lou


Another really great thing about putty terminals is that you can cut
and paste.  This
  I find a great time saver.

Regards,
 Henman

--
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/faq/



is perl braindead?

2007-06-23 Thread Wynfield Henman

From what I read the following should work, but it doesn't.

Can  one of you familiar with cygwin's perl help me out.

Why doesn't the test, -d, for directory work on the subdirectory?
It should, in my considered opinion.
Below is sufficient code to perform a simple test.

Your help is appreciated.

Regards,
 wynfield

prepare for the test from the command line:
$ mkdir /bozo
$ mkdir  /bozo/bozo_the_clown_dir

Check this:
find /bozo -type d -print
/bozo
/bozo/bozo_the_clown_dir
-- ok we have a directory and it has a subdirectory

Sample code:
-- start of simple perl program
#! /bin/perl

my $ldir="/bozo";

   if ( ! opendir DH, $ldir)
{
print "Couldn't open as a dir: $ldir. \n";
exit 0;
}

   print "Processing directory: $ldir\n";
   while ( $_ = readdir(DH) )  # will be either a file or directory name
   {
   if ( $_ eq "." or $_ eq ".." ) { print "dir . or ..\n"; next; }
   if ( -d $_ ) { print "This is directory: $_\n"; next; }
   print "Escaped detection $_\n";
}

   close (DH);
 end of sample code

--
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/faq/



cygcheck output

2007-03-19 Thread Wynfield Henman

I just wanted a clarification of the meaning that's not quite clear to me in the
output that I got from cygcheck.

For example the next two lines.  It says "Empty package atk-runtime" ,
but below it shows atk-runtime 1.10.3-1 as OK.   The difference
between "Empty" and "OK" is what I am concerned about.

Empty package atk-runtime
atk-runtime 1.10.3-1   OK

Thanks,
 Henman

--
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/faq/



Fwd: graphical took kit

2007-03-18 Thread Wynfield Henman

Yes, exactly.  Thanks for the references.

The error has been pointed out.  It is not an emacs error, but one in
cygwin's interal libs/code, as pointed out in the e-mail references
below.   This bug in memory utilization should be fixed by someone
familiar with it, should be able to pick out the slip.

The problem one should thinks is that it could only get worse with vista...

Thanks.

On 3/14/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> Re: GTK+
>
> Me and many people have had problems with cygwin's gtk+ library.
> I am thankful to all who have made it possible to have gtk+ functionality.
> However, I (and I believe many others) have run into a problem.
>
> The gist of it is that "memalign" needs to be handled specially as
> cygwin does with "malloc".
>
> I don't know how to direct this to, but I would appreciate information
> regarding this apparent problem.
>
>> > The GTK+ build with Cygwin is still broken, unfortunately.
>> > One way of solving that would be to .
>> > treat memalign specially as they do (cygwin) with malloc.
>
>
> Thanks for any input..

<http://cygwin.com/ml/cygwin/2007-02/msg00469.html>
<http://cygwin.com/ml/cygwin/2007-02/msg00510.html>

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/faq/




--
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/faq/



Fwd: glib/graphical took kit mem error

2007-03-18 Thread Wynfield Henman

Yes, exactly.  Thanks for the references.

The error has been pointed out.  It is not an emacs error, but one in
cygwin's interal libs/code, as pointed out in the e-mail references
below.   This bug in memory utilization should be fixed by someone
familiar with it, should be able to pick out the slip.

The problem one should thinks is that it could only get worse with vista...

Thanks.

On 3/14/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> Re: GTK+
>
> Me and many people have had problems with cygwin's gtk+ library.
> I am thankful to all who have made it possible to have gtk+ functionality.
> However, I (and I believe many others) have run into a problem.
>
> The gist of it is that "memalign" needs to be handled specially as
> cygwin does with "malloc".
>
> I don't know how to direct this to, but I would appreciate information
> regarding this apparent problem.
>
>> > The GTK+ build with Cygwin is still broken, unfortunately.
>> > One way of solving that would be to .
>> > treat memalign specially as they do (cygwin) with malloc.
>
>
> Thanks for any input..

<http://cygwin.com/ml/cygwin/2007-02/msg00469.html>
<http://cygwin.com/ml/cygwin/2007-02/msg00510.html>

--
Larry Hall  http://www.rfk.com




A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--


--
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/faq/



Re: graphical took kit

2007-03-18 Thread Wynfield Henman

Yes, exactly.  Thanks for the references.

The error has been pointed out.  It is not an emacs error, but one in
cygwin's interal libs/code, as pointed out in the e-mail references
below.   This bug in memory utilization should be fixed by someone
familiar with it, should be able to pick out the slip.

The problem one should thinks is that it could only get worse with vista...

Thanks.

On 3/14/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> Re: GTK+
>
> Me and many people have had problems with cygwin's gtk+ library.
> I am thankful to all who have made it possible to have gtk+ functionality.
> However, I (and I believe many others) have run into a problem.
>
> The gist of it is that "memalign" needs to be handled specially as
> cygwin does with "malloc".
>
> I don't know how to direct this to, but I would appreciate information
> regarding this apparent problem.
>
>> > The GTK+ build with Cygwin is still broken, unfortunately.
>> > One way of solving that would be to .
>> > treat memalign specially as they do (cygwin) with malloc.
>
>
> Thanks for any input..

<http://cygwin.com/ml/cygwin/2007-02/msg00469.html>
<http://cygwin.com/ml/cygwin/2007-02/msg00510.html>

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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/faq/




--
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/faq/



graphical took kit

2007-03-13 Thread Wynfield Henman

Re: GTK+

Me and many people have had problems with cygwin's gtk+ library.
I am thankful to all who have made it possible to have gtk+ functionality.
However, I (and I believe many others) have run into a problem.

The gist of it is that "memalign" needs to be handled specially as
cygwin does with "malloc".

I don't know how to direct this to, but I would appreciate information
regarding this apparent problem.


> The GTK+ build with Cygwin is still broken, unfortunately.
> One way of solving that would be to .
> treat memalign specially as they do (cygwin) with malloc.



Thanks for any input..

--
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/faq/



Re: Re: [cygrunsrv] problem starting exim as service

2007-03-12 Thread Wynfield Henman

Peaty,
 I had the same problem.  And I agree that cygrunsrv should tell us
correctly whether or not exim is running.  In fact exim does get set
to run as a daemon on boot up.
cygrunsrv  -L (or whatever the list) processes option will not show
you this.  I believe that it should show this process as running (but
some say that exim detaches itself and so cygrunsrv can't know about
it)..  if would know if it did a process check, but that's another
matter..

So you may be trying to start exim when it is already running.
When you start up get into a cygwin terminal and type
ps -aW | grep exim

That fact was that exim was running.

Also I had priviledge problems that I got around with chmod.

Henman

--

On 3/12/07, Peatey <[EMAIL PROTECTED]> wrote:

Success! your showing me about cygcheck solved it.  Now I'm moving on
to configuring /etc/exim.conf, but I thought I'd document for a future
neophyte with the same problem.

The issue was with cyglber-2-3-0.dll and cygldap-2-3-0.dll not being
installed automatically with 'exim-4.66-1' package in setup.exe (2-2-7
dlls were installed instead).  Perhaps this is an application
packaging bug for 'exim-4.66-1'?

The issue was not the PATH environmental variable (which I already had
set correctly before).
The issue does not seem to be the file permissions either (I set the
chown/chmod for /var/log/exim and /var/spool/exim back to
peatey:User/770 and the service still starts fine).

Thanks René, three cheers for the helpful cygwin mailing list!

> Just for the record, if you run `cygcheck /usr/bin/exim-4.66-1.exe` before
> changing the PATH, you'll see that the executable does not find some of the
> libraries (/usr/bin/exim is a symbolic link to the real executable); the path
> where those are should be added to Window' PATH (the service doesn't see the
> same PATH you see inside a shell, it sees the general Windows PATH or one
> specified at the time the service is installed).

$ cygcheck /usr/bin/exim-4.66-1.exe
C:/cygwin/bin/exim-4.66-1.exe
  C:/cygwin/bin\cygcrypt-0.dll
C:/cygwin/bin\cygwin1.dll
  C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
  C:/cygwin/bin\cygcrypto-0.9.8.dll
  C:/cygwin/bin\cyggdbm-4.dll
  C:/cygwin/bin\cygiconv-2.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cygldap-2-3-0.dll
  C:/cygwin/bin\cygminires.dll
  C:/cygwin/bin\cygssl-0.9.8.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cyglber-2-3-0.dll
Error: could not find cyglber-2-3-0.dll

Well, cygcheck couldn't find it in /bin, since those .dlls weren't
there.  So I searched for the names in the Cygwin Package List and
installed 'libopenldap2_3_0' package. I then ran cygcheck again.

$ cygcheck /usr/bin/exim-4.66-1.exe
C:/cygwin/bin/exim-4.66-1.exe
  C:/cygwin/bin\cygcrypt-0.dll
C:/cygwin/bin\cygwin1.dll
  C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
  C:/cygwin/bin\cygcrypto-0.9.8.dll
  C:/cygwin/bin\cyggdbm-4.dll
  C:/cygwin/bin\cygiconv-2.dll
  C:/cygwin/bin\cyglber-2-3-0.dll
  C:/cygwin/bin\cygldap-2-3-0.dll
C:/cygwin/bin\cygminires.dll
C:/cygwin/bin\cygssl-0.9.8.dll
C:/cygwin/bin\cygsasl2-2.dll

$ exim-config

This script sets some key parameters of the exim
installation and starts the exim daemon.
See the details in /usr/share/doc/Cygwin/exim-X-Y.README.
Interrupt with ^D.

OK. No usernames contain spaces.

OK. The /etc/aliases file contains "postmaster".

OK. The primary hostname gmail.com
is already defined in /etc/exim.conf.

INFO: Some programs expect /usr/sbin/sendmail to handle mail.
Currently it is a symbolic link to /usr/bin/exim.

Exim is already installed as a service under account 'LocalSystem'.
Do you want to remove or reinstall it? (yes/no) yes
OK. The exim service was removed.

Do you want to install the exim daemon as a service? (yes/no) yes
Enter the period of the queue runner, in minutes: [15]
Enter the value of CYGWIN for the daemon: [ntsec notraverse]

Do you want to start the exim daemon as a service now? (yes/no) yes
OK. The mail daemon is now accepting mail.
You can test it with "telnet localhost 25".

INFO: The exim log files are in /var/log/exim.

When everything else fails,
read /usr/share/doc/Cygwin/exim-X-Y.README,
or look up the documentation on www.exim.org.
Many happy mailings :)

--
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/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://

PAM

2007-03-06 Thread Wynfield Henman

Are there any Plugable Authentication Module (PAM) libraries ported to cygwin?

Or is there an source that will build readily in the cygwin environment?

Thanks,

--
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/faq/



unkown proc directory in root

2007-02-19 Thread Wynfield Henman

I just noticed a new (or I just noticed it) directory in what should
be the root directory or C:\cygwin, which should be the same as I
understand it.  But, why do I get different contents, i.e., an
interesting subdirectory "proc" only shows up on  ls /, but not
ls /cygdrive/c/cygwin as shown below:

$ ls /
bin   cygwin.bat  debug.log  home  libexec  sbin  usr
cygdrive  cygwin.ico  etclib   proc tmp   var


$ ls /cygdrive/c/cygwin
bin   cygwin.bat  debug.log  home  libexec  tmp  var
cygdrive  cygwin.ico  etclib   sbin usr

And looking into the /proc I see

$ ls /proc
1728  1952  2420  3856  cpuinfo  meminfo registry  statversion
1864  196   284   3900  loadavg  partitions  self  uptime

and  $ls /proc/registry
$ ls /proc/registry
HKEY_CLASSES_ROOTHKEY_CURRENT_USER  HKEY_LOCAL_MACHINE HKEY_USERS
HKEY_CURRENT_CONFIG  HKEY_DYN_DATA  HKEY_PERFORMANCE_DATA

which contains, a very long list of data.

Has this /proc always been with cygwin?  And why the huge registry data subdir?

Just trying to make sense out of this, having never seen or recall
reading about this directory before.

Thanks
 Henman

--
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/faq/



Re: Build problems --- putty-0.58-cygterm-20060525.tar.gz and putty-0.58.tar.gz-----0.59 WORKS

2007-02-15 Thread Wynfield Henman

I had not trouble building putty-0.58-cygterm-20060525.tar.gz

you do need to do:
install -s path-to.../cthelper/cthelper.exe /usr/local/bin
install -s path-to /utty.exe /usr/local/bin
for cygwin based system.

See if you /bin/ld program is there.  You'll need it if you want to
build programs

Henman


On 2/10/07, Keith Christian <[EMAIL PROTECTED]> wrote:

Dave Korn wrote:
> On 07 December 2006 16:00, Keith Christian wrote:
>
>>Baffling.  Any ideas?
>
>   Different binutils versions?  make versions?  Run "cygcheck -s -v -r" on
> each machine and then diff the two?
>

Yesterday I downloaded the 0.59 binary zipfile, and it WORKS on the machine 
where the 0.58 version wouldn't compile (the compile would exit with:

/usr/bin/ld: crt2.o: No such file: No such file or directory
collect2: ld returned 1 exit status


This version works so thanks to Mark Edgar for the new 0.59 version.

http://web.gccaz.edu/~medgar/puttycyg/
c8a31247a0f212202ec4f9dc48aa05ea  puttycyg-20070207.zip

==Keith


--
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/faq/



Re: cygrunsrv problem

2007-02-04 Thread Wynfield Henman

Brian,
 thanks for the informative explanation about cygrunsrv and demon processes.

On 2/2/07, Brian Dessent <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:

> The "cygrunsrv -Q "  definitely is buggy to me.
> When I started up my system "privoxy" is indeed up and running as it should 
be.
>
> But, when I do a cygrunsrv -Q  it shows that the service is stopped,
> yet it isn't.

There's no bug here, just some misunderstanding on your part.

Privoxy detaches and demonizes on its own when you start it.  Cygrunsrv
is meant to be used with programs that do not detach themselves.  That
is why you must launch things such as "cron -D" and so on to tell it not
to demonize itself.  If the launched program demonizes itself then
cygrunsrv has no way to monitor when it has stopped, and it thinks the
binary has terminated immediately after starting.  Thus cygrunsrv itself
terminates and tells the system that the service has stopped, even
though the spawned privoxy binary might still be running, but the
service itself (which is cygrunsrv) is not actually running.

You can use the windows built-in "sc" command to verify that the service
isn't actually running, type "sc query privoxy" and it should agree with
whatever cygrunsrv -Q says.

If you want this to work you need to specify whatever option privoxy
uses to tell it not to detach.

Brian

--
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/faq/




--
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/faq/



cygrunsrv problem

2007-02-01 Thread Wynfield Henman

I am writing to report a bug in "cygrunsrv"

cygrunsrv successfully installed my privoxy daemon service to be ran
on each power up / restart.  I was happy to find out..

But, before when I was trying to start it and query its status I could
not or at least appeared that I couldn't.

The "cygrunsrv -Q "  definitely is buggy to me.
When I started up my system "privoxy" is indeed up and running as it should be.

But, when I do a cygrunsrv -Q  it shows that the service is stopped,
yet it isn't.

Thanks for investigation this problem.

Henman


Cygwin Version: CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57

$ cygrunsrv -Q privoxy
Service : privoxy
Current State   : Stopped
Command : /usr/local/sbin/privoxy.exe /usr/local/etc/privoxy/config

$ ps -a
 PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
1756   11756   1756?  400 10:23:11 /usr/bin/cygrunsrv
189617561896   1944?  400 10:23:11 /usr/bin/exim-4.63-1
1988   11988   1988?  400 10:23:11 /usr/bin/cygrunsrv
 2081988 208240?  400 10:23:12 /usr/sbin/sshd
 304   1 304304?  400 10:23:12 /usr/local/sbin/privoxy


$ cygrunsrv -v
cygrunsrv V1.17, Jun 19 2006
. Written by Corinna Vinschen and Fred Yankowski.

- end of data --

--
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/faq/



Re: Eliminating -mno-cygwin from gcc?

2007-02-01 Thread Wynfield Henman

I for one am not adverse to your proposition of separating the ming
(mno-cygwin) functionality into its own script or program.  This would
reduce cygwin gcc's complexity and make it easier to port to cygwin
and hopefully, mean nearer gcc versions faster.  And by branching off
the mno-cygwin, it can be delevoped and maintained at its own pace.

As mentioned it will caused some problems with existing build scripts
I've written, but in time the bifricated situation will trickle down
to be normal in time, I should think.

Regards,
 Henman


RE:
On 2/2/07, Christopher Faylor <[EMAIL PROTECTED]> wrote:

--
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/faq/



Re: file descriptiors

2007-01-21 Thread Wynfield Henman

Thanks Eric.

I am trying to build the source for libassuan found in libassuan-1.0.1.tar.bz2.

configure and make work file.

But, "make check" gives me the following information.

...Entering directory `/usr/src/assuan/libassuan-1.0.1/tests'
fdpassing[3648.4] DBG: -> OK Pleased to meet you
fdpassing[3648.4] DBG: <- # descriptor 4 is in flight
fdpassing[3648.4] DBG: <- INPUT FD
fdpassing[3648]: no pending file descriptors!
fdpassing[3648.4] DBG: -> ERR 101 server fault (general error)
fdpassing[3296]: sending INPUT FD failed: server fault
fdpassing[3648.4] DBG: <- BYE
fdpassing[3648.4] DBG: -> OK closing connection
FAIL: fdpassing


Which leads me to suspect that file descriptors are related to the problem.

And I was wondering if anyone has done this before and found a
solution or workaround.

Thanks


> Can we pass file descriptors within the cygwin enviroment.
>
> For example such as those required by libassuan?

Why don't you try it and see?  Or at least give us a simple test case that
shows what you want to have happen, and why it isn't doing what you want,
rather than telling us about some random library that reportedly needs to
do it.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]


--
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/faq/



file descriptiors

2007-01-19 Thread Wynfield Henman

Can we pass file descriptors within the cygwin enviroment.

For example such as those required by libassuan?


Thanks,
 henman

--
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/faq/



Re: Opening a file with a Windows App which is not in Windows File Association

2006-12-26 Thread Wynfield Henman

Thanks for the info.

I use zsh suffix aliases, so I don't need to worry about "MS Windows"
file associations.  If you use zsh and set suffix aliases in your zsh
startup file, such as ~/.zshenv

Then all you have to do to view you file is
$ logo.jpg

#zsh will see the jpg suffix and find the application that you
associated with it in your ~/.zshenv file.  This is to me more
portable, in that I don't have to rely on "MS's" hash or data
structures...

You would need a function to as you kindly showed to change to an
explicitly different application (picture studio in your example.).

Regards

On 12/21/06, zzapper <[EMAIL PROTECTED]> wrote:


I usually open my images with the wonderful irfanview
http://www.irfanview.net/
so
> cygstart logo.jpg

does the job

Occasionally I want to use Adobe Photoshop elements, like many Windows Apps
it wants the FULL path to the document and obviously in DOS format.
The following does the trick, and may be of interest to others

function pse()
{
# name : pse
# description : Open image with Adobe Photoshop elements
# : (cannot use cygstart as not in Windows File Association)
c:/Program\ Files/Adobe/Photoshop\ Elements\ 2/PhotoshopElements.exe
$(cygpath -w $PWD/$1) &
}

--
zzapper
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips


--
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/faq/




--
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/faq/



Re: emacs trouble

2006-12-17 Thread Wynfield Henman

Lorenzo,
 I had the problem as well, but it was long ago.  The problem has to
do with the terminal emulator, as I recall.  I switched from using the
default windows prompt terminal to Putty and I think that solved the
problem.  Also putty has nice features should as allowing cut and
paste.  Read more about it at:

http://www.chiark.greenend.org.uk/~sgtatham/putty/


On 12/14/06, Jonathan Arnold <[EMAIL PROTECTED]> wrote:

Lorenzo Travaglio wrote:
> Hi all,
> I'm experiencing a little problem using emacs. It
> seems that C-x C-c doesn't work, and I leave Emacs via
> F10-f-e. I'm using only text window, not X, and the
> Emacs version is 21.2-13.
>
> May someone help me? TNX



--
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/faq/



Re: libraries

2006-12-17 Thread Wynfield Henman

Larry,  thank you for the explanation regarding libraries.

On 12/14/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> I have managed to confuse myself regarding libraries under cygwin,
> after reading extensively on building dlls under cygwin.
>
> Please check if my understanding is correct.
> (1) For simple static libraries ld's output is fine.
> Because only cygwin code will access it.
>
> (2) Does this follow with *nix shared library format? (if only used by
> cygwin programs which
>emulate *nix (does it also know about shared library objects)?
>
> (3) The ms-dll shared library format is only necessary if we want
> ms-programs to be able to
> use the program.
>


There's no incompatibility of object format between Cygwin static libs
and those created by the MS compiler.  Ditto for DLLs.  There is no such
thing as shared libraries in the traditional UNIX sense on Windows.  The
only "incompatibilities" between Cygwin built libs/DLLs and MS's are:

   1. References to C++ in libs/DLLs built in one won't be resolved in the
  other (this is true when mixing and matching C++ object code from any
  compiler).  This is not a problem for C code.

   2. Calling Cygwin compiled code from a native executable needs some extra
  steps to make sure that the Cygwin C-runtime initialization code gets
  called.  The reverse situation is not generally a problem.


Larry...

--
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/faq/



libraries

2006-12-13 Thread Wynfield Henman

I have managed to confuse myself regarding libraries under cygwin,
after reading extensively on building dlls under cygwin.

Please check if my understanding is correct.
(1) For simple static libraries ld's output is fine.
Because only cygwin code will access it.

(2) Does this follow with *nix shared library format? (if only used by
cygwin programs which
   emulate *nix (does it also know about shared library objects)?

(3) The ms-dll shared library format is only necessary if we want
ms-programs to be able to
use the program.

Thanks

--
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/faq/



Re: gpgme

2006-12-04 Thread Wynfield Henman

On 12/4/06, Brian Dessent <[EMAIL PROTECTED]> wrote:

Did you really need to start a new thread for this?


Two issues where mentioned, which you apparently missed.


Wynfield Henman wrote:

> I saw the reference to "gpgme" with some misleading (to me) version
> number, such as 1.1.2, tacked on and said it was in ...somewhere like
> ../cygwin/ports. ..

Cygwin Ports is a separate project.  Type it into Google and follow the
first hit.  It's off-topic for this list because it has its own mailing
list.

Are you saying that "cygwin ports" are not ports of software to run on cygin?



> guess cygwin rules/convention requires a different numbering system???
Um, no.  Have you even looked at the gpgme ftp site?

Yes and it is as I stated. Now answer why the cygwin ports located
gpgme is label as version 1.2.0 when no such official version exists?


ftp://ftp.gnupg.org/gcrypt/gpgme/

Yes you can verify that the latest release is 1.0.3  NOT  1.2.xx


You need to add the URL to setup.exe if you want to use it.  Again, it's
not part of the official Cygwin project.

You're unclear here.  Do you mean that setup.exe is not inherently
related to cygwin?
Or that adding a URL to setup.exe is not.  Though it seems it should
be, if software is otherwise not available, (yet listed as a cygwin
port).

Brian


Wynfield

--
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/faq/



gpgme

2006-12-04 Thread Wynfield Henman

I saw the reference to "gpgme" with some misleading (to me) version
number, such as 1.1.2, tacked on and said it was in ...somewhere like
../cygwin/ports. ..

The the real version number is 1.0.3 for the latest stable, but I
guess cygwin rules/convention requires a different numbering system???

Hearing that gpgme has a port I executed  setup.exe and searched for
gpgme, but it is not there (or I can't find it alphabetically).

Any notions?

--
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/faq/



GPGME

2006-11-29 Thread Wynfield Henman

Has anyone successfully built the encrypt/decrypt GPG library GPGME on cygwin?

It is necessary along with GTK+ for building the user interface
program, GPA, for Gnu Privacy Guard (GPG).

Thanks

--
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/faq/



Re: How to obtain a patch for viewing

2006-11-09 Thread Wynfield Henman

Re: ImageMagick

On 11/10/06, Volker Quetschke <[EMAIL PROTECTED]> wrote:


How about looking at the patch that's used for the cygwin package?

In case this wasn't clear enough, there is a "Src?" box behind most
cygwin packages when you use setup.exe, if you check that you will find
the source package and patches in /usr/src/.


Thanks I was not aware of that or


In general you find information regarding building a cygwin package in
  /usr/share/doc/Cygwin/.README


of this.

However, if the patch is the one you previously mentioned by you :
 http://www.cygwin.com/ml/cygwin/2006-11/msg00024.html

I have serious concerns about patching the "perl" library package
files in order to get ImageMagick's PerlMagick to compile.  There
should be a way to get PerlMagick to compile by only patching some
part of the ImagicMagick distribution.

I believe this is what Yaakov was also trying to say in his posting of
http://www.cygwin.com/ml/cygwin/2006-11/msg00041.html

Any changes to perl (maybe there aren't many but..) could cause
problems in the future.

Regards

--
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/faq/



How to obtain a patch for viewing

2006-11-09 Thread Wynfield Henman

Yaakov  mentioned "A fix for this is part of
ports/apps/imagemagick/ImageMagick-6.2.9.8-1.src.patch; I don't think
it's perl's fault, but rather the package's for putting a link library
in LDFLAGS instead of LIBS."

How can I get the patch, mentioned above, i.e.,
"ports/apps/imagemagick/ImageMagick-6.2.9.8-1.src.patch" for studying?

I searched in the cygwin packages but it just gave a list with no urls
to the content.
Thanks...

--
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/faq/



Re: ImageMagick Cygwin Port

2006-11-09 Thread Wynfield Henman

On 11/10/06, Volker Quetschke <[EMAIL PROTECTED]> wrote:

Having said that, I don't appreciate personal mail with regard to
cygwin packages. Please use the mailing list, I'm reading it.


Bitte schön



> I tried to build ImageMagick recently and was successfull for all but
> "perl-Image-Magick".
>
> Did you have any problems building it, perl-Image-Magick, that you solved?
Yes, see the postings to the list


I saw the warning msg derived CXX undefined macro one, but missed the
solution provided by Yaakov in message:
http://www.cygwin.com/ml/cygwin/2006-11/msg00041.html

Cheers...

--
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/faq/



Re: Problem building ImageMagick 6.3.0

2006-11-01 Thread Wynfield Henman

Modifying the configure.ac file may take away the "undefined CXX"
messages, but it didn't do anything else in my  case.   I can only get
a successfull build of ImageMagick by configuring as below:

./configure  --without-perl

To get rid of trying to build perlmagick
Because makng PerlMagick fails as follows with a whole bunch of
"undefined references" such as:
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9776:
undefined reference to `_GetLocaleExceptionMessage'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9738:
undefined reference to `_GetMagickInfoList'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9742:
undefined reference to `_CopyMagickString'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9743:
undefined reference to `_LocaleLower'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9746:
undefined reference to `_RelinquishMagickMemory'
Magick.o: In function `XS_Image__Magick_Read':
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9847:
undefined reference to `_GetExceptionInfo'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9852:
undefined reference to `_AcquireMagickMemory'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9861:
undefined reference to `_AcquireMagickMemory'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9878:
undefined reference to `_ThrowMagickException'
/usr/src/imagemagick/ImageMagick-6.3.0/PerlMagick/Magick.xs:9971:
undefined reference to `_RelinquishMagickMemory'
-- end of undefined reference paste.

Regards

--

The real culprit was:>
> libtool: ignoring unknown tag CXX

The
AC_LIBTOOL_TAGS([CXX])

macro in configure.ac needs CXX to be set before it is used. Placing
an AC_PROG_CXX before it solves this problem and the build continues.
Volker


--
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/faq/



Re: Cygwin help!!!

2006-11-01 Thread Wynfield Henman

Anja,
  use backquotes ` instead of quotes ' for process substitution.

Example use:
 echo Today is `date`
or even
echo "Today is `date`"

Cheers,
  Henman

On 10/30/06, anja_22 <[EMAIL PROTECTED]> wrote:


Hallo, brauche drinegnd helfe mit CYGWIN
ich wollte zum test folgenden befehl auf der Shell testen :
echo "heute is der 'date'" --> die Ausgabe sollte sein : heute ist der 29
Oktober 2006 (oder so ähnlich, auf jedenfall sollte das datum angegeben
werden) Stattdessen sehe ich sowas : heute ist der 'date' --> das zeichen '
wird also nicht interpretiert: hat jemand eine Idee?


LIEGT DAS AN CYGWIN; ODER MACHE ICH IRGENDWAS FALSCH 

ich sag schon mal Danke

Lieben Gruß

Anja


--
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/faq/



Re: How to go through a company proxy with ssh ?

2006-10-26 Thread Wynfield Henman

  ProxyCommand /usr/local/bin/corkscrew proxy.domain.com:8080 %h %p


The above looks good.



~/.ssh/jrdepriest.auth


I don't know about the above, I jus t use   "id_dsa.pub"  for cvs access


When I run ssh [EMAIL PROTECTED], it automatically invokes the
corkscrew command which reads my user name and password from the auth> file and 
sends the information to port 8080 on our proxy server (HTTP, > not HTTPS or SOCKS 
or FTP which are also all available).


Did you try adding the specific port:   ssh -p 443 [EMAIL PROTECTED]   ?
with no changes to the  ~/.ssh/config file

Regards,

--
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/faq/



Re: Running a command on cygwin launch

2006-10-25 Thread Wynfield Henman

Larry,
 at the prompt type:   echo $HOME

then put the BASH comnmands you want to be executed in the
$HOME/.bash_profile   file.  If there isn't one, make one ( a plain
text file with /n line endings).

Normally this is were you set enviroment variables, etc.

Cheers.

On 10/26/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Ben LeBar wrote:
> Hi,
>
> I was wondering if there was any way to run a command on cygwin either
> through a batch file while launching cygwin or once launched.
>
> I heard that I could use a .batchrc file to do this, so I created one
> containing the command I wanted executed and put it in my home
> directory - it didn't work. Next I checked the Cygwin FAQ's and it
> said that a home directory may not have been set so put it in the
> cygwin root. I did this and tried it again -- no dice.
>
> If anyone could help me out or give me any alternatives I'd greatly
> appreciate it. Thanks.


If you're running Cygwin's bash prompt via cygwin.bat, you can add
whatever "batch" commands you want to that.  If you're looking to
add some shell commands, you can do so in your .bash_login or .bashrc
file, depending on your intent.  See 'man bash' for details.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/faq/




--
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/faq/



Re: emacs hangs at start, or sometime later

2006-10-25 Thread Wynfield Henman

Eric,
 please give us the 1st line of the output of   $ emacs --version.

Was it downloaded using setup.exe?

What OS and version are you using?

Thanks.

On 10/26/06, Eric Twietmeyer <[EMAIL PROTECTED]> wrote:

> Subject: Re: emacs hangs at start, or sometime later
> Eric Twietmeyer  terrex.com> writes:
>
> I always set the repear rate to the max. So, I do both. I
> haven't had this issue on my laptop that runs XP, though.
>
> -Peter

Unfortunately, setting the blink-cursor-mode to not blinking does not solve
this problem for me.  Now emacs will not hang if it is just sitting there
idle, as it was doing, but it will hang while typing into one of its
buffers.  The hang is the same as before, seems to be stuck in some spin
lock somehow.  So this work around only partly "works".

-Eric Twietmeyer


--
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/faq/




--
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/faq/



Re: How to go through a company proxy with ssh ?

2006-10-25 Thread Wynfield Henman

I don't know about corkscrew, but some variation of the below which I
use may be helpful to you.

Regards,
 Darel Henman
--
# Example:
## Get connect (small yet good)
#  wget http://www.taiyo.co.jp/~gotoh/ssh/connect.c
#
## Compile it
# gcc connect.c -o connect
## Install it somewhere in your path
# install -m 755 connect /bin

## Configure SSH (example)
## set up ~/.ssh/config.txt or config
## so it can go through your proxy.
# overwrites you .../.ssh/config (or edit)
cat <> ~/.ssh/config  
Hostxxx.connect_to_host.yyy.com
 ProxyCommand connect -H
proxy-2.your-company-proxy-nameoraddress:8080 %h %p
 EOF
# the 8080 is the proxy port addr.  use whatevery
# your company uses:  You may have to look into
# your http://proxy-2.xxx:50081/proxy.pac file to find the a proxy
direct address

At this point you might try:
   ssh -p 443 

#END


On 10/26/06, DePriest, Jason R. <[EMAIL PROTECTED]> wrote:

On 10/25/06, Teggy P Veerapen <> wrote:
> Hello,
>
> I am trying to figure out how to connect to a remote ssh server (in fact to my
> home pc which is hosting cygwin/sshd server) with the standard ssh client
> coming with cygwin and I need to go through my company proxy.
...
> I have done some search on the internet on such issue and I have read about 
the
> ProxyCommand in ssh configuration

I use corkscrew (http://www.agroman.net/corkscrew/) to make use of the
ProxyCommand feature in my ~/.ssh/config file.

It works great.

-Jason

--
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/faq/




--
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/faq/



Re: emacs 21.3.50.1 and cc-mode

2006-10-23 Thread Wynfield Henman

William Xue,
  do you get this problem when you open up a new cpp file?   e.g.

$  emacs  new-file.cpp

Your are right you don't need X-windows. Emacs will detect if its in
an X-win or not and choose the console interface if not.

Maybe try to:
  (1) reinstall it
  (2)  uninstall and try the 21.12.13 or previous version
  (3)  try building it from scratch.  The autoconfig
  and other tools will configure it for your system. etc...
   configure using the " --without-x" if you don't want
  it to handle x-windows at all..

  (4) if you were going to do this (build from source) you might as
well try the latest emacs

Darel Henman

P.S.  Since I am using GNU Emacs 22.0.50.1, built from cvs, I can't
duplicate your environment.  Sorry.






> william xue wrote:
>
>> It's annoying. Anybody could tell me how to workaround it?
>
> Read the manual... hint: emacs -nw 
>

at least -nw was not useful.

About the manual, C-h f could not find the x-popup-menu.

Could you show me something in detail?

>> P.S.: I did not install any X libs. The console satisfied me.
>>
>> Thanks!
>>
>> On 10/19/06, William Xue <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> I installed the cygwin today and the emacs' version is 21.3.50.1.
>>>
>>> when I open cpp files, there is an error:
>>>
>>>   File mode specification error: (void-function x-popup-menu)
>>>
>>> are there something I missed? How can I fix this issue?



--
Sincerely yours,
William


--
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/faq/



Re: GMP-4.2, MPFR-2.2, was Re: Problems with GMP in latest Cygwin

2006-10-23 Thread Wynfield Henman

1. The newes gnu mp (gmp) sources are at:
http://swox.com/gmp/


2.) To built it as a dll with cygwin you must use the following
conffigure options.

./configure --disable-static --enable-shared  CPPFLAGS="-DDLL_EXPORT"
make
make check
# All tests passed

make install

Regards,
 Darel Henman

On 10/24/06, Billinghurst, David (CALCRTS)
<[EMAIL PROTECTED]> wrote:

> From: Brooks Moses
> Angelo Graziosi wrote:
> > Tim Prince wrote:
> >>This is not such a new problem, but I have not been able to get a
> >>working pre-built version of gmp from the mirrors I normally use. It
> >>worked fine when I installed from the source on the same
> server, once I
> >>recognized that --enable-shared is required, so that it
> will over-write
> >>all the corrupted libraries. Perhaps you are the first
> person to report
> >>trouble on an AMD.
> >
> > FYI this:
> >
> >   http://cygwin.com/ml/cygwin-apps/2006-05/msg00098.html
> >   http://cygwin.com/ml/cygwin-apps/2006-05/msg00104.html
> >   http://cygwin.com/ml/cygwin-apps/2006-05/msg00111.html
> >
> > can help you, perhaps.
>
> Thanks for the links.  Unfortunately, the package files that David
> Billinghurst references therein seem to have disappeared; does anyone
> know where they can currently be found?
>
> For that matter, what's the current status for including these in the
> Cygwin distribution proper?  Since the GCC trunk will very
> soon switch
> to requiring these for building GCC, they would be very nice
> to have
>
> Thanks,
> - Brooks

I had to delete them, and then ISP issues stopped me uploading them,
and then "Real Life" got in the way.

I'll see what I can do in the next couple of days.

David


--
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/faq/



Re: aspell

2006-10-12 Thread Wynfield Henman

> Symptom:  (run the following on the bash or zsh command line)
>$ aspell -a -m -d american
>Error: nroff: dlopen returned "No such file or directory".


On 10/12/06, Gareth Pearce <[EMAIL PROTECTED]> wrote: .

I suspect you don't have nroff installed.  If that is not the problem,  it 
works for me -


That would be too easy.  I already check that and nroff is indeed installed.

As for "works for" you, I suspect that you have an old version of
aspell.  I am talking about 0.60.3 and the more recent stable 0.60.4
versions.   Please download 0.60.4 and try it and let me know how it
goes.


--Gareth, somewhat vaguely present aspell maintainer being.


I appreciate your response and with your assistance we'll find the
cause and fix it and you can be the proud maintainer of new apsell,
0.60.4 that has a lot of great features and functionality.

Thanks.
 Darel

--
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/faq/



aspell

2006-10-12 Thread Wynfield Henman

I am trying to run down a problem with using aspell with cygwin.

aspell:   International Ispell Version 3.1.20 (but really
Aspell 0.60.4)
  Cygwin:  CYGWIN_NT-5.1 1.5.21(0.156/4/2) 2006-07-30

Symptom:  (run the following on the bash or zsh command line)
   $ aspell -a -m -d american
   Error: nroff: dlopen returned "No such file or directory".


gdb gives me:

Starting program: /usr/local/bin/aspell.exe -a -m -d american
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/local/bin/cygaspell-15.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/bin/cygintl-3.dll
Loaded symbols for /usr/bin/cygiconv-2.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Error: nroff: dlopen returned "No such file or directory".

Program exited with code 01.

- end of gdb result paste/

Currently I am trying to isolate the source of the problem.  Since
this version of aspell works on linux systems, I am assuming that
something in cygwin's system interface is causeing the problem, but I
am trying to make certain of it.

Anybody else out there use the newer aspell versions for work
correction and seen this problem?

Regards,
 d.j.h.

--
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/faq/



Re: gdb with X-win problem

2006-09-27 Thread Wynfield Henman

echo $CYGWIN

==>   ntsec

If this is wrong, let me know.

Regards,
Henman
---
On 9/28/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Wynfield Henman wrote:
> I am not able to get the new gdb to handle any x-window applications
> or even on the non-x window invocation of emacs.
>
> Does anyone else have this problem.
>
>> From zsh
> 
> Attaching to program `/usr/local/bin/xv.exe', process 2772
> zsh: suspended (tty output)  gdb xv 2940
>
>> From bash
> 
> (gdb) attach 2340
> Attaching to process 2772
>
> [1]+  Stopped gdb
> bash-3.1$
>
> 
> then when used from a terminal window I get
> gdb emacs
> GNU gdb 6.5.50.20060706-cvs (cygwin-special)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin"...
> (gdb) run
> Starting program: /bin/emacs.exe
> Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
> Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
> Loaded symbols for /usr/bin/cygncurses-8.dll
> Loaded symbols for /usr/bin/cygwin1.dll
> Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
> Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
> Loaded symbols for /usr/bin/cygjpeg-62.dll
> Loaded symbols for /usr/bin/cygpng12.dll
> Loaded symbols for /usr/bin/cygz.dll
> Loaded symbols for /usr/bin/cygtiff-5.dll
> Loaded symbols for /usr/bin/cygungif-4.dll
> Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
> Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
> Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXaw-8.dll
> Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXp-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXau-6.dll
> Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll
>
> emacs: standard input is not a tty
>
> Program exited with code 01.
> (gdb) C
>
> ---
>
> Any comments are welcome.


What does you CYGWIN environment variable look like?  For that matter,
<http://cygwin.com/problems.html>.


--
Larry Hall  http://www.rfk.com



--
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/faq/



gdb with X-win problem

2006-09-27 Thread Wynfield Henman

I am not able to get the new gdb to handle any x-window applications
or even on the non-x window invocation of emacs.

Does anyone else have this problem.


From zsh


Attaching to program `/usr/local/bin/xv.exe', process 2772
zsh: suspended (tty output)  gdb xv 2940


From bash


(gdb) attach 2340
Attaching to process 2772

[1]+  Stopped gdb
bash-3.1$


then when used from a terminal window I get
gdb emacs
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /bin/emacs.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygncurses-8.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /usr/bin/cygjpeg-62.dll
Loaded symbols for /usr/bin/cygpng12.dll
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /usr/bin/cygtiff-5.dll
Loaded symbols for /usr/bin/cygungif-4.dll
Loaded symbols for /usr/X11R6/bin/cygX11-6.dll
Loaded symbols for /usr/X11R6/bin/cygICE-6.dll
Loaded symbols for /usr/X11R6/bin/cygSM-6.dll
Loaded symbols for /usr/X11R6/bin/cygXaw-8.dll
Loaded symbols for /usr/X11R6/bin/cygXext-6.dll
Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll
Loaded symbols for /usr/X11R6/bin/cygXt-6.dll
Loaded symbols for /usr/X11R6/bin/cygXp-6.dll
Loaded symbols for /usr/X11R6/bin/cygXau-6.dll
Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll

emacs: standard input is not a tty

Program exited with code 01.
(gdb) C

---

Any comments are welcome.

Thanks,
 Henman

--
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/faq/



by the way ..Re: New fontconfig

2006-09-19 Thread Wynfield Henman

The little annoying problem since I uninstalled [fontconfig] using
setup.exe is that
it keeps on trying to get re-installed, becuase of dependencies I suspect.

I used setup.exe, and had to forecefully, (well set the option) delete
the old fontconfig, due to it had  some x-windows files dependendent
upon it.

Is there some nifty way I can tell setup.exe that the dependencies are
satisfied with the locally built and installed new "fontconfig" code?

Or give me a URL to an explanation for it

Thanks.

Henman

--
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/faq/



fontconfig & imagemagick

2006-09-18 Thread Wynfield Henman

While building ImageMagick ImageMagick-6.2.9, I found out the the
currently distributed
cygwin fontconfig version to be too old (version 2.2 or so). and two
years of developed have resulted in a (as of now) fontconfig-2.4.1.

I found that this also builds well in the cygwin developement
environment and seems to be aware of installing the
usr/bin/cygfontconfig-1.dll files as well (As long as x-windows is not
running).

New version of fontconfig as found at:  http://fontconfig.org/release/

New version of ImageMagick found at:  ftp://ftp.imagemagick.org/pub/ImageMagick/

I don't know how to find out who is in charge of the fontcont, but it
should be updated for everyone.  I don't beleive I found ImageMagick
in cygwin's respository, but is was a
straight process to build.

Regards,
 Henman

--
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/faq/



Re: libungif and emacs-cvs

2006-09-11 Thread Wynfield Henman

I didn't catch the beginning of this thread... but
I frequently build cvs emacs (once a month) with cygwin and based on
cygwin's x-windows.

I do not have any probllem with ungif.

 * I do specify the following  configure option
  ---with-gif

* Last year's (of so) version of ungif had some problems, be sure to
get the newest with setup.exe

* The newest cygwin gtk windowning is broken somethwere, so I had to use
  ---with-Xaw3d

(gtk people fix that!)




> 
> checking gif_lib.h usability... yes
> checking gif_lib.h presence... yes
> checking for gif_lib.h... yes
> checking for EGifPutExtensionLast in -lungif... no
  ^^
> ---
>
> so that it buids without ungif support:



I am frequently building emacs from cvs and have not noticed this
problem, but haven't looked


It would probably be enlightening to look at config.log to see *why*
configure thinks EGifPutExtensionLast is not in -lungif...

> I do not remember this behaviour previously (but it could be), so I flag
> this in the case it is a problem with libungif.

Or something else completely unrelated that caused the test program to
fail, thus making configure think that it didn't have a valid -lungif.
HTH,
Igor
--


Perhaps try uninstalling and reinstalling the ungif library.

Regards,
  Henman

--
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/faq/



Re: New cygwin verson breaks emacs

2006-07-28 Thread Wynfield Henman

By specifying  --with-Xawed during configuring, I was able to produce
a  good runable emacs..

Building  --with-GTK does not.  It used to up to a week or so ago,
however.  So someting related to this changes.

The problem is not in the cygwin dll I tried exchanging the old for
the new and no changes n failure.  Further indication that GTK related
code has a bug in it.

Henman



The problem only occurs when trying to run emacs from xterm.   So only
when X-Windows functions or related GTK functions are needed.




On 7/26/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote:
> On Jul 26 19:24, Wynfield Henman wrote:
> > This happened to a perfectly good pre-cygwin update emacs.
> > This also happened after a new rebuild of emacs with the new cygwin system.
> >
> > ***MEMORY-ERROR***: emacs[3060]: GSlice: failed to allocate 504 bytes
> > (alignment: 512): Function not implemented
>
> Well, *which* function's not implemented?  I'm an emacs ignorant so I
> just started emacs moved the cursor a bit and exited again, which works
> fine.  So, what's the exact problam?


--
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/faq/



Re: New cygwin verson breaks emacs

2006-07-26 Thread Wynfield Henman

The problem only occurs when trying to run emacs from xterm.   So only
when X-Windows functions or related GTK functions are needed.

But, since the error message is
" ***MEMORY-ERROR***: emacs[3060]: GSlice: failed to allocate 504
bytes".  I will look further into it.If anyone has any clues
please let me know.

I would think that the function is "GSlice", but I have no idea what
or where that is.

Have there been any major changes in Xwin and GTK related programs
that might have this affect.


Thanks
  Henman

On 7/26/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote:

On Jul 26 19:24, Wynfield Henman wrote:
> This happened to a perfectly good pre-cygwin update emacs.
> This also happened after a new rebuild of emacs with the new cygwin system.
>
> ***MEMORY-ERROR***: emacs[3060]: GSlice: failed to allocate 504 bytes
> (alignment: 512): Function not implemented

Well, *which* function's not implemented?  I'm an emacs ignorant so I
just started emacs moved the cursor a bit and exited again, which works
fine.  So, what's the exact problam?


Corinna

--
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/faq/




--
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/faq/



New cygwin verson breaks emacs

2006-07-26 Thread Wynfield Henman

This happened to a perfectly good pre-cygwin update emacs.
This also happened after a new rebuild of emacs with the new cygwin system.

***MEMORY-ERROR***: emacs[3060]: GSlice: failed to allocate 504 bytes
(alignment: 512): Function not implemented

My cygwin information is given as:
 CYGWIN_NT-5.1 1.5.21(0.156/4/2) 2006-07-23 20:11

Any other people out there with emacs problems
GNU Emacs 22.0.50.1


Thanks for any feedback or advice

--
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/faq/



Re: Running dselect

2006-06-19 Thread Wynfield Henman

I downloaded,
 ftp://sources.redhat.com/pub/gdb/snapshots/branch/gdb-6.4.91.20060615.tar.bz2

and built it successfully in the cygwin environment and with cygwin tools.

But, the resulting binary seems to have bugs in it either something to
do with the termainal or what I'm not sure as it just crashes.

Any ideas on how to fix this..  I just want a more up to date debugger
to use with
   cygwin1.dll.-20060614.dll.bz2

   which I moved to /bin/cygwin1.dll  after renaminig the original.

Thanks

--
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/faq/



Re: debug information

2006-06-15 Thread Wynfield Henman

Brian,
 thanks for the lead and helpfull information regarding  SIGSEGV.

Henman

On 6/2/06, Brian Dessent <[EMAIL PROTECTED]>
...


Please search the archives for the many recent threads on this topic.
What you are seeing is not an actual SIGSEGV, it is a bug/limitation in
gdb related to how Cygwin works internally.  Here is a starting point:
..


--
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/faq/



debug information

2006-05-31 Thread Wynfield Henman

If anyone would give me a lead as to how to get a more meaningful
backtrace from gdb, I would appreciate it.

I was wandering if I have to build a new cygwin.dll (using cygwin)
with symbol information or it that is even possible.

cygwin version 5.19.4

Thanks

- gdb output
gdb ../src/bootstrap-emacs.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args  -batch --no-site-file --multibyte -f
batch-byte-compile-if-not-done byte-opt.el
(gdb) run
Starting program: /cygdrive/c/emacs/cvs/emacs/src/bootstrap-emacs.exe
-batch --no-site-file --multibyte -f batch-byte-compile-if-not-done
byte-opt.el
---Type  to continue, or q  to quit---

Program received signal SIGSEGV, Segmentation fault.
0x610ad945 in pthread_mutexattr_init () from /usr/bin/cygwin1.dll
(gdb) backtrace
#0  0x610ad945 in pthread_mutexattr_init () from /usr/bin/cygwin1.dll
#1  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
#2  0x0003 in ?? ()
#3  0x0022ee18 in ?? ()
#4  0x0001 in ?? ()
#5  0x0022ee18 in ?? ()
#6  0x0022ee38 in ?? ()
#7  0x200a24d0 in main (argc=539893664, argv=0x4) at emacs.c:1062

 end of paste ---

--
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/faq/



Re: stdio.h

2006-05-29 Thread Wynfield Henman

1.) Any idea of when a release of cygwin will be made of the "current
versions" contiaining the
  _GNU_SOURCE to avoid collision with old-style declarations?

Thank you all for the assistance .

Darel  Henman

--
On 5/27/06, Christopher Faylor

On Fri, May 26, 2006 at 08:55:23AM -0700, David A. Case wrote:
>On Fri, May 26, 2006, Brian Dessent wrote:
>>
>> 2. In current versions of Cygwin getline and getdelim are only defined
>> if the user defines _GNU_SOURCE - this is the same way it's done on
>> linux.
>
>This change doesn't seem(?) to be in /usr/include/sys/stdio.h from Cygwin
>DLL 1.5.19-4.  So I think one may have to use CVS or a snapshot, rather than
>"just" using the usual setup.exe procedure.

That's what Brian meant by "current version".

cgf


--
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/faq/



stdio.h

2006-05-25 Thread Wynfield Henman

I have run into problems with getline being defined in stdio.h

I  understand that a GNU system has it defined there but not any other system.

Please look into where "getline" should be defined in stdio.h or not.

Thank you.

--
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/faq/